iotex-core: github.com/iotexproject/iotex-core/ioctl/cmd/action Index | Files

package action

import "github.com/iotexproject/iotex-core/ioctl/cmd/action"

Index

Package Files

action.go actionclaim.go actiondeploy.go actiondeposit.go actionhash.go actioninvoke.go actionread.go actionsendraw.go actiontransfer.go xrc20.go xrc20allowance.go xrc20approve.go xrc20balanceof.go xrc20const.go xrc20totalsupply.go xrc20transfer.go xrc20transferfrom.go

Constants

const (
    // Pending action is in the action pool but not executed by blockchain
    Pending actionState = iota
    // Executed action has been run and recorded on blockchain
    Executed
)

Variables

var ActionCmd = &cobra.Command{
    Use:   "action",
    Short: "Manage actions of IoTeX blockchain",
}

ActionCmd represents the action command

var Xrc20Cmd = &cobra.Command{
    Use:   "xrc20",
    Short: "Supporting ERC20 standard command-line from ioctl",
}

Xrc20Cmd represent erc20 standard command-line

func Execute Uses

func Execute(contract string, amount *big.Int, bytecode []byte) error

Execute sends signed execution transaction to blockchain

func Match Uses

func Match(in string, matchType string) string

Match returns human readable expression

func Read Uses

func Read(contract address.Address, bytecode []byte) (string, error)

Read reads smart contract on IoTeX blockchain

func SendAction Uses

func SendAction(elp action.Envelope, signer string) error

SendAction sends signed action to blockchain

func SendRaw Uses

func SendRaw(selp *iotextypes.Action) error

SendRaw sends raw action to blockchain

Package action imports 30 packages (graph) and is imported by 1 packages. Updated 2019-08-19. Refresh now. Tools for package owners.