Documentation ¶
Index ¶
Constants ¶
View Source
const ( AttributeKeyL1DepositTxType = "l1_deposit_tx_type" AttributeKeyBridgedTokenType = "bridged_token_type" AttributeKeyFromEvmAddress = "from_evm_address" AttributeKeyToEvmAddress = "to_evm_address" AttributeKeyFromCosmosAddress = "from_cosmos_address" AttributeKeyToCosmosAddress = "to_cosmos_address" AttributeKeyAmount = "amount" L1SystemDepositTxType = "l1_system_deposit" L1UserDepositTxType = "l1_user_deposit" EventTypeMintETH = "mint_eth" )
View Source
const ( // ModuleName defines the module name ModuleName = "rollup" // StoreKey defines the primary module store key StoreKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_rollup" )
View Source
const ( // wrapped Ethers; cannonically bridged from Ethereum ETH = "ETH" MintModule = "mint" // KeyL1BlockInfo is the key for the L1BlockInfo KeyL1BlockInfo = "L1BlockInfo" )
Variables ¶
View Source
var ( ErrInvalidL1Txs = registerErr("invalid L1 txs") ErrMintETH = registerErr("failed to mint ETH") ErrL1BlockInfo = registerErr("L1 block info") )
View Source
var WrapError = sdkerrors.Wrapf
WrapError wraps an Cosmos-SDK error with extra message while keeping the stack trace at where this func is called.
Functions ¶
func AdaptCosmosTxsToEthTxs ¶
func AdaptCosmosTxsToEthTxs(cosmosTxs bfttypes.Txs) (ethtypes.Transactions, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.