Documentation ¶
Index ¶
- 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) 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
- type TronMsgServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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(cdc codec.BinaryCodec, moduleName string, storeKey sdk.StoreKey, paramSpace paramtypes.Subspace, stakingKeeper crosschaintypes.StakingKeeper, distributionKeeper crosschaintypes.DistributionKeeper, bankKeeper crosschaintypes.BankKeeper, ibcTransferKeeper crosschaintypes.IBCTransferKeeper, channelKeeper crosschaintypes.IBCChannelKeeper, erc20Keeper crosschaintypes.Erc20Keeper) 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)
type TronMsgServer ¶
type TronMsgServer struct {
crosschainkeeper.EthereumMsgServer
}
func (TronMsgServer) ConfirmBatch ¶
func (s TronMsgServer) ConfirmBatch(c context.Context, msg *crosschaintypes.MsgConfirmBatch) (*crosschaintypes.MsgConfirmBatchResponse, error)
ConfirmBatch handles MsgConfirmBatch
func (TronMsgServer) OracleSetConfirm ¶
func (s TronMsgServer) OracleSetConfirm(c context.Context, msg *crosschaintypes.MsgOracleSetConfirm) (*crosschaintypes.MsgOracleSetConfirmResponse, error)
OracleSetConfirm handles MsgOracleSetConfirm
Click to show internal directories.
Click to hide internal directories.