Variables ​
Inherits: Owned, Pausable, Constants, Structs
State Variables ​
name ​
Name of the Merkle Distributor
string public name_proposers ​
allow list for allowed root proposer addresses
mapping(address => bool) internal _proposers_approvers ​
allow list for allowed root proposer addresses
mapping(address => bool) internal _approvers_currentMerkleCycle ​
merkle root data related to current cycle (proposed and approved).
timestamp & publishBlock = data from last publish.
MerkleCycle internal _currentMerkleCycle_pendingMerkleCycle ​
merkle root data related to pending cycle (proposed but not yet approved).
timestamp & publishBlock = data from last propose.
MerkleCycle internal _pendingMerkleCyclepreviousMerkleRoot ​
merkle root of the previous cycle
bytes32 public previousMerkleRootclaimed ​
total claimed amount per user address and fToken. user => positionId => claimed amount
mapping(address => mapping(bytes32 => uint256)) public claimedrewards ​
Data of cycle rewards
Reward[] internal rewardsdistributions ​
data of distributions
Distribution[] internal distributionsrewardsDistributor ​
allow list for rewards distributors
mapping(address => bool) public rewardsDistributorcyclesPerDistribution ​
Number of cycles to distribute rewards
uint40 public cyclesPerDistributionblocksPerDistribution ​
Duration of each distribution in blocks
uint40 public blocksPerDistributionstartBlockOfNextCycle ​
Start block of the next cycle
uint40 public startBlockOfNextCyclepullFromDistributor ​
Whether to pull tokens from distributor or not
bool public pullFromDistributorvestingTime ​
Vesting time for rewards
uint40 public vestingTimevestingStartTime ​
Vesting start time
uint40 public vestingStartTimeFunctions ​
constructor ​
constructor(address owner_, address rewardToken_) Constants(rewardToken_) Owned(owner_);
