Versions in this module Expand all Collapse all v19 v19.0.0 Mar 8, 2024 Changes in this version + func EmitHaltZoneEvent(ctx sdk.Context, hostZone types.HostZone) + func EmitSuccessfulConfirmDelegationEvent(ctx sdk.Context, recordId uint64, delegationAmount sdkmath.Int, txHash string, ...) + func EmitSuccessfulConfirmUnbondedTokenSweepEvent(ctx sdk.Context, recordId uint64, nativeAmount sdkmath.Int, txHash string, ...) + func EmitSuccessfulConfirmUndelegationEvent(ctx sdk.Context, recordId uint64, nativeAmount sdkmath.Int, txHash string, ...) + func EmitSuccessfulLiquidStakeEvent(ctx sdk.Context, staker string, hostZone types.HostZone, ...) + func EmitSuccessfulRedeemStakeEvent(ctx sdk.Context, staker string, hostZone types.HostZone, ...) + func NewMsgServerImpl(keeper Keeper) types.MsgServer + type Hooks struct + func (h Hooks) AfterEpochEnd(ctx sdk.Context, epochInfo epochstypes.EpochInfo) + func (h Hooks) BeforeEpochStart(ctx sdk.Context, epochInfo epochstypes.EpochInfo) + type Keeper struct + func NewKeeper(cdc codec.BinaryCodec, storeKey storetypes.StoreKey, ...) *Keeper + func (k Keeper) ArchiveDelegationRecord(ctx sdk.Context, delegationRecord types.DelegationRecord) + func (k Keeper) ArchiveFailedTransferRecord(ctx sdk.Context, recordId uint64) error + func (k Keeper) ArchiveUnbondingRecord(ctx sdk.Context, unbondingRecord types.UnbondingRecord) + func (k Keeper) BeforeEpochStart(ctx sdk.Context, epochInfo epochstypes.EpochInfo) + func (k Keeper) BeginBlocker(ctx sdk.Context) + func (k Keeper) BurnRedeemedStTokens(ctx sdk.Context, stTokensToBurn sdk.Coins, redemptionAddress string) error + func (k Keeper) CheckIsOperatorAddress(ctx sdk.Context, address string) error + func (k Keeper) CheckIsSafeAddress(ctx sdk.Context, address string) error + func (k Keeper) CheckIsSafeOrOperatorAddress(ctx sdk.Context, address string) error + func (k Keeper) CheckRedemptionRateExceedsBounds(ctx sdk.Context) error + func (k Keeper) ConfirmDelegation(ctx sdk.Context, recordId uint64, txHash string, sender string) (err error) + func (k Keeper) ConfirmUnbondedTokenSweep(ctx sdk.Context, recordId uint64, txHash string, sender string) (err error) + func (k Keeper) ConfirmUndelegation(ctx sdk.Context, recordId uint64, txHash string, sender string) (err error) + func (k Keeper) DelegationRecords(c context.Context, req *types.QueryDelegationRecordsRequest) (*types.QueryDelegationRecordsResponse, error) + func (k Keeper) DistributeClaims(ctx sdk.Context) error + func (k Keeper) DistributeClaimsForUnbondingRecord(ctx sdk.Context, hostNativeIbcDenom string, claimAddress sdk.AccAddress, ...) error + func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState + func (k Keeper) GetAccumulatingUnbondingRecord(ctx sdk.Context) (unbondingRecord types.UnbondingRecord, err error) + func (k Keeper) GetAllActiveDelegationRecords(ctx sdk.Context) (delegationRecords []types.DelegationRecord) + func (k Keeper) GetAllActiveUnbondingRecords(ctx sdk.Context) (unbondingRecords []types.UnbondingRecord) + func (k Keeper) GetAllArchivedDelegationRecords(ctx sdk.Context) (delegationRecords []types.DelegationRecord) + func (k Keeper) GetAllArchivedUnbondingRecords(ctx sdk.Context) (unbondingRecords []types.UnbondingRecord) + func (k Keeper) GetAllRedemptionRecords(ctx sdk.Context) (redemptionRecords []types.RedemptionRecord) + func (k Keeper) GetAllSlashRecords(ctx sdk.Context) (slashRecords []types.SlashRecord) + func (k Keeper) GetAllTransferInProgressId(ctx sdk.Context) (transferInProgressRecordIds []types.TransferInProgressRecordIds) + func (k Keeper) GetAllUnbondingRecordsByStatus(ctx sdk.Context, status types.UnbondingRecordStatus) (unbondingRecords []types.UnbondingRecord) + func (k Keeper) GetArchivedDelegationRecord(ctx sdk.Context, recordId uint64) (delegationRecord types.DelegationRecord, found bool) + func (k Keeper) GetArchivedUnbondingRecord(ctx sdk.Context, recordId uint64) (unbondingRecord types.UnbondingRecord, found bool) + func (k Keeper) GetDelegationRecord(ctx sdk.Context, recordId uint64) (delegationRecord types.DelegationRecord, found bool) + func (k Keeper) GetHostZone(ctx sdk.Context) (hostZone types.HostZone, err error) + func (k Keeper) GetRedemptionRecord(ctx sdk.Context, unbondingRecordId uint64, address string) (redemptionRecord types.RedemptionRecord, found bool) + func (k Keeper) GetRedemptionRecordsFromAddress(ctx sdk.Context, address string) (redemptionRecords []types.RedemptionRecord) + func (k Keeper) GetRedemptionRecordsFromUnbondingId(ctx sdk.Context, unbondingRecordId uint64) (redemptionRecords []types.RedemptionRecord) + func (k Keeper) GetTransferInProgressRecordId(ctx sdk.Context, channelId string, sequence uint64) (recordId uint64, found bool) + func (k Keeper) GetUnbondingRecord(ctx sdk.Context, recordId uint64) (unbondingRecord types.UnbondingRecord, found bool) + func (k Keeper) GetUnhaltedHostZone(ctx sdk.Context) (hostZone types.HostZone, err error) + func (k Keeper) HaltZone(ctx sdk.Context) + func (k Keeper) Hooks() Hooks + func (k Keeper) HostZone(c context.Context, req *types.QueryHostZoneRequest) (*types.QueryHostZoneResponse, error) + func (k Keeper) IncrementSlashRecordId(ctx sdk.Context) uint64 + func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) + func (k Keeper) LiquidStake(ctx sdk.Context, liquidStaker string, nativeAmount sdkmath.Int) (stToken sdk.Coin, err error) + func (k Keeper) LiquidStakeAndDistributeFees(ctx sdk.Context) error + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MarkFinishedUnbondings(ctx sdk.Context) + func (k Keeper) OnAcknowledgementPacket(ctx sdk.Context, packet channeltypes.Packet, acknowledgement []byte) error + func (k Keeper) OnTimeoutPacket(ctx sdk.Context, packet channeltypes.Packet) error + func (k Keeper) PostRedemptionRateToOracles(ctx sdk.Context) error + func (k Keeper) PrepareDelegation(ctx sdk.Context, epochNumber uint64, epochDuration time.Duration) error + func (k Keeper) PrepareUndelegation(ctx sdk.Context, epochNumber uint64) error + func (k Keeper) RedeemStake(ctx sdk.Context, redeemer string, stTokenAmount sdkmath.Int) (nativeToken sdk.Coin, err error) + func (k Keeper) RedemptionRecord(c context.Context, req *types.QueryRedemptionRecordRequest) (*types.QueryRedemptionRecordResponse, error) + func (k Keeper) RedemptionRecords(c context.Context, req *types.QueryRedemptionRecordsRequest) (*types.QueryRedemptionRecordsResponse, error) + func (k Keeper) RemoveDelegationRecord(ctx sdk.Context, recordId uint64) + func (k Keeper) RemoveHostZone(ctx sdk.Context) + func (k Keeper) RemoveRedemptionRecord(ctx sdk.Context, unbondingRecordId uint64, address string) + func (k Keeper) RemoveTransferInProgressRecordId(ctx sdk.Context, channelId string, sequence uint64) + func (k Keeper) RemoveUnbondingRecord(ctx sdk.Context, recordId uint64) + func (k Keeper) SafelyDistributeClaims(ctx sdk.Context) error + func (k Keeper) SafelyLiquidStakeAndDistributeFees(ctx sdk.Context) error + func (k Keeper) SafelyPrepareDelegation(ctx sdk.Context, epochNumber uint64, epochDuration time.Duration) error + func (k Keeper) SafelyPrepareUndelegation(ctx sdk.Context, epochNumber uint64) error + func (k Keeper) SafelySetDelegationRecord(ctx sdk.Context, delegationRecord types.DelegationRecord) error + func (k Keeper) SafelySetUnbondingRecord(ctx sdk.Context, unbondingRecord types.UnbondingRecord) error + func (k Keeper) SetArchivedDelegationRecord(ctx sdk.Context, delegationRecord types.DelegationRecord) + func (k Keeper) SetArchivedUnbondingRecord(ctx sdk.Context, unbondingRecord types.UnbondingRecord) + func (k Keeper) SetDelegationRecord(ctx sdk.Context, delegationRecord types.DelegationRecord) + func (k Keeper) SetHostZone(ctx sdk.Context, hostZone types.HostZone) + func (k Keeper) SetRedemptionRecord(ctx sdk.Context, redemptionRecord types.RedemptionRecord) + func (k Keeper) SetSlashRecord(ctx sdk.Context, slashRecord types.SlashRecord) + func (k Keeper) SetTransferInProgressRecordId(ctx sdk.Context, channelId string, sequence uint64, recordId uint64) + func (k Keeper) SetUnbondingRecord(ctx sdk.Context, unbondingRecord types.UnbondingRecord) + func (k Keeper) SlashRecords(c context.Context, req *types.QuerySlashRecordsRequest) (*types.QuerySlashRecordsResponse, error) + func (k Keeper) UnbondingRecords(c context.Context, req *types.QueryUnbondingRecordsRequest) (*types.QueryUnbondingRecordsResponse, error) + func (k Keeper) UpdateRedemptionRate(ctx sdk.Context) error + func (k Keeper) VerifyImpliedRedemptionRateFromUnbonding(ctx sdk.Context, stTokenSupplyBefore sdkmath.Int, ...) error v19.0.0-testnet Mar 8, 2024 Other modules containing this package github.com/Stride-Labs/stride/v20 github.com/Stride-Labs/stride/v21 github.com/Stride-Labs/stride/v22 github.com/Stride-Labs/stride/v23 github.com/Stride-Labs/stride/v24