Skip to content

Events ​

Git Source

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

NameTypeDescription
rewardAmountuint256The amount of rewards to be distributed.
durationuint256The duration for which the rewards will run.
startTimeuint256The timestamp when the rewards start.

LogQueueNextRewards ​

Emitted when the next rewards are queued.

solidity
event LogQueueNextRewards(uint256 rewardAmount, uint256 duration);

Parameters

NameTypeDescription
rewardAmountuint256The amount of rewards to be distributed in the next phase.
durationuint256The duration for which the next rewards will run.