action

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IotexAction

type IotexAction struct {
	*iotextypes.Action
}

IotexAction iotextypes Action

type IotexActionCore

type IotexActionCore struct {
	*iotextypes.ActionCore
}

IotexActionCore iotextypes ActionCore

func NewExecution

func NewExecution(
	nonce uint64, gasLimit uint64, gasPrice *big.Int, amount *big.Int, contract string, data []byte,
) (*IotexActionCore, error)

NewExecution return new Execution ActionCore

func NewTransfer

func NewTransfer(
	nonce uint64, gasLimit uint64, gasPrice *big.Int, amount *big.Int, recipient string, payload []byte,
) (*IotexActionCore, error)

NewTransfer return new Transfer ActionCore

func (*IotexActionCore) Sign

func (ac *IotexActionCore) Sign(act account.Account) (*IotexAction, error)

Sign signs the ActionCore

Jump to

Keyboard shortcuts

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