prompt

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPromptListSize = 10
View Source
const SelectableListSize = 4

Variables

This section is empty.

Functions

func MustCreateInputDataForMethod

func MustCreateInputDataForMethod(method abi.Method) []byte

func MustInputChainID

func MustInputChainID() big.Int

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 MustSelectContractABI

func MustSelectContractABI(abis map[string]abi.ABI) abi.ABI

func MustSelectMethod

func MustSelectMethod(contractABI abi.ABI, rw internalabi.MethodType) (string, abi.Method)

func MustSelectReadOrWrite

func MustSelectReadOrWrite() internalabi.MethodType

func MustSelectStep

func MustSelectStep() step.Step

Types

This section is empty.

Jump to

Keyboard shortcuts

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