bindings

package
v0.0.0-...-5994507 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GasPriceOracleABI = GasPriceOracleMetaData.ABI

GasPriceOracleABI is the input ABI used to generate the binding from. Deprecated: Use GasPriceOracleMetaData.ABI instead.

View Source
var GasPriceOracleBin = GasPriceOracleMetaData.Bin

GasPriceOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use GasPriceOracleMetaData.Bin instead.

View Source
var GasPriceOracleMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"DECIMALS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"baseFee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"baseFeeScalar\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"blobBaseFee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"blobBaseFeeScalar\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"gasPrice\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL1Fee\",\"inputs\":[{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getL1GasUsed\",\"inputs\":[{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isEcotone\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"l1BaseFee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"overhead\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"scalar\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setEcotone\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"version\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610fb5806100206000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806354fd4d5011610097578063de26c4a111610066578063de26c4a1146101da578063f45e65d8146101ed578063f8206140146101f5578063fe173b97146101cc57600080fd5b806354fd4d501461016657806368d5dca6146101af5780636ef25c3a146101cc578063c5985918146101d257600080fd5b8063313ce567116100d3578063313ce5671461012757806349948e0e1461012e5780634ef6e22414610141578063519b4bd31461015e57600080fd5b80630c18c162146100fa57806322b90ab3146101155780632e0f26251461011f575b600080fd5b6101026101fd565b6040519081526020015b60405180910390f35b61011d61031e565b005b610102600681565b6006610102565b61010261013c366004610b73565b610541565b60005461014e9060ff1681565b604051901515815260200161010c565b610102610565565b6101a26040518060400160405280600581526020017f312e322e3000000000000000000000000000000000000000000000000000000081525081565b60405161010c9190610c42565b6101b76105c6565b60405163ffffffff909116815260200161010c565b48610102565b6101b761064b565b6101026101e8366004610b73565b6106ac565b610102610760565b610102610853565b6000805460ff1615610296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f47617350726963654f7261636c653a206f76657268656164282920697320646560448201527f707265636174656400000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610cb5565b905090565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663e591b2826040518163ffffffff1660e01b8152600401602060405180830381865afa15801561037d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a19190610cce565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f47617350726963654f7261636c653a206f6e6c7920746865206465706f73697460448201527f6f72206163636f756e742063616e2073657420697345636f746f6e6520666c6160648201527f6700000000000000000000000000000000000000000000000000000000000000608482015260a40161028d565b60005460ff1615610514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a2045636f746f6e6520616c72656164792060448201527f6163746976650000000000000000000000000000000000000000000000000000606482015260840161028d565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6000805460ff161561055c57610556826108b4565b92915050565b61055682610958565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16635cf249696040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff166368d5dca66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103199190610d04565b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663c59859186040518163ffffffff1660e01b8152600401602060405180830381865afa158015610627573d6000803e3d6000fd5b6000806106b883610ab4565b60005490915060ff16156106cc5792915050565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa15801561072b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074f9190610cb5565b6107599082610d59565b9392505050565b6000805460ff16156107f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f47617350726963654f7261636c653a207363616c61722829206973206465707260448201527f6563617465640000000000000000000000000000000000000000000000000000606482015260840161028d565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff1663f82061406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102f5573d6000803e3d6000fd5b6000806108c083610ab4565b905060006108cc610565565b6108d461064b565b6108df906010610d71565b63ffffffff166108ef9190610d9d565b905060006108fb610853565b6109036105c6565b63ffffffff166109139190610d9d565b905060006109218284610d59565b61092b9085610d9d565b90506109396006600a610efa565b610944906010610d9d565b61094e9082610f06565b9695505050505050565b60008061096483610ab4565b9050600073420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16639e8c49666040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109eb9190610cb5565b6109f3610565565b73420000000000000000000000000000000000001573ffffffffffffffffffffffffffffffffffffffff16638b239f736040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610cb5565b610a809085610d59565b610a8a9190610d9d565b610a949190610d9d565b9050610aa26006600a610efa565b610aac9082610f06565b949350505050565b80516000908190815b81811015610b3757848181518110610ad757610ad7610f41565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016600003610b1757610b10600484610d59565b9250610b25565b610b22601084610d59565b92505b80610b2f81610f70565b915050610abd565b50610aac82610440610d59565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060208284031215610b8557600080fd5b813567ffffffffffffffff80821115610b9d57600080fd5b818401915084601f830112610bb157600080fd5b813581811115610bc357610bc3610b44565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610c0957610c09610b44565b81604052828152876020848701011115610c2257600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b81811015610c6f57858101830151858201604001528201610c53565b81811115610c81576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600060208284031215610cc757600080fd5b5051919050565b600060208284031215610ce057600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461075957600080fd5b600060208284031215610d1657600080fd5b815163ffffffff8116811461075957600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115610d6c57610d6c610d2a565b500190565b600063ffffffff80831681851681830481118215151615610d9457610d94610d2a565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610dd557610dd5610d2a565b500290565b600181815b80851115610e3357817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610e1957610e19610d2a565b80851615610e2657918102915b93841c9390800290610ddf565b509250929050565b600082610e4a57506001610556565b81610e5757506000610556565b8160018114610e6d5760028114610e7757610e93565b6001915050610556565b60ff841115610e8857610e88610d2a565b50506001821b610556565b5060208310610133831016604e8410600b8410161715610eb6575081810a610556565b610ec08383610dda565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ef257610ef2610d2a565b029392505050565b60006107598383610e3b565b600082610f3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610fa157610fa1610d2a565b506001019056fea164736f6c634300080f000a",
}

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

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

