Documentation ¶
Index ¶
- Constants
- Variables
- func Execute(contract string, amount *big.Int, bytecode []byte) error
- func Match(in string, matchType string) string
- func Read(contract address.Address, amount string, bytecode []byte) (string, error)
- func RegisterWriteCommand(cmd *cobra.Command)
- func SendAction(elp action.Envelope, signer string) error
- func SendRaw(selp *iotextypes.Action) error
- func Signer() (address string, err error)
Constants ¶
View Source
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 ¶
View Source
var ActionCmd = &cobra.Command{ Use: "action", Short: config.TranslateInLang(_actionCmdShorts, config.UILanguage), }
ActionCmd represents the action command
View Source
var Stake2Cmd = &cobra.Command{ Use: "stake2", Short: config.TranslateInLang(_stake2CmdShorts, config.UILanguage), }
Stake2Cmd represent stake2 command
View Source
var Xrc20Cmd = &cobra.Command{ Use: "xrc20", Short: config.TranslateInLang(_xrc20CmdShorts, config.UILanguage), }
Xrc20Cmd represent xrc20 standard command-line
Functions ¶
func RegisterWriteCommand ¶ added in v1.1.0
RegisterWriteCommand registers action flags for command
func SendAction ¶ added in v0.8.1
SendAction sends signed action to blockchain
func SendRaw ¶ added in v0.8.1
func SendRaw(selp *iotextypes.Action) error
SendRaw sends raw action to blockchain
Types ¶
This section is empty.
Source Files ¶
- action.go
- actionclaim.go
- actiondeploy.go
- actiondeposit.go
- actionhash.go
- actioninvoke.go
- actionread.go
- actionsendraw.go
- actiontransfer.go
- stake2.go
- stake2Transfer.go
- stake2Withdraw.go
- stake2add.go
- stake2change.go
- stake2create.go
- stake2reclaim.go
- stake2register.go
- stake2release.go
- stake2renew.go
- stake2update.go
- xrc20.go
- xrc20allowance.go
- xrc20approve.go
- xrc20balanceof.go
- xrc20const.go
- xrc20totalsupply.go
- xrc20transfer.go
- xrc20transferfrom.go
Click to show internal directories.
Click to hide internal directories.