cmd

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TREZOR_BASE_PATH      string = "m/44'/60'/0'/0/%d"
	LEDGER_LIVE_BASE_PATH string = "m/44'/60'/%d'/0/0"
	LEDGER_BASE_PATH      string = "m/44'/60'/0'/%d"

	WALLET_PAGING int = 5
)
View Source
const (
	VERSION string = "0.0.33"
)

Variables

View Source
var (
	NetworkConfig string
	NetworkForce  bool
)

Functions

func AddCommonFlagsToTransactionalCmds added in v0.0.30

func AddCommonFlagsToTransactionalCmds(c *cobra.Command)

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.

func GetApproverAccountFromMsig added in v0.0.30

func GetApproverAccountFromMsig(multisigContract *msig.MultisigContract) (string, error)

func PromptNetwork added in v0.0.33

func PromptNetwork() networks.Network

TODO: in this version, we only support adding a new network that works with etherscan in next version, we will support adding a new network that works with altlayer or doesn't have a block explorer

func SupportedNetworkAndBlockExplorerVariableHelpString added in v0.0.20

func SupportedNetworkAndBlockExplorerVariableHelpString() string

func SupportedNetworkAndNodeVariableHelpString added in v0.0.20

func SupportedNetworkAndNodeVariableHelpString() string

func SupportedNetworkAndNodesHelpString added in v0.0.20

func SupportedNetworkAndNodesHelpString() string

Types

type HW

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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