Documentation ¶
Index ¶
- Variables
- func NewScenario() scenariotypes.Scenario
- type GasBurner
- type GasBurnerCaller
- type GasBurnerCallerRaw
- type GasBurnerCallerSession
- type GasBurnerFilterer
- type GasBurnerRaw
- func (_GasBurner *GasBurnerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GasBurner *GasBurnerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GasBurner *GasBurnerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GasBurnerSession
- func (_GasBurner *GasBurnerSession) Burn1000k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerSession) Burn100k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerSession) Burn1500k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerSession) Burn2000k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerSession) Burn500k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerSession) BurnGasUnits(amount *big.Int) (*types.Transaction, error)
- type GasBurnerTransactor
- func (_GasBurner *GasBurnerTransactor) Burn1000k(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactor) Burn100k(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactor) Burn1500k(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactor) Burn2000k(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactor) Burn500k(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactor) BurnGasUnits(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- type GasBurnerTransactorRaw
- type GasBurnerTransactorSession
- func (_GasBurner *GasBurnerTransactorSession) Burn1000k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactorSession) Burn100k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactorSession) Burn1500k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactorSession) Burn2000k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactorSession) Burn500k() (*types.Transaction, error)
- func (_GasBurner *GasBurnerTransactorSession) BurnGasUnits(amount *big.Int) (*types.Transaction, error)
- type Scenario
- type ScenarioOptions
Constants ¶
This section is empty.
Variables ¶
var GasBurnerABI = GasBurnerMetaData.ABI
GasBurnerABI is the input ABI used to generate the binding from. Deprecated: Use GasBurnerMetaData.ABI instead.
var GasBurnerBin = GasBurnerMetaData.Bin
GasBurnerBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GasBurnerMetaData.Bin instead.
var GasBurnerMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"burn1000k\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burn100k\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burn1500k\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burn2000k\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burn500k\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burnGasUnits\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"}]",
Bin: "0x608060405234801561001057600080fd5b506101ed806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80631ff94f73146100675780634158735914610071578063419f772e14610084578063a2cea6351461008c578063d0da1e3514610094578063e37937701461009c575b600080fd5b61006f6100a4565b005b61006f61007f366004610156565b6100c6565b61006f6100e6565b61006f6100f2565b61006f6100fe565b61006f61010a565b6100b06207a120610112565b6000805490806100bf83610185565b9190505550565b6100cf81610112565b6000805490806100de83610185565b919050555050565b6100b0620186a0610112565b6100b06216e360610112565b6100b0621e8480610112565b6100b0620f42405b60005a905081811161012757506103e8610134565b610131828261019e565b90505b60005b815a1115610151578061014981610185565b915050610137565b505050565b60006020828403121561016857600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016101975761019761016f565b5060010190565b818103818111156101b1576101b161016f565b9291505056fea2646970667358221220270149b77953b8ff91111fb3cffd74ceeccffbc9594d46ada1a9a7c08b00575664736f6c63430008180033",
}
GasBurnerMetaData contains all meta data concerning the GasBurner contract.
Functions ¶
func NewScenario ¶
func NewScenario() scenariotypes.Scenario
Types ¶
type GasBurner ¶
type GasBurner struct { GasBurnerCaller // Read-only binding to the contract GasBurnerTransactor // Write-only binding to the contract GasBurnerFilterer // Log filterer for contract events }
GasBurner is an auto generated Go binding around an Ethereum contract.
func DeployGasBurner ¶
func DeployGasBurner(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *GasBurner, error)
DeployGasBurner deploys a new Ethereum contract, binding an instance of GasBurner to it.
func NewGasBurner ¶
NewGasBurner creates a new instance of GasBurner, bound to a specific deployed contract.
type GasBurnerCaller ¶
type GasBurnerCaller struct {
// contains filtered or unexported fields
}
GasBurnerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGasBurnerCaller ¶
func NewGasBurnerCaller(address common.Address, caller bind.ContractCaller) (*GasBurnerCaller, error)
NewGasBurnerCaller creates a new read-only instance of GasBurner, bound to a specific deployed contract.
type GasBurnerCallerRaw ¶
type GasBurnerCallerRaw struct {
Contract *GasBurnerCaller // Generic read-only contract binding to access the raw methods on
}
GasBurnerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GasBurnerCallerRaw) Call ¶
func (_GasBurner *GasBurnerCallerRaw) 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 GasBurnerCallerSession ¶
type GasBurnerCallerSession struct { Contract *GasBurnerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GasBurnerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type GasBurnerFilterer ¶
type GasBurnerFilterer struct {
// contains filtered or unexported fields
}
GasBurnerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGasBurnerFilterer ¶
func NewGasBurnerFilterer(address common.Address, filterer bind.ContractFilterer) (*GasBurnerFilterer, error)
NewGasBurnerFilterer creates a new log filterer instance of GasBurner, bound to a specific deployed contract.
type GasBurnerRaw ¶
type GasBurnerRaw struct {
Contract *GasBurner // Generic contract binding to access the raw methods on
}
GasBurnerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GasBurnerRaw) Call ¶
func (_GasBurner *GasBurnerRaw) 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 (*GasBurnerRaw) Transact ¶
func (_GasBurner *GasBurnerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasBurnerRaw) Transfer ¶
func (_GasBurner *GasBurnerRaw) 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 GasBurnerSession ¶
type GasBurnerSession struct { Contract *GasBurner // 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 }
GasBurnerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GasBurnerSession) Burn1000k ¶
func (_GasBurner *GasBurnerSession) Burn1000k() (*types.Transaction, error)
Burn1000k is a paid mutator transaction binding the contract method 0xe3793770.
Solidity: function burn1000k() returns()
func (*GasBurnerSession) Burn100k ¶
func (_GasBurner *GasBurnerSession) Burn100k() (*types.Transaction, error)
Burn100k is a paid mutator transaction binding the contract method 0x419f772e.
Solidity: function burn100k() returns()
func (*GasBurnerSession) Burn1500k ¶
func (_GasBurner *GasBurnerSession) Burn1500k() (*types.Transaction, error)
Burn1500k is a paid mutator transaction binding the contract method 0xa2cea635.
Solidity: function burn1500k() returns()
func (*GasBurnerSession) Burn2000k ¶
func (_GasBurner *GasBurnerSession) Burn2000k() (*types.Transaction, error)
Burn2000k is a paid mutator transaction binding the contract method 0xd0da1e35.
Solidity: function burn2000k() returns()
func (*GasBurnerSession) Burn500k ¶
func (_GasBurner *GasBurnerSession) Burn500k() (*types.Transaction, error)
Burn500k is a paid mutator transaction binding the contract method 0x1ff94f73.
Solidity: function burn500k() returns()
func (*GasBurnerSession) BurnGasUnits ¶
func (_GasBurner *GasBurnerSession) BurnGasUnits(amount *big.Int) (*types.Transaction, error)
BurnGasUnits is a paid mutator transaction binding the contract method 0x41587359.
Solidity: function burnGasUnits(uint256 amount) returns()
type GasBurnerTransactor ¶
type GasBurnerTransactor struct {
// contains filtered or unexported fields
}
GasBurnerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGasBurnerTransactor ¶
func NewGasBurnerTransactor(address common.Address, transactor bind.ContractTransactor) (*GasBurnerTransactor, error)
NewGasBurnerTransactor creates a new write-only instance of GasBurner, bound to a specific deployed contract.
func (*GasBurnerTransactor) Burn1000k ¶
func (_GasBurner *GasBurnerTransactor) Burn1000k(opts *bind.TransactOpts) (*types.Transaction, error)
Burn1000k is a paid mutator transaction binding the contract method 0xe3793770.
Solidity: function burn1000k() returns()
func (*GasBurnerTransactor) Burn100k ¶
func (_GasBurner *GasBurnerTransactor) Burn100k(opts *bind.TransactOpts) (*types.Transaction, error)
Burn100k is a paid mutator transaction binding the contract method 0x419f772e.
Solidity: function burn100k() returns()
func (*GasBurnerTransactor) Burn1500k ¶
func (_GasBurner *GasBurnerTransactor) Burn1500k(opts *bind.TransactOpts) (*types.Transaction, error)
Burn1500k is a paid mutator transaction binding the contract method 0xa2cea635.
Solidity: function burn1500k() returns()
func (*GasBurnerTransactor) Burn2000k ¶
func (_GasBurner *GasBurnerTransactor) Burn2000k(opts *bind.TransactOpts) (*types.Transaction, error)
Burn2000k is a paid mutator transaction binding the contract method 0xd0da1e35.
Solidity: function burn2000k() returns()
func (*GasBurnerTransactor) Burn500k ¶
func (_GasBurner *GasBurnerTransactor) Burn500k(opts *bind.TransactOpts) (*types.Transaction, error)
Burn500k is a paid mutator transaction binding the contract method 0x1ff94f73.
Solidity: function burn500k() returns()
func (*GasBurnerTransactor) BurnGasUnits ¶
func (_GasBurner *GasBurnerTransactor) BurnGasUnits(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
BurnGasUnits is a paid mutator transaction binding the contract method 0x41587359.
Solidity: function burnGasUnits(uint256 amount) returns()
type GasBurnerTransactorRaw ¶
type GasBurnerTransactorRaw struct {
Contract *GasBurnerTransactor // Generic write-only contract binding to access the raw methods on
}
GasBurnerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GasBurnerTransactorRaw) Transact ¶
func (_GasBurner *GasBurnerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GasBurnerTransactorRaw) Transfer ¶
func (_GasBurner *GasBurnerTransactorRaw) 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 GasBurnerTransactorSession ¶
type GasBurnerTransactorSession struct { Contract *GasBurnerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GasBurnerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GasBurnerTransactorSession) Burn1000k ¶
func (_GasBurner *GasBurnerTransactorSession) Burn1000k() (*types.Transaction, error)
Burn1000k is a paid mutator transaction binding the contract method 0xe3793770.
Solidity: function burn1000k() returns()
func (*GasBurnerTransactorSession) Burn100k ¶
func (_GasBurner *GasBurnerTransactorSession) Burn100k() (*types.Transaction, error)
Burn100k is a paid mutator transaction binding the contract method 0x419f772e.
Solidity: function burn100k() returns()
func (*GasBurnerTransactorSession) Burn1500k ¶
func (_GasBurner *GasBurnerTransactorSession) Burn1500k() (*types.Transaction, error)
Burn1500k is a paid mutator transaction binding the contract method 0xa2cea635.
Solidity: function burn1500k() returns()
func (*GasBurnerTransactorSession) Burn2000k ¶
func (_GasBurner *GasBurnerTransactorSession) Burn2000k() (*types.Transaction, error)
Burn2000k is a paid mutator transaction binding the contract method 0xd0da1e35.
Solidity: function burn2000k() returns()
func (*GasBurnerTransactorSession) Burn500k ¶
func (_GasBurner *GasBurnerTransactorSession) Burn500k() (*types.Transaction, error)
Burn500k is a paid mutator transaction binding the contract method 0x1ff94f73.
Solidity: function burn500k() returns()
func (*GasBurnerTransactorSession) BurnGasUnits ¶
func (_GasBurner *GasBurnerTransactorSession) BurnGasUnits(amount *big.Int) (*types.Transaction, error)
BurnGasUnits is a paid mutator transaction binding the contract method 0x41587359.
Solidity: function burnGasUnits(uint256 amount) returns()
type Scenario ¶
type Scenario struct {
// contains filtered or unexported fields
}