Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendBlockDecorator ¶
type SendBlockDecorator struct {
Options SendBlockOptions
}
func NewSendBlockDecorator ¶
func NewSendBlockDecorator(options SendBlockOptions) *SendBlockDecorator
func (*SendBlockDecorator) AnteHandle ¶
func (*SendBlockDecorator) CheckIfBlocked ¶
func (decorator *SendBlockDecorator) CheckIfBlocked(msgs []sdk.Msg) error
CheckIfBlocked returns error if following are true: 1. decorator.permittedOnlySendTo has msg.GetSigners() has its key, and 2-1. msg is not a SendMsg, or 2-2. msg is SendMsg and the destination is not decorator.permittedOnlySendTo[msg.Sender]
type SendBlockOptions ¶
func NewSendBlockOptions ¶
func NewSendBlockOptions(appOpts servertypes.AppOptions) SendBlockOptions
Click to show internal directories.
Click to hide internal directories.