Hierarchy

  • BaseContract
    • Context

Constructors

  • Initialization of the ConfigController Contract This is a wrapper of the solidity smart contract

    Parameters

    • params: IInitParams

      The core parameters passed into the constructor

    Returns Context

Properties

contract: Contract
hasSigner: boolean
signer: Wallet

Methods

  • Returns void

  • Parameters

    • __namedParameters: {
          nameOnly?: boolean;
      }
      • Optional nameOnly?: boolean

    Returns string[]

  • Gets Schain Owner Address

    Function

    getSchainOwnerAddress

    Returns

    • owner address of schain

    Returns Promise<string>

  • Allows owner to update the owner address

    Function

    setSchainOwnerAddress

    Returns

    ContractReceipt of the transaction

    Parameters

    • address: INewOwner

      The new owner address

    Returns Promise<ContractReceipt>

  • Parameters

    • __namedParameters: {
          signer: Wallet;
      }
      • signer: Wallet

    Returns void