keeper

package
v4.2.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModuleHandler

func NewModuleHandler(keeper Keeper) *crosschainkeeper.ModuleHandler

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) crosschaintypes.MsgServer

NewMsgServerImpl returns an implementation of the gov MsgServer interface for the provided Keeper.

Types

type Keeper

type Keeper struct {
	crosschainkeeper.Keeper
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(keeper crosschainkeeper.Keeper, erc20Keeper crosschaintypes.Erc20Keeper) Keeper

func (Keeper) BatchConfirms

BatchConfirms returns the batch confirmations by nonce and token contract

func (Keeper) BatchFees

BatchFees queries the batch fees from unbatched pool

func (Keeper) BatchRequestByNonce

BatchRequestByNonce queries the BatchRequestByNonce of the bsc module

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) TransferAfter

func (k Keeper) TransferAfter(ctx sdk.Context, sender sdk.AccAddress, receive string, amount, fee sdk.Coin, originToken bool) error

TransferAfter 1. Hook operation after transfer transaction triggered by IBC module 2. Hook operation after transferCrossChain triggered by ERC20 module

Jump to

Keyboard shortcuts

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