Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AfterAutoStakingEnd()
- func (k Keeper) AfterDelegateEnd(ctx sdk.Context, delegateMsg stakingtypes.MsgDelegate)
- func (k Keeper) AfterUndelegateEnd(ctx sdk.Context, undelegateMsg stakingtypes.MsgUndelegate, ...)
- func (k Keeper) AfterWithdrawEnd(ctx sdk.Context, transferMsg transfertypes.MsgTransfer)
- func (k *Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
- func (k Keeper) DeleteRegisteredZone(ctx sdk.Context, zoneId string)
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetBaseDenomForSnDenom(ctx sdk.Context, snDenom string) string
- func (k Keeper) GetIBCHashDenom(ctx sdk.Context, portId, chanId, baseDenom string) string
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetRegisteredZone(ctx sdk.Context, zoneId string) (types.RegisteredZone, bool)
- func (k Keeper) GetRegisteredZoneForValidatorAddr(ctx sdk.Context, validatorAddr string) *types.RegisteredZone
- func (k Keeper) GetZoneForDenom(ctx sdk.Context, denom string) *types.RegisteredZone
- func (k Keeper) GetsnDenomForBaseDenom(ctx sdk.Context, baseDenom string) string
- func (k *Keeper) HandleMsgData(ctx sdk.Context, packet channeltypes.Packet, msgData *sdk.MsgData) (string, error)
- func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
- func (k Keeper) InterchainAccountFromZone(goCtx context.Context, req *types.QueryInterchainAccountFromZoneRequest) (*types.QueryInterchainAccountFromZoneResponse, error)
- func (k Keeper) IsValidDaoModifier(ctx sdk.Context, daoModifier string) bool
- func (k Keeper) IterateRegisteredZones(ctx sdk.Context, ...)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) RegisterZone(ctx sdk.Context, zone *types.RegisteredZone)
- func (k Keeper) SendIcaTx(ctx sdk.Context, controllerId, connectionId string, msgs []sdk.Msg) error
- func (k *Keeper) SetHooks(eh types.ICAHooks) *Keeper
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl creates and returns a new types.MsgServer, fulfilling the ibcstaking Msg service interface
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.Codec, storeKey sdk.StoreKey, ak types.AccountKeeper, iaKeeper icacontrollerkeeper.Keeper, scopedKeeper capabilitykeeper.ScopedKeeper, paramStore paramtypes.Subspace) Keeper
func (Keeper) AfterAutoStakingEnd ¶
func (k Keeper) AfterAutoStakingEnd()
func (Keeper) AfterDelegateEnd ¶
func (k Keeper) AfterDelegateEnd(ctx sdk.Context, delegateMsg stakingtypes.MsgDelegate)
func (Keeper) AfterUndelegateEnd ¶
func (k Keeper) AfterUndelegateEnd(ctx sdk.Context, undelegateMsg stakingtypes.MsgUndelegate, response *stakingtypes.MsgUndelegateResponse)
func (Keeper) AfterWithdrawEnd ¶
func (k Keeper) AfterWithdrawEnd(ctx sdk.Context, transferMsg transfertypes.MsgTransfer)
func (*Keeper) ClaimCapability ¶
func (k *Keeper) ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
ClaimCapability claims the channel capability passed via the OnOpenChanInit callback
func (Keeper) DeleteRegisteredZone ¶
DeleteRegisteredZone delete zone info
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
func (Keeper) GetBaseDenomForSnDenom ¶
func (Keeper) GetIBCHashDenom ¶
func (Keeper) GetRegisteredZone ¶
GetRegisteredZone
func (Keeper) GetRegisteredZoneForValidatorAddr ¶
func (Keeper) GetZoneForDenom ¶
func (Keeper) GetsnDenomForBaseDenom ¶
func (*Keeper) HandleMsgData ¶
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
func (Keeper) InterchainAccountFromZone ¶
func (k Keeper) InterchainAccountFromZone(goCtx context.Context, req *types.QueryInterchainAccountFromZoneRequest) (*types.QueryInterchainAccountFromZoneResponse, error)
InterchainAccountFromAddress implements the Query/InterchainAccountFromAddress gRPC method
func (Keeper) IsValidDaoModifier ¶
func (Keeper) IterateRegisteredZones ¶
func (k Keeper) IterateRegisteredZones(ctx sdk.Context, fn func(index int64, zoneInfo types.RegisteredZone) (stop bool))
IterateRegisteredZones iterate through zones
func (Keeper) RegisterZone ¶
func (k Keeper) RegisterZone(ctx sdk.Context, zone *types.RegisteredZone)
RegisterZone
Click to show internal directories.
Click to hide internal directories.