transfer

package
v1.6.51 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const RouteKey = "innertx"

Variables

View Source
var (
	EventType = types.EventType
	//AttributeKeyMethod           = types.AttributeKeyMethod
	AttributeValueTransfer = types.AttributeValueTransfer
	AttributeValueCategory = types.AttributeValueCategory
)

Functions

func GetNonceByAddress

func GetNonceByAddress(add types.AccAddress) (uint64, error)

func RegisterCodec

func RegisterCodec(cdc *amino.Codec)

Types

type MsgTransfer

type MsgTransfer struct {
	FromAddress sdk.AccAddress `json:"from"`
	To          sdk.AccAddress `json:"to"`
	Amount      sdk.Coins      `json:"amount"`
}

func NewMsgTransfer

func NewMsgTransfer(from, to sdk.AccAddress, amount sdk.Coins) *MsgTransfer

func (*MsgTransfer) Bytes

func (msg *MsgTransfer) Bytes() []byte

func (*MsgTransfer) GetFromAddress

func (msg *MsgTransfer) GetFromAddress() sdk.AccAddress

func (*MsgTransfer) MsgType

func (msg *MsgTransfer) MsgType() string

func (*MsgTransfer) Route

func (msg *MsgTransfer) Route() string

func (*MsgTransfer) ValidateBasic

func (msg *MsgTransfer) ValidateBasic() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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