TokenPair defines an instance that records a pairing consisting of a native Cosmos Coin and an ERC20 token address.

Hierarchy

  • V1TokenPair

Properties

contract_owner?: V1Owner

ERC20 owner address ENUM (0 invalid, 1 ModuleAccount, 2 external address) Owner enumerates the ownership of a ERC20 contract.

  • OWNER_UNSPECIFIED: OWNER_UNSPECIFIED defines an invalid/undefined owner.
  • OWNER_MODULE: OWNER_MODULE erc20 is owned by the erc20 module account.
  • OWNER_EXTERNAL: EXTERNAL erc20 is owned by an external account.
denom?: string

cosmos base denomination to be mapped to

enabled?: boolean

shows token mapping enable status

erc20_address?: string

address of ERC20 contract token

Generated using TypeDoc