Friday the 13th 2021: PAWv2 š¾
Bad luck day but swift resolution! In this article, weāll explain why you had to migrate your PAW tokens as well as announce some exciting news.
ā¹ If you donāt care about the detailed explanation for PAWv2 scroll down to read about the Governance votes and the exclusive partnership with RugDoc.io
Weāre human (we swear), and humans usually need to sleep which we havenāt been doing a lot of lately.
On Friday 13th, 2021, a small mistake resulted in us having to redeploy a new Masterchef as well as new PAW token.
Hereās the whole story, in detail.
The 30-day Timelock recommendation
As we previously mentioned, we commissioned two different audits for PAW, one from Paladin, another one from Obelisk.
Obelisk found an issue having to do with the transferOwnership
function of the Masterchef contract.
This function allows the owner of the Masterchef to be changed and therefore a lot of PAW could be minted if done with malicious intent.
The transferOwnership
function is common and is usually simply protected by a Timelock (it was the case for FISH).
Nevertheless, this issue becomes potentially more serious with our vesting mechanism, since rewards are locked for 30 days after being harvested from Farms. The auditor threfore recommended that a Timelock of at least the same length of the vesting period (30 days) were added to the transferOwnership
function.
The most logical solution was to add 2 (TWO) separate Timelocks. A standard 6-hour Timelock for the Masterchef, and a 30-day Timelock just for the transferOwnership
function.
This is because a single 30-day Timelock would be extremely dangerous since it means that if something goes wrong, weād have to wait 30 days in order to apply a fix.
And ā ironically ā thatās exactly what happened.
Friday the 13, 2021 03:54:20 AM UTC
Hereās the transaction where things went wrong.
Basically, instead of putting the transfer of ownership behind a Timelock, the PAW(v1) token itself was put behind the 30-day Timelock.
All actions started to fail (such as deposit, withdraw and harvest) because the Masterchef didnāt own PAW anymore, and couldnāt mint any.
The problem was immediately detected but there was unfortunately nothing we could do other than start writing new contracts right away.
Preventing this from happening again
Weāve introduced an improved mechanism in order for this to never happen again in the future.
The new Masterchefās ownership can still be transferred, but in order to do this the new owner needs to accept first.
PAWv2, new Farms and Airdrop
We were not going to wait 30 days to take action, that would be ridiculous.
Instead, we deployed a new Masterchef (v3) as well as a new PAW token (PAWv2) so that users could still use the platform with minimum disruptions.
Luckily ā since we acted fast ā this had very little negative effect and our TVL has actually grown by over $20M since this mishap.
We set up a way for users to easily swap from PAWv1 to PAWv2 at a 1:1 ratio (learn how to migrate).
- If you have any PAWv1 in your wallet you will see a message saying āYou have X PAW to migrateā on polycat.finance.
- If you have an LP that was paired with PAWv1 you will see a message saying āplease migrateā on trade.polycat.finance/#/pool.
- If you have anything deposited in the previous farms you will see a message saying āYou need to migrate this farmā on polycat.finance/farms.
Find a tutorial on https://docs.polycat.finance/help/migration.
If you donāt see any messages, then you donāt need to do anything.
Pending PAW Aidrop
Users that had unharvested PAWv1 from previous Farms will be airdropped the total amount they didnāt harvest in a new Vesting Schedule (learn how reward vesting works).
Enough about the past, letās talk about whatās coming next!
2 Governance proposals are live!
Remember, you can only vote with FISH, Polycatās governance token
We have our Snapshot strategy to account for ALL FISH š
Whether itās staked on Polycat, or held in your wallet, or in staked on a external projectās farms (yes, any project), your FISH will be accounted for and you will be able to vote with it (even if paired in an LP!).
Vote now on https://snapshot.org/#/polycatfi.eth!
Governance vote #1 ā link
Should the 4.5% performance fee from vaults (currently used to buyback and burn FISH) be ADDED to the Dividend Vault Fund (DFV) to increase it or directly paid as PAW dividends (to those staking in the Dividend Vault)?
Vote now on https://snapshot.org/#/polycatfi.eth!
Governance vote #2 ā link
Currently, the strategy being used to buy back and pay PAW dividends is IS3USD, a stablecoin pool (USDC, DAI & USDT).
We have $2,910,000 in the Dividend Vault Fund (DVF), 100% of the earnings from this vault are used to pay out dividends to those that stake FISH in it.
In this vote, we are going to allow FISH owners to vote on how to split the DVF. How many DVF vaults and how risky.
Riskier strategies offer better APYs but they also expose the DVF to risk of losses, resulting in less dividends. Vote wisely.
Vote now on https://snapshot.org/#/polycatfi.eth!
Partnership with RugDoc.io: Reviewed Vaults
This has been in the works for some time and itās finally getting close to becoming a reality so weāre ready to reveal it!
RugDoc.io has undeniably become one of the most trustworthy go-to places when it comes to DeFi security. Their cause to make DeFi a safer place is an respectable one with which we identify and fight for as well.
The concept of Reviewed Vaults is simple, Polycat Finance will provide RugDoc with a handy feature to autocompound any reviewed Farms deemed safe by them.
We will have a āReviewed by RugDoc/Degenā (name not final) section on polycat.finance/vaults. This will allow us to include many more vaults on our platform while making sure theyāre vetted by a knowledgeable third-party.
Reviewed Vaults will not be risk-free. Thereās always a risk.
Although we do not have an exact date for Reviewed Vaults, approximate ETA is 3 weeks.
DEX aggregator integrations
Firebird has integrated Polycatās new AMM into their DEX aggregator!
This will result in increased volume for our LPs as well as more fees to burn FISH & PAW!
Remember, Polycatās AMM only takes 0.24% swap fee, being of the lowest on Polygon.
Weāre already in talks with other DEX aggregators to do the same.
Closing words
Here are some numbers:
- PAW Farms reached $100M TVL in less than 3 days š (current total TVL is $140M)
- Over 20,000 members are chatting with us every day across all our Telegram groups š
- Our Twitter now has a following of over 24,500 cats! š„³
We apologize for any inconveniences we caused, we will continue building for you all š
Website: https://polycat.finance
Telegram: https://t.me/PolycatFinance
Twitter: https://twitter.com/PolycatFinance
Discord: https://discord.gg/polycatfinance
Gitbook: https://docs.polycat.finance