sudo

package
v0.0.0-...-b2c0fe3 Latest Latest
Warning

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

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

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.

Jump to

Keyboard shortcuts

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