feegrant

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	SaveFeeGrant(grant types.FeeGrant) error
	DeleteFeeGrant(granter string, grantee string, height int64) error
	DeleteExpiredFeeGrants(time time.Time) error
}

type Module

type Module struct {
	// contains filtered or unexported fields
}

func NewModule

func NewModule(node node.Node, cdc codec.Codec, db Database) *Module

NewModule returns a new Module instance

func (*Module) HandleMsg

func (m *Module) HandleMsg(_ int, msg sdk.Msg, tx *juno.Tx) error

HandleMsg implements modules.MessageModule

func (*Module) Name

func (m *Module) Name() string

Name implements modules.Module

func (*Module) RefreshFeeGrants

func (m *Module) RefreshFeeGrants(height int64) error

RefreshFeeGrants refreshes all the fee grants

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL