Versions in this module Expand all Collapse all v16 v16.0.0 Oct 15, 2023 Changes in this version + const IBCCallbacksID_LSMTransfer + const IBCCallbacksID_NativeTransfer + var LSMDepositTransferTimeout = time.Hour * 24 + func GetDepositRecordIDBytes(id uint64) []byte + func GetEpochUnbondingRecordIDBytes(id uint64) []byte + func GetEpochUnbondingRecordIDFromBytes(bz []byte) uint64 + type Keeper struct + AccountKeeper types.AccountKeeper + Cdc codec.BinaryCodec + IBCKeeper ibckeeper.Keeper + ICACallbacksKeeper icacallbackskeeper.Keeper + TransferKeeper ibctransferkeeper.Keeper + func NewKeeper(Cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ...) *Keeper + func (k Keeper) AddHostZoneToEpochUnbondingRecord(ctx sdk.Context, epochNumber uint64, chainId string, ...) (val *types.EpochUnbondingRecord, success bool) + func (k Keeper) AppendDepositRecord(ctx sdk.Context, depositRecord types.DepositRecord) uint64 + func (k Keeper) Callbacks() icacallbackstypes.ModuleCallbacks + func (k Keeper) DepositRecord(c context.Context, req *types.QueryGetDepositRecordRequest) (*types.QueryGetDepositRecordResponse, error) + func (k Keeper) DepositRecordAll(c context.Context, req *types.QueryAllDepositRecordRequest) (*types.QueryAllDepositRecordResponse, error) + func (k Keeper) DepositRecordByHost(c context.Context, req *types.QueryDepositRecordByHostRequest) (*types.QueryDepositRecordByHostResponse, error) + func (k Keeper) EpochUnbondingRecord(c context.Context, req *types.QueryGetEpochUnbondingRecordRequest) (*types.QueryGetEpochUnbondingRecordResponse, error) + func (k Keeper) EpochUnbondingRecordAll(c context.Context, req *types.QueryAllEpochUnbondingRecordRequest) (*types.QueryAllEpochUnbondingRecordResponse, error) + func (k Keeper) GetAllDepositRecord(ctx sdk.Context) (list []types.DepositRecord) + func (k Keeper) GetAllEpochUnbondingRecord(ctx sdk.Context) (list []types.EpochUnbondingRecord) + func (k Keeper) GetAllLSMTokenDeposit(ctx sdk.Context) []types.LSMTokenDeposit + func (k Keeper) GetAllPreviousEpochUnbondingRecords(ctx sdk.Context, epochNumber uint64) (list []types.EpochUnbondingRecord) + func (k Keeper) GetAllUserRedemptionRecord(ctx sdk.Context) (list []types.UserRedemptionRecord) + func (k Keeper) GetDepositRecord(ctx sdk.Context, id uint64) (val types.DepositRecord, found bool) + func (k Keeper) GetDepositRecordCount(ctx sdk.Context) uint64 + func (k Keeper) GetEpochUnbondingRecord(ctx sdk.Context, epochNumber uint64) (val types.EpochUnbondingRecord, found bool) + func (k Keeper) GetHostZoneUnbondingByChainId(ctx sdk.Context, epochNumber uint64, chainId string) (val *types.HostZoneUnbonding, found bool) + func (k Keeper) GetLSMDepositsForHostZone(ctx sdk.Context, chainId string) []types.LSMTokenDeposit + func (k Keeper) GetLSMDepositsForHostZoneWithStatus(ctx sdk.Context, chainId string, status types.LSMTokenDeposit_Status) []types.LSMTokenDeposit + func (k Keeper) GetLSMTokenDeposit(ctx sdk.Context, chainId, denom string) (deposit types.LSMTokenDeposit, found bool) + func (k Keeper) GetParams(ctx sdk.Context) types.Params + func (k Keeper) GetTransferDepositRecordByEpochAndChain(ctx sdk.Context, epochNumber uint64, chainId string) (val *types.DepositRecord, found bool) + func (k Keeper) GetUserRedemptionRecord(ctx sdk.Context, id string) (val types.UserRedemptionRecord, found bool) + func (k Keeper) IBCTransferLSMToken(ctx sdk.Context, lsmTokenDeposit types.LSMTokenDeposit, ...) error + func (k Keeper) IBCTransferNativeTokens(ctx sdk.Context, msg *transfertypes.MsgTransfer, ...) error + func (k Keeper) IterateUserRedemptionRecords(ctx sdk.Context, ...) + func (k Keeper) LSMDeposit(c context.Context, req *types.QueryLSMDepositRequest) (*types.QueryLSMDepositResponse, error) + func (k Keeper) LSMDeposits(c context.Context, req *types.QueryLSMDepositsRequest) (*types.QueryLSMDepositsResponse, error) + func (k Keeper) LSMTransferCallback(ctx sdk.Context, packet channeltypes.Packet, ...) error + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) MarshalTransferCallbackArgs(ctx sdk.Context, delegateCallback types.TransferCallback) ([]byte, error) + 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) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error) + func (k Keeper) RemoveDepositRecord(ctx sdk.Context, id uint64) + func (k Keeper) RemoveEpochUnbondingRecord(ctx sdk.Context, epochNumber uint64) + func (k Keeper) RemoveLSMTokenDeposit(ctx sdk.Context, chainId, denom string) + func (k Keeper) RemoveUserRedemptionRecord(ctx sdk.Context, id string) + func (k Keeper) SetDepositRecord(ctx sdk.Context, depositRecord types.DepositRecord) + func (k Keeper) SetDepositRecordCount(ctx sdk.Context, count uint64) + func (k Keeper) SetEpochUnbondingRecord(ctx sdk.Context, epochUnbondingRecord types.EpochUnbondingRecord) + func (k Keeper) SetHostZoneUnbondings(ctx sdk.Context, chainId string, epochUnbondingRecordIds []uint64, ...) error + func (k Keeper) SetLSMTokenDeposit(ctx sdk.Context, deposit types.LSMTokenDeposit) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) SetUserRedemptionRecord(ctx sdk.Context, userRedemptionRecord types.UserRedemptionRecord) + func (k Keeper) TransferCallback(ctx sdk.Context, packet channeltypes.Packet, ...) error + func (k Keeper) UnmarshalTransferCallbackArgs(ctx sdk.Context, delegateCallback []byte) (*types.TransferCallback, error) + func (k Keeper) UpdateLSMTokenDepositStatus(ctx sdk.Context, deposit types.LSMTokenDeposit, ...) + func (k Keeper) UserRedemptionRecord(c context.Context, req *types.QueryGetUserRedemptionRecordRequest) (*types.QueryGetUserRedemptionRecordResponse, error) + func (k Keeper) UserRedemptionRecordAll(c context.Context, req *types.QueryAllUserRedemptionRecordRequest) (*types.QueryAllUserRedemptionRecordResponse, error) + func (k Keeper) UserRedemptionRecordForUser(c context.Context, req *types.QueryAllUserRedemptionRecordForUserRequest) (*types.QueryAllUserRedemptionRecordForUserResponse, error) v16.0.0-testnet Dec 12, 2023 Other modules containing this package github.com/Stride-Labs/stride github.com/Stride-Labs/stride/v10 github.com/Stride-Labs/stride/v11 github.com/Stride-Labs/stride/v12 github.com/Stride-Labs/stride/v13 github.com/Stride-Labs/stride/v14 github.com/Stride-Labs/stride/v15 github.com/Stride-Labs/stride/v17 github.com/Stride-Labs/stride/v18 github.com/Stride-Labs/stride/v19 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 github.com/Stride-Labs/stride/v3 github.com/Stride-Labs/stride/v4 github.com/Stride-Labs/stride/v5 github.com/Stride-Labs/stride/v6 github.com/Stride-Labs/stride/v7 github.com/Stride-Labs/stride/v8 github.com/Stride-Labs/stride/v9