Documentation ¶
Index ¶
- Variables
- type Polygonrollupmanageremptymock
- func DeployPolygonrollupmanageremptymock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Polygonrollupmanageremptymock, error)
- func NewPolygonrollupmanageremptymock(address common.Address, backend bind.ContractBackend) (*Polygonrollupmanageremptymock, error)
- type PolygonrollupmanageremptymockCaller
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCaller) GetBatchFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCaller) GetForcedBatchFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCaller) IsEmergencyState(opts *bind.CallOpts) (bool, error)
- type PolygonrollupmanageremptymockCallerRaw
- type PolygonrollupmanageremptymockCallerSession
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCallerSession) GetBatchFee() (*big.Int, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCallerSession) GetForcedBatchFee() (*big.Int, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCallerSession) IsEmergencyState() (bool, error)
- type PolygonrollupmanageremptymockEmergencyStateActivated
- type PolygonrollupmanageremptymockEmergencyStateActivatedIterator
- type PolygonrollupmanageremptymockEmergencyStateDeactivated
- type PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator
- type PolygonrollupmanageremptymockFilterer
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*PolygonrollupmanageremptymockEmergencyStateActivatedIterator, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) ParseEmergencyStateActivated(log types.Log) (*PolygonrollupmanageremptymockEmergencyStateActivated, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) ParseEmergencyStateDeactivated(log types.Log) (*PolygonrollupmanageremptymockEmergencyStateDeactivated, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type PolygonrollupmanageremptymockRaw
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PolygonrollupmanageremptymockSession
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) ActivateEmergencyState() (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) DeactivateEmergencyState() (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) GetBatchFee() (*big.Int, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) GetForcedBatchFee() (*big.Int, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) IsEmergencyState() (bool, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) LastDeactivatedEmergencyStateTimestamp() (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) OnVerifyBatches(finalNewBatch uint64, newStateRoot [32]byte, rollup common.Address) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) SetAcceptSequenceBatches(newAcceptSequenceBatches bool) (*types.Transaction, error)
- type PolygonrollupmanageremptymockTransactor
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) ActivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) DeactivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) LastDeactivatedEmergencyStateTimestamp(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) OnSequenceBatches(opts *bind.TransactOpts, newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) OnVerifyBatches(opts *bind.TransactOpts, finalNewBatch uint64, newStateRoot [32]byte, ...) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) SetAcceptSequenceBatches(opts *bind.TransactOpts, newAcceptSequenceBatches bool) (*types.Transaction, error)
- type PolygonrollupmanageremptymockTransactorRaw
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PolygonrollupmanageremptymockTransactorSession
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) ActivateEmergencyState() (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) DeactivateEmergencyState() (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) LastDeactivatedEmergencyStateTimestamp() (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) OnVerifyBatches(finalNewBatch uint64, newStateRoot [32]byte, rollup common.Address) (*types.Transaction, error)
- func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) SetAcceptSequenceBatches(newAcceptSequenceBatches bool) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var PolygonrollupmanageremptymockABI = PolygonrollupmanageremptymockMetaData.ABI
PolygonrollupmanageremptymockABI is the input ABI used to generate the binding from. Deprecated: Use PolygonrollupmanageremptymockMetaData.ABI instead.
var PolygonrollupmanageremptymockBin = PolygonrollupmanageremptymockMetaData.Bin
PolygonrollupmanageremptymockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PolygonrollupmanageremptymockMetaData.Bin instead.
var PolygonrollupmanageremptymockMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"OnlyEmergencyState\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyNotEmergencyState\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateActivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EmergencyStateDeactivated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"activateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deactivateEmergencyState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBatchFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getForcedBatchFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isEmergencyState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastDeactivatedEmergencyStateTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newSequencedBatches\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newAccInputHash\",\"type\":\"bytes32\"}],\"name\":\"onSequenceBatches\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"finalNewBatch\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"newStateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"contractIPolygonRollupBase\",\"name\":\"rollup\",\"type\":\"address\"}],\"name\":\"onVerifyBatches\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"newAcceptSequenceBatches\",\"type\":\"bool\"}],\"name\":\"setAcceptSequenceBatches\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x6080604052600c805460ff1916600117905534801561001d57600080fd5b506104be8061002d6000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c8063477fa270116100765780637e4da1bc1161005b5780637e4da1bc1461011f5780639a908e731461015e578063dbc169761461017157600080fd5b8063477fa27014610111578063604691691461011857600080fd5b806315064c96146100a85780632072f6c5146100ca57806330c27dde146100d457806332c2d153146100e5575b600080fd5b600a546100b59060ff1681565b60405190151581526020015b60405180910390f35b6100d2610179565b005b60005b6040519081526020016100c1565b6100f86100f33660046103a2565b610183565b60405167ffffffffffffffff90911681526020016100c1565b60016100d7565b600a6100d7565b6100d261012d3660046103fb565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6100f861016c366004610424565b610223565b6100d261025b565b610181610263565b565b6040517f32c2d15300000000000000000000000000000000000000000000000000000000815267ffffffffffffffff841660048201526024810183905233604482015260009073ffffffffffffffffffffffffffffffffffffffff8316906332c2d15390606401600060405180830381600087803b15801561020457600080fd5b505af1158015610218573d6000803e3d6000fd5b505050509392505050565b600c5460009060ff1661023557600080fd5b8267ffffffffffffffff16600b5461024d919061044e565b600b81905590505b92915050565b6101816102f6565b600a5460ff16156102a0576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a549790600090a1565b600a5460ff16610332576040517f5386698100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556040517f1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b390600090a1565b803567ffffffffffffffff8116811461039d57600080fd5b919050565b6000806000606084860312156103b757600080fd5b6103c084610385565b925060208401359150604084013573ffffffffffffffffffffffffffffffffffffffff811681146103f057600080fd5b809150509250925092565b60006020828403121561040d57600080fd5b8135801515811461041d57600080fd5b9392505050565b6000806040838503121561043757600080fd5b61044083610385565b946020939093013593505050565b80820180821115610255577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220b8a591d35f4b0620a2f64ba4bdcb5424de20b6ed1919ea881afd0a47d9bfe66864736f6c63430008140033",
}
PolygonrollupmanageremptymockMetaData contains all meta data concerning the Polygonrollupmanageremptymock contract.
Functions ¶
This section is empty.
Types ¶
type Polygonrollupmanageremptymock ¶
type Polygonrollupmanageremptymock struct { PolygonrollupmanageremptymockCaller // Read-only binding to the contract PolygonrollupmanageremptymockTransactor // Write-only binding to the contract PolygonrollupmanageremptymockFilterer // Log filterer for contract events }
Polygonrollupmanageremptymock is an auto generated Go binding around an Ethereum contract.
func DeployPolygonrollupmanageremptymock ¶
func DeployPolygonrollupmanageremptymock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Polygonrollupmanageremptymock, error)
DeployPolygonrollupmanageremptymock deploys a new Ethereum contract, binding an instance of Polygonrollupmanageremptymock to it.
func NewPolygonrollupmanageremptymock ¶
func NewPolygonrollupmanageremptymock(address common.Address, backend bind.ContractBackend) (*Polygonrollupmanageremptymock, error)
NewPolygonrollupmanageremptymock creates a new instance of Polygonrollupmanageremptymock, bound to a specific deployed contract.
type PolygonrollupmanageremptymockCaller ¶
type PolygonrollupmanageremptymockCaller struct {
// contains filtered or unexported fields
}
PolygonrollupmanageremptymockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPolygonrollupmanageremptymockCaller ¶
func NewPolygonrollupmanageremptymockCaller(address common.Address, caller bind.ContractCaller) (*PolygonrollupmanageremptymockCaller, error)
NewPolygonrollupmanageremptymockCaller creates a new read-only instance of Polygonrollupmanageremptymock, bound to a specific deployed contract.
func (*PolygonrollupmanageremptymockCaller) GetBatchFee ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCaller) GetBatchFee(opts *bind.CallOpts) (*big.Int, error)
GetBatchFee is a free data retrieval call binding the contract method 0x477fa270.
Solidity: function getBatchFee() view returns(uint256)
func (*PolygonrollupmanageremptymockCaller) GetForcedBatchFee ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCaller) GetForcedBatchFee(opts *bind.CallOpts) (*big.Int, error)
GetForcedBatchFee is a free data retrieval call binding the contract method 0x60469169.
Solidity: function getForcedBatchFee() view returns(uint256)
func (*PolygonrollupmanageremptymockCaller) IsEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCaller) IsEmergencyState(opts *bind.CallOpts) (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
type PolygonrollupmanageremptymockCallerRaw ¶
type PolygonrollupmanageremptymockCallerRaw struct {
Contract *PolygonrollupmanageremptymockCaller // Generic read-only contract binding to access the raw methods on
}
PolygonrollupmanageremptymockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PolygonrollupmanageremptymockCallerRaw) Call ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCallerRaw) 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 PolygonrollupmanageremptymockCallerSession ¶
type PolygonrollupmanageremptymockCallerSession struct { Contract *PolygonrollupmanageremptymockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PolygonrollupmanageremptymockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PolygonrollupmanageremptymockCallerSession) GetBatchFee ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCallerSession) GetBatchFee() (*big.Int, error)
GetBatchFee is a free data retrieval call binding the contract method 0x477fa270.
Solidity: function getBatchFee() view returns(uint256)
func (*PolygonrollupmanageremptymockCallerSession) GetForcedBatchFee ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCallerSession) GetForcedBatchFee() (*big.Int, error)
GetForcedBatchFee is a free data retrieval call binding the contract method 0x60469169.
Solidity: function getForcedBatchFee() view returns(uint256)
func (*PolygonrollupmanageremptymockCallerSession) IsEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockCallerSession) IsEmergencyState() (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
type PolygonrollupmanageremptymockEmergencyStateActivated ¶
type PolygonrollupmanageremptymockEmergencyStateActivated struct {
Raw types.Log // Blockchain specific contextual infos
}
PolygonrollupmanageremptymockEmergencyStateActivated represents a EmergencyStateActivated event raised by the Polygonrollupmanageremptymock contract.
type PolygonrollupmanageremptymockEmergencyStateActivatedIterator ¶
type PolygonrollupmanageremptymockEmergencyStateActivatedIterator struct { Event *PolygonrollupmanageremptymockEmergencyStateActivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonrollupmanageremptymockEmergencyStateActivatedIterator is returned from FilterEmergencyStateActivated and is used to iterate over the raw logs and unpacked data for EmergencyStateActivated events raised by the Polygonrollupmanageremptymock contract.
func (*PolygonrollupmanageremptymockEmergencyStateActivatedIterator) Close ¶
func (it *PolygonrollupmanageremptymockEmergencyStateActivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonrollupmanageremptymockEmergencyStateActivatedIterator) Error ¶
func (it *PolygonrollupmanageremptymockEmergencyStateActivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonrollupmanageremptymockEmergencyStateActivatedIterator) Next ¶
func (it *PolygonrollupmanageremptymockEmergencyStateActivatedIterator) 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 PolygonrollupmanageremptymockEmergencyStateDeactivated ¶
type PolygonrollupmanageremptymockEmergencyStateDeactivated struct {
Raw types.Log // Blockchain specific contextual infos
}
PolygonrollupmanageremptymockEmergencyStateDeactivated represents a EmergencyStateDeactivated event raised by the Polygonrollupmanageremptymock contract.
type PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator ¶
type PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator struct { Event *PolygonrollupmanageremptymockEmergencyStateDeactivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator is returned from FilterEmergencyStateDeactivated and is used to iterate over the raw logs and unpacked data for EmergencyStateDeactivated events raised by the Polygonrollupmanageremptymock contract.
func (*PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator) Close ¶
func (it *PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator) Error ¶
func (it *PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator) Next ¶
func (it *PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator) 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 PolygonrollupmanageremptymockFilterer ¶
type PolygonrollupmanageremptymockFilterer struct {
// contains filtered or unexported fields
}
PolygonrollupmanageremptymockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPolygonrollupmanageremptymockFilterer ¶
func NewPolygonrollupmanageremptymockFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonrollupmanageremptymockFilterer, error)
NewPolygonrollupmanageremptymockFilterer creates a new log filterer instance of Polygonrollupmanageremptymock, bound to a specific deployed contract.
func (*PolygonrollupmanageremptymockFilterer) FilterEmergencyStateActivated ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) FilterEmergencyStateActivated(opts *bind.FilterOpts) (*PolygonrollupmanageremptymockEmergencyStateActivatedIterator, error)
FilterEmergencyStateActivated is a free log retrieval operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*PolygonrollupmanageremptymockFilterer) FilterEmergencyStateDeactivated ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) FilterEmergencyStateDeactivated(opts *bind.FilterOpts) (*PolygonrollupmanageremptymockEmergencyStateDeactivatedIterator, error)
FilterEmergencyStateDeactivated is a free log retrieval operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*PolygonrollupmanageremptymockFilterer) ParseEmergencyStateActivated ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) ParseEmergencyStateActivated(log types.Log) (*PolygonrollupmanageremptymockEmergencyStateActivated, error)
ParseEmergencyStateActivated is a log parse operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*PolygonrollupmanageremptymockFilterer) ParseEmergencyStateDeactivated ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) ParseEmergencyStateDeactivated(log types.Log) (*PolygonrollupmanageremptymockEmergencyStateDeactivated, error)
ParseEmergencyStateDeactivated is a log parse operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
func (*PolygonrollupmanageremptymockFilterer) WatchEmergencyStateActivated ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) WatchEmergencyStateActivated(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanageremptymockEmergencyStateActivated) (event.Subscription, error)
WatchEmergencyStateActivated is a free log subscription operation binding the contract event 0x2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497.
Solidity: event EmergencyStateActivated()
func (*PolygonrollupmanageremptymockFilterer) WatchEmergencyStateDeactivated ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockFilterer) WatchEmergencyStateDeactivated(opts *bind.WatchOpts, sink chan<- *PolygonrollupmanageremptymockEmergencyStateDeactivated) (event.Subscription, error)
WatchEmergencyStateDeactivated is a free log subscription operation binding the contract event 0x1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3.
Solidity: event EmergencyStateDeactivated()
type PolygonrollupmanageremptymockRaw ¶
type PolygonrollupmanageremptymockRaw struct {
Contract *Polygonrollupmanageremptymock // Generic contract binding to access the raw methods on
}
PolygonrollupmanageremptymockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PolygonrollupmanageremptymockRaw) Call ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockRaw) 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 (*PolygonrollupmanageremptymockRaw) Transact ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonrollupmanageremptymockRaw) Transfer ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockRaw) 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 PolygonrollupmanageremptymockSession ¶
type PolygonrollupmanageremptymockSession struct { Contract *Polygonrollupmanageremptymock // 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 }
PolygonrollupmanageremptymockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PolygonrollupmanageremptymockSession) ActivateEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) ActivateEmergencyState() (*types.Transaction, error)
ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() returns()
func (*PolygonrollupmanageremptymockSession) DeactivateEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) DeactivateEmergencyState() (*types.Transaction, error)
DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() returns()
func (*PolygonrollupmanageremptymockSession) GetBatchFee ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) GetBatchFee() (*big.Int, error)
GetBatchFee is a free data retrieval call binding the contract method 0x477fa270.
Solidity: function getBatchFee() view returns(uint256)
func (*PolygonrollupmanageremptymockSession) GetForcedBatchFee ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) GetForcedBatchFee() (*big.Int, error)
GetForcedBatchFee is a free data retrieval call binding the contract method 0x60469169.
Solidity: function getForcedBatchFee() view returns(uint256)
func (*PolygonrollupmanageremptymockSession) IsEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) IsEmergencyState() (bool, error)
IsEmergencyState is a free data retrieval call binding the contract method 0x15064c96.
Solidity: function isEmergencyState() view returns(bool)
func (*PolygonrollupmanageremptymockSession) LastDeactivatedEmergencyStateTimestamp ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) LastDeactivatedEmergencyStateTimestamp() (*types.Transaction, error)
LastDeactivatedEmergencyStateTimestamp is a paid mutator transaction binding the contract method 0x30c27dde.
Solidity: function lastDeactivatedEmergencyStateTimestamp() returns(uint256)
func (*PolygonrollupmanageremptymockSession) OnSequenceBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)
OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.
Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)
func (*PolygonrollupmanageremptymockSession) OnVerifyBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) OnVerifyBatches(finalNewBatch uint64, newStateRoot [32]byte, rollup common.Address) (*types.Transaction, error)
OnVerifyBatches is a paid mutator transaction binding the contract method 0x32c2d153.
Solidity: function onVerifyBatches(uint64 finalNewBatch, bytes32 newStateRoot, address rollup) returns(uint64)
func (*PolygonrollupmanageremptymockSession) SetAcceptSequenceBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockSession) SetAcceptSequenceBatches(newAcceptSequenceBatches bool) (*types.Transaction, error)
SetAcceptSequenceBatches is a paid mutator transaction binding the contract method 0x7e4da1bc.
Solidity: function setAcceptSequenceBatches(bool newAcceptSequenceBatches) returns()
type PolygonrollupmanageremptymockTransactor ¶
type PolygonrollupmanageremptymockTransactor struct {
// contains filtered or unexported fields
}
PolygonrollupmanageremptymockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPolygonrollupmanageremptymockTransactor ¶
func NewPolygonrollupmanageremptymockTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonrollupmanageremptymockTransactor, error)
NewPolygonrollupmanageremptymockTransactor creates a new write-only instance of Polygonrollupmanageremptymock, bound to a specific deployed contract.
func (*PolygonrollupmanageremptymockTransactor) ActivateEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) ActivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() returns()
func (*PolygonrollupmanageremptymockTransactor) DeactivateEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) DeactivateEmergencyState(opts *bind.TransactOpts) (*types.Transaction, error)
DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() returns()
func (*PolygonrollupmanageremptymockTransactor) LastDeactivatedEmergencyStateTimestamp ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) LastDeactivatedEmergencyStateTimestamp(opts *bind.TransactOpts) (*types.Transaction, error)
LastDeactivatedEmergencyStateTimestamp is a paid mutator transaction binding the contract method 0x30c27dde.
Solidity: function lastDeactivatedEmergencyStateTimestamp() returns(uint256)
func (*PolygonrollupmanageremptymockTransactor) OnSequenceBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) OnSequenceBatches(opts *bind.TransactOpts, newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)
OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.
Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)
func (*PolygonrollupmanageremptymockTransactor) OnVerifyBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) OnVerifyBatches(opts *bind.TransactOpts, finalNewBatch uint64, newStateRoot [32]byte, rollup common.Address) (*types.Transaction, error)
OnVerifyBatches is a paid mutator transaction binding the contract method 0x32c2d153.
Solidity: function onVerifyBatches(uint64 finalNewBatch, bytes32 newStateRoot, address rollup) returns(uint64)
func (*PolygonrollupmanageremptymockTransactor) SetAcceptSequenceBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactor) SetAcceptSequenceBatches(opts *bind.TransactOpts, newAcceptSequenceBatches bool) (*types.Transaction, error)
SetAcceptSequenceBatches is a paid mutator transaction binding the contract method 0x7e4da1bc.
Solidity: function setAcceptSequenceBatches(bool newAcceptSequenceBatches) returns()
type PolygonrollupmanageremptymockTransactorRaw ¶
type PolygonrollupmanageremptymockTransactorRaw struct {
Contract *PolygonrollupmanageremptymockTransactor // Generic write-only contract binding to access the raw methods on
}
PolygonrollupmanageremptymockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PolygonrollupmanageremptymockTransactorRaw) Transact ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PolygonrollupmanageremptymockTransactorRaw) Transfer ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorRaw) 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 PolygonrollupmanageremptymockTransactorSession ¶
type PolygonrollupmanageremptymockTransactorSession struct { Contract *PolygonrollupmanageremptymockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PolygonrollupmanageremptymockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PolygonrollupmanageremptymockTransactorSession) ActivateEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) ActivateEmergencyState() (*types.Transaction, error)
ActivateEmergencyState is a paid mutator transaction binding the contract method 0x2072f6c5.
Solidity: function activateEmergencyState() returns()
func (*PolygonrollupmanageremptymockTransactorSession) DeactivateEmergencyState ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) DeactivateEmergencyState() (*types.Transaction, error)
DeactivateEmergencyState is a paid mutator transaction binding the contract method 0xdbc16976.
Solidity: function deactivateEmergencyState() returns()
func (*PolygonrollupmanageremptymockTransactorSession) LastDeactivatedEmergencyStateTimestamp ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) LastDeactivatedEmergencyStateTimestamp() (*types.Transaction, error)
LastDeactivatedEmergencyStateTimestamp is a paid mutator transaction binding the contract method 0x30c27dde.
Solidity: function lastDeactivatedEmergencyStateTimestamp() returns(uint256)
func (*PolygonrollupmanageremptymockTransactorSession) OnSequenceBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) OnSequenceBatches(newSequencedBatches uint64, newAccInputHash [32]byte) (*types.Transaction, error)
OnSequenceBatches is a paid mutator transaction binding the contract method 0x9a908e73.
Solidity: function onSequenceBatches(uint64 newSequencedBatches, bytes32 newAccInputHash) returns(uint64)
func (*PolygonrollupmanageremptymockTransactorSession) OnVerifyBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) OnVerifyBatches(finalNewBatch uint64, newStateRoot [32]byte, rollup common.Address) (*types.Transaction, error)
OnVerifyBatches is a paid mutator transaction binding the contract method 0x32c2d153.
Solidity: function onVerifyBatches(uint64 finalNewBatch, bytes32 newStateRoot, address rollup) returns(uint64)
func (*PolygonrollupmanageremptymockTransactorSession) SetAcceptSequenceBatches ¶
func (_Polygonrollupmanageremptymock *PolygonrollupmanageremptymockTransactorSession) SetAcceptSequenceBatches(newAcceptSequenceBatches bool) (*types.Transaction, error)
SetAcceptSequenceBatches is a paid mutator transaction binding the contract method 0x7e4da1bc.
Solidity: function setAcceptSequenceBatches(bool newAcceptSequenceBatches) returns()