sudo

package
v0.0.0-...-d80206a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AN = uos.AN
View Source
var ActN = uos.ActN

Functions

func NewExec

func NewExec(executer uos.AccountName, transaction uos.Transaction) *uos.Action

NewExec creates an `exec` action, found in the `wxbio.wrap` contract.

Given an `uos.Transaction`, call `uos.MarshalBinary` on it first, pass the resulting bytes as `uos.HexBytes` here.

Types

type Exec

type Exec struct {
	Executer    uos.AccountName `json:"executer"`
	Transaction uos.Transaction `json:"trx"`
}

Exec represents the `wxbio.system::exec` action.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL