Versions in this module Expand all Collapse all v1 v1.1.0 Jan 6, 2024 Changes in this version + func ParseArgs(args []string, abi Abi) ([]any, error) + type Abi struct + Inputs []AbiInput + Name string + Outputs []AbiOutput + StateMutability string + Type string + type AbiInput struct + Indexed bool + Name string + Type string + type AbiOutput struct + Name string + Type string + type Client interface + BalanceOf func(address string) (uint64, error) + ChainID func() (uint64, error) + PrivateKey func() PrivateKey + RawEthClient func() *ethclient.Client + SuggestedGasPrice func() (uint64, error) + Transaction func(txHash string) (tx *types.Transaction, isPending bool, err error) + WaitForMined func(txHash string) error + func NewClient(rpcURL string, privateKey PrivateKey) Client + func NewClientWithoutPrivateKey(rpcURL string) Client + type Contract interface + func NewContract(abi string, bin string, address string) Contract + type DeployContractResult struct + Address string + Nonce uint64 + TxHash string + type PrivateKey interface + Hex func() string + PublicKey func() PublicKey + RawPrivateKey func() *ecdsa.PrivateKey + func NewPrivateKey() PrivateKey + func NewPrivateKeyFromHex(hex string) PrivateKey + type PublicKey interface + Address func() string + RawPublicKey func() *ecdsa.PublicKey + func NewPublicKeyFromHex(hex string) PublicKey + type TransactOpts struct + GasLimit uint + GasPrice uint + Value uint + type WriteContractResult struct + Nonce uint64 + TxHash string