Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the erc20 Msg service.
ConvertCoin mints a ERC20 representation of the native Cosmos coin denom that is registered on the token mapping.
MsgConvertCoin defines a Msg to convert a native Cosmos coin to a ERC20 token
Cosmos coin which denomination is registered in a token pair. The coin amount defines the amount of coins to convert.
recipient hex address to receive ERC20 token
cosmos bech32 address from the owner of the given Cosmos coins
MsgConvertCoinResponse returns no fields
(message has no fields)
ConvertERC20 mints a native Cosmos coin representation of the ERC20 token contract that is registered on the token mapping.
MsgConvertERC20 defines a Msg to convert a ERC20 token to a native Cosmos coin.
ERC20 token contract address registered in a token pair
amount of ERC20 tokens to convert
bech32 address to receive native Cosmos coins
sender hex address from the owner of the given ERC20 tokens
MsgConvertERC20Response returns no fields
(message has no fields)
Query defines the gRPC querier service.
Params retrieves the erc20 module params
QueryParamsRequest is the request type for the Query/Params RPC method.
(message has no fields)
QueryParamsResponse is the response type for the Query/Params RPC method.
TokenPair retrieves a registered token pair
QueryTokenPairRequest is the request type for the Query/TokenPair RPC method.
token identifier can be either the hex contract address of the ERC20 or the Cosmos base denomination
QueryTokenPairResponse is the response type for the Query/TokenPair RPC method.
TokenPairs retrieves registered token pairs
QueryTokenPairsRequest is the request type for the Query/TokenPairs RPC method.
pagination defines an optional pagination for the request.
QueryTokenPairsResponse is the response type for the Query/TokenPairs RPC method.
pagination defines the pagination in the response.
GenesisState defines the module's genesis state.
module parameters
registered token pairs
Owner enumerates the ownership of a ERC20 contract.
Used in:
OWNER_UNSPECIFIED defines an invalid/undefined owner.
OWNER_MODULE erc20 is owned by the erc20 module account.
EXTERNAL erc20 is owned by an external account.
Params defines the erc20 module params
Used in: ,
parameter to enable the conversion of Cosmos coins <--> ERC20 tokens.
parameter to enable the EVM hook that converts an ERC20 token to a Cosmos Coin by transferring the Tokens through a MsgEthereumTx to the ModuleAddress Ethereum address.
RegisterCoinProposal is a gov Content type to register a token pair for a native Cosmos coin.
title of the proposal
proposal description
metadata of the native Cosmos coin
RegisterERC20Proposal is a gov Content type to register a token pair for an ERC20 token
title of the proposal
proposal description
contract address of ERC20 token
ToggleTokenConversionProposal is a gov Content type to toggle the conversion of a token pair.
title of the proposal
proposal description
token identifier can be either the hex contract address of the ERC20 or the Cosmos base denomination
TokenPair defines an instance that records a pairing consisting of a native Cosmos Coin and an ERC20 token address.
Used in: , ,
address of ERC20 contract token
cosmos base denomination to be mapped to
shows token mapping enable status
ERC20 owner address ENUM (0 invalid, 1 ModuleAccount, 2 external address)