Documentation ¶
Index ¶
- Constants
- type GasEstimator
- type GasEstimatorCaller
- type GasEstimatorCallerRaw
- type GasEstimatorCallerSession
- type GasEstimatorFilterer
- type GasEstimatorRaw
- func (_GasEstimator *GasEstimatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GasEstimator *GasEstimatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GasEstimator *GasEstimatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GasEstimatorSession
- type GasEstimatorTransactor
- type GasEstimatorTransactorRaw
- type GasEstimatorTransactorSession
Constants ¶
const GasEstimatorABI = "" /* 449-byte string literal not displayed */
GasEstimatorABI is the input ABI used to generate the binding from.
const GasEstimatorBin = "" /* 1106-byte string literal not displayed */
GasEstimatorBin is the compiled bytecode used for deploying new contracts.
const GasEstimatorDeployedBin = "" /* 1042-byte string literal not displayed */
GasEstimatorDeployedBin is the resulting bytecode of the created contract
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GasEstimator ¶
type GasEstimator struct { GasEstimatorCaller // Read-only binding to the contract GasEstimatorTransactor // Write-only binding to the contract GasEstimatorFilterer // Log filterer for contract events }
GasEstimator is an auto generated Go binding around an Ethereum contract.
func DeployGasEstimator ¶
func DeployGasEstimator(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GasEstimator, error)
DeployGasEstimator deploys a new Ethereum contract, binding an instance of GasEstimator to it.
func NewGasEstimator ¶
func NewGasEstimator(address common.Address, backend bind.ContractBackend) (*GasEstimator, error)
NewGasEstimator creates a new instance of GasEstimator, bound to a specific deployed contract.
type GasEstimatorCaller ¶
type GasEstimatorCaller struct {
// contains filtered or unexported fields
}
GasEstimatorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGasEstimatorCaller ¶
func NewGasEstimatorCaller(address common.Address, caller bind.ContractCaller) (*GasEstimatorCaller, error)
NewGasEstimatorCaller creates a new read-only instance of GasEstimator, bound to a specific deployed contract.
type GasEstimatorCallerRaw ¶
type GasEstimatorCallerRaw struct {
Contract *GasEstimatorCaller // Generic read-only contract binding to access the raw methods on
}
GasEstimatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GasEstimatorCallerRaw) Call ¶
func (_GasEstimator *GasEstimatorCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type GasEstimatorCallerSession ¶
type GasEstimatorCallerSession struct { Contract *GasEstimatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GasEstimatorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type GasEstimatorFilterer ¶
type GasEstimatorFilterer struct {
// contains filtered or unexported fields
}
GasEstimatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGasEstimatorFilterer ¶
func NewGasEstimatorFilterer(address common.Address, filterer bind.ContractFilterer) (*GasEstimatorFilterer, error)
NewGasEstimatorFilterer creates a new log filterer instance of GasEstimator, bound to a specific deployed contract.
type GasEstimatorRaw ¶
type GasEstimatorRaw struct {
Contract *GasEstimator // Generic contract binding to access the raw methods on
}
GasEstimatorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GasEstimatorRaw) Call ¶
func (_GasEstimator *GasEstimatorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*GasEstimatorRaw) Transact ¶
func (_GasEstimator *GasEstimatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasEstimatorRaw) Transfer ¶
func (_GasEstimator *GasEstimatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type GasEstimatorSession ¶
type GasEstimatorSession struct { Contract *GasEstimator // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GasEstimatorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GasEstimatorSession) Estimate ¶
func (_GasEstimator *GasEstimatorSession) Estimate(_to common.Address, _data []byte) (*types.Transaction, error)
Estimate is a paid mutator transaction binding the contract method 0x0eb34cd3.
Solidity: function estimate(address _to, bytes _data) returns(bool success, bytes result, uint256 gas)
type GasEstimatorTransactor ¶
type GasEstimatorTransactor struct {
// contains filtered or unexported fields
}
GasEstimatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGasEstimatorTransactor ¶
func NewGasEstimatorTransactor(address common.Address, transactor bind.ContractTransactor) (*GasEstimatorTransactor, error)
NewGasEstimatorTransactor creates a new write-only instance of GasEstimator, bound to a specific deployed contract.
func (*GasEstimatorTransactor) Estimate ¶
func (_GasEstimator *GasEstimatorTransactor) Estimate(opts *bind.TransactOpts, _to common.Address, _data []byte) (*types.Transaction, error)
Estimate is a paid mutator transaction binding the contract method 0x0eb34cd3.
Solidity: function estimate(address _to, bytes _data) returns(bool success, bytes result, uint256 gas)
type GasEstimatorTransactorRaw ¶
type GasEstimatorTransactorRaw struct {
Contract *GasEstimatorTransactor // Generic write-only contract binding to access the raw methods on
}
GasEstimatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GasEstimatorTransactorRaw) Transact ¶
func (_GasEstimator *GasEstimatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasEstimatorTransactorRaw) Transfer ¶
func (_GasEstimator *GasEstimatorTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type GasEstimatorTransactorSession ¶
type GasEstimatorTransactorSession struct { Contract *GasEstimatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GasEstimatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GasEstimatorTransactorSession) Estimate ¶
func (_GasEstimator *GasEstimatorTransactorSession) Estimate(_to common.Address, _data []byte) (*types.Transaction, error)
Estimate is a paid mutator transaction binding the contract method 0x0eb34cd3.
Solidity: function estimate(address _to, bytes _data) returns(bool success, bytes result, uint256 gas)