Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AN = potato.AN
View Source
var ActN = potato.ActN
Functions ¶
func NewExec ¶
func NewExec(executer potato.AccountName, transaction potato.Transaction) *potato.Action
NewExec creates an `exec` action, found in the `poc.wrap` contract.
Given an `potato.Transaction`, call `potato.MarshalBinary` on it first, pass the resulting bytes as `potato.HexBytes` here.
Types ¶
type Exec ¶
type Exec struct { Executer potato.AccountName `json:"executer"` Transaction potato.Transaction `json:"trx"` }
Exec represents the `poc.system::exec` action.
Click to show internal directories.
Click to hide internal directories.