IRewardOrchestrator.sol
Methods
actionApprovalStatus(uint256)
Solidity
function actionApprovalStatus(uint256 _hashId) external view returns (bool)
Parameters
| Name | Type | Description |
|---|---|---|
| _hashId | uint256 | undefined |
Returns
| Name | Type | Description |
|---|---|---|
| _0 | bool | 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 |
executeHashChangeRequest(uint256)
Solidity
function executeHashChangeRequest(uint256 _hashId) external nonpayable returns (enum IRewardOrchestrator.State)
Parameters
| Name | Type | Description |
|---|---|---|
| _hashId | uint256 | undefined |
Returns
| Name | Type | Description |
|---|---|---|
| _0 | enum IRewardOrchestrator.State | undefined |
voteOnHashChangeRequest(uint256,bool)
Solidity
function voteOnHashChangeRequest(uint256 _hashId, bool vote) external nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| _hashId | uint256 | undefined |
| vote | bool | undefined |
Events
ExecutedHashChangeRequest
Solidity
event ExecutedHashChangeRequest(uint256 indexed requestId, bytes32 hash)
Details
Triggered when a hash change request/proposal is executed.
Parameters
| Name | Type | Description |
|---|---|---|
requestId indexed | uint256 | undefined |
| hash | bytes32 | undefined |