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 ¶
type GovPreventSpamDecorator struct {
// contains filtered or unexported fields
}
func NewGovPreventSpamDecorator ¶
func NewGovPreventSpamDecorator(cdc codec.BinaryCodec, govKeeper *govkeeper.Keeper) GovPreventSpamDecorator
func (GovPreventSpamDecorator) AnteHandle ¶
func (GovPreventSpamDecorator) ValidateGovMsgs ¶
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 GlobalFeeSubspace paramtypes.Subspace StakingSubspace paramtypes.Subspace }
HandlerOptions extend the SDK's AnteHandler options by requiring the IBC channel keeper.
Click to show internal directories.
Click to hide internal directories.