sudo

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AN = roxe.AN
View Source
var ActN = roxe.ActN

Functions

func NewExec

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

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

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

Types

type Exec

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

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

Jump to

Keyboard shortcuts

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