Documentation ¶
Index ¶
- Variables
- type GasPriceOracle
- type GasPriceOracleCaller
- func (_GasPriceOracle *GasPriceOracleCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleCaller) GasPrice(opts *bind.CallOpts) (*big.Int, 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) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_GasPriceOracle *GasPriceOracleCaller) Scalar(opts *bind.CallOpts) (*big.Int, error)
- type GasPriceOracleCallerRaw
- type GasPriceOracleCallerSession
- func (_GasPriceOracle *GasPriceOracleCallerSession) Decimals() (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleCallerSession) GasPrice() (*big.Int, 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) Owner() (common.Address, 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) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*GasPriceOracleOwnershipTransferredIterator, 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) ParseOwnershipTransferred(log types.Log) (*GasPriceOracleOwnershipTransferred, 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) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GasPriceOracleOwnershipTransferred, ...) (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 GasPriceOracleOwnershipTransferred
- type GasPriceOracleOwnershipTransferredIterator
- 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) Decimals() (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleSession) GasPrice() (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleSession) GetL1Fee(_data []byte) (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleSession) GetL1GasUsed(_data []byte) (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleSession) L1BaseFee() (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleSession) Overhead() (*big.Int, error)
- func (_GasPriceOracle *GasPriceOracleSession) Owner() (common.Address, error)
- func (_GasPriceOracle *GasPriceOracleSession) RenounceOwnership() (*types.Transaction, error)
- func (_GasPriceOracle *GasPriceOracleSession) Scalar() (*big.Int, 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)
- func (_GasPriceOracle *GasPriceOracleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type GasPriceOracleTransactor
- func (_GasPriceOracle *GasPriceOracleTransactor) RenounceOwnership(opts *bind.TransactOpts) (*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)
- func (_GasPriceOracle *GasPriceOracleTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type GasPriceOracleTransactorRaw
- type GasPriceOracleTransactorSession
- func (_GasPriceOracle *GasPriceOracleTransactorSession) RenounceOwnership() (*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)
- func (_GasPriceOracle *GasPriceOracleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var GasPriceOracleABI = GasPriceOracleMetaData.ABI
GasPriceOracleABI is the input ABI used to generate the binding from. Deprecated: Use GasPriceOracleMetaData.ABI instead.
var GasPriceOracleBin = GasPriceOracleMetaData.Bin
GasPriceOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GasPriceOracleMetaData.Bin instead.
var GasPriceOracleMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"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\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ScalarUpdated\",\"type\":\"event\"},{\"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\":[{\"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\":[],\"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\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scalar\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50604051610e55380380610e5583398101604081905261002f91610167565b61003833610047565b61004181610097565b50610197565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146100f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03811661015b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100ed565b61016481610047565b50565b60006020828403121561017957600080fd5b81516001600160a01b038116811461019057600080fd5b9392505050565b610caf806101a66000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638c8885c811610097578063de26c4a111610066578063de26c4a1146101cc578063f2fde38b146101df578063f45e65d8146101f2578063fe173b97146101fb57600080fd5b80638c8885c81461016b5780638da5cb5b1461017e578063bede39b5146101a6578063bf1fe420146101b957600080fd5b806349948e0e116100d357806349948e0e14610134578063519b4bd3146101475780637046559714610150578063715018a61461016357600080fd5b80630c18c162146100fa578063313ce567146101165780633577afc51461011f575b600080fd5b61010360035481565b6040519081526020015b60405180910390f35b61010360055481565b61013261012d3660046108d0565b610204565b005b610103610142366004610918565b6102c6565b61010360025481565b61013261015e3660046108d0565b610322565b6101326103d8565b6101326101793660046108d0565b610465565b60005460405173ffffffffffffffffffffffffffffffffffffffff909116815260200161010d565b6101326101b43660046108d0565b61051b565b6101326101c73660046108d0565b6105d1565b6101036101da366004610918565b610687565b6101326101ed3660046109e7565b61072b565b61010360045481565b61010360015481565b60005473ffffffffffffffffffffffffffffffffffffffff16331461028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60038190556040518181527f32740b35c0ea213650f60d44366b4fb211c9033b50714e4a1d34e65d5beb9bb4906020015b60405180910390a150565b6000806102d283610687565b90506000600254826102e49190610a53565b90506000600554600a6102f79190610bb2565b90506000600454836103099190610a53565b905060006103178383610bbe565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60048190556040518181527f3336cd9708eaf2769a0f0dc0679f30e80f15dcd88d1921b5a16858e8b85c591a906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b610463600061085b565b565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60058190556040518181527fd68112a8707e326d08be3656b528c1bcc5bbbfc47f4177e2179b14d8640838c1906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff16331461059c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60028190556040518181527f351fb23757bb5ea0546c85b7996ddd7155f96b939ebaa5ff7bc49c75f27f2c44906020016102bb565b60005473ffffffffffffffffffffffffffffffffffffffff163314610652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b60018190556040518181527ffcdccc6074c6c42e4bd578aa9870c697dc976a270968452d2b8c8dc369fae396906020016102bb565b600080805b8351811015610704578381815181106106a7576106a7610bf9565b01602001517fff00000000000000000000000000000000000000000000000000000000000000166106e4576106dd600483610c28565b91506106f2565b6106ef601083610c28565b91505b806106fc81610c40565b91505061068c565b506000600354826107159190610c28565b905061072381610440610c28565b949350505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146107ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610281565b73ffffffffffffffffffffffffffffffffffffffff811661084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610281565b6108588161085b565b50565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108e257600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561092a57600080fd5b813567ffffffffffffffff8082111561094257600080fd5b818401915084601f83011261095657600080fd5b813581811115610968576109686108e9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156109ae576109ae6108e9565b816040528281528760208487010111156109c757600080fd5b826020860160208301376000928101602001929092525095945050505050565b6000602082840312156109f957600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610a1d57600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610a8b57610a8b610a24565b500290565b600181815b80851115610ae957817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610acf57610acf610a24565b80851615610adc57918102915b93841c9390800290610a95565b509250929050565b600082610b0057506001610bac565b81610b0d57506000610bac565b8160018114610b235760028114610b2d57610b49565b6001915050610bac565b60ff841115610b3e57610b3e610a24565b50506001821b610bac565b5060208310610133831016604e8410600b8410161715610b6c575081810a610bac565b610b768383610a90565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ba857610ba8610a24565b0290505b92915050565b6000610a1d8383610af1565b600082610bf4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115610c3b57610c3b610a24565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610c7257610c72610a24565b506001019056fea2646970667358221220f621ba3a2be0d1a6013dd55747de8ced461c9dc210b1ed78e1fadadb047e304064736f6c63430008090033",
}
GasPriceOracleMetaData contains all meta data concerning the GasPriceOracle contract.
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 ¶
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) 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)
func (*GasPriceOracleCaller) Overhead ¶
Overhead is a free data retrieval call binding the contract method 0x0c18c162.
Solidity: function overhead() 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) 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) 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)
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() 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) 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 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) 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 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) 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 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 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 ¶
func (it *GasPriceOracleOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GasPriceOracleOwnershipTransferredIterator) Error ¶
func (it *GasPriceOracleOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GasPriceOracleOwnershipTransferredIterator) Next ¶
func (it *GasPriceOracleOwnershipTransferredIterator) 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) 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) 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) 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) Owner ¶
func (_GasPriceOracle *GasPriceOracleSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view 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() view 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()