Hierarchy

  • TokenManager
    • TokenManagerERC20

Constructors

Properties

AUTOMATIC_DEPLOY_ROLE: string = ...
DEFAULT_ADMIN_ROLE: string
TOKEN_REGISTRAR_ROLE: string = ...
contract: Contract
hasSigner: boolean
signer: Wallet

Methods

  • Returns void

  • Parameters

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

    Returns string[]

  • Function

    getMessageProxyForSchain

    Returns

    Address of MessageProxyForSchain

    Returns Promise<`0x${string}`>

  • Function

    getRoleAdmin

    Returns

    string

    Parameters

    • role: IRole

    Returns Promise<any>

  • Function

    getRoleMember

    Returns

    address

    Parameters

    • params: IGetRoleMember

    Returns Promise<any>

  • Function

    getRoleMemberCount

    Returns

    BigNumber

    Parameters

    • role: IRole

    Returns Promise<any>

  • Function

    getTokenManagerLinker

    Returns

    Address of TokenManagerLinker

    Returns Promise<`0x${string}`>

  • Function

    grantRole

    Returns

    string

    Parameters

    • params: IRoleAccount

    Returns Promise<any>

  • Function

    hasRole

    Returns

    string

    Async

    Parameters

    • params: IRoleAccount

    Returns Promise<any>

  • Description

    If the token is an clone on the chain i.e linked to another chain it will return true

    Parameters

    • address: `0x${string}`

      Address parameter being checked for clone status

    Returns Promise<boolean>

  • Function

    renounceRole

    Returns

    string

    Parameters

    • params: IRoleAccount

    Returns Promise<any>

  • Function

    revokeRole

    Returns

    string

    Parameters

    • params: IRoleAccount

    Returns Promise<any>

  • Parameters

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

    Returns void

  • Function

    getTokenManager

    Returns

    Address of TokenManager of Connected Chain

    Parameters

    • sChainHash: BytesLike

      of Other SKALE Chain

    Returns Promise<`0x${string}`>