Versions in this module Expand all Collapse all v0 v0.0.2 Jul 1, 2023 v0.0.1 Jul 2, 2023 Changes in this version + func AllInvariants(k Keeper) sdk.Invariant + func DepositsInvariant(k Keeper) sdk.Invariant + func NewMsgServerImpl(keeper Keeper) types.MsgServer + func NewQueryServerImpl(k Keeper) types.QueryServer + func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) + func SolvencyInvariant(k Keeper) sdk.Invariant + type Keeper struct + func NewKeeper(cdc codec.Codec, key storetypes.StoreKey, paramstore paramtypes.Subspace, ...) Keeper + func (k *Keeper) SetHooks(hooks types.MultiSavingsHooks) *Keeper + func (k Keeper) AfterSavingsDepositCreated(ctx sdk.Context, deposit types.Deposit) + func (k Keeper) BeforeSavingsDepositModified(ctx sdk.Context, deposit types.Deposit, incomingDenoms []string) + func (k Keeper) CalculateWithdrawAmount(available sdk.Coins, request sdk.Coins) (sdk.Coins, error) + func (k Keeper) DeleteDeposit(ctx sdk.Context, deposit types.Deposit) + func (k Keeper) Deposit(ctx sdk.Context, depositor sdk.AccAddress, coins sdk.Coins) error + func (k Keeper) GetAllDeposits(ctx sdk.Context) (deposits types.Deposits) + func (k Keeper) GetDeposit(ctx sdk.Context, depositor sdk.AccAddress) (types.Deposit, bool) + func (k Keeper) GetParams(ctx sdk.Context) types.Params + func (k Keeper) GetSavingsModuleAccountBalances(ctx sdk.Context) sdk.Coins + func (k Keeper) GetTotalDeposited(ctx sdk.Context, depositDenom string) (total sdkmath.Int) + func (k Keeper) IsDenomSupported(ctx sdk.Context, denom string) bool + func (k Keeper) IterateDeposits(ctx sdk.Context, cb func(deposit types.Deposit) (stop bool)) + func (k Keeper) Logger(ctx sdk.Context) log.Logger + func (k Keeper) SetDeposit(ctx sdk.Context, deposit types.Deposit) + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + func (k Keeper) ValidateDeposit(ctx sdk.Context, coins sdk.Coins) error + func (k Keeper) Withdraw(ctx sdk.Context, depositor sdk.AccAddress, coins sdk.Coins) error