transfer

package
v0.18.15 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableSend

func EnableSend(r action.Router) error

Types

type Send

type Send struct {
	From   action.Address `json:"from"`
	To     action.Address `json:"to"`
	Amount action.Amount  `json:"amount"`
}

func (Send) Marshal

func (s Send) Marshal() ([]byte, error)

func (Send) Signers

func (s Send) Signers() []action.Address

func (Send) Tags

func (s Send) Tags() kv.Pairs

func (Send) Type

func (s Send) Type() action.Type

func (*Send) Unmarshal

func (s *Send) Unmarshal(data []byte) error

type SendPool added in v0.14.3

type SendPool struct {
	From     action.Address
	PoolName string
	Amount   action.Amount
}

func (SendPool) Marshal added in v0.14.3

func (s SendPool) Marshal() ([]byte, error)

func (SendPool) Signers added in v0.14.3

func (s SendPool) Signers() []action.Address

func (SendPool) Tags added in v0.14.3

func (s SendPool) Tags() kv.Pairs

func (SendPool) Type added in v0.14.3

func (s SendPool) Type() action.Type

func (*SendPool) Unmarshal added in v0.14.3

func (s *SendPool) Unmarshal(bytes []byte) error

Jump to

Keyboard shortcuts

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