package
1.0.0-rc.3
Repository: https://github.com/babylonlabs-io/babylon.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState creates a default GenesisState object.
DefaultMinter returns a Minter object with default values.
No description provided by the author
No description provided by the author
NewGenesisState creates a new GenesisState object.
NewMinter returns a new Minter object.
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
No description provided by the author
ValidateGenesis validates the provided genesis state to ensure the expected invariants holds.

# Constants

No description provided by the author
No description provided by the author
DaysPerYear is the mean length of the Gregorian calendar year.
No description provided by the author
DisinflationRate is the rate at which the inflation rate decreases each year.
No description provided by the author
TODO: should these be parameters?.
InitialInflationRate is the inflation rate that the network starts at.
TODO: should these be parameters?.
ModuleName is the name of the mint module.
TODO: should these be parameters?.
31,556,952,000,000,000.
QuerierRoute is the querier route for the mint store.
No description provided by the author
No description provided by the author
Query endpoints supported by the mint querier.
TODO: should these be parameters?.
31,556,952.
StoreKey is the default store key for mint.
TargetInflationRate is the inflation rate that the network aims to stabilize at.

# 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
No description provided by the author

# Structs

GenesisState defines the mint module's genesis state.
GenesisTime contains the timestamp of the genesis block.
Minter represents the mint state.
QueryAnnualProvisionsRequest is the request type for the Query/AnnualProvisions RPC method.
QueryAnnualProvisionsResponse is the response type for the Query/AnnualProvisions RPC method.
QueryGenesisTimeRequest is the request type for the Query/GenesisTime RPC method.
QueryGenesisTimeResponse is the response type for the Query/GenesisTime RPC method.
QueryInflationRateRequest is the request type for the Query/InflationRate RPC method.
QueryInflationRateResponse is the response type for the Query/InflationRate 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.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
StakingKeeper defines the expected staking keeper.