Documentation
¶
Index ¶
- Constants
- func MustCreateInputDataForMethod(method abi.Method) []byte
- func MustInputChainID() big.Int
- func MustInputContractAddress() string
- func MustInputPrivateKey() *ecdsa.PrivateKey
- func MustInputRpcUrl() string
- func MustSelectApplyConfig() bool
- func MustSelectContractABI(abis map[string]abi.ABI) abi.ABI
- func MustSelectMethod(contractABI abi.ABI, rw internalabi.MethodType) (string, abi.Method)
- func MustSelectReadOrWrite() internalabi.MethodType
- func MustSelectStep() step.Step
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 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 MustSelectMethod ¶
func MustSelectMethod(contractABI abi.ABI, rw internalabi.MethodType) (string, abi.Method)
func MustSelectReadOrWrite ¶
func MustSelectReadOrWrite() internalabi.MethodType
func MustSelectStep ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.