Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) AssertInvariants(ctx sdk.Context)
- func (k Keeper) GetConstantFee(ctx sdk.Context) (constantFee sdk.Coin)
- func (k Keeper) InvCheckPeriod() uint
- func (k Keeper) Invariants() []sdk.Invariant
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k *Keeper) RegisterRoute(moduleName, route string, invar sdk.Invariant)
- func (k Keeper) Routes() []types.InvarRoute
- func (k Keeper) SendCoinsFromAccountToFeeCollector(ctx sdk.Context, senderAddr sdk.AccAddress, amt sdk.Coins) sdk.Error
- func (k Keeper) SetConstantFee(ctx sdk.Context, constantFee sdk.Coin)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper - crisis keeper
func NewKeeper ¶
func NewKeeper( paramSpace params.Subspace, invCheckPeriod uint, supplyKeeper types.SupplyKeeper, feeCollectorName string, ) Keeper
NewKeeper creates a new Keeper object
func (Keeper) AssertInvariants ¶
AssertInvariants asserts all registered invariants. If any invariant fails, the method panics.
func (Keeper) GetConstantFee ¶
GetConstantFee get's the constant fee from the paramSpace
func (Keeper) InvCheckPeriod ¶
InvCheckPeriod returns the invariant checks period.
func (Keeper) Invariants ¶
Invariants returns all the registered Crisis keeper invariants.
func (*Keeper) RegisterRoute ¶
RegisterRoute register the routes for each of the invariants
func (Keeper) Routes ¶
func (k Keeper) Routes() []types.InvarRoute
Routes - return the keeper's invariant routes
Click to show internal directories.
Click to hide internal directories.