Documentation ¶
Index ¶
- Constants
- func NewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, paramsKeeper types.ParamsKeeper) types.BaseKeeper
- func NewMsgServerImpl(keeper types.BaseKeeper, t types.TSS, n types.Nexus, s types.Signer, ...) types.MsgServiceServer
- func NewQuerier(k types.BaseKeeper, s types.Signer, n types.Nexus) sdk.Querier
- func NewTssHandler(keeper types.BaseKeeper, nexus types.Nexus, signer types.Signer) tss.Handler
- func QueryAddressByKeyID(ctx sdk.Context, s types.Signer, n types.Nexus, chainName string, ...) ([]byte, error)
- func QueryAddressByKeyRole(ctx sdk.Context, s types.Signer, n types.Nexus, chainName string, ...) ([]byte, error)
- func QueryBatchedCommands(ctx sdk.Context, k types.ChainKeeper, s types.Signer, n types.Nexus, ...) ([]byte, error)
- func QueryDepositAddress(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, data []byte) ([]byte, error)
- func QueryDepositState(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, data []byte) ([]byte, error)
- func QueryLatestBatchedCommands(ctx sdk.Context, keeper types.ChainKeeper, s types.Signer) ([]byte, error)
- func QueryTokenAddressByAsset(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, asset string) ([]byte, error)
- func QueryTokenAddressBySymbol(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, symbol string) ([]byte, error)
Constants ¶
const ( QTokenAddressBySymbol = "token-address-symbol" QTokenAddressByAsset = "token-address-asset" QDepositState = "deposit-state" QAddressByKeyRole = "address-by-key-role" QAddressByKeyID = "address-by-key-id" QNextMasterAddress = "next-master-address" QAxelarGatewayAddress = "gateway-address" QDepositAddress = "deposit-address" QBytecode = "bytecode" QSignedTx = "signed-tx" QLatestBatchedCommands = "latest-batched-commands" QBatchedCommands = "batched-commands" )
Query labels
const ( BCGateway = "gateway" BCGatewayDeployment = "gateway-deployment" BCToken = "token" BCBurner = "burner" )
Bytecode labels
const ( BySymbol = "symbol" ByAsset = "asset" )
Token address labels
Variables ¶
This section is empty.
Functions ¶
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, storeKey sdk.StoreKey, paramsKeeper types.ParamsKeeper) types.BaseKeeper
NewKeeper returns a new EVM base keeper
func NewMsgServerImpl ¶
func NewMsgServerImpl(keeper types.BaseKeeper, t types.TSS, n types.Nexus, s types.Signer, v types.Voter, snap types.Snapshotter) types.MsgServiceServer
NewMsgServerImpl returns an implementation of the bitcoin MsgServiceServer interface for the provided Keeper.
func NewQuerier ¶
NewQuerier returns a new querier for the evm module
func NewTssHandler ¶
NewTssHandler returns the handler for processing signatures delivered by the tss module
func QueryAddressByKeyID ¶
func QueryAddressByKeyID(ctx sdk.Context, s types.Signer, n types.Nexus, chainName string, keyID tss.KeyID) ([]byte, error)
QueryAddressByKeyID returns the address of the given key ID
func QueryAddressByKeyRole ¶
func QueryAddressByKeyRole(ctx sdk.Context, s types.Signer, n types.Nexus, chainName string, keyRoleStr string) ([]byte, error)
QueryAddressByKeyRole returns the current address of the given key role
func QueryBatchedCommands ¶
func QueryBatchedCommands(ctx sdk.Context, k types.ChainKeeper, s types.Signer, n types.Nexus, batchedCommandsIDHex string) ([]byte, error)
QueryBatchedCommands returns the batched commands for the given ID
func QueryDepositAddress ¶
func QueryDepositAddress(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, data []byte) ([]byte, error)
QueryDepositAddress returns the deposit address linked to the given recipient address
func QueryDepositState ¶
func QueryDepositState(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, data []byte) ([]byte, error)
QueryDepositState returns the state of an ERC20 deposit confirmation
func QueryLatestBatchedCommands ¶
func QueryLatestBatchedCommands(ctx sdk.Context, keeper types.ChainKeeper, s types.Signer) ([]byte, error)
QueryLatestBatchedCommands returns the latest batched commands
Types ¶
This section is empty.