optimism_ctc_abi

package
v0.0.0-...-43fc98a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const OptimismCtcAbiABI = "" /* 7006-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Lib_OVMCodecQueueElement

type Lib_OVMCodecQueueElement struct {
	TransactionHash [32]byte
	Timestamp       *big.Int
	BlockNumber     *big.Int
}

Lib_OVMCodecQueueElement is an auto generated low-level Go binding around an user-defined struct.

type OptimismCtcAbi

type OptimismCtcAbi struct {
	OptimismCtcAbiCaller     // Read-only binding to the contract
	OptimismCtcAbiTransactor // Write-only binding to the contract
	OptimismCtcAbiFilterer   // Log filterer for contract events
}

OptimismCtcAbi is an auto generated Go binding around an Ethereum contract.

func NewOptimismCtcAbi

func NewOptimismCtcAbi(address common.Address, backend bind.ContractBackend) (*OptimismCtcAbi, error)

NewOptimismCtcAbi creates a new instance of OptimismCtcAbi, bound to a specific deployed contract.

type OptimismCtcAbiCaller

type OptimismCtcAbiCaller struct {
	// contains filtered or unexported fields
}

OptimismCtcAbiCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewOptimismCtcAbiCaller

func NewOptimismCtcAbiCaller(address common.Address, caller bind.ContractCaller) (*OptimismCtcAbiCaller, error)

NewOptimismCtcAbiCaller creates a new read-only instance of OptimismCtcAbi, bound to a specific deployed contract.

func (*OptimismCtcAbiCaller) Batches

func (_OptimismCtcAbi *OptimismCtcAbiCaller) Batches(opts *bind.CallOpts) (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*OptimismCtcAbiCaller) EnqueueGasCost

func (_OptimismCtcAbi *OptimismCtcAbiCaller) EnqueueGasCost(opts *bind.CallOpts) (*big.Int, error)

EnqueueGasCost is a free data retrieval call binding the contract method 0xe654b1fb.

Solidity: function enqueueGasCost() view returns(uint256)

func (*OptimismCtcAbiCaller) EnqueueL2GasPrepaid

func (_OptimismCtcAbi *OptimismCtcAbiCaller) EnqueueL2GasPrepaid(opts *bind.CallOpts) (*big.Int, error)

EnqueueL2GasPrepaid is a free data retrieval call binding the contract method 0x0b3dfa97.

Solidity: function enqueueL2GasPrepaid() view returns(uint256)

func (*OptimismCtcAbiCaller) GetLastBlockNumber

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetLastBlockNumber(opts *bind.CallOpts) (*big.Int, error)

GetLastBlockNumber is a free data retrieval call binding the contract method 0x5ae6256d.

Solidity: function getLastBlockNumber() view returns(uint40)

func (*OptimismCtcAbiCaller) GetLastTimestamp

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetLastTimestamp(opts *bind.CallOpts) (*big.Int, error)

GetLastTimestamp is a free data retrieval call binding the contract method 0x37899770.

Solidity: function getLastTimestamp() view returns(uint40)

func (*OptimismCtcAbiCaller) GetNextQueueIndex

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetNextQueueIndex(opts *bind.CallOpts) (*big.Int, error)

GetNextQueueIndex is a free data retrieval call binding the contract method 0x7a167a8a.

Solidity: function getNextQueueIndex() view returns(uint40)

func (*OptimismCtcAbiCaller) GetNumPendingQueueElements

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetNumPendingQueueElements(opts *bind.CallOpts) (*big.Int, error)

GetNumPendingQueueElements is a free data retrieval call binding the contract method 0xf722b41a.

Solidity: function getNumPendingQueueElements() view returns(uint40)

func (*OptimismCtcAbiCaller) GetQueueElement

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetQueueElement(opts *bind.CallOpts, _index *big.Int) (Lib_OVMCodecQueueElement, error)

GetQueueElement is a free data retrieval call binding the contract method 0x2a7f18be.

Solidity: function getQueueElement(uint256 _index) view returns((bytes32,uint40,uint40) _element)

func (*OptimismCtcAbiCaller) GetQueueLength

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetQueueLength(opts *bind.CallOpts) (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() view returns(uint40)

func (*OptimismCtcAbiCaller) GetTotalBatches

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetTotalBatches(opts *bind.CallOpts) (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*OptimismCtcAbiCaller) GetTotalElements

func (_OptimismCtcAbi *OptimismCtcAbiCaller) GetTotalElements(opts *bind.CallOpts) (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*OptimismCtcAbiCaller) L2GasDiscountDivisor

func (_OptimismCtcAbi *OptimismCtcAbiCaller) L2GasDiscountDivisor(opts *bind.CallOpts) (*big.Int, error)

L2GasDiscountDivisor is a free data retrieval call binding the contract method 0xccf987c8.

Solidity: function l2GasDiscountDivisor() view returns(uint256)

func (*OptimismCtcAbiCaller) LibAddressManager

func (_OptimismCtcAbi *OptimismCtcAbiCaller) LibAddressManager(opts *bind.CallOpts) (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*OptimismCtcAbiCaller) MAXROLLUPTXSIZE

func (_OptimismCtcAbi *OptimismCtcAbiCaller) MAXROLLUPTXSIZE(opts *bind.CallOpts) (*big.Int, error)

MAXROLLUPTXSIZE is a free data retrieval call binding the contract method 0x876ed5cb.

Solidity: function MAX_ROLLUP_TX_SIZE() view returns(uint256)

func (*OptimismCtcAbiCaller) MINROLLUPTXGAS

func (_OptimismCtcAbi *OptimismCtcAbiCaller) MINROLLUPTXGAS(opts *bind.CallOpts) (*big.Int, error)

MINROLLUPTXGAS is a free data retrieval call binding the contract method 0x78f4b2f2.

Solidity: function MIN_ROLLUP_TX_GAS() view returns(uint256)

func (*OptimismCtcAbiCaller) MaxTransactionGasLimit

func (_OptimismCtcAbi *OptimismCtcAbiCaller) MaxTransactionGasLimit(opts *bind.CallOpts) (*big.Int, error)

MaxTransactionGasLimit is a free data retrieval call binding the contract method 0x8d38c6c1.

Solidity: function maxTransactionGasLimit() view returns(uint256)

func (*OptimismCtcAbiCaller) Resolve

func (_OptimismCtcAbi *OptimismCtcAbiCaller) Resolve(opts *bind.CallOpts, _name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

type OptimismCtcAbiCallerRaw

type OptimismCtcAbiCallerRaw struct {
	Contract *OptimismCtcAbiCaller // Generic read-only contract binding to access the raw methods on
}

OptimismCtcAbiCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*OptimismCtcAbiCallerRaw) Call

func (_OptimismCtcAbi *OptimismCtcAbiCallerRaw) 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 OptimismCtcAbiCallerSession

type OptimismCtcAbiCallerSession struct {
	Contract *OptimismCtcAbiCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

OptimismCtcAbiCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*OptimismCtcAbiCallerSession) Batches

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) Batches() (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*OptimismCtcAbiCallerSession) EnqueueGasCost

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) EnqueueGasCost() (*big.Int, error)

EnqueueGasCost is a free data retrieval call binding the contract method 0xe654b1fb.

Solidity: function enqueueGasCost() view returns(uint256)

func (*OptimismCtcAbiCallerSession) EnqueueL2GasPrepaid

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) EnqueueL2GasPrepaid() (*big.Int, error)

EnqueueL2GasPrepaid is a free data retrieval call binding the contract method 0x0b3dfa97.

Solidity: function enqueueL2GasPrepaid() view returns(uint256)

func (*OptimismCtcAbiCallerSession) GetLastBlockNumber

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetLastBlockNumber() (*big.Int, error)

GetLastBlockNumber is a free data retrieval call binding the contract method 0x5ae6256d.

Solidity: function getLastBlockNumber() view returns(uint40)

func (*OptimismCtcAbiCallerSession) GetLastTimestamp

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetLastTimestamp() (*big.Int, error)

GetLastTimestamp is a free data retrieval call binding the contract method 0x37899770.

Solidity: function getLastTimestamp() view returns(uint40)

func (*OptimismCtcAbiCallerSession) GetNextQueueIndex

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetNextQueueIndex() (*big.Int, error)

GetNextQueueIndex is a free data retrieval call binding the contract method 0x7a167a8a.

Solidity: function getNextQueueIndex() view returns(uint40)

func (*OptimismCtcAbiCallerSession) GetNumPendingQueueElements

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetNumPendingQueueElements() (*big.Int, error)

GetNumPendingQueueElements is a free data retrieval call binding the contract method 0xf722b41a.

Solidity: function getNumPendingQueueElements() view returns(uint40)

func (*OptimismCtcAbiCallerSession) GetQueueElement

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetQueueElement(_index *big.Int) (Lib_OVMCodecQueueElement, error)

GetQueueElement is a free data retrieval call binding the contract method 0x2a7f18be.

Solidity: function getQueueElement(uint256 _index) view returns((bytes32,uint40,uint40) _element)

func (*OptimismCtcAbiCallerSession) GetQueueLength

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetQueueLength() (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() view returns(uint40)

func (*OptimismCtcAbiCallerSession) GetTotalBatches

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetTotalBatches() (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*OptimismCtcAbiCallerSession) GetTotalElements

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) GetTotalElements() (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*OptimismCtcAbiCallerSession) L2GasDiscountDivisor

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) L2GasDiscountDivisor() (*big.Int, error)

L2GasDiscountDivisor is a free data retrieval call binding the contract method 0xccf987c8.

Solidity: function l2GasDiscountDivisor() view returns(uint256)

func (*OptimismCtcAbiCallerSession) LibAddressManager

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*OptimismCtcAbiCallerSession) MAXROLLUPTXSIZE

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) MAXROLLUPTXSIZE() (*big.Int, error)

MAXROLLUPTXSIZE is a free data retrieval call binding the contract method 0x876ed5cb.

Solidity: function MAX_ROLLUP_TX_SIZE() view returns(uint256)

func (*OptimismCtcAbiCallerSession) MINROLLUPTXGAS

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) MINROLLUPTXGAS() (*big.Int, error)

MINROLLUPTXGAS is a free data retrieval call binding the contract method 0x78f4b2f2.

Solidity: function MIN_ROLLUP_TX_GAS() view returns(uint256)

func (*OptimismCtcAbiCallerSession) MaxTransactionGasLimit

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) MaxTransactionGasLimit() (*big.Int, error)

MaxTransactionGasLimit is a free data retrieval call binding the contract method 0x8d38c6c1.

Solidity: function maxTransactionGasLimit() view returns(uint256)

func (*OptimismCtcAbiCallerSession) Resolve

func (_OptimismCtcAbi *OptimismCtcAbiCallerSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

type OptimismCtcAbiFilterer

type OptimismCtcAbiFilterer struct {
	// contains filtered or unexported fields
}

OptimismCtcAbiFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewOptimismCtcAbiFilterer

func NewOptimismCtcAbiFilterer(address common.Address, filterer bind.ContractFilterer) (*OptimismCtcAbiFilterer, error)

NewOptimismCtcAbiFilterer creates a new log filterer instance of OptimismCtcAbi, bound to a specific deployed contract.

func (*OptimismCtcAbiFilterer) FilterL2GasParamsUpdated

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) FilterL2GasParamsUpdated(opts *bind.FilterOpts) (*OptimismCtcAbiL2GasParamsUpdatedIterator, error)

FilterL2GasParamsUpdated is a free log retrieval operation binding the contract event 0xc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e.

Solidity: event L2GasParamsUpdated(uint256 l2GasDiscountDivisor, uint256 enqueueGasCost, uint256 enqueueL2GasPrepaid)

func (*OptimismCtcAbiFilterer) FilterQueueBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) FilterQueueBatchAppended(opts *bind.FilterOpts) (*OptimismCtcAbiQueueBatchAppendedIterator, error)

FilterQueueBatchAppended is a free log retrieval operation binding the contract event 0x64d7f508348c70dea42d5302a393987e4abc20e45954ab3f9d320207751956f0.

Solidity: event QueueBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*OptimismCtcAbiFilterer) FilterSequencerBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) FilterSequencerBatchAppended(opts *bind.FilterOpts) (*OptimismCtcAbiSequencerBatchAppendedIterator, error)

FilterSequencerBatchAppended is a free log retrieval operation binding the contract event 0x602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899.

Solidity: event SequencerBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*OptimismCtcAbiFilterer) FilterTransactionBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) FilterTransactionBatchAppended(opts *bind.FilterOpts, _batchIndex []*big.Int) (*OptimismCtcAbiTransactionBatchAppendedIterator, error)

FilterTransactionBatchAppended is a free log retrieval operation binding the contract event 0x127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e.

Solidity: event TransactionBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*OptimismCtcAbiFilterer) FilterTransactionEnqueued

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) FilterTransactionEnqueued(opts *bind.FilterOpts, _l1TxOrigin []common.Address, _target []common.Address, _queueIndex []*big.Int) (*OptimismCtcAbiTransactionEnqueuedIterator, error)

FilterTransactionEnqueued is a free log retrieval operation binding the contract event 0x4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb5.

Solidity: event TransactionEnqueued(address indexed _l1TxOrigin, address indexed _target, uint256 _gasLimit, bytes _data, uint256 indexed _queueIndex, uint256 _timestamp)

func (*OptimismCtcAbiFilterer) ParseL2GasParamsUpdated

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) ParseL2GasParamsUpdated(log types.Log) (*OptimismCtcAbiL2GasParamsUpdated, error)

ParseL2GasParamsUpdated is a log parse operation binding the contract event 0xc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e.

Solidity: event L2GasParamsUpdated(uint256 l2GasDiscountDivisor, uint256 enqueueGasCost, uint256 enqueueL2GasPrepaid)

func (*OptimismCtcAbiFilterer) ParseQueueBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) ParseQueueBatchAppended(log types.Log) (*OptimismCtcAbiQueueBatchAppended, error)

ParseQueueBatchAppended is a log parse operation binding the contract event 0x64d7f508348c70dea42d5302a393987e4abc20e45954ab3f9d320207751956f0.

Solidity: event QueueBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*OptimismCtcAbiFilterer) ParseSequencerBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) ParseSequencerBatchAppended(log types.Log) (*OptimismCtcAbiSequencerBatchAppended, error)

ParseSequencerBatchAppended is a log parse operation binding the contract event 0x602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899.

Solidity: event SequencerBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*OptimismCtcAbiFilterer) ParseTransactionBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) ParseTransactionBatchAppended(log types.Log) (*OptimismCtcAbiTransactionBatchAppended, error)

ParseTransactionBatchAppended is a log parse operation binding the contract event 0x127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e.

Solidity: event TransactionBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*OptimismCtcAbiFilterer) ParseTransactionEnqueued

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) ParseTransactionEnqueued(log types.Log) (*OptimismCtcAbiTransactionEnqueued, error)

ParseTransactionEnqueued is a log parse operation binding the contract event 0x4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb5.

Solidity: event TransactionEnqueued(address indexed _l1TxOrigin, address indexed _target, uint256 _gasLimit, bytes _data, uint256 indexed _queueIndex, uint256 _timestamp)

func (*OptimismCtcAbiFilterer) WatchL2GasParamsUpdated

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) WatchL2GasParamsUpdated(opts *bind.WatchOpts, sink chan<- *OptimismCtcAbiL2GasParamsUpdated) (event.Subscription, error)

WatchL2GasParamsUpdated is a free log subscription operation binding the contract event 0xc6ed75e96b8b18b71edc1a6e82a9d677f8268c774a262c624eeb2cf0a8b3e07e.

Solidity: event L2GasParamsUpdated(uint256 l2GasDiscountDivisor, uint256 enqueueGasCost, uint256 enqueueL2GasPrepaid)

func (*OptimismCtcAbiFilterer) WatchQueueBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) WatchQueueBatchAppended(opts *bind.WatchOpts, sink chan<- *OptimismCtcAbiQueueBatchAppended) (event.Subscription, error)

WatchQueueBatchAppended is a free log subscription operation binding the contract event 0x64d7f508348c70dea42d5302a393987e4abc20e45954ab3f9d320207751956f0.

Solidity: event QueueBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*OptimismCtcAbiFilterer) WatchSequencerBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) WatchSequencerBatchAppended(opts *bind.WatchOpts, sink chan<- *OptimismCtcAbiSequencerBatchAppended) (event.Subscription, error)

WatchSequencerBatchAppended is a free log subscription operation binding the contract event 0x602f1aeac0ca2e7a13e281a9ef0ad7838542712ce16780fa2ecffd351f05f899.

Solidity: event SequencerBatchAppended(uint256 _startingQueueIndex, uint256 _numQueueElements, uint256 _totalElements)

func (*OptimismCtcAbiFilterer) WatchTransactionBatchAppended

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) WatchTransactionBatchAppended(opts *bind.WatchOpts, sink chan<- *OptimismCtcAbiTransactionBatchAppended, _batchIndex []*big.Int) (event.Subscription, error)

WatchTransactionBatchAppended is a free log subscription operation binding the contract event 0x127186556e7be68c7e31263195225b4de02820707889540969f62c05cf73525e.

Solidity: event TransactionBatchAppended(uint256 indexed _batchIndex, bytes32 _batchRoot, uint256 _batchSize, uint256 _prevTotalElements, bytes _extraData)

func (*OptimismCtcAbiFilterer) WatchTransactionEnqueued

func (_OptimismCtcAbi *OptimismCtcAbiFilterer) WatchTransactionEnqueued(opts *bind.WatchOpts, sink chan<- *OptimismCtcAbiTransactionEnqueued, _l1TxOrigin []common.Address, _target []common.Address, _queueIndex []*big.Int) (event.Subscription, error)

WatchTransactionEnqueued is a free log subscription operation binding the contract event 0x4b388aecf9fa6cc92253704e5975a6129a4f735bdbd99567df4ed0094ee4ceb5.

Solidity: event TransactionEnqueued(address indexed _l1TxOrigin, address indexed _target, uint256 _gasLimit, bytes _data, uint256 indexed _queueIndex, uint256 _timestamp)

type OptimismCtcAbiL2GasParamsUpdated

type OptimismCtcAbiL2GasParamsUpdated struct {
	L2GasDiscountDivisor *big.Int
	EnqueueGasCost       *big.Int
	EnqueueL2GasPrepaid  *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

OptimismCtcAbiL2GasParamsUpdated represents a L2GasParamsUpdated event raised by the OptimismCtcAbi contract.

type OptimismCtcAbiL2GasParamsUpdatedIterator

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

OptimismCtcAbiL2GasParamsUpdatedIterator is returned from FilterL2GasParamsUpdated and is used to iterate over the raw logs and unpacked data for L2GasParamsUpdated events raised by the OptimismCtcAbi contract.

func (*OptimismCtcAbiL2GasParamsUpdatedIterator) Close

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

func (*OptimismCtcAbiL2GasParamsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismCtcAbiL2GasParamsUpdatedIterator) 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 OptimismCtcAbiQueueBatchAppended

type OptimismCtcAbiQueueBatchAppended struct {
	StartingQueueIndex *big.Int
	NumQueueElements   *big.Int
	TotalElements      *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

OptimismCtcAbiQueueBatchAppended represents a QueueBatchAppended event raised by the OptimismCtcAbi contract.

type OptimismCtcAbiQueueBatchAppendedIterator

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

OptimismCtcAbiQueueBatchAppendedIterator is returned from FilterQueueBatchAppended and is used to iterate over the raw logs and unpacked data for QueueBatchAppended events raised by the OptimismCtcAbi contract.

func (*OptimismCtcAbiQueueBatchAppendedIterator) Close

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

func (*OptimismCtcAbiQueueBatchAppendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismCtcAbiQueueBatchAppendedIterator) 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 OptimismCtcAbiRaw

type OptimismCtcAbiRaw struct {
	Contract *OptimismCtcAbi // Generic contract binding to access the raw methods on
}

OptimismCtcAbiRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*OptimismCtcAbiRaw) Call

func (_OptimismCtcAbi *OptimismCtcAbiRaw) 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 (*OptimismCtcAbiRaw) Transact

func (_OptimismCtcAbi *OptimismCtcAbiRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OptimismCtcAbiRaw) Transfer

func (_OptimismCtcAbi *OptimismCtcAbiRaw) 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 OptimismCtcAbiSequencerBatchAppended

type OptimismCtcAbiSequencerBatchAppended struct {
	StartingQueueIndex *big.Int
	NumQueueElements   *big.Int
	TotalElements      *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

OptimismCtcAbiSequencerBatchAppended represents a SequencerBatchAppended event raised by the OptimismCtcAbi contract.

type OptimismCtcAbiSequencerBatchAppendedIterator

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

OptimismCtcAbiSequencerBatchAppendedIterator is returned from FilterSequencerBatchAppended and is used to iterate over the raw logs and unpacked data for SequencerBatchAppended events raised by the OptimismCtcAbi contract.

func (*OptimismCtcAbiSequencerBatchAppendedIterator) Close

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

func (*OptimismCtcAbiSequencerBatchAppendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismCtcAbiSequencerBatchAppendedIterator) 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 OptimismCtcAbiSession

type OptimismCtcAbiSession struct {
	Contract     *OptimismCtcAbi   // 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
}

OptimismCtcAbiSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*OptimismCtcAbiSession) AppendSequencerBatch

func (_OptimismCtcAbi *OptimismCtcAbiSession) AppendSequencerBatch() (*types.Transaction, error)

AppendSequencerBatch is a paid mutator transaction binding the contract method 0xd0f89344.

Solidity: function appendSequencerBatch() returns()

func (*OptimismCtcAbiSession) Batches

func (_OptimismCtcAbi *OptimismCtcAbiSession) Batches() (common.Address, error)

Batches is a free data retrieval call binding the contract method 0xcfdf677e.

Solidity: function batches() view returns(address)

func (*OptimismCtcAbiSession) Enqueue

func (_OptimismCtcAbi *OptimismCtcAbiSession) Enqueue(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

Enqueue is a paid mutator transaction binding the contract method 0x6fee07e0.

Solidity: function enqueue(address _target, uint256 _gasLimit, bytes _data) returns()

func (*OptimismCtcAbiSession) EnqueueGasCost

func (_OptimismCtcAbi *OptimismCtcAbiSession) EnqueueGasCost() (*big.Int, error)

EnqueueGasCost is a free data retrieval call binding the contract method 0xe654b1fb.

Solidity: function enqueueGasCost() view returns(uint256)

func (*OptimismCtcAbiSession) EnqueueL2GasPrepaid

func (_OptimismCtcAbi *OptimismCtcAbiSession) EnqueueL2GasPrepaid() (*big.Int, error)

EnqueueL2GasPrepaid is a free data retrieval call binding the contract method 0x0b3dfa97.

Solidity: function enqueueL2GasPrepaid() view returns(uint256)

func (*OptimismCtcAbiSession) GetLastBlockNumber

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetLastBlockNumber() (*big.Int, error)

GetLastBlockNumber is a free data retrieval call binding the contract method 0x5ae6256d.

Solidity: function getLastBlockNumber() view returns(uint40)

func (*OptimismCtcAbiSession) GetLastTimestamp

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetLastTimestamp() (*big.Int, error)

GetLastTimestamp is a free data retrieval call binding the contract method 0x37899770.

Solidity: function getLastTimestamp() view returns(uint40)

func (*OptimismCtcAbiSession) GetNextQueueIndex

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetNextQueueIndex() (*big.Int, error)

GetNextQueueIndex is a free data retrieval call binding the contract method 0x7a167a8a.

Solidity: function getNextQueueIndex() view returns(uint40)

func (*OptimismCtcAbiSession) GetNumPendingQueueElements

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetNumPendingQueueElements() (*big.Int, error)

GetNumPendingQueueElements is a free data retrieval call binding the contract method 0xf722b41a.

Solidity: function getNumPendingQueueElements() view returns(uint40)

func (*OptimismCtcAbiSession) GetQueueElement

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetQueueElement(_index *big.Int) (Lib_OVMCodecQueueElement, error)

GetQueueElement is a free data retrieval call binding the contract method 0x2a7f18be.

Solidity: function getQueueElement(uint256 _index) view returns((bytes32,uint40,uint40) _element)

func (*OptimismCtcAbiSession) GetQueueLength

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetQueueLength() (*big.Int, error)

GetQueueLength is a free data retrieval call binding the contract method 0xb8f77005.

Solidity: function getQueueLength() view returns(uint40)

func (*OptimismCtcAbiSession) GetTotalBatches

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetTotalBatches() (*big.Int, error)

GetTotalBatches is a free data retrieval call binding the contract method 0xe561dddc.

Solidity: function getTotalBatches() view returns(uint256 _totalBatches)

func (*OptimismCtcAbiSession) GetTotalElements

func (_OptimismCtcAbi *OptimismCtcAbiSession) GetTotalElements() (*big.Int, error)

GetTotalElements is a free data retrieval call binding the contract method 0x7aa63a86.

Solidity: function getTotalElements() view returns(uint256 _totalElements)

func (*OptimismCtcAbiSession) L2GasDiscountDivisor

func (_OptimismCtcAbi *OptimismCtcAbiSession) L2GasDiscountDivisor() (*big.Int, error)

L2GasDiscountDivisor is a free data retrieval call binding the contract method 0xccf987c8.

Solidity: function l2GasDiscountDivisor() view returns(uint256)

func (*OptimismCtcAbiSession) LibAddressManager

func (_OptimismCtcAbi *OptimismCtcAbiSession) LibAddressManager() (common.Address, error)

LibAddressManager is a free data retrieval call binding the contract method 0x299ca478.

Solidity: function libAddressManager() view returns(address)

func (*OptimismCtcAbiSession) MAXROLLUPTXSIZE

func (_OptimismCtcAbi *OptimismCtcAbiSession) MAXROLLUPTXSIZE() (*big.Int, error)

MAXROLLUPTXSIZE is a free data retrieval call binding the contract method 0x876ed5cb.

Solidity: function MAX_ROLLUP_TX_SIZE() view returns(uint256)

func (*OptimismCtcAbiSession) MINROLLUPTXGAS

func (_OptimismCtcAbi *OptimismCtcAbiSession) MINROLLUPTXGAS() (*big.Int, error)

MINROLLUPTXGAS is a free data retrieval call binding the contract method 0x78f4b2f2.

Solidity: function MIN_ROLLUP_TX_GAS() view returns(uint256)

func (*OptimismCtcAbiSession) MaxTransactionGasLimit

func (_OptimismCtcAbi *OptimismCtcAbiSession) MaxTransactionGasLimit() (*big.Int, error)

MaxTransactionGasLimit is a free data retrieval call binding the contract method 0x8d38c6c1.

Solidity: function maxTransactionGasLimit() view returns(uint256)

func (*OptimismCtcAbiSession) Resolve

func (_OptimismCtcAbi *OptimismCtcAbiSession) Resolve(_name string) (common.Address, error)

Resolve is a free data retrieval call binding the contract method 0x461a4478.

Solidity: function resolve(string _name) view returns(address)

func (*OptimismCtcAbiSession) SetGasParams

func (_OptimismCtcAbi *OptimismCtcAbiSession) SetGasParams(_l2GasDiscountDivisor *big.Int, _enqueueGasCost *big.Int) (*types.Transaction, error)

SetGasParams is a paid mutator transaction binding the contract method 0xedcc4a45.

Solidity: function setGasParams(uint256 _l2GasDiscountDivisor, uint256 _enqueueGasCost) returns()

type OptimismCtcAbiTransactionBatchAppended

type OptimismCtcAbiTransactionBatchAppended struct {
	BatchIndex        *big.Int
	BatchRoot         [32]byte
	BatchSize         *big.Int
	PrevTotalElements *big.Int
	ExtraData         []byte
	Raw               types.Log // Blockchain specific contextual infos
}

OptimismCtcAbiTransactionBatchAppended represents a TransactionBatchAppended event raised by the OptimismCtcAbi contract.

type OptimismCtcAbiTransactionBatchAppendedIterator

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

OptimismCtcAbiTransactionBatchAppendedIterator is returned from FilterTransactionBatchAppended and is used to iterate over the raw logs and unpacked data for TransactionBatchAppended events raised by the OptimismCtcAbi contract.

func (*OptimismCtcAbiTransactionBatchAppendedIterator) Close

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

func (*OptimismCtcAbiTransactionBatchAppendedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismCtcAbiTransactionBatchAppendedIterator) 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 OptimismCtcAbiTransactionEnqueued

type OptimismCtcAbiTransactionEnqueued struct {
	L1TxOrigin common.Address
	Target     common.Address
	GasLimit   *big.Int
	Data       []byte
	QueueIndex *big.Int
	Timestamp  *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

OptimismCtcAbiTransactionEnqueued represents a TransactionEnqueued event raised by the OptimismCtcAbi contract.

type OptimismCtcAbiTransactionEnqueuedIterator

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

OptimismCtcAbiTransactionEnqueuedIterator is returned from FilterTransactionEnqueued and is used to iterate over the raw logs and unpacked data for TransactionEnqueued events raised by the OptimismCtcAbi contract.

func (*OptimismCtcAbiTransactionEnqueuedIterator) Close

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

func (*OptimismCtcAbiTransactionEnqueuedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OptimismCtcAbiTransactionEnqueuedIterator) 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 OptimismCtcAbiTransactor

type OptimismCtcAbiTransactor struct {
	// contains filtered or unexported fields
}

OptimismCtcAbiTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewOptimismCtcAbiTransactor

func NewOptimismCtcAbiTransactor(address common.Address, transactor bind.ContractTransactor) (*OptimismCtcAbiTransactor, error)

NewOptimismCtcAbiTransactor creates a new write-only instance of OptimismCtcAbi, bound to a specific deployed contract.

func (*OptimismCtcAbiTransactor) AppendSequencerBatch

func (_OptimismCtcAbi *OptimismCtcAbiTransactor) AppendSequencerBatch(opts *bind.TransactOpts) (*types.Transaction, error)

AppendSequencerBatch is a paid mutator transaction binding the contract method 0xd0f89344.

Solidity: function appendSequencerBatch() returns()

func (*OptimismCtcAbiTransactor) Enqueue

func (_OptimismCtcAbi *OptimismCtcAbiTransactor) Enqueue(opts *bind.TransactOpts, _target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

Enqueue is a paid mutator transaction binding the contract method 0x6fee07e0.

Solidity: function enqueue(address _target, uint256 _gasLimit, bytes _data) returns()

func (*OptimismCtcAbiTransactor) SetGasParams

func (_OptimismCtcAbi *OptimismCtcAbiTransactor) SetGasParams(opts *bind.TransactOpts, _l2GasDiscountDivisor *big.Int, _enqueueGasCost *big.Int) (*types.Transaction, error)

SetGasParams is a paid mutator transaction binding the contract method 0xedcc4a45.

Solidity: function setGasParams(uint256 _l2GasDiscountDivisor, uint256 _enqueueGasCost) returns()

type OptimismCtcAbiTransactorRaw

type OptimismCtcAbiTransactorRaw struct {
	Contract *OptimismCtcAbiTransactor // Generic write-only contract binding to access the raw methods on
}

OptimismCtcAbiTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*OptimismCtcAbiTransactorRaw) Transact

func (_OptimismCtcAbi *OptimismCtcAbiTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*OptimismCtcAbiTransactorRaw) Transfer

func (_OptimismCtcAbi *OptimismCtcAbiTransactorRaw) 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 OptimismCtcAbiTransactorSession

type OptimismCtcAbiTransactorSession struct {
	Contract     *OptimismCtcAbiTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

OptimismCtcAbiTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*OptimismCtcAbiTransactorSession) AppendSequencerBatch

func (_OptimismCtcAbi *OptimismCtcAbiTransactorSession) AppendSequencerBatch() (*types.Transaction, error)

AppendSequencerBatch is a paid mutator transaction binding the contract method 0xd0f89344.

Solidity: function appendSequencerBatch() returns()

func (*OptimismCtcAbiTransactorSession) Enqueue

func (_OptimismCtcAbi *OptimismCtcAbiTransactorSession) Enqueue(_target common.Address, _gasLimit *big.Int, _data []byte) (*types.Transaction, error)

Enqueue is a paid mutator transaction binding the contract method 0x6fee07e0.

Solidity: function enqueue(address _target, uint256 _gasLimit, bytes _data) returns()

func (*OptimismCtcAbiTransactorSession) SetGasParams

func (_OptimismCtcAbi *OptimismCtcAbiTransactorSession) SetGasParams(_l2GasDiscountDivisor *big.Int, _enqueueGasCost *big.Int) (*types.Transaction, error)

SetGasParams is a paid mutator transaction binding the contract method 0xedcc4a45.

Solidity: function setGasParams(uint256 _l2GasDiscountDivisor, uint256 _enqueueGasCost) returns()

Jump to

Keyboard shortcuts

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