Skip to content

Provide array parameter helper #26

@devhawk

Description

@devhawk

Information about contract structures is not stored in the contract manifest. As such, the contract interface generator cannot generate typesafe C# declaration for a contract operation such as this:

public struct Royalty
{
    public readonly UInt160 address;
    public readonly BigInteger value;
}

void SetRoyaltiesForContract(UInt160 contract, Royalty[] royalties);

Test framework should have a mechanism to make it easy/feasible for a test author to construct an array of Royalty instances

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions