scUSD/scETH veNFT
Last updated
Last updated
VotingEscrow and Voter contracts have been forked from and slightly modified to add a voting approval logic. To acquire a veNFT, users create a lock by specifying an amount of stkscToken and a lock duration. Active veNFT have a “balance”, which is the locked amount, prorated from the maximum locking duration (52 weeks). The “balance” does not represent the amount of underlying token locked, it does only count the vote power of the veNFT.
The veNFTs “balances” are used by the voter contracts when a user votes for protocol gauges. When a veNFT is used to cast a vote, it becomes frozen until the voting period is over or the veNFT is reseted.