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, bytecode []byte) (string, error)
- func SendAction(elp action.Envelope, signer string) error
- func SendRaw(selp *iotextypes.Action) 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 )
View Source
const MainnetStakingAddress = "io1xpq62aw85uqzrccg9y5hnryv8ld2nkpycc3gza"
MainnetStakingAddress stores native staking address as string
Variables ¶
View Source
var ActionCmd = &cobra.Command{ Use: config.TranslateInLang(actionCmdUses, config.UILanguage), Short: config.TranslateInLang(actionCmdShorts, config.UILanguage), }
ActionCmd represents the action command
View Source
var StakeCmd = &cobra.Command{ Use: config.TranslateInLang(stakeCmdUses, config.UILanguage), Short: config.TranslateInLang(stakeCmdShorts, config.UILanguage), }
StakeCmd represent stake command
View Source
var Xrc20Cmd = &cobra.Command{ Use: config.TranslateInLang(xrc20CmdUses, config.UILanguage), Short: config.TranslateInLang(xrc20CmdShorts, config.UILanguage), }
Xrc20Cmd represent erc20 standard command-line
Functions ¶
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
- stake.go
- stakeadd.go
- stakecreate.go
- stakerelease.go
- stakerenew.go
- stakewithdraw.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.