Versions in this module Expand all Collapse all v1 v1.46.6 May 5, 2023 Changes in this version + type BoundContract struct + func BindContract(client *ethclient.Client, contract *Contract) (*BoundContract, error) + func (c *BoundContract) DeployContract(opts *bind.TransactOpts, params ...interface{}) (common.Address, *types.Transaction, error) + func (c *BoundContract) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (c *BoundContract) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + func (contract *BoundContract) ABI() abi.ABI + func (contract *BoundContract) Address() common.Address + func (contract *BoundContract) Client() *ethclient.Client + func (contract *BoundContract) SetAddress(address common.Address) + func (contract *BoundContract) SetClient(client *ethclient.Client) + func (contract *BoundContract) SetTransact(fn TransactFunc) + func (contract *BoundContract) Source() *Contract + type Contract struct + ABI []byte + Address common.Address + Bin string + CompilerVersion string + Name string + SourcePath string + type NonceCache interface + Decr func(account common.Address) int64 + Get func(account common.Address) int64 + Incr func(account common.Address) int64 + Serialize func(account common.Address, fn func() error) error + Set func(account common.Address, nonce int64) + Sync func(account common.Address, syncFn func() (uint64, error)) + func NewNonceCache() NonceCache + type TransactFunc func(opts *bind.TransactOpts, contract *common.Address, input []byte) (*types.Transaction, error) + type Uniquify interface + Call func(id string, callable func() error) error + func NewUniquify() Uniquify + type Wei decimal.Decimal + func BigWei(w *big.Int) *Wei + func DecimalToWei(d decimal.Decimal) *Wei + func DecimalWei(d decimal.Decimal) *Wei + func Gwei(gwei uint64) *Wei + func StringWei(str string) *Wei + func ToWei(amount float64) *Wei + func (w *Wei) Add(amount *Wei) *Wei + func (w *Wei) Div(m int64) *Wei + func (w *Wei) Ether() float64 + func (w *Wei) Gwei() uint64 + func (w *Wei) Mul(m int64) *Wei + func (w *Wei) Scan(v interface{}) error + func (w *Wei) SplitEqual(parts int) []*Wei + func (w *Wei) Sub(amount *Wei) *Wei + func (w *Wei) ToInt() *big.Int + func (w *Wei) Tokens() float64 + func (w Wei) Bytes() []byte + func (w Wei) String() string + func (w Wei) StringGwei() string