package
10.1.5+incompatible
Repository: https://github.com/coderbradlee/go-ethereum.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Bind generates a Go wrapper around a contract ABI.
DeployContract deploys a contract onto the Ethereum blockchain and binds the deployment address with a Go wrapper.
NewBoundContract creates a low level contract interface through which calls and transactions may be made through.
NewClefTransactor is a utility method to easily create a transaction signer with a clef backend.
NewKeyedTransactor is a utility method to easily create a transaction signer from a single private key.
NewKeyStoreTransactor is a utility method to easily create a transaction signer from an decrypted key from a keystore.
NewTransactor is a utility method to easily create a transaction signer from an encrypted json key stream and the associated passphrase.
WaitDeployed waits for a contract deployment transaction and returns the on-chain contract address when it is mined.
WaitMined waits for tx to be mined on the blockchain.
# Variables
ErrNoCode is returned by call and transact operations for which the requested recipient contract to operate on does not exist in the state db or does not have any code associated with it (i.e.
This error is returned by WaitDeployed if contract creation leaves an empty contract behind.
This error is raised when attempting to perform a pending state action on a backend that doesn't implement PendingContractCaller.
# Structs
BoundContract is the base wrapper object that reflects a contract on the Ethereum network.
CallOpts is the collection of options to fine tune a contract call request.
FilterOpts is the collection of options to fine tune filtering for events within a bound contract.
TransactOpts is the collection of authorization data required to create a valid Ethereum transaction.
WatchOpts is the collection of options to fine tune subscribing for events within a bound contract.
# Interfaces
ContractBackend defines the methods needed to work with contracts on a read-write basis.
ContractCaller defines the methods needed to allow operating with contract on a read only basis.
ContractFilterer defines the methods needed to access log events using one-off queries or continuous event subscriptions.
ContractTransactor defines the methods needed to allow operating with contract on a write only basis.
DeployBackend wraps the operations needed by WaitMined and WaitDeployed.
PendingContractCaller defines methods to perform contract calls on the pending state.