BaseFee is a free data retrieval call binding the contract method 0x6ef25c3a.

Solidity: function baseFee() view returns(uint256)

func (*GasPriceOracleCaller) BaseFeeScalar

func (_GasPriceOracle *GasPriceOracleCaller) BaseFeeScalar(opts *bind.CallOpts) (uint32, error)

BaseFeeScalar is a free data retrieval call binding the contract method 0xc5985918.

Solidity: function baseFeeScalar() view returns(uint32)

func (*GasPriceOracleCaller) BlobBaseFee

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

BlobBaseFee is a free data retrieval call binding the contract method 0xf8206140.

Solidity: function blobBaseFee() view returns(uint256)

func (*GasPriceOracleCaller) BlobBaseFeeScalar

func (_GasPriceOracle *GasPriceOracleCaller) BlobBaseFeeScalar(opts *bind.CallOpts) (uint32, error)

BlobBaseFeeScalar is a free data retrieval call binding the contract method 0x68d5dca6.

Solidity: function blobBaseFeeScalar() view returns(uint32)

func (*GasPriceOracleCaller) DECIMALS

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

DECIMALS is a free data retrieval call binding the contract method 0x2e0f2625.

Solidity: function DECIMALS() view returns(uint256)

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

func (_GasPriceOracle *GasPriceOracleCaller) IsEcotone(opts *bind.CallOpts) (bool, error)

IsEcotone is a free data retrieval call binding the contract method 0x4ef6e224.

Solidity: function isEcotone() view returns(bool)

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

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

func (*GasPriceOracleCaller) Version

func (_GasPriceOracle *GasPriceOracleCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

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

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

BaseFee is a free data retrieval call binding the contract method 0x6ef25c3a.

Solidity: function baseFee() view returns(uint256)

func (*GasPriceOracleCallerSession) BaseFeeScalar

func (_GasPriceOracle *GasPriceOracleCallerSession) BaseFeeScalar() (uint32, error)

BaseFeeScalar is a free data retrieval call binding the contract method 0xc5985918.

Solidity: function baseFeeScalar() view returns(uint32)

func (*GasPriceOracleCallerSession) BlobBaseFee

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

BlobBaseFee is a free data retrieval call binding the contract method 0xf8206140.

Solidity: function blobBaseFee() view returns(uint256)

func (*GasPriceOracleCallerSession) BlobBaseFeeScalar

func (_GasPriceOracle *GasPriceOracleCallerSession) BlobBaseFeeScalar() (uint32, error)

BlobBaseFeeScalar is a free data retrieval call binding the contract method 0x68d5dca6.

Solidity: function blobBaseFeeScalar() view returns(uint32)

func (*GasPriceOracleCallerSession) DECIMALS

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

DECIMALS is a free data retrieval call binding the contract method 0x2e0f2625.

Solidity: function DECIMALS() view returns(uint256)

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

func (_GasPriceOracle *GasPriceOracleCallerSession) IsEcotone() (bool, error)

IsEcotone is a free data retrieval call binding the contract method 0x4ef6e224.

Solidity: function isEcotone() view returns(bool)

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)

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

func (*GasPriceOracleCallerSession) Version

func (_GasPriceOracle *GasPriceOracleCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

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.

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

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

BaseFee is a free data retrieval call binding the contract method 0x6ef25c3a.

Solidity: function baseFee() view returns(uint256)

func (*GasPriceOracleSession) BaseFeeScalar

func (_GasPriceOracle *GasPriceOracleSession) BaseFeeScalar() (uint32, error)

BaseFeeScalar is a free data retrieval call binding the contract method 0xc5985918.

Solidity: function baseFeeScalar() view returns(uint32)

func (*GasPriceOracleSession) BlobBaseFee

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

BlobBaseFee is a free data retrieval call binding the contract method 0xf8206140.

Solidity: function blobBaseFee() view returns(uint256)

func (*GasPriceOracleSession) BlobBaseFeeScalar

func (_GasPriceOracle *GasPriceOracleSession) BlobBaseFeeScalar() (uint32, error)

BlobBaseFeeScalar is a free data retrieval call binding the contract method 0x68d5dca6.

Solidity: function blobBaseFeeScalar() view returns(uint32)

func (*GasPriceOracleSession) DECIMALS

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

DECIMALS is a free data retrieval call binding the contract method 0x2e0f2625.

Solidity: function DECIMALS() view returns(uint256)

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

func (_GasPriceOracle *GasPriceOracleSession) IsEcotone() (bool, error)

IsEcotone is a free data retrieval call binding the contract method 0x4ef6e224.

Solidity: function isEcotone() view returns(bool)

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

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

SetEcotone is a paid mutator transaction binding the contract method 0x22b90ab3.

Solidity: function setEcotone() returns()

func (*GasPriceOracleSession) Version

func (_GasPriceOracle *GasPriceOracleSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

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

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

SetEcotone is a paid mutator transaction binding the contract method 0x22b90ab3.

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

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

SetEcotone is a paid mutator transaction binding the contract method 0x22b90ab3.

Solidity: function setEcotone() returns()

Jump to

Keyboard shortcuts

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