sudo

package
v1.12.12 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 1 Imported by: 2

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.

Jump to

Keyboard shortcuts

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