package
0.12.4
Repository: https://github.com/mokitanetwork/aether.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState defines default GenesisState for savings.
DefaultParams default params for savings.
NewDeposit returns a new deposit.
NewGenesisState creates a new genesis state for the savings module.
No description provided by the author
NewMsgDeposit returns a new MsgDeposit.
NewMsgWithdraw returns a new MsgWithdraw.
NewMultiSavingsHooks returns a new MultiSavingsHooks.
NewParams creates a new Params object.
No description provided by the author
ParamKeyTable Key declaration for parameters.
No description provided by the author
RegisterLegacyAminoCodec registers all the necessary types and interfaces for the savings module.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
DefaultParamspace default namestore.
No description provided by the author
No description provided by the author
ModuleAccountName is the module account's name.
ModuleName The name that will be used throughout the module.
QuerierRoute is the querier route for gov.
RouterKey Top level router key.
StoreKey Top level store key where all module items will be stored.

# Variables

Parameter keys.
No description provided by the author
ErrEmptyInput error for empty input.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidDepositDenom error for invalid deposit denom.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidWithdrawDenom error for invalid withdraw denoms.
ErrNoDepositFound error when no deposit is found for an address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parameter keys.
No description provided by the author

# Structs

Deposit defines an amount of coins deposited into a savings module account.
GenesisState defines the savings module's genesis state.
MsgDeposit defines the Msg/Deposit request type.
MsgDepositResponse defines the Msg/Deposit response type.
MsgWithdraw defines the Msg/Withdraw request type.
MsgWithdrawResponse defines the Msg/Withdraw response type.
Params defines the parameters for the savings module.
QueryDepositsRequest defines the request type for querying x/savings deposits.
QueryDepositsResponse defines the response type for querying x/savings deposits.
QueryParamsRequest defines the request type for querying x/savings parameters.
QueryParamsResponse defines the response type for querying x/savings parameters.
QueryTotalSupplyRequest defines the request type for Query/TotalSupply method.
TotalSupplyResponse defines the response type for the Query/TotalSupply method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

AccountKeeper defines the expected keeper interface for interacting with account.
BankKeeper defines the expected bank keeper.
No description provided by the author
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
SavingsHooks event hooks for other keepers to run code in response to Savings modifications.

# Type aliases

Deposits is a slice of Deposit.
MultiSavingsHooks combine multiple Savings hooks, all hook functions are run in array sequence.