ContractEmitted: PlainDescriptor<{
    contract: FixedSizeBinary<20>;
    data: Binary;
    topics: FixedSizeBinary<32>[];
}>

A custom event emitted by the contract.

Type declaration

  • contract: FixedSizeBinary<20>

    The contract that emitted the event.

  • data: Binary

    Data supplied by the contract. Metadata generated during contract compilation is needed to decode it.

  • topics: FixedSizeBinary<32>[]

    A list of topics used to index the event. Number of topics is capped by [limits::NUM_EVENT_TOPICS].