Documentation ¶
Index ¶
- func GenerateExecuteLiquidStakeRateTxMsg(blockTime int64, feature types.LiquidStake, mintDenom, hostDenom string, ...) (sdk.Msg, []byte, error)
- func GenerateInstantiateLiquidStakeContractMsg(icaAccount liquidstakeibctypes.ICAAccount, feature types.LiquidStake, ...) (sdk.Msg, []byte, error)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type EpochHooks
- type Keeper
- func (k Keeper) AfterEpochEnd(ctx sdk.Context, epochIdentifier string, epochNumber int64) error
- func (k Keeper) AllHostChains(goCtx context.Context, req *types.QueryAllHostChainsRequest) (*types.QueryAllHostChainsResponse, error)
- func (k *Keeper) BeginBlock(ctx sdk.Context)
- func (k *Keeper) DoRecreateICA(ctx sdk.Context, hc types.HostChain)
- func (k Keeper) EpochHooks() EpochHooks
- func (k *Keeper) ExecuteLiquidStakeRateTx(ctx sdk.Context, feature types.LiquidStake, mintDenom, hostDenom string, ...) error
- func (k *Keeper) GenerateAndExecuteICATx(ctx sdk.Context, connectionID string, ownerID string, messages []proto.Message, ...) (icacontrollertypes.MsgSendTxResponse, error)
- func (k Keeper) GetAllHostChain(ctx sdk.Context) []types.HostChain
- func (k *Keeper) GetChainID(ctx sdk.Context, connectionID string) (string, error)
- func (k *Keeper) GetClientState(ctx sdk.Context, connectionID string) (exported.ClientState, error)
- func (k Keeper) GetHostChain(ctx sdk.Context, id uint64) (val types.HostChain, found bool)
- func (k Keeper) GetHostChainsByChainID(ctx sdk.Context, chainID string) []types.HostChain
- func (k *Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) HandleExecuteContractResponse(ctx sdk.Context, msg *wasmtypes.MsgExecuteContract, ...) error
- func (k Keeper) HandleInstantiateContractResponse(ctx sdk.Context, msg *wasmtypes.MsgInstantiateContract, ...) error
- func (k Keeper) HostChain(goCtx context.Context, req *types.QueryGetHostChainRequest) (*types.QueryGetHostChainResponse, error)
- func (k Keeper) IncrementHostChainID(ctx sdk.Context) (hostChainID uint64)
- func (k *Keeper) InstantiateLiquidStakeContract(ctx sdk.Context, icaAccount liquidstakeibctypes.ICAAccount, ...) error
- func (k Keeper) LiquidStakeIBCHooks() LiquidStakeIBCHooks
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k *Keeper) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, ...) error
- func (k *Keeper) OnChanOpenAck(ctx sdk.Context, portID string, channelID string, counterpartyChannelID string, ...) error
- func (k *Keeper) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress) error
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) PostCValueUpdate(ctx sdk.Context, mintDenom, hostDenom string, cValue sdk.Dec) error
- func (k Keeper) RemoveHostChain(ctx sdk.Context, id uint64)
- func (k Keeper) SetHostChain(ctx sdk.Context, chain types.HostChain)
- func (k *Keeper) SetParams(ctx sdk.Context, params types.Params)
- type LiquidStakeIBCHooks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateExecuteLiquidStakeRateTxMsg ¶ added in v2.9.0
func GenerateExecuteLiquidStakeRateTxMsg(blockTime int64, feature types.LiquidStake, mintDenom, hostDenom string, cValue sdk.Dec, hostchainId uint64, icaAccount liquidstakeibctypes.ICAAccount, ) (sdk.Msg, []byte, error)
func GenerateInstantiateLiquidStakeContractMsg ¶ added in v2.9.0
func GenerateInstantiateLiquidStakeContractMsg(icaAccount liquidstakeibctypes.ICAAccount, feature types.LiquidStake, id uint64, ) (sdk.Msg, []byte, error)
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type EpochHooks ¶
type EpochHooks struct {
// contains filtered or unexported fields
}
Wrapper struct
func (EpochHooks) AfterEpochEnd ¶
func (EpochHooks) BeforeEpochStart ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey storetypes.StoreKey, epochsKeeper types.EpochsKeeper, liquidstakeKeeper types.LiquidStakeKeeper, icaControllerKeeper types.ICAControllerKeeper, ibcKeeper *ibckeeper.Keeper, msgRouter *baseapp.MsgServiceRouter, authority string, ) *Keeper
func (Keeper) AfterEpochEnd ¶
func (Keeper) AllHostChains ¶
func (k Keeper) AllHostChains(goCtx context.Context, req *types.QueryAllHostChainsRequest) (*types.QueryAllHostChainsResponse, error)
func (*Keeper) BeginBlock ¶
func (*Keeper) ExecuteLiquidStakeRateTx ¶
func (k *Keeper) ExecuteLiquidStakeRateTx(ctx sdk.Context, feature types.LiquidStake, mintDenom, hostDenom string, cValue sdk.Dec, hostchainId uint64, connectionID string, icaAccount liquidstakeibctypes.ICAAccount, ) error
func (*Keeper) GenerateAndExecuteICATx ¶
func (Keeper) GetAllHostChain ¶
GetAllHostChain returns all chain
func (*Keeper) GetChainID ¶
GetChainID gets the id of the host chain given a connection id
func (*Keeper) GetClientState ¶
GetClientState retrieves the client state given a connection id
func (Keeper) GetHostChain ¶
GetHostChain returns a chain from its index
func (Keeper) GetHostChainsByChainID ¶
GetHostChain returns a chain from its index
func (Keeper) HandleExecuteContractResponse ¶
func (k Keeper) HandleExecuteContractResponse(ctx sdk.Context, msg *wasmtypes.MsgExecuteContract, resp wasmtypes.MsgExecuteContractResponse, ) error
func (Keeper) HandleInstantiateContractResponse ¶
func (k Keeper) HandleInstantiateContractResponse(ctx sdk.Context, msg *wasmtypes.MsgInstantiateContract, resp wasmtypes.MsgInstantiateContractResponse, icaMemo types.ICAMemo, ) error
func (Keeper) HostChain ¶
func (k Keeper) HostChain(goCtx context.Context, req *types.QueryGetHostChainRequest) (*types.QueryGetHostChainResponse, error)
func (Keeper) IncrementHostChainID ¶
IncrementHostChainID increments and returns a unique ID for an unbonding operation
func (*Keeper) InstantiateLiquidStakeContract ¶
func (k *Keeper) InstantiateLiquidStakeContract(ctx sdk.Context, icaAccount liquidstakeibctypes.ICAAccount, feature types.LiquidStake, id uint64, connectionID string, ) error
func (Keeper) LiquidStakeIBCHooks ¶
func (k Keeper) LiquidStakeIBCHooks() LiquidStakeIBCHooks
Create new lsibc hooks
func (*Keeper) OnAcknowledgementPacket ¶
func (k *Keeper) OnAcknowledgementPacket( ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte, relayer sdk.AccAddress, ) error
func (*Keeper) OnChanOpenAck ¶
func (*Keeper) OnTimeoutPacket ¶
func (k *Keeper) OnTimeoutPacket( ctx sdk.Context, packet channeltypes.Packet, relayer sdk.AccAddress, ) error
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) PostCValueUpdate ¶
func (Keeper) RemoveHostChain ¶
RemoveHostChain removes a chain from the store
func (Keeper) SetHostChain ¶
SetHostChain set a specific chain in the store from its index
type LiquidStakeIBCHooks ¶
type LiquidStakeIBCHooks struct {
// contains filtered or unexported fields
}
Wrapper struct
func (LiquidStakeIBCHooks) PostCValueUpdate ¶
Click to show internal directories.
Click to hide internal directories.