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.