bindings

package
v0.0.0-...-5cda5f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: GPL-3.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GasPriceOracleABI = "" /* 3983-byte string literal not displayed */

GasPriceOracleABI is the input ABI used to generate the binding from.

Variables

View Source
var GasPriceOracleBin = "" /* 7340-byte string literal not displayed */

GasPriceOracleBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

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 DeployGasPriceOracle

func DeployGasPriceOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *GasPriceOracle, error)

DeployGasPriceOracle deploys a new Ethereum contract, binding an instance of GasPriceOracle to it.

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) Decimals

func (_GasPriceOracle *GasPriceOracleCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint256)

func (*GasPriceOracleCaller) GasPrice

func (_GasPriceOracle *GasPriceOracleCaller) GasPrice(opts *bind.CallOpts) (*big.Int, error)

GasPrice is a free data retrieval call binding the contract method 0xfe173b97.

Solidity: function gasPrice() constant returns(uint256)

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) constant 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) constant returns(uint256)

func (*GasPriceOracleCaller) L1BaseFee

func (_GasPriceOracle *GasPriceOracleCaller) L1BaseFee(opts *bind.CallOpts) (*big.Int, error)

L1BaseFee is a free data retrieval call binding the contract method 0x519b4bd3.

Solidity: function l1BaseFee() constant returns(uint256)

func (*GasPriceOracleCaller) Overhead

func (_GasPriceOracle *GasPriceOracleCaller) Overhead(opts *bind.CallOpts) (*big.Int, error)

Overhead is a free data retrieval call binding the contract method 0x0c18c162.

Solidity: function overhead() constant returns(uint256)

func (*GasPriceOracleCaller) Owner

func (_GasPriceOracle *GasPriceOracleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*GasPriceOracleCaller) Scalar

func (_GasPriceOracle *GasPriceOracleCaller) Scalar(opts *bind.CallOpts) (*big.Int, error)

Scalar is a free data retrieval call binding the contract method 0xf45e65d8.

Solidity: function scalar() constant 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) Decimals

func (_GasPriceOracle *GasPriceOracleCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant 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() constant returns(uint256)

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) constant 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) constant 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() constant returns(uint256)

func (*GasPriceOracleCallerSession) Overhead

func (_GasPriceOracle *GasPriceOracleCallerSession) Overhead() (*big.Int, error)

Overhead is a free data retrieval call binding the contract method 0x0c18c162.

Solidity: function overhead() constant returns(uint256)

func (*GasPriceOracleCallerSession) Owner

func (_GasPriceOracle *GasPriceOracleCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*GasPriceOracleCallerSession) Scalar

func (_GasPriceOracle *GasPriceOracleCallerSession) Scalar() (*big.Int, error)

Scalar is a free data retrieval call binding the contract method 0xf45e65d8.

Solidity: function scalar() constant 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*GasPriceOracleDecimalsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasPriceOracleDecimalsUpdatedIterator) Next

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 )

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 )

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 )

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 )

func (*GasPriceOracleFilterer) FilterOwnershipTransferred

func (_GasPriceOracle *GasPriceOracleFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*GasPriceOracleOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

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 )

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 )

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 )

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 )

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 )

func (*GasPriceOracleFilterer) ParseOwnershipTransferred

func (_GasPriceOracle *GasPriceOracleFilterer) ParseOwnershipTransferred(log types.Log) (*GasPriceOracleOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

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 )

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 )

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 )

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 )

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 )

func (*GasPriceOracleFilterer) WatchOwnershipTransferred

func (_GasPriceOracle *GasPriceOracleFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GasPriceOracleOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

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 )

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*GasPriceOracleGasPriceUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasPriceOracleGasPriceUpdatedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*GasPriceOracleL1BaseFeeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasPriceOracleL1BaseFeeUpdatedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*GasPriceOracleOverheadUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasPriceOracleOverheadUpdatedIterator) Next

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 GasPriceOracleOwnershipTransferred

type GasPriceOracleOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

GasPriceOracleOwnershipTransferred represents a OwnershipTransferred event raised by the GasPriceOracle contract.

type GasPriceOracleOwnershipTransferredIterator

type GasPriceOracleOwnershipTransferredIterator struct {
	Event *GasPriceOracleOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GasPriceOracleOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the GasPriceOracle contract.

func (*GasPriceOracleOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GasPriceOracleOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasPriceOracleOwnershipTransferredIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*GasPriceOracleScalarUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasPriceOracleScalarUpdatedIterator) Next

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) Decimals

func (_GasPriceOracle *GasPriceOracleSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant 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() constant returns(uint256)

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) constant 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) constant returns(uint256)

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() constant 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() constant returns(uint256)

func (*GasPriceOracleSession) Owner

func (_GasPriceOracle *GasPriceOracleSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*GasPriceOracleSession) RenounceOwnership

func (_GasPriceOracle *GasPriceOracleSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

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() constant returns(uint256)

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()

func (*GasPriceOracleSession) TransferOwnership

func (_GasPriceOracle *GasPriceOracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) 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) RenounceOwnership

func (_GasPriceOracle *GasPriceOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() 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()

func (*GasPriceOracleTransactor) TransferOwnership

func (_GasPriceOracle *GasPriceOracleTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) 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) RenounceOwnership

func (_GasPriceOracle *GasPriceOracleTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() 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()

func (*GasPriceOracleTransactorSession) TransferOwnership

func (_GasPriceOracle *GasPriceOracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL