commands

package
v0.31.3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 58 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abi added in v0.29.0

func Abi(output Output) func(cmd *cli.Cmd)

Abi is a command line tool for ABI encoding and decoding. Event encoding/decoding still be added

func Accounts added in v0.28.0

func Accounts(output Output) func(cmd *cli.Cmd)

Accounts lists all the accounts in a chain, alongside with any metadata like contract name and ABI

func Compile added in v0.30.3

func Compile(output Output) func(cmd *cli.Cmd)

Currently this just compiles to Go fixtures - it might make sense to extend it to take a text template for output if it is convenient to expose our compiler wrappers outside of burrow deploy

func Configure

func Configure(output Output) func(cmd *cli.Cmd)

Configure generates burrow configuration(s)

func Deploy added in v0.20.1

func Deploy(output Output) func(cmd *cli.Cmd)

Deploy runs the desired playbook(s)

func Dump

func Dump(output Output) func(cmd *cli.Cmd)

Dump saves the state from a remote chain

func Explore added in v0.28.0

func Explore(output Output) func(cmd *cli.Cmd)

Explore chain state(s)

func Keys

func Keys(output Output) func(cmd *cli.Cmd)

Keys runs as either client or server

func Natives added in v0.29.0

func Natives(output Output) func(cmd *cli.Cmd)

Dump native contracts

func Restore added in v0.25.0

func Restore(output Output) func(cmd *cli.Cmd)

Restore reads a state file and saves into a runnable dir

func Spec

func Spec(output Output) func(cmd *cli.Cmd)

Spec generates a list of genesis accounts with certain permissions

func Start

func Start(output Output) func(cmd *cli.Cmd)

Start launches the burrow daemon

func Tx added in v0.26.0

func Tx(output Output) func(cmd *cli.Cmd)

Tx constructs or sends payloads to a burrow daemon

func Vent added in v0.24.0

func Vent(output Output) func(cmd *cli.Cmd)

Vent consumes EVM events and commits to a DB

Types

type LogLevel added in v0.31.1

type LogLevel string
const (
	LogLevelNone  LogLevel = "none"
	LogLevelInfo  LogLevel = "info"
	LogLevelTrace LogLevel = "trace"
)

type Output

type Output interface {
	Printf(format string, args ...interface{})
	Logf(format string, args ...interface{})
	Fatalf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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