keeper

package
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
const (
	BCGateway           = "gateway"
	BCGatewayDeployment = "gateway-deployment"
	BCToken             = "token"
	BCBurner            = "burner"
)

Bytecode labels

View Source
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

func NewQuerier(k types.BaseKeeper, s types.Signer, n types.Nexus) sdk.Querier

NewQuerier returns a new querier for the evm module

func NewTssHandler

func NewTssHandler(keeper types.BaseKeeper, nexus types.Nexus, signer types.Signer) tss.Handler

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

func QueryTokenAddressByAsset

func QueryTokenAddressByAsset(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, asset string) ([]byte, error)

QueryTokenAddressByAsset returns the address of the token contract by asset

func QueryTokenAddressBySymbol

func QueryTokenAddressBySymbol(ctx sdk.Context, k types.ChainKeeper, n types.Nexus, symbol string) ([]byte, error)

QueryTokenAddressBySymbol returns the address of the token contract by symbol

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL