L2orchestrator.sol
Methods
Reward()
Solidity
function Reward() external view returns (contract L2rewards)
Returns
Name | Type | Description |
---|---|---|
_0 | contract L2rewards | undefined |
actionThresholdPercent()
Solidity
function actionThresholdPercent() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
approveHashChangeRequest(uint256,uint8)
Solidity
function approveHashChangeRequest(uint256 _hashId, uint8 approved) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_hashId | uint256 | undefined |
approved | uint8 | undefined |
createHashChangeRequest(bytes32)
Solidity
function createHashChangeRequest(bytes32 _hash) external nonpayable returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
_hash | bytes32 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
currentHashID()
Solidity
function currentHashID() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
executeHashChangeRequest(uint256)
Solidity
function executeHashChangeRequest(uint256 _hashId) external nonpayable returns (enum L2orchestrator.State)
Parameters
Name | Type | Description |
---|---|---|
_hashId | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | enum L2orchestrator.State | undefined |
hashChangeApprovals(uint256,address)
Solidity
function hashChangeApprovals(uint256, address) external view returns (uint8)
Parameters
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
_1 | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint8 | undefined |
hashChangeRequests(uint256)
Solidity
function hashChangeRequests(uint256) external view returns (bytes32 hash, enum L2orchestrator.State state)
Parameters
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
hash | bytes32 | undefined |
state | enum L2orchestrator.State | undefined |
initialize(address,address)
Solidity
function initialize(address _keeperRegistry, address _L2RewarderAddress) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_keeperRegistry | address | undefined |
_L2RewarderAddress | address | undefined |
isHashChangeRequestApproved(uint256)
Solidity
function isHashChangeRequestApproved(uint256 hashId) external view returns (uint8)
Parameters
Name | Type | Description |
---|---|---|
hashId | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint8 | undefined |
isHashChangeRequestApprovedByUser(uint256,address)
Solidity
function isHashChangeRequestApprovedByUser(uint256 hashId, address member) external view returns (bool)
Parameters
Name | Type | Description |
---|---|---|
hashId | uint256 | undefined |
member | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | bool | undefined |
keeperRegistry()
Solidity
function keeperRegistry() external view returns (contract KeeperRegistry)
Returns
Name | Type | Description |
---|---|---|
_0 | contract KeeperRegistry | undefined |
lastExecutedHashId()
Solidity
function lastExecutedHashId() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
owner()
Solidity
function owner() external view returns (address)
Details
Returns the address of the current owner.
Returns
Name | Type | Description |
---|---|---|
_0 | address | undefined |
renounceOwnership()
Solidity
function renounceOwnership() external nonpayable
Details
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
transferOwnership(address)
Solidity
function transferOwnership(address newOwner) external nonpayable
Details
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Name | Type | Description |
---|---|---|
newOwner | address | undefined |
upgradeTo(address)
Solidity
function upgradeTo(address newImplementation) external nonpayable
Details
Upgrade the implementation of the proxy to newImplementation
. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.
Parameters
Name | Type | Description |
---|---|---|
newImplementation | address | undefined |
upgradeToAndCall(address,bytes)
Solidity
function upgradeToAndCall(address newImplementation, bytes data) external payable
Details
Upgrade the implementation of the proxy to newImplementation
, and subsequently execute the function call encoded in data
. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.
Parameters
Name | Type | Description |
---|---|---|
newImplementation | address | undefined |
data | bytes | undefined |
Events
AdminChanged
Solidity
event AdminChanged(address previousAdmin, address newAdmin)
Parameters
Name | Type | Description |
---|---|---|
previousAdmin | address | undefined |
newAdmin | address | undefined |
BeaconUpgraded
Solidity
event BeaconUpgraded(address indexed beacon)
Parameters
Name | Type | Description |
---|---|---|
beacon indexed | address | undefined |
ExecutedHashChangeRequestRequest
Solidity
event ExecutedHashChangeRequestRequest(uint256 requestId, bytes32 hash)
Parameters
Name | Type | Description |
---|---|---|
requestId | uint256 | undefined |
hash | bytes32 | undefined |
OwnershipTransferred
Solidity
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Parameters
Name | Type | Description |
---|---|---|
previousOwner indexed | address | undefined |
newOwner indexed | address | undefined |
Upgraded
Solidity
event Upgraded(address indexed implementation)
Parameters
Name | Type | Description |
---|---|---|
implementation indexed | address | undefined |