Events ​
Events ​
LogStopRewards ​
Emitted when rewards are stopped.
solidity
event LogStopRewards();
LogCancelQueuedRewards ​
Emitted when queued rewards are cancelled.
solidity
event LogCancelQueuedRewards();
LogTransitionedToNextRewards ​
Emitted when the rewards transition to the next phase.
solidity
event LogTransitionedToNextRewards(uint256 startTime, uint256 endTime);
LogStartRewards ​
Emitted when rewards are started.
solidity
event LogStartRewards(uint256 rewardAmount, uint256 duration, uint256 startTime);
Parameters
Name | Type | Description |
---|---|---|
rewardAmount | uint256 | The amount of rewards to be distributed. |
duration | uint256 | The duration for which the rewards will run. |
startTime | uint256 | The timestamp when the rewards start. |
LogQueueNextRewards ​
Emitted when the next rewards are queued.
solidity
event LogQueueNextRewards(uint256 rewardAmount, uint256 duration);
Parameters
Name | Type | Description |
---|---|---|
rewardAmount | uint256 | The amount of rewards to be distributed in the next phase. |
duration | uint256 | The duration for which the next rewards will run. |