Skip to content

Variables ​

Git Source

Inherits: Owned, Pausable, Constants, Structs

State Variables ​

_proposers ​

allow list for allowed root proposer addresses

solidity
mapping(address => bool) internal _proposers;

_approvers ​

allow list for allowed root proposer addresses

solidity
mapping(address => bool) internal _approvers;

_currentMerkleCycle ​

merkle root data related to current cycle (proposed and approved).

timestamp & publishBlock = data from last publish.

solidity
MerkleCycle internal _currentMerkleCycle;

_pendingMerkleCycle ​

merkle root data related to pending cycle (proposed but not yet approved).

timestamp & publishBlock = data from last propose.

solidity
MerkleCycle internal _pendingMerkleCycle;

previousMerkleRoot ​

merkle root of the previous cycle

solidity
bytes32 public previousMerkleRoot;

claimed ​

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

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

Functions ​

constructor ​

solidity
constructor(address owner_, address rewardToken_) Constants(rewardToken_) Owned(owner_);