Documentation ¶
Index ¶
Constants ¶
View Source
const FaucetStoreKey = "DefaultFaucetStoreKey"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct { BankKeeper bankkeeper.Keeper StakingKeeper stakingkeeper.Keeper AccountKeeper authkeeper.AccountKeeper Limit time.Duration // rate limiting for mint, etc 24 * time.Hours // contains filtered or unexported fields }
Keeper maintains the link to storage and exposes getter/setter methods for the various parts of the state machine
func NewKeeper ¶
func NewKeeper( bankKeeper bankkeeper.Keeper, stakingKeeper stakingkeeper.Keeper, accountKeeper authkeeper.AccountKeeper, amount int64, rateLimit time.Duration, storeKey sdk.StoreKey, cdc codec.BinaryMarshaler) Keeper
NewKeeper creates new instances of the Faucet Keeper
type QueryServer ¶
type QueryServer struct {
// contains filtered or unexported fields
}
func (QueryServer) QueryWhenBrr ¶
func (q QueryServer) QueryWhenBrr(c context.Context, req *types.QueryWhenBrrRequest) (*types.QueryWhenBrrResponse, error)
Click to show internal directories.
Click to hide internal directories.