package
3.46.13-integrate-alpha.2
Repository: https://github.com/dungtt-astra/astra.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState creates a default GenesisState object.
DefaultInitialMinter returns a default initial Minter object for a new chain which uses an inflation rate of 10%.
DefaultParams returns the default parameters for this module.
InitialMinter returns an initial Minter object with a given inflation value.
NewGenesisState creates a new GenesisState object.
NewMinter returns a new Minter object with the given inflation and annual provisions values.
No description provided by the author
No description provided by the author
ParamKeyTable returns the KeyTable for this module.
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
ValidateGenesis validates the provided genesis state to ensure the expected invariants holds.
ValidateMinter sanity-checks the given Minter.

# Constants

Minting module event types.
Minting module event types.
Minting module event types.
Minting module event types.
No description provided by the author
QuerierRoute is the querier route for the minting store.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StoreKey is the default store key for mint.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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 store keys.
Parameter store keys.
Parameter store keys.
Parameter store keys.
MinterKey is the key to use for the keeper store.
MinterKey is the key to use for the keeper store.

# Structs

GenesisState defines the mint module's genesis state.
InflationDistribution defines how the block rewards are distributed to each module/component (i.e, Staking Rewards, Astra Foundation, and the Community Pool).
InflationParameters defines how new provisions are minted through inflation.
Minter represents the minting state.
Params holds parameters for the mint module.
QueryAnnualProvisionsRequest is the request type for the Query/AnnualProvisions RPC method.
QueryAnnualProvisionsResponse is the response type for the Query/AnnualProvisions RPC method.
QueryTotalMintedProvision is the request type for the Query/BlockProvision RPC method.
QueryTotalMintedProvisionResponse is the response type for the Query/BlockProvision RPC method.
QueryBondedRatioRequest is the request type for the Query/BondedRatio RPC method.
QueryBondedRatioResponse is the response type for the Query/BondedRatio RPC method.
QueryCirculatingSupplyRequest is the request type for the Query/CirculatingSupply RPC method.
QueryCirculatingSupplyResponse is the response type for the Query/CirculatingSupply RPC method.
QueryInflationRequest is the request type for the Query/Inflation RPC method.
QueryInflationResponse is the response type for the Query/Inflation RPC method.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
QueryTotalMintedProvision is the request type for the Query/TotalMintedProvision RPC method.
QueryTotalMintedProvisionResponse is the response type for the Query/TotalMintedProvision RPC method.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

AccountKeeper defines the contract required for account APIs.
BankKeeper defines the contract needed to be fulfilled for banking and supply dependencies.
DistrKeeper defines the contract needed to be fulfilled for distribution keeper.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
StakingKeeper defines the expected staking keeper.