Skip to content

Events ​

Git Source

Events ​

LogUpdateProposer ​

Emitted when an address is added or removed from the allowed proposers

solidity
event LogUpdateProposer(address proposer, bool isProposer);

LogUpdateApprover ​

Emitted when an address is added or removed from the allowed approvers

solidity
event LogUpdateApprover(address approver, bool isApprover);

LogRootProposed ​

Emitted when a new cycle root hash is proposed

solidity
event LogRootProposed(uint256 cycle, bytes32 root, bytes32 contentHash, uint256 timestamp, uint256 blockNumber);

LogRootUpdated ​

Emitted when a new cycle root hash is approved by the owner and becomes the new active root

solidity
event LogRootUpdated(uint256 cycle, bytes32 root, bytes32 contentHash, uint256 timestamp, uint256 blockNumber);

LogClaimed ​

Emitted when a user claims amount via a valid merkle proof

solidity
event LogClaimed(
    address user,
    uint256 amount,
    uint256 cycle,
    uint8 positionType,
    bytes32 positionId,
    uint256 timestamp,
    uint256 blockNumber
);

LogRewardCycle ​

Emitted when a new reward cycle is created

solidity
event LogRewardCycle(
    uint256 indexed cycle, uint256 indexed epoch, uint256 amount, uint256 startBlock, uint256 endBlock
);

LogDistribution ​

Emitted when a new distribution is created

solidity
event LogDistribution(
    uint256 indexed epoch,
    address indexed initiator,
    uint256 amount,
    uint256 startCycle,
    uint256 endCycle,
    uint256 registrationBlock,
    uint256 registrationTimestamp
);

LogDistributionConfigUpdated ​

Emitted when the distribution configuration is updated

solidity
event LogDistributionConfigUpdated(bool pullFromSender, uint256 blocksPerDistribution, uint256 cyclesPerDistribution);

LogRewardsDistributorToggled ​

Emitted when a rewards distributor is toggled

solidity
event LogRewardsDistributorToggled(address distributor, bool isDistributor);

LogStartBlockOfNextCycleUpdated ​

Emitted when the start block of the next cycle is updated

solidity
event LogStartBlockOfNextCycleUpdated(uint256 startBlockOfNextCycle);