Documentation ¶
Index ¶
- func ExportGenesis(ctx sdk.Context, k Keeper) *types.GenesisState
- func InitGenesis(ctx sdk.Context, k Keeper, genState types.GenesisState)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func RegisterCrossApps(keeper Keeper)
- type Keeper
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) GetRefundTransferInPayload(transferInClaim *types.TransferInSynPackage, refundReason uint32) ([]byte, error)
- func (k Keeper) GetTransferOutRelayerFee(ctx sdk.Context) (sdkmath.Int, sdkmath.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) error
- type TransferInApp
- 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) 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 ExportGenesis ¶ added in v0.2.4
func ExportGenesis(ctx sdk.Context, k Keeper) *types.GenesisState
ExportGenesis returns the module's exported genesis
func InitGenesis ¶ added in v0.2.4
func InitGenesis(ctx sdk.Context, k Keeper, genState types.GenesisState)
InitGenesis initializes the module's state from a provided genesis state.
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func RegisterCrossApps ¶
func RegisterCrossApps(keeper Keeper)
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, bankKeeper types.BankKeeper, stakingKeepr types.StakingKeeper, crossChainKeeper types.CrossChainKeeper, authority string, ) *Keeper
func (Keeper) GetAuthority ¶ added in v0.2.0
func (Keeper) GetRefundTransferInPayload ¶
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) 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) 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.