cmd

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NEXT int = -1
	BACK int = -2
)
View Source
const (
	TREZOR_BASE_PATH string = "m/44'/60'/0'/0/%d"

	LEDGER_BASE_PATH string = "m/44'/60'/0'/%d"
)
View Source
const (
	VERSION string = "0.0.4"
)

Variables

View Source
var (
	MsigValue float64
	MsigTo    string
)
View Source
var (
	GasPrice      float64
	ExtraGasPrice float64
	GasLimit      uint64
	ExtraGasLimit uint64
	Nonce         uint64
	From          string
	FromAcc       accounts.AccDesc
	To            string
	Value         float64
	MethodIndex   uint64
	PrefillMode   bool
	PrefillStr    string
	PrefillParams []string
	Tx            string
	TxInfo        *ethutils.TxInfo
)
View Source
var Network string

Functions

func CommonTxPreprocess added in v0.0.2

func CommonTxPreprocess(cmd *cobra.Command, args []string) (err error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type HW

type HW interface {
	Derive(path gethaccounts.DerivationPath) (common.Address, error)
}

type Methods added in v0.0.2

type Methods []abi.Method

func (Methods) Len added in v0.0.2

func (self Methods) Len() int

func (Methods) Less added in v0.0.2

func (self Methods) Less(i, j int) bool

func (Methods) Swap added in v0.0.2

func (self Methods) Swap(i, j int)

Jump to

Keyboard shortcuts

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