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: "0x6080604052600c805460ff1916600117905534801561001c575f80fd5b506104a28061002a5f395ff3fe608060405234801561000f575f80fd5b506004361061009f575f3560e01c8063477fa270116100725780637e4da1bc116100585780637e4da1bc146101195780639a908e7314610158578063dbc169761461016b575f80fd5b8063477fa2701461010b5780636046916914610112575f80fd5b806315064c96146100a35780632072f6c5146100c557806330c27dde146100cf57806332c2d153146100df575b5f80fd5b600a546100b09060ff1681565b60405190151581526020015b60405180910390f35b6100cd610173565b005b5f5b6040519081526020016100bc565b6100f26100ed366004610391565b61017d565b60405167ffffffffffffffff90911681526020016100bc565b60016100d1565b600a6100d1565b6100cd6101273660046103e6565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6100f261016636600461040c565b610217565b6100cd61024d565b61017b610255565b565b6040517f32c2d15300000000000000000000000000000000000000000000000000000000815267ffffffffffffffff84166004820152602481018390523360448201525f9073ffffffffffffffffffffffffffffffffffffffff8316906332c2d153906064015f604051808303815f87803b1580156101fa575f80fd5b505af115801561020c573d5f803e3d5ffd5b505050509392505050565b600c545f9060ff16610227575f80fd5b8267ffffffffffffffff16600b5461023f9190610434565b600b81905590505b92915050565b61017b6102e7565b600a5460ff1615610292576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a5497905f90a1565b600a5460ff16610323576040517f5386698100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556040517f1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b3905f90a1565b803567ffffffffffffffff8116811461038c575f80fd5b919050565b5f805f606084860312156103a3575f80fd5b6103ac84610375565b925060208401359150604084013573ffffffffffffffffffffffffffffffffffffffff811681146103db575f80fd5b809150509250925092565b5f602082840312156103f6575f80fd5b81358015158114610405575f80fd5b9392505050565b5f806040838503121561041d575f80fd5b61042683610375565b946020939093013593505050565b80820180821115610247577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffdfea2646970667358221220bfaa55f5518fade9180abcd3fbe6fc97dc4b11f3cab34eff5011cf9cd81ac49a64736f6c63430008140033",
}
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()