Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAnteHandler ¶
func NewAnteHandler(opts HandlerOptions) (sdk.AnteHandler, error)
Types ¶
type GovPreventSpamDecorator ¶ added in v0.5.0
type GovPreventSpamDecorator struct {
// contains filtered or unexported fields
}
func NewGovPreventSpamDecorator ¶ added in v0.5.0
func NewGovPreventSpamDecorator(cdc codec.BinaryCodec, govKeeper *govkeeper.Keeper) GovPreventSpamDecorator
func (GovPreventSpamDecorator) AnteHandle ¶ added in v0.5.0
func (GovPreventSpamDecorator) ValidateGovMsgs ¶ added in v0.5.0
validateGovMsgs checks if the InitialDeposit amounts are greater than the minimum initial deposit amount
type HandlerOptions ¶
type HandlerOptions struct { ante.HandlerOptions Codec codec.BinaryCodec GovKeeper *govkeeper.Keeper IBCkeeper *ibckeeper.Keeper BypassMinFeeMsgTypes []string GlobalFeeSubspace paramtypes.Subspace StakingSubspace paramtypes.Subspace TxCounterStoreKey sdk.StoreKey WasmConfig wasmTypes.WasmConfig }
HandlerOptions extend the SDK's AnteHandler options by requiring the IBC channel keeper.
Click to show internal directories.
Click to hide internal directories.