Documentation ¶
Index ¶
- Variables
- func ContractAddress(chainID uint64) (common.Address, error)
- type Gaspriceoracle
- type GaspriceoracleCaller
- func (_Gaspriceoracle *GaspriceoracleCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) GasPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) GetAdmin(opts *bind.CallOpts) (common.Address, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) GetL1Fee(opts *bind.CallOpts, _data []byte) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) GetL1GasUsed(opts *bind.CallOpts, _data []byte) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) L1BaseFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) Overhead(opts *bind.CallOpts) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCaller) Scalar(opts *bind.CallOpts) (*big.Int, error)
- type GaspriceoracleCallerRaw
- type GaspriceoracleCallerSession
- func (_Gaspriceoracle *GaspriceoracleCallerSession) Admin() (common.Address, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) Decimals() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) GasPrice() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) GetAdmin() (common.Address, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) GetL1Fee(_data []byte) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) GetL1GasUsed(_data []byte) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) L1BaseFee() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) Overhead() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleCallerSession) Scalar() (*big.Int, error)
- type GaspriceoracleDecimalsUpdated
- type GaspriceoracleDecimalsUpdatedIterator
- type GaspriceoracleFilterer
- func (_Gaspriceoracle *GaspriceoracleFilterer) FilterDecimalsUpdated(opts *bind.FilterOpts) (*GaspriceoracleDecimalsUpdatedIterator, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) FilterGasPriceUpdated(opts *bind.FilterOpts) (*GaspriceoracleGasPriceUpdatedIterator, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) FilterL1BaseFeeUpdated(opts *bind.FilterOpts) (*GaspriceoracleL1BaseFeeUpdatedIterator, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) FilterOverheadUpdated(opts *bind.FilterOpts) (*GaspriceoracleOverheadUpdatedIterator, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) FilterScalarUpdated(opts *bind.FilterOpts) (*GaspriceoracleScalarUpdatedIterator, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) ParseDecimalsUpdated(log types.Log) (*GaspriceoracleDecimalsUpdated, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) ParseGasPriceUpdated(log types.Log) (*GaspriceoracleGasPriceUpdated, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) ParseL1BaseFeeUpdated(log types.Log) (*GaspriceoracleL1BaseFeeUpdated, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) ParseOverheadUpdated(log types.Log) (*GaspriceoracleOverheadUpdated, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) ParseScalarUpdated(log types.Log) (*GaspriceoracleScalarUpdated, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) WatchDecimalsUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleDecimalsUpdated) (event.Subscription, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) WatchGasPriceUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleGasPriceUpdated) (event.Subscription, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) WatchL1BaseFeeUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleL1BaseFeeUpdated) (event.Subscription, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) WatchOverheadUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleOverheadUpdated) (event.Subscription, error)
- func (_Gaspriceoracle *GaspriceoracleFilterer) WatchScalarUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleScalarUpdated) (event.Subscription, error)
- type GaspriceoracleGasPriceUpdated
- type GaspriceoracleGasPriceUpdatedIterator
- type GaspriceoracleL1BaseFeeUpdated
- type GaspriceoracleL1BaseFeeUpdatedIterator
- type GaspriceoracleOverheadUpdated
- type GaspriceoracleOverheadUpdatedIterator
- type GaspriceoracleRaw
- func (_Gaspriceoracle *GaspriceoracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Gaspriceoracle *GaspriceoracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GaspriceoracleScalarUpdated
- type GaspriceoracleScalarUpdatedIterator
- type GaspriceoracleSession
- func (_Gaspriceoracle *GaspriceoracleSession) Admin() (common.Address, error)
- func (_Gaspriceoracle *GaspriceoracleSession) AdminCall(target common.Address, data []byte) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleSession) Decimals() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleSession) GasPrice() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleSession) GetAdmin() (common.Address, error)
- func (_Gaspriceoracle *GaspriceoracleSession) GetL1Fee(_data []byte) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleSession) GetL1GasUsed(_data []byte) (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleSession) Init(initPayload []byte) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleSession) L1BaseFee() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleSession) Overhead() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleSession) Scalar() (*big.Int, error)
- func (_Gaspriceoracle *GaspriceoracleSession) SetAdmin(adminAddress common.Address) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleSession) SetDecimals(_decimals *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleSession) SetGasPrice(_gasPrice *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleSession) SetL1BaseFee(_baseFee *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleSession) SetOverhead(_overhead *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleSession) SetScalar(_scalar *big.Int) (*types.Transaction, error)
- type GaspriceoracleTransactor
- func (_Gaspriceoracle *GaspriceoracleTransactor) AdminCall(opts *bind.TransactOpts, target common.Address, data []byte) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactor) Init(opts *bind.TransactOpts, initPayload []byte) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactor) SetAdmin(opts *bind.TransactOpts, adminAddress common.Address) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactor) SetDecimals(opts *bind.TransactOpts, _decimals *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactor) SetGasPrice(opts *bind.TransactOpts, _gasPrice *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactor) SetL1BaseFee(opts *bind.TransactOpts, _baseFee *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactor) SetOverhead(opts *bind.TransactOpts, _overhead *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactor) SetScalar(opts *bind.TransactOpts, _scalar *big.Int) (*types.Transaction, error)
- type GaspriceoracleTransactorRaw
- type GaspriceoracleTransactorSession
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) AdminCall(target common.Address, data []byte) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) Init(initPayload []byte) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetAdmin(adminAddress common.Address) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetDecimals(_decimals *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetGasPrice(_gasPrice *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetL1BaseFee(_baseFee *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetOverhead(_overhead *big.Int) (*types.Transaction, error)
- func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetScalar(_scalar *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ErrorNotAvailableOnChainID = errors.New("not available for chainID")
var GaspriceoracleABI = GaspriceoracleMetaData.ABI
GaspriceoracleABI is the input ABI used to generate the binding from. Deprecated: Use GaspriceoracleMetaData.ABI instead.
var GaspriceoracleMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"DecimalsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"GasPriceUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"L1BaseFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"OverheadUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ScalarUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"adminCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gasPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAdmin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"adminAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"getL1Fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"getL1GasUsed\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"initPayload\",\"type\":\"bytes\"}],\"name\":\"init\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"l1BaseFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"overhead\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scalar\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"adminAddress\",\"type\":\"address\"}],\"name\":\"setAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_decimals\",\"type\":\"uint256\"}],\"name\":\"setDecimals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_gasPrice\",\"type\":\"uint256\"}],\"name\":\"setGasPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_baseFee\",\"type\":\"uint256\"}],\"name\":\"setL1BaseFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_overhead\",\"type\":\"uint256\"}],\"name\":\"setOverhead\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_scalar\",\"type\":\"uint256\"}],\"name\":\"setScalar\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
GaspriceoracleMetaData contains all meta data concerning the Gaspriceoracle contract.
Functions ¶
Types ¶
type Gaspriceoracle ¶
type Gaspriceoracle struct { GaspriceoracleCaller // Read-only binding to the contract GaspriceoracleTransactor // Write-only binding to the contract GaspriceoracleFilterer // Log filterer for contract events }
Gaspriceoracle is an auto generated Go binding around an Ethereum contract.
func NewGaspriceoracle ¶
func NewGaspriceoracle(address common.Address, backend bind.ContractBackend) (*Gaspriceoracle, error)
NewGaspriceoracle creates a new instance of Gaspriceoracle, bound to a specific deployed contract.
type GaspriceoracleCaller ¶
type GaspriceoracleCaller struct {
// contains filtered or unexported fields
}
GaspriceoracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGaspriceoracleCaller ¶
func NewGaspriceoracleCaller(address common.Address, caller bind.ContractCaller) (*GaspriceoracleCaller, error)
NewGaspriceoracleCaller creates a new read-only instance of Gaspriceoracle, bound to a specific deployed contract.
func (*GaspriceoracleCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*GaspriceoracleCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*GaspriceoracleCaller) GasPrice ¶
GasPrice is a free data retrieval call binding the contract method 0xfe173b97.
Solidity: function gasPrice() view returns(uint256)
func (*GaspriceoracleCaller) GetAdmin ¶
GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.
Solidity: function getAdmin() view returns(address adminAddress)
func (*GaspriceoracleCaller) GetL1Fee ¶
func (_Gaspriceoracle *GaspriceoracleCaller) GetL1Fee(opts *bind.CallOpts, _data []byte) (*big.Int, error)
GetL1Fee is a free data retrieval call binding the contract method 0x49948e0e.
Solidity: function getL1Fee(bytes _data) view returns(uint256)
func (*GaspriceoracleCaller) GetL1GasUsed ¶
func (_Gaspriceoracle *GaspriceoracleCaller) GetL1GasUsed(opts *bind.CallOpts, _data []byte) (*big.Int, error)
GetL1GasUsed is a free data retrieval call binding the contract method 0xde26c4a1.
Solidity: function getL1GasUsed(bytes _data) view returns(uint256)
func (*GaspriceoracleCaller) L1BaseFee ¶
L1BaseFee is a free data retrieval call binding the contract method 0x519b4bd3.
Solidity: function l1BaseFee() view returns(uint256)
type GaspriceoracleCallerRaw ¶
type GaspriceoracleCallerRaw struct {
Contract *GaspriceoracleCaller // Generic read-only contract binding to access the raw methods on
}
GaspriceoracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GaspriceoracleCallerRaw) Call ¶
func (_Gaspriceoracle *GaspriceoracleCallerRaw) 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 GaspriceoracleCallerSession ¶
type GaspriceoracleCallerSession struct { Contract *GaspriceoracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GaspriceoracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GaspriceoracleCallerSession) Admin ¶
func (_Gaspriceoracle *GaspriceoracleCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*GaspriceoracleCallerSession) Decimals ¶
func (_Gaspriceoracle *GaspriceoracleCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*GaspriceoracleCallerSession) GasPrice ¶
func (_Gaspriceoracle *GaspriceoracleCallerSession) GasPrice() (*big.Int, error)
GasPrice is a free data retrieval call binding the contract method 0xfe173b97.
Solidity: function gasPrice() view returns(uint256)
func (*GaspriceoracleCallerSession) GetAdmin ¶
func (_Gaspriceoracle *GaspriceoracleCallerSession) GetAdmin() (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.
Solidity: function getAdmin() view returns(address adminAddress)
func (*GaspriceoracleCallerSession) GetL1Fee ¶
func (_Gaspriceoracle *GaspriceoracleCallerSession) GetL1Fee(_data []byte) (*big.Int, error)
GetL1Fee is a free data retrieval call binding the contract method 0x49948e0e.
Solidity: function getL1Fee(bytes _data) view returns(uint256)
func (*GaspriceoracleCallerSession) GetL1GasUsed ¶
func (_Gaspriceoracle *GaspriceoracleCallerSession) GetL1GasUsed(_data []byte) (*big.Int, error)
GetL1GasUsed is a free data retrieval call binding the contract method 0xde26c4a1.
Solidity: function getL1GasUsed(bytes _data) view returns(uint256)
func (*GaspriceoracleCallerSession) L1BaseFee ¶
func (_Gaspriceoracle *GaspriceoracleCallerSession) L1BaseFee() (*big.Int, error)
L1BaseFee is a free data retrieval call binding the contract method 0x519b4bd3.
Solidity: function l1BaseFee() view returns(uint256)
type GaspriceoracleDecimalsUpdated ¶
type GaspriceoracleDecimalsUpdated struct { Arg0 *big.Int Raw types.Log // Blockchain specific contextual infos }
GaspriceoracleDecimalsUpdated represents a DecimalsUpdated event raised by the Gaspriceoracle contract.
type GaspriceoracleDecimalsUpdatedIterator ¶
type GaspriceoracleDecimalsUpdatedIterator struct { Event *GaspriceoracleDecimalsUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GaspriceoracleDecimalsUpdatedIterator is returned from FilterDecimalsUpdated and is used to iterate over the raw logs and unpacked data for DecimalsUpdated events raised by the Gaspriceoracle contract.
func (*GaspriceoracleDecimalsUpdatedIterator) Close ¶
func (it *GaspriceoracleDecimalsUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GaspriceoracleDecimalsUpdatedIterator) Error ¶
func (it *GaspriceoracleDecimalsUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GaspriceoracleDecimalsUpdatedIterator) Next ¶
func (it *GaspriceoracleDecimalsUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GaspriceoracleFilterer ¶
type GaspriceoracleFilterer struct {
// contains filtered or unexported fields
}
GaspriceoracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGaspriceoracleFilterer ¶
func NewGaspriceoracleFilterer(address common.Address, filterer bind.ContractFilterer) (*GaspriceoracleFilterer, error)
NewGaspriceoracleFilterer creates a new log filterer instance of Gaspriceoracle, bound to a specific deployed contract.
func (*GaspriceoracleFilterer) FilterDecimalsUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) FilterDecimalsUpdated(opts *bind.FilterOpts) (*GaspriceoracleDecimalsUpdatedIterator, error)
FilterDecimalsUpdated is a free log retrieval operation binding the contract event 0xd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1.
Solidity: event DecimalsUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) FilterGasPriceUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) FilterGasPriceUpdated(opts *bind.FilterOpts) (*GaspriceoracleGasPriceUpdatedIterator, error)
FilterGasPriceUpdated is a free log retrieval operation binding the contract event 0xfcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396.
Solidity: event GasPriceUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) FilterL1BaseFeeUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) FilterL1BaseFeeUpdated(opts *bind.FilterOpts) (*GaspriceoracleL1BaseFeeUpdatedIterator, error)
FilterL1BaseFeeUpdated is a free log retrieval operation binding the contract event 0x351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44.
Solidity: event L1BaseFeeUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) FilterOverheadUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) FilterOverheadUpdated(opts *bind.FilterOpts) (*GaspriceoracleOverheadUpdatedIterator, error)
FilterOverheadUpdated is a free log retrieval operation binding the contract event 0x32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4.
Solidity: event OverheadUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) FilterScalarUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) FilterScalarUpdated(opts *bind.FilterOpts) (*GaspriceoracleScalarUpdatedIterator, error)
FilterScalarUpdated is a free log retrieval operation binding the contract event 0x3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a.
Solidity: event ScalarUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) ParseDecimalsUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) ParseDecimalsUpdated(log types.Log) (*GaspriceoracleDecimalsUpdated, error)
ParseDecimalsUpdated is a log parse operation binding the contract event 0xd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1.
Solidity: event DecimalsUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) ParseGasPriceUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) ParseGasPriceUpdated(log types.Log) (*GaspriceoracleGasPriceUpdated, error)
ParseGasPriceUpdated is a log parse operation binding the contract event 0xfcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396.
Solidity: event GasPriceUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) ParseL1BaseFeeUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) ParseL1BaseFeeUpdated(log types.Log) (*GaspriceoracleL1BaseFeeUpdated, error)
ParseL1BaseFeeUpdated is a log parse operation binding the contract event 0x351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44.
Solidity: event L1BaseFeeUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) ParseOverheadUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) ParseOverheadUpdated(log types.Log) (*GaspriceoracleOverheadUpdated, error)
ParseOverheadUpdated is a log parse operation binding the contract event 0x32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4.
Solidity: event OverheadUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) ParseScalarUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) ParseScalarUpdated(log types.Log) (*GaspriceoracleScalarUpdated, error)
ParseScalarUpdated is a log parse operation binding the contract event 0x3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a.
Solidity: event ScalarUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) WatchDecimalsUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) WatchDecimalsUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleDecimalsUpdated) (event.Subscription, error)
WatchDecimalsUpdated is a free log subscription operation binding the contract event 0xd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1.
Solidity: event DecimalsUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) WatchGasPriceUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) WatchGasPriceUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleGasPriceUpdated) (event.Subscription, error)
WatchGasPriceUpdated is a free log subscription operation binding the contract event 0xfcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396.
Solidity: event GasPriceUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) WatchL1BaseFeeUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) WatchL1BaseFeeUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleL1BaseFeeUpdated) (event.Subscription, error)
WatchL1BaseFeeUpdated is a free log subscription operation binding the contract event 0x351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44.
Solidity: event L1BaseFeeUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) WatchOverheadUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) WatchOverheadUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleOverheadUpdated) (event.Subscription, error)
WatchOverheadUpdated is a free log subscription operation binding the contract event 0x32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4.
Solidity: event OverheadUpdated(uint256 arg0)
func (*GaspriceoracleFilterer) WatchScalarUpdated ¶
func (_Gaspriceoracle *GaspriceoracleFilterer) WatchScalarUpdated(opts *bind.WatchOpts, sink chan<- *GaspriceoracleScalarUpdated) (event.Subscription, error)
WatchScalarUpdated is a free log subscription operation binding the contract event 0x3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a.
Solidity: event ScalarUpdated(uint256 arg0)
type GaspriceoracleGasPriceUpdated ¶
type GaspriceoracleGasPriceUpdated struct { Arg0 *big.Int Raw types.Log // Blockchain specific contextual infos }
GaspriceoracleGasPriceUpdated represents a GasPriceUpdated event raised by the Gaspriceoracle contract.
type GaspriceoracleGasPriceUpdatedIterator ¶
type GaspriceoracleGasPriceUpdatedIterator struct { Event *GaspriceoracleGasPriceUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GaspriceoracleGasPriceUpdatedIterator is returned from FilterGasPriceUpdated and is used to iterate over the raw logs and unpacked data for GasPriceUpdated events raised by the Gaspriceoracle contract.
func (*GaspriceoracleGasPriceUpdatedIterator) Close ¶
func (it *GaspriceoracleGasPriceUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GaspriceoracleGasPriceUpdatedIterator) Error ¶
func (it *GaspriceoracleGasPriceUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GaspriceoracleGasPriceUpdatedIterator) Next ¶
func (it *GaspriceoracleGasPriceUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GaspriceoracleL1BaseFeeUpdated ¶
type GaspriceoracleL1BaseFeeUpdated struct { Arg0 *big.Int Raw types.Log // Blockchain specific contextual infos }
GaspriceoracleL1BaseFeeUpdated represents a L1BaseFeeUpdated event raised by the Gaspriceoracle contract.
type GaspriceoracleL1BaseFeeUpdatedIterator ¶
type GaspriceoracleL1BaseFeeUpdatedIterator struct { Event *GaspriceoracleL1BaseFeeUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GaspriceoracleL1BaseFeeUpdatedIterator is returned from FilterL1BaseFeeUpdated and is used to iterate over the raw logs and unpacked data for L1BaseFeeUpdated events raised by the Gaspriceoracle contract.
func (*GaspriceoracleL1BaseFeeUpdatedIterator) Close ¶
func (it *GaspriceoracleL1BaseFeeUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GaspriceoracleL1BaseFeeUpdatedIterator) Error ¶
func (it *GaspriceoracleL1BaseFeeUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GaspriceoracleL1BaseFeeUpdatedIterator) Next ¶
func (it *GaspriceoracleL1BaseFeeUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GaspriceoracleOverheadUpdated ¶
type GaspriceoracleOverheadUpdated struct { Arg0 *big.Int Raw types.Log // Blockchain specific contextual infos }
GaspriceoracleOverheadUpdated represents a OverheadUpdated event raised by the Gaspriceoracle contract.
type GaspriceoracleOverheadUpdatedIterator ¶
type GaspriceoracleOverheadUpdatedIterator struct { Event *GaspriceoracleOverheadUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GaspriceoracleOverheadUpdatedIterator is returned from FilterOverheadUpdated and is used to iterate over the raw logs and unpacked data for OverheadUpdated events raised by the Gaspriceoracle contract.
func (*GaspriceoracleOverheadUpdatedIterator) Close ¶
func (it *GaspriceoracleOverheadUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GaspriceoracleOverheadUpdatedIterator) Error ¶
func (it *GaspriceoracleOverheadUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GaspriceoracleOverheadUpdatedIterator) Next ¶
func (it *GaspriceoracleOverheadUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GaspriceoracleRaw ¶
type GaspriceoracleRaw struct {
Contract *Gaspriceoracle // Generic contract binding to access the raw methods on
}
GaspriceoracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GaspriceoracleRaw) Call ¶
func (_Gaspriceoracle *GaspriceoracleRaw) 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 (*GaspriceoracleRaw) Transact ¶
func (_Gaspriceoracle *GaspriceoracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GaspriceoracleRaw) Transfer ¶
func (_Gaspriceoracle *GaspriceoracleRaw) 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 GaspriceoracleScalarUpdated ¶
type GaspriceoracleScalarUpdated struct { Arg0 *big.Int Raw types.Log // Blockchain specific contextual infos }
GaspriceoracleScalarUpdated represents a ScalarUpdated event raised by the Gaspriceoracle contract.
type GaspriceoracleScalarUpdatedIterator ¶
type GaspriceoracleScalarUpdatedIterator struct { Event *GaspriceoracleScalarUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GaspriceoracleScalarUpdatedIterator is returned from FilterScalarUpdated and is used to iterate over the raw logs and unpacked data for ScalarUpdated events raised by the Gaspriceoracle contract.
func (*GaspriceoracleScalarUpdatedIterator) Close ¶
func (it *GaspriceoracleScalarUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GaspriceoracleScalarUpdatedIterator) Error ¶
func (it *GaspriceoracleScalarUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GaspriceoracleScalarUpdatedIterator) Next ¶
func (it *GaspriceoracleScalarUpdatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GaspriceoracleSession ¶
type GaspriceoracleSession struct { Contract *Gaspriceoracle // 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 }
GaspriceoracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GaspriceoracleSession) Admin ¶
func (_Gaspriceoracle *GaspriceoracleSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*GaspriceoracleSession) AdminCall ¶
func (_Gaspriceoracle *GaspriceoracleSession) AdminCall(target common.Address, data []byte) (*types.Transaction, error)
AdminCall is a paid mutator transaction binding the contract method 0xbf64a82d.
Solidity: function adminCall(address target, bytes data) payable returns()
func (*GaspriceoracleSession) Decimals ¶
func (_Gaspriceoracle *GaspriceoracleSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*GaspriceoracleSession) GasPrice ¶
func (_Gaspriceoracle *GaspriceoracleSession) GasPrice() (*big.Int, error)
GasPrice is a free data retrieval call binding the contract method 0xfe173b97.
Solidity: function gasPrice() view returns(uint256)
func (*GaspriceoracleSession) GetAdmin ¶
func (_Gaspriceoracle *GaspriceoracleSession) GetAdmin() (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x6e9960c3.
Solidity: function getAdmin() view returns(address adminAddress)
func (*GaspriceoracleSession) GetL1Fee ¶
func (_Gaspriceoracle *GaspriceoracleSession) GetL1Fee(_data []byte) (*big.Int, error)
GetL1Fee is a free data retrieval call binding the contract method 0x49948e0e.
Solidity: function getL1Fee(bytes _data) view returns(uint256)
func (*GaspriceoracleSession) GetL1GasUsed ¶
func (_Gaspriceoracle *GaspriceoracleSession) GetL1GasUsed(_data []byte) (*big.Int, error)
GetL1GasUsed is a free data retrieval call binding the contract method 0xde26c4a1.
Solidity: function getL1GasUsed(bytes _data) view returns(uint256)
func (*GaspriceoracleSession) Init ¶
func (_Gaspriceoracle *GaspriceoracleSession) Init(initPayload []byte) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x4ddf47d4.
Solidity: function init(bytes initPayload) returns(bytes4)
func (*GaspriceoracleSession) L1BaseFee ¶
func (_Gaspriceoracle *GaspriceoracleSession) L1BaseFee() (*big.Int, error)
L1BaseFee is a free data retrieval call binding the contract method 0x519b4bd3.
Solidity: function l1BaseFee() view returns(uint256)
func (*GaspriceoracleSession) Overhead ¶
func (_Gaspriceoracle *GaspriceoracleSession) Overhead() (*big.Int, error)
Overhead is a free data retrieval call binding the contract method 0x0c18c162.
Solidity: function overhead() view returns(uint256)
func (*GaspriceoracleSession) Scalar ¶
func (_Gaspriceoracle *GaspriceoracleSession) Scalar() (*big.Int, error)
Scalar is a free data retrieval call binding the contract method 0xf45e65d8.
Solidity: function scalar() view returns(uint256)
func (*GaspriceoracleSession) SetAdmin ¶
func (_Gaspriceoracle *GaspriceoracleSession) SetAdmin(adminAddress common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address adminAddress) returns()
func (*GaspriceoracleSession) SetDecimals ¶
func (_Gaspriceoracle *GaspriceoracleSession) SetDecimals(_decimals *big.Int) (*types.Transaction, error)
SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.
Solidity: function setDecimals(uint256 _decimals) returns()
func (*GaspriceoracleSession) SetGasPrice ¶
func (_Gaspriceoracle *GaspriceoracleSession) SetGasPrice(_gasPrice *big.Int) (*types.Transaction, error)
SetGasPrice is a paid mutator transaction binding the contract method 0xbf1fe420.
Solidity: function setGasPrice(uint256 _gasPrice) returns()
func (*GaspriceoracleSession) SetL1BaseFee ¶
func (_Gaspriceoracle *GaspriceoracleSession) SetL1BaseFee(_baseFee *big.Int) (*types.Transaction, error)
SetL1BaseFee is a paid mutator transaction binding the contract method 0xbede39b5.
Solidity: function setL1BaseFee(uint256 _baseFee) returns()
func (*GaspriceoracleSession) SetOverhead ¶
func (_Gaspriceoracle *GaspriceoracleSession) SetOverhead(_overhead *big.Int) (*types.Transaction, error)
SetOverhead is a paid mutator transaction binding the contract method 0x3577afc5.
Solidity: function setOverhead(uint256 _overhead) returns()
func (*GaspriceoracleSession) SetScalar ¶
func (_Gaspriceoracle *GaspriceoracleSession) SetScalar(_scalar *big.Int) (*types.Transaction, error)
SetScalar is a paid mutator transaction binding the contract method 0x70465597.
Solidity: function setScalar(uint256 _scalar) returns()
type GaspriceoracleTransactor ¶
type GaspriceoracleTransactor struct {
// contains filtered or unexported fields
}
GaspriceoracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGaspriceoracleTransactor ¶
func NewGaspriceoracleTransactor(address common.Address, transactor bind.ContractTransactor) (*GaspriceoracleTransactor, error)
NewGaspriceoracleTransactor creates a new write-only instance of Gaspriceoracle, bound to a specific deployed contract.
func (*GaspriceoracleTransactor) AdminCall ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) AdminCall(opts *bind.TransactOpts, target common.Address, data []byte) (*types.Transaction, error)
AdminCall is a paid mutator transaction binding the contract method 0xbf64a82d.
Solidity: function adminCall(address target, bytes data) payable returns()
func (*GaspriceoracleTransactor) Init ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) Init(opts *bind.TransactOpts, initPayload []byte) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x4ddf47d4.
Solidity: function init(bytes initPayload) returns(bytes4)
func (*GaspriceoracleTransactor) SetAdmin ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) SetAdmin(opts *bind.TransactOpts, adminAddress common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address adminAddress) returns()
func (*GaspriceoracleTransactor) SetDecimals ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) SetDecimals(opts *bind.TransactOpts, _decimals *big.Int) (*types.Transaction, error)
SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.
Solidity: function setDecimals(uint256 _decimals) returns()
func (*GaspriceoracleTransactor) SetGasPrice ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) SetGasPrice(opts *bind.TransactOpts, _gasPrice *big.Int) (*types.Transaction, error)
SetGasPrice is a paid mutator transaction binding the contract method 0xbf1fe420.
Solidity: function setGasPrice(uint256 _gasPrice) returns()
func (*GaspriceoracleTransactor) SetL1BaseFee ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) SetL1BaseFee(opts *bind.TransactOpts, _baseFee *big.Int) (*types.Transaction, error)
SetL1BaseFee is a paid mutator transaction binding the contract method 0xbede39b5.
Solidity: function setL1BaseFee(uint256 _baseFee) returns()
func (*GaspriceoracleTransactor) SetOverhead ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) SetOverhead(opts *bind.TransactOpts, _overhead *big.Int) (*types.Transaction, error)
SetOverhead is a paid mutator transaction binding the contract method 0x3577afc5.
Solidity: function setOverhead(uint256 _overhead) returns()
func (*GaspriceoracleTransactor) SetScalar ¶
func (_Gaspriceoracle *GaspriceoracleTransactor) SetScalar(opts *bind.TransactOpts, _scalar *big.Int) (*types.Transaction, error)
SetScalar is a paid mutator transaction binding the contract method 0x70465597.
Solidity: function setScalar(uint256 _scalar) returns()
type GaspriceoracleTransactorRaw ¶
type GaspriceoracleTransactorRaw struct {
Contract *GaspriceoracleTransactor // Generic write-only contract binding to access the raw methods on
}
GaspriceoracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GaspriceoracleTransactorRaw) Transact ¶
func (_Gaspriceoracle *GaspriceoracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GaspriceoracleTransactorRaw) Transfer ¶
func (_Gaspriceoracle *GaspriceoracleTransactorRaw) 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 GaspriceoracleTransactorSession ¶
type GaspriceoracleTransactorSession struct { Contract *GaspriceoracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GaspriceoracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GaspriceoracleTransactorSession) AdminCall ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) AdminCall(target common.Address, data []byte) (*types.Transaction, error)
AdminCall is a paid mutator transaction binding the contract method 0xbf64a82d.
Solidity: function adminCall(address target, bytes data) payable returns()
func (*GaspriceoracleTransactorSession) Init ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) Init(initPayload []byte) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x4ddf47d4.
Solidity: function init(bytes initPayload) returns(bytes4)
func (*GaspriceoracleTransactorSession) SetAdmin ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetAdmin(adminAddress common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address adminAddress) returns()
func (*GaspriceoracleTransactorSession) SetDecimals ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetDecimals(_decimals *big.Int) (*types.Transaction, error)
SetDecimals is a paid mutator transaction binding the contract method 0x8c8885c8.
Solidity: function setDecimals(uint256 _decimals) returns()
func (*GaspriceoracleTransactorSession) SetGasPrice ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetGasPrice(_gasPrice *big.Int) (*types.Transaction, error)
SetGasPrice is a paid mutator transaction binding the contract method 0xbf1fe420.
Solidity: function setGasPrice(uint256 _gasPrice) returns()
func (*GaspriceoracleTransactorSession) SetL1BaseFee ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetL1BaseFee(_baseFee *big.Int) (*types.Transaction, error)
SetL1BaseFee is a paid mutator transaction binding the contract method 0xbede39b5.
Solidity: function setL1BaseFee(uint256 _baseFee) returns()
func (*GaspriceoracleTransactorSession) SetOverhead ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetOverhead(_overhead *big.Int) (*types.Transaction, error)
SetOverhead is a paid mutator transaction binding the contract method 0x3577afc5.
Solidity: function setOverhead(uint256 _overhead) returns()
func (*GaspriceoracleTransactorSession) SetScalar ¶
func (_Gaspriceoracle *GaspriceoracleTransactorSession) SetScalar(_scalar *big.Int) (*types.Transaction, error)
SetScalar is a paid mutator transaction binding the contract method 0x70465597.
Solidity: function setScalar(uint256 _scalar) returns()