feegrant

package
v0.0.0-...-f148bc3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allowance

type Allowance struct {
	SpendLimit []models.Coin `bson:"spend_limit"`
	Expiration int64         `bson:"expiration"`
}

type Client

type Client interface {
	HandleTxMsg(v types.Msg) (MsgDocInfo, bool)
}

func NewClient

func NewClient() Client

type DocTxMsgGrantAllowance

type DocTxMsgGrantAllowance struct {
	Granter   string     `bson:"granter"`
	Grantee   string     `bson:"grantee"`
	Allowance *Allowance `bson:"allowance"`
}

func (*DocTxMsgGrantAllowance) BuildMsg

func (m *DocTxMsgGrantAllowance) BuildMsg(v interface{})

func (*DocTxMsgGrantAllowance) GetType

func (m *DocTxMsgGrantAllowance) GetType() string

func (*DocTxMsgGrantAllowance) HandleTxMsg

func (m *DocTxMsgGrantAllowance) HandleTxMsg(v sdk.Msg) MsgDocInfo

type DocTxMsgRevokeAllowance

type DocTxMsgRevokeAllowance struct {
	Granter string `bson:"granter"`
	Grantee string `bson:"grantee"`
}

func (*DocTxMsgRevokeAllowance) BuildMsg

func (m *DocTxMsgRevokeAllowance) BuildMsg(v interface{})

func (*DocTxMsgRevokeAllowance) GetType

func (m *DocTxMsgRevokeAllowance) GetType() string

func (*DocTxMsgRevokeAllowance) HandleTxMsg

func (m *DocTxMsgRevokeAllowance) HandleTxMsg(v sdk.Msg) MsgDocInfo

Jump to

Keyboard shortcuts

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