Versions in this module Expand all Collapse all v0 v0.34.7 Oct 3, 2019 Changes in this version + const CodeInvalidInput + const DefaultCodespace + const DefaultParamspace + const ModuleName + const RouterKey + var MsgCdc *codec.Codec + var ParamStoreKeyConstantFee = []byte("ConstantFee") + func ErrNilSender(codespace sdk.CodespaceType) sdk.Error + func ErrUnknownInvariant(codespace sdk.CodespaceType) sdk.Error + func InitGenesis(ctx sdk.Context, keeper Keeper, data GenesisState) + func NewHandler(k Keeper) sdk.Handler + func ParamKeyTable() params.KeyTable + func RegisterCodec(cdc *codec.Codec) + func ValidateGenesis(data GenesisState) error + type BankKeeper interface + SubtractCoins func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) (sdk.Coins, sdk.Tags, sdk.Error) + type DistrKeeper interface + DistributeFeePool func(ctx sdk.Context, amount sdk.Coins, receiveAddr sdk.AccAddress) sdk.Error + type FeeCollectionKeeper interface + AddCollectedFees func(ctx sdk.Context, coins sdk.Coins) sdk.Coins + type GenesisState struct + ConstantFee sdk.Coin + func DefaultGenesisState() GenesisState + func ExportGenesis(ctx sdk.Context, keeper Keeper) GenesisState + func NewGenesisState(constantFee sdk.Coin) GenesisState + type InvarRoute struct + Invar sdk.Invariant + ModuleName string + Route string + func NewInvarRoute(moduleName, route string, invar sdk.Invariant) InvarRoute + func (i InvarRoute) FullRoute() string + type Keeper struct + func NewKeeper(paramSpace params.Subspace, distrKeeper DistrKeeper, bankKeeper BankKeeper, ...) Keeper + func (k *Keeper) RegisterRoute(moduleName, route string, invar sdk.Invariant) + func (k Keeper) GetConstantFee(ctx sdk.Context) (constantFee sdk.Coin) + func (k Keeper) Routes() []InvarRoute + func (k Keeper) SetConstantFee(ctx sdk.Context, constantFee sdk.Coin) + type MsgVerifyInvariant struct + InvariantModuleName string + InvariantRoute string + Sender sdk.AccAddress + func NewMsgVerifyInvariant(sender sdk.AccAddress, invariantModuleName, invariantRoute string) MsgVerifyInvariant + func (msg MsgVerifyInvariant) FullInvariantRoute() string + func (msg MsgVerifyInvariant) GetSignBytes() []byte + func (msg MsgVerifyInvariant) GetSigners() []sdk.AccAddress + func (msg MsgVerifyInvariant) Route() string + func (msg MsgVerifyInvariant) Type() string + func (msg MsgVerifyInvariant) ValidateBasic() sdk.Error