Documentation ¶
Index ¶
- Constants
- func MustCreateInputDataForMethod(method abi.Method) []byte
- func MustInputChainID() big.Int
- func MustInputContractAddress() string
- func MustInputPrivateKey() *ecdsa.PrivateKey
- func MustInputRpcUrl() string
- func MustInputValue() *big.Int
- func MustSelectAddressBookUsage(contractAddr string) bool
- func MustSelectApplyConfig() bool
- func MustSelectContractABI(abis map[string]abi.ABI) (string, abi.ABI)
- func MustSelectMethod(contractABI abi.ABI, rw internalabi.MethodType) (string, abi.Method)
- func MustSelectReadOrWrite() internalabi.MethodType
- func MustSelectStep() step.Step
- func NoSelected(s string) bool
Constants ¶
View Source
const DefaultPromptListSize = 10
View Source
const SelectableListSize = 4
Variables ¶
This section is empty.
Functions ¶
func MustInputChainID ¶
func MustInputContractAddress ¶
func MustInputContractAddress() string
func MustInputPrivateKey ¶
func MustInputPrivateKey() *ecdsa.PrivateKey
func MustInputRpcUrl ¶
func MustInputRpcUrl() string
func MustInputValue ¶ added in v1.4.0
func MustSelectAddressBookUsage ¶ added in v1.5.0
func MustSelectApplyConfig ¶
func MustSelectApplyConfig() bool
MustSelectApplyConfig returns true if the user don't want to setup manually which means the user wants to apply the config file
func MustSelectContractABI ¶
MustSelectContractABI prompts the user to select a contract ABI and returns the selected contract name and ABI
func MustSelectMethod ¶
func MustSelectMethod(contractABI abi.ABI, rw internalabi.MethodType) (string, abi.Method)
func MustSelectReadOrWrite ¶
func MustSelectReadOrWrite() internalabi.MethodType
func MustSelectStep ¶
func NoSelected ¶ added in v1.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.