Hierarchy

Implemented by

Methods

  • isOwner is used to check whether the sender is the owner of the contract.

    Parameters

    • sender: Uint8Array

      the sender of the transaction, hex string format with 0x prefix.

    Returns bool

    true if the sender is the owner of the contract, otherwise false.

  • operation is used to execute the logics within the Aspect.

    Parameters

    Returns Uint8Array

    the data of the operation output.