Skip to content

Constants ​

TOKEN ​

solidity
contract IERC20 TOKEN

constructor ​

solidity
constructor(address rewardToken_) internal

Variables ​

_proposers ​

solidity
mapping(address => bool) _proposers

allow list for allowed root proposer addresses

_approvers ​

solidity
mapping(address => bool) _approvers

allow list for allowed root proposer addresses

_currentMerkleCycle ​

solidity
struct Structs.MerkleCycle _currentMerkleCycle

merkle root data related to current cycle (proposed and approved). timestamp & publishBlock = data from last publish.

_pendingMerkleCycle ​

solidity
struct Structs.MerkleCycle _pendingMerkleCycle

merkle root data related to pending cycle (proposed but not yet approved). timestamp & publishBlock = data from last propose.

previousMerkleRoot ​

solidity
bytes32 previousMerkleRoot

merkle root of the previous cycle

claimed ​

solidity
mapping(address => mapping(bytes32 => uint256)) claimed

total claimed amount per user address and fToken. user => positionId => claimed amount

constructor ​

solidity
constructor(address owner_, address rewardToken_) internal