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