Smart Contract
Storage :
Constants :
/** @notice Minimum Pledge duration */
uint256 public constant MIN_PLEDGE_DURATION = 1 weeks;
/** @notice Minimum delegation time when pledging */
uint256 public constant MIN_DELEGATION_DURATION = 2 days;pledges() :
/** @notice List of all Pledges */
Pledge[] public pledges;pledgeOwner(uint256) :
/** @notice Owner of each Pledge (ordered by index in the pledges list) */
mapping(uint256 => address) public pledgeOwner;onwerPledges(address) :
pledgeAvailableRewardAmounts(uint256) :
votingEscrow() :
delegationBoost() :
minAmountRewardToken(address) :
rewardTokenTotalAmount(address) :
protocolFeeRatio() :
chestAddress() :
minVoteDiff() :
Structs :
Events :
View Methods :
nextPledgeIndex() :
getUserPledges() :
getAllPledges() :
State-changing Methods :
pledge() :
pledgePercent() :
createPledge() :
extendPledge() :
increasePledgeRewardPerVote() :
closePledge() :
Last updated
Was this helpful?