Documentation
¶
Index ¶
- Constants
- Variables
- func AddCommonFlagsToTransactionalCmds(c *cobra.Command)
- func Execute()
- func GetApproverAccountFromMsig(multisigContract *msig.MultisigContract) (string, error)
- func PromptNetwork() networks.Network
- func SupportedNetworkAndBlockExplorerVariableHelpString() string
- func SupportedNetworkAndNodeVariableHelpString() string
- func SupportedNetworkAndNodesHelpString() string
- type HW
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 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
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)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.