Documentation
¶
Index ¶
- Variables
- func AddressFromPrivateKey(pri string) (common.Address, error)
- func ETH32() decimal.Decimal
- func GWEIToWEI(value *big.Int) *big.Int
- func KeyTransactOpts(chainID *big.Int) (*bind.TransactOpts, error)
- func NewSimulatedClient(walletBalance *big.Int, gasLimit uint64) (*backends.SimulatedBackend, error)
- type EthClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ZERO_HASH = [32]byte{}
Functions ¶
func AddressFromPrivateKey ¶ added in v0.0.6
AddressFromPrivateKey Push out the address from the private key
func KeyTransactOpts ¶
func KeyTransactOpts(chainID *big.Int) (*bind.TransactOpts, error)
func NewSimulatedClient ¶ added in v0.0.5
func NewSimulatedClient(walletBalance *big.Int, gasLimit uint64) (*backends.SimulatedBackend, error)
NewSimulatedClient ETH client of constructing simulation transactions
Types ¶
Click to show internal directories.
Click to hide internal directories.