Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func RegisterCrossApps(keeper Keeper)
- type Keeper
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetRefundTransferInPayload(transferInClaim *types.TransferInSynPackage, refundReason types.RefundReason) ([]byte, error)
- func (k Keeper) GetTransferOutRelayerFee(ctx sdk.Context) (*big.Int, *big.Int)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- type TransferInApp
- func (app *TransferInApp) CheckTransferInSynPackage(transferInPackage *types.TransferInSynPackage) error
- func (app *TransferInApp) ExecuteAckPackage(ctx sdk.Context, header *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
- func (app *TransferInApp) ExecuteFailAckPackage(ctx sdk.Context, header *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
- func (app *TransferInApp) ExecuteSynPackage(ctx sdk.Context, appCtx *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
- type TransferOutApp
- func (app *TransferOutApp) CheckPackage(refundPackage *types.TransferOutRefundPackage) error
- func (app *TransferOutApp) ExecuteAckPackage(ctx sdk.Context, appCtx *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
- func (app *TransferOutApp) ExecuteFailAckPackage(ctx sdk.Context, appCtx *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
- func (app *TransferOutApp) ExecuteSynPackage(ctx sdk.Context, header *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func RegisterCrossApps ¶
func RegisterCrossApps(keeper Keeper)
Types ¶
type Keeper ¶
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, bankKeeper types.BankKeeper, stakingKeepr types.StakingKeeper, crossChainKeeper types.CrossChainKeeper, ) *Keeper
func (Keeper) GetRefundTransferInPayload ¶
func (k Keeper) GetRefundTransferInPayload(transferInClaim *types.TransferInSynPackage, refundReason types.RefundReason) ([]byte, error)
func (Keeper) GetTransferOutRelayerFee ¶
GetTransferOutRelayerFee gets the transfer out relayer fee params
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
type TransferInApp ¶
type TransferInApp struct {
// contains filtered or unexported fields
}
func NewTransferInApp ¶
func NewTransferInApp(bridgeKeeper Keeper) *TransferInApp
func (*TransferInApp) CheckTransferInSynPackage ¶
func (app *TransferInApp) CheckTransferInSynPackage(transferInPackage *types.TransferInSynPackage) error
func (*TransferInApp) ExecuteAckPackage ¶
func (app *TransferInApp) ExecuteAckPackage(ctx sdk.Context, header *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
func (*TransferInApp) ExecuteFailAckPackage ¶
func (app *TransferInApp) ExecuteFailAckPackage(ctx sdk.Context, header *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
func (*TransferInApp) ExecuteSynPackage ¶
func (app *TransferInApp) ExecuteSynPackage(ctx sdk.Context, appCtx *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
type TransferOutApp ¶
type TransferOutApp struct {
// contains filtered or unexported fields
}
func NewTransferOutApp ¶
func NewTransferOutApp(keeper Keeper) *TransferOutApp
func (*TransferOutApp) CheckPackage ¶
func (app *TransferOutApp) CheckPackage(refundPackage *types.TransferOutRefundPackage) error
func (*TransferOutApp) ExecuteAckPackage ¶
func (app *TransferOutApp) ExecuteAckPackage(ctx sdk.Context, appCtx *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
func (*TransferOutApp) ExecuteFailAckPackage ¶
func (app *TransferOutApp) ExecuteFailAckPackage(ctx sdk.Context, appCtx *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
func (*TransferOutApp) ExecuteSynPackage ¶
func (app *TransferOutApp) ExecuteSynPackage(ctx sdk.Context, header *sdk.CrossChainAppContext, payload []byte) sdk.ExecuteResult
Click to show internal directories.
Click to hide internal directories.