Documentation ¶
Index ¶
- func NewModuleHandler(keeper Keeper) *crosschainkeeper.ModuleHandler
- func NewMsgServerImpl(keeper Keeper) crosschaintypes.MsgServer
- type Keeper
- func (k Keeper) BatchConfirms(c context.Context, req *crosschaintypes.QueryBatchConfirmsRequest) (*crosschaintypes.QueryBatchConfirmsResponse, error)
- func (k Keeper) BatchFees(c context.Context, req *crosschaintypes.QueryBatchFeeRequest) (*crosschaintypes.QueryBatchFeeResponse, error)
- func (k Keeper) BatchRequestByNonce(c context.Context, req *crosschaintypes.QueryBatchRequestByNonceRequest) (*crosschaintypes.QueryBatchRequestByNonceResponse, error)
- func (k Keeper) GetOracleByExternalAddr(c context.Context, req *crosschaintypes.QueryOracleByExternalAddrRequest) (*crosschaintypes.QueryOracleResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) TokenToDenom(c context.Context, req *crosschaintypes.QueryTokenToDenomRequest) (*crosschaintypes.QueryTokenToDenomResponse, error)
- func (k Keeper) TransferAfter(ctx sdk.Context, sender, receive string, amount, fee sdk.Coin) error
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
}
func NewKeeper ¶
func NewKeeper(keeper crosschainkeeper.Keeper) Keeper
func (Keeper) BatchConfirms ¶
func (k Keeper) BatchConfirms(c context.Context, req *crosschaintypes.QueryBatchConfirmsRequest) (*crosschaintypes.QueryBatchConfirmsResponse, error)
BatchConfirms returns the batch confirmations by nonce and token contract
func (Keeper) BatchFees ¶
func (k Keeper) BatchFees(c context.Context, req *crosschaintypes.QueryBatchFeeRequest) (*crosschaintypes.QueryBatchFeeResponse, error)
BatchFees queries the batch fees from unbatched pool
func (Keeper) BatchRequestByNonce ¶
func (k Keeper) BatchRequestByNonce(c context.Context, req *crosschaintypes.QueryBatchRequestByNonceRequest) (*crosschaintypes.QueryBatchRequestByNonceResponse, error)
BatchRequestByNonce queries the BatchRequestByNonce of the bsc module
func (Keeper) GetOracleByExternalAddr ¶
func (k Keeper) GetOracleByExternalAddr(c context.Context, req *crosschaintypes.QueryOracleByExternalAddrRequest) (*crosschaintypes.QueryOracleResponse, error)
func (Keeper) TokenToDenom ¶
func (k Keeper) TokenToDenom(c context.Context, req *crosschaintypes.QueryTokenToDenomRequest) (*crosschaintypes.QueryTokenToDenomResponse, error)
Click to show internal directories.
Click to hide internal directories.