Difference between revisions of "Pickle Finance (PICKLE)"

From CryptoWiki

m (1 revision imported)
 
Line 1: Line 1:
== Basics ==
[https://pickle.finance/ A project] incentivizing [[liquidity]] on the four largest [[DeFi]] [[stablecoins]] ([[DAI]], [[USDC]], [[USDT]], [[sUSD]]).
 
==Basics ==
* Founded in:
* Founded in:
* [[Mainnet]] release: [https://docs.defisafety.com/finished-reviews/pickle-process-quality-review-update#audits 10-9-2020]
* [[Mainnet]] release: [https://docs.defisafety.com/finished-reviews/pickle-process-quality-review-update#audits 10-9-2020]
* Based in:
* Based in:
* [https://pickle.finance/ A project] incentivizing liquidity on the four largest [[DeFi]] [[stablecoins]] ([[DAI]], [[USDC]], [[USDT]], [[sUSD]]).
== History ==
== History ==
== Audits & Exploits ==
*[[Bug bounty|Bug Bounty]] program found [https://github.com/pickle-finance/protocol/blob/master/SECURITY.md#bug-bounty-program here] (12-7-2021). Rewards go up to 50k USD. Note: Currently there is no set end date for the program, therefore it is currently active.
* [https://defiweekly.substack.com/p/pickle From] [[DeFi Weekly]] (15-9-2020):
''"All the [[contracts]] are not only owned by a [[multisig]] but also behind a [[timelock|timelock.]] Any proposal takes 2 days to be executed [[on-chain]] so many factors that would result in a rug-pull would need to take 2 days to come into effect."''
* [https://docs.defisafety.com/finished-reviews/aave-process-quality-audit#deployed-code Scored] a 52% on [[DeFi Safety]] (21-10-2020); ''"[https://t.me/c/1453353094/1594 Good project], with all [[addresses]] public. No audit yet and thin documentation reduced the score. But it easy to improve from here."''
*V2 scored a [https://defisafety.com/2021/07/12/pickle-finance-v2/ 66%] (12-7-2021): ''"[[Peckshield|PeckShield]] did a Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/PeckShield-Audit-Report-Gauge-GaugeProxy-v1.0.pdf audit] on March 4th 2021. [[MixBytes]] did a Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/MixBytes_Audit_Curve_Strategy.pdf audit] on October 9th 2020. MixBytes released a second Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/Haechi_Audit.pdf audit] on November 5th 2020. [[Haechi]] released a Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/Haechi_Audit.pdf audit] on November 9th 2020. Pickle was launched on September 10th 2020. Notes: most changes were implemented."'' With the [https://t.me/c/1453353094/4271 comment]: ''"Pickle Finance is up with 66%. Solid team with excellent audits, Decent Access controls, and decent testing."''
=== Bugs/Hacks ===
* [https://www.coindesk.com/defi-protocol-pickle-finance-token-loses-almost-half-its-value-after-19-7m-hack From] [[CoinDesk]] (23-11-2020):
"''Was hacked on Saturday, draining $19.7 million in [[DAI]]. On Friday, the team introduced the cDAI jar, a “new strategy” aimed at maximizing returns from DAI deposited on the [[decentralized]] lending protocol [[Compound]]. The Pickle team, and a group of “white hat hackers” have traced the 19,759,355 DAI weekend exploit to this [[smart contract]], according to a [https://picklefinance.medium.com/pickle-was-hacked-and-there-has-been-a-loss-of-funds-414b99969c29 blog] post. "This was a very complicated attack and involved many components of the Pickle protocol. As of right now, it does not seem that any other funds are at risk," they said. A fix was estimated by Sunday at 15:00 UTC. “We’re encouraging all [[LPs]] to withdraw their funds from the Jars until the issues have been resolved,” the Pickle team [[tweeted]]."''
* [[Crypto Briefing]] [https://cryptobriefing.com/pickle-finance-devs-patch-code-following-19-7-million-hack/ mentions] it was done through a [[Flash Loan]] (23-11-2020):
''"They have resumed deposits to other jars in the [https://picklefinance.medium.com/pickle-was-hacked-and-there-has-been-a-loss-of-funds-414b99969c29 latest update] but have implored users to “refrain from depositing in the DAI Jar for now.“ The [https://github.com/banteg/evil-jar/blob/master/readme.md detailed postmortem] revealed further vulnerabilities, which the team expects to fix “in the coming days and weeks.”"''
* [[Rekt]] has a [https://rekt.ghost.io/pickle-finance-rekt/ detailed explanation] of what happened plus mentioned there were audits done (22-11-2020):
"''The audits from MixBytes (October 3rd) and Haechi (October 20th) were completed before the addition of ControllerV4 (October 23rd), which was one of the key attack vectors."''
* Soon after the hack, Pickle merged with [[yEarn]] and [https://medium.com/iearn/pickle-yearn-ferment-co-operation-dill-eec43b93d0ea introduced] (24-11-2020) new measures:
''"A new [[token]], <code>CORNICHON</code>, tracks losses from the recent Evil Jar exploit, [[distributed]] proportionally to victims of the attack."''
== Governance ==
=== Admin Key ===
* [https://docs.defisafety.com/finished-reviews/pickle-process-quality-review-update#audits From] [[DeFi Safety]] (12-7-2021):
''"a) The general DAO and voting system of Pickle Finance indicates the capabilities of [[contract]] upgradeability.''
''b) Voting roles and MultiSig roles are clearly [https://docs.pickle.finance/faqs/security defined].''
''c) The capabilities for admin change in contract is described in their [https://etherscan.io/address/0xbD17B1ce622d73bD438b9E658acA5996dc394b0d#code MasterChef contract].''
''No Pause Control documentation or test were found."''
=== DAO ===
=== Smart Treasury ===
* From their [https://picklefinance.medium.com/into-the-brine-vol-4-yearn-collab-and-smart-treasury-65a30a1a2380 blog] (9-12-2020):
''"The Smart Treasury provides three main functions:''
# ''Automatic buyback machine — [[fees]] generated from the protocol are used to buy back PICKLEs, which reduces the circulating supply.''
# ''[[Liquidity provider]] — the Smart Treasury serves as a liquidity provider and can generate trading fees for the protocol.''
# ''Token issuance pool — the Smart Treasury facilitates the secondary issuance of PICKLEs (separate from our [https://app.pickle.finance/farms Farms]) for things such as grants.''
''The Smart Treasury receives all protocol fees to thus maximize buy pressure (with the exception of revenue diverted to DILL holders)."''
This will be done through a [[Balancer]] pool.
* [https://medium.com/yearn-partner-roundup/yearn-partner-roundup-3-9f1ac9541c7 From] the [[yEarn]] partner roundup (10-1-2021):
"''Smart Treasury goes [https://pools.balancer.exchange/#/pool/0xc52139a20a57c9002e9f5188901ef0ffc63c7205/ live]. The Smart Treasury will be seeded with 5,860 PICKLEs and a proportionate amount of ETH, currently worth ~$100k."''
== PICKLE Token ==
== PICKLE Token ==
=== Launch ===
=== Launch ===
Line 14: Line 57:


* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
''"A portion of PICKLE will be set aside for a development fund. This devshare will consist of 2% of newly minted PICKLE on top of what is being minted to reward stakers. While this devshare model is usually not controversial, some investors are skeptical after the [[SushiSwap]] saga.''
''"A portion of PICKLE will be set aside for a development fund. This devshare will consist of 2% of newly minted PICKLE on top of what is being minted to reward [[stakers]]. While this devshare model is usually not controversial, some investors are skeptical after the [[SushiSwap]] saga.''


''The distribution schedule is constantly evolving, and there are ongoing conversations within the Pickle [[governance]] community around introducing a potential hard cap on supply in the future. The Pickle community has [https://snapshot.page/#/pickle/proposal/QmYZqjjvgkC3u4nNXf5ywufVWGtNj1VAEkg8PJ7Z2P6nzx voted] in favor of a proposal to continually reduce token emissions over the first year."''
''The distribution schedule is constantly evolving, and there are ongoing conversations within the Pickle [[governance]] community around introducing a potential hard cap on supply in the future. The Pickle community has [https://snapshot.page/#/pickle/proposal/QmYZqjjvgkC3u4nNXf5ywufVWGtNj1VAEkg8PJ7Z2P6nzx voted] in favor of a proposal to continually reduce token emissions over the first year."''
Line 22: Line 65:


* [https://thedefiant.substack.com/p/pickle-finance-sounds-like-a-joke?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxOTEyMDY3LCJfIjoiMG96ZDgiLCJpYXQiOjE2MDAyMDExMzUsImV4cCI6MTYwMDIwNDczNSwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.MeAwXBF-LuMCBFQYXKh4FJocbssgDwfz8K1Ekqt9-Gs From] [[The Defiant]] (15-9-2020):
* [https://thedefiant.substack.com/p/pickle-finance-sounds-like-a-joke?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxOTEyMDY3LCJfIjoiMG96ZDgiLCJpYXQiOjE2MDAyMDExMzUsImV4cCI6MTYwMDIwNDczNSwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.MeAwXBF-LuMCBFQYXKh4FJocbssgDwfz8K1Ekqt9-Gs From] [[The Defiant]] (15-9-2020):
"''Pickle is innovating in this area by using [[Quadratic Voting (QV)|quadratic voting]] — which takes the square root of each vote instead of counting it nominally— to prevent [[whales]] from having too much influence. The project’s governance structure prompted a [https://twitter.com/VitalikButerin/status/1305054190427762688?s=20 response] from [[Vitalik Buterin]] himself."''
"''Pickle is innovating in this area by using [[Quadratic Voting (QV)|quadratic voting]] — which takes the [[square]] root of each vote instead of counting it nominally— to prevent [[whales]] from having too much influence. The project’s governance structure prompted a [https://twitter.com/VitalikButerin/status/1305054190427762688?s=20 response] from [[Vitalik Buterin]] himself."''
* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
''" PICKLE holders who participate in governance decisions will receive a share of the 3% governance fee and 0.5% withdrawal fee on pickle jars. The token will adopt a buy back and [[burn]] model (on top of any future governance decisions to reduce the emission rate), which will slow inflation, and possibly even create a deflationary issuance rate if the protocol achieves widespread success. The mechanism for this burn model will be implemented via "pickle jars"".''
''" PICKLE holders who participate in governance decisions will receive a share of the 3% governance fee and 0.5% withdrawal fee on pickle jars. The token will adopt a buy back and [[burn]] model (on top of any future governance decisions to reduce the emission rate), which will slow inflation, and possibly even create a deflationary issuance rate if the protocol achieves widespread success. The mechanism for this burn model will be implemented via "pickle jars"".''
Line 28: Line 71:
=== Token Details ===
=== Token Details ===
* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
"''At the current PICKLE price of around $30, the protocol would need to generate $13.3m of yield per day to counteract inflation. This translates to $4.9 billion in annual yield, which (at the current estimated APY of 40.5%) would required $12 billion of capital to be staked in pJars.''
"''At the current PICKLE price of around $30, the protocol would need to generate $13.3m of yield per day to counteract inflation. This translates to $4.9 billion in annual yield, which (at the current estimated APY of 40.5%) would required $12 billion of capital to be [[staked]] in pJars.''


''Assuming a more realistic (but still optimistic) figure of $500 million staked in pJars, the protocol would on average generate $554,795 in daily yield, supporting a zero-inflation PICKLE price of $1.25.''
''Assuming a more realistic (but still optimistic) [[figure]] of $500 million staked in pJars, the protocol would on average generate $554,795 in daily yield, supporting a zero-inflation PICKLE price of $1.25.''


''Of course, the price at which inflation is zero is not necessarily its viable market price. The price will almost certainly be driven up due to speculation, demand for voting power, and expectation of future returns. However, the zero-inflation PICKLE price is a helpful starting point when looking at a valuation for the token."''
''Of course, the price at which inflation is zero is not necessarily its viable market price. The price will almost certainly be driven up due to speculation, demand for voting power, and expectation of future returns. However, the zero-inflation PICKLE price is a helpful starting point when looking at a valuation for the token."''
Line 43: Line 86:
* From this [https://twitter.com/ashwath_22/status/1331690771251044352 tweet] (25-11-2020):
* From this [https://twitter.com/ashwath_22/status/1331690771251044352 tweet] (25-11-2020):


''"Investors who vote lock their tokens for $DILL will have a claim on three sets of cash flow: strategy fees from what were previous pJars, a 20% performance fee on yVault tokens in the gauge, and 0.5% withdrawal fee."''
''"Investors who vote lock their [[tokens]] for $DILL will have a claim on three sets of cash [[flow]]: strategy fees from what were previous pJars, a 20% performance fee on yVault tokens in the gauge, and 0.5% withdrawal fee."''


=== Token Details ===
=== Token Details ===
Line 63: Line 106:
"''We realize that we can’t just print $PICKLEs forever, there needs to be a reason (beyond the typical “[[governance]]” bullshit) to hold $PICKLEs. pVaults will come a few weeks after [[Yield Farming|farming]] and will use [[flash loans]] to leverage up and arb between stablecoins, further bringing stablecoins to their pegs while generating return for $PICKLE holders. More details to follow."''
"''We realize that we can’t just print $PICKLEs forever, there needs to be a reason (beyond the typical “[[governance]]” bullshit) to hold $PICKLEs. pVaults will come a few weeks after [[Yield Farming|farming]] and will use [[flash loans]] to leverage up and arb between stablecoins, further bringing stablecoins to their pegs while generating return for $PICKLE holders. More details to follow."''
* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
* [https://insights.glassnode.com/pickle-finance-tastiest-new-yield-farming-protocol/ From] Glassnode (18-9-2020):
"''Alongside the PICKLE mining mechanic, the Pickle protocol will employ a strategy of vault-based yield farming, dubbed "[https://medium.com/@picklefinance/introducing-picklejars-70a311ab65c5 pickle jars]" (or pJars), to apply additional pressure to stablecoins in order to bring them closer to their pegs.''
"''Alongside the PICKLE [[mining]] mechanic, the Pickle protocol will employ a strategy of [[vault]]-based yield farming, dubbed "[https://medium.com/@picklefinance/introducing-picklejars-70a311ab65c5 pickle jars]" (or pJars), to apply additional pressure to stablecoins in order to bring them closer to their pegs.''


''Similar to Yearn vaults, these pJars will utilize pooled assets deposited by LPs to generate yield (for example, by farming sCRV tokens via [[Curve]].fi stablecoin pools). A portion of these returns - currently 1.5% - will be used to buy back and burn PICKLE tokens, applying deflationary pressure to the token supply."''
''Similar to [[Yearn]] vaults, these pJars will utilize pooled assets deposited by LPs to generate yield (for example, by farming sCRV tokens via [[Curve]].fi stablecoin pools). A portion of these returns - currently 1.5% - will be used to buy back and burn PICKLE tokens, applying deflationary pressure to the token supply."''


=== Liquidity Mining ===
=== Liquidity Mining ===
Line 72: Line 115:
=== Interoperability ===
=== Interoperability ===
=== Other Details ===
=== Other Details ===
== Oracle Method ==
== Privacy Method ==
== Privacy Method ==
== Compliance ==
== Compliance ==
== Oracle Method ==
== Their Other Projects ==
== Their Other Projects ==
== Governance ==
=== Admin Key ===
* [https://docs.defisafety.com/finished-reviews/pickle-process-quality-review-update#audits From] [[DeFi Safety]] (12-7-2021):
''"a) The general DAO and voting system of Pickle Finance indicates the capabilities of contract upgradeability.''
''b) Voting roles and MultiSig roles are clearly [https://docs.pickle.finance/faqs/security defined].''
''c) The capabilities for admin change in contract is described in their [https://etherscan.io/address/0xbD17B1ce622d73bD438b9E658acA5996dc394b0d#code MasterChef contract].''
''No Pause Control documentation or test were found."''
=== DAO ===
=== Smart Treasury ===
* From their [https://picklefinance.medium.com/into-the-brine-vol-4-yearn-collab-and-smart-treasury-65a30a1a2380 blog] (9-12-2020):
''"The Smart Treasury provides three main functions:''
# ''Automatic buyback machine — fees generated from the protocol are used to buy back PICKLEs, which reduces the circulating supply.''
# ''[[Liquidity provider]] — the Smart Treasury serves as a liquidity provider and can generate trading fees for the protocol.''
# ''Token issuance pool — the Smart Treasury facilitates the secondary issuance of PICKLEs (separate from our [https://app.pickle.finance/farms Farms]) for things such as grants.''
''The Smart Treasury receives all protocol fees to thus maximize buy pressure (with the exception of revenue diverted to DILL holders)."''
This will be done through a [[Balancer]] pool.
* [https://medium.com/yearn-partner-roundup/yearn-partner-roundup-3-9f1ac9541c7 From] the [[yEarn]] partner roundup (10-1-2021):
"''Smart Treasury goes [https://pools.balancer.exchange/#/pool/0xc52139a20a57c9002e9f5188901ef0ffc63c7205/ live]. The Smart Treasury will be seeded with 5,860 PICKLEs and a proportionate amount of ETH, currently worth ~$100k."''
== Roadmap ==
== Roadmap ==
* Can be found [Insert link here].
* Can be found [Insert link here].
* [https://thedefiant.substack.com/p/pickle-finance-sounds-like-a-joke?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxOTEyMDY3LCJfIjoiMG96ZDgiLCJpYXQiOjE2MDAyMDExMzUsImV4cCI6MTYwMDIwNDczNSwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.MeAwXBF-LuMCBFQYXKh4FJocbssgDwfz8K1Ekqt9-Gs From] [[The Defiant]] (15-9-2020):
* [https://thedefiant.substack.com/p/pickle-finance-sounds-like-a-joke?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjoxOTEyMDY3LCJfIjoiMG96ZDgiLCJpYXQiOjE2MDAyMDExMzUsImV4cCI6MTYwMDIwNDczNSwiaXNzIjoicHViLTExMjU5Iiwic3ViIjoicG9zdC1yZWFjdGlvbiJ9.MeAwXBF-LuMCBFQYXKh4FJocbssgDwfz8K1Ekqt9-Gs From] [[The Defiant]] (15-9-2020):
''"In the coming weeks, Pickle Finance will seek to deploy pVaults, a way to stake PICKLE and earn profits from [[flash loan]] arbitrage opportunities on stablecoins trading off their peg."''
''"In the coming weeks, Pickle Finance will seek to deploy pVaults, a way to [[stake]] PICKLE and [[earn]] profits from [[flash loan]] [[arbitrage]] opportunities on stablecoins trading off their peg."''
 
== Audits ==
*[[Bug bounty|Bug Bounty]] program found [https://github.com/pickle-finance/protocol/blob/master/SECURITY.md#bug-bounty-program here] (12-7-2021). Rewards go up to 50k USD. Note: Currently there is no set end date for the program, therefore it is currently active.
 
* [https://defiweekly.substack.com/p/pickle From] [[DeFi Weekly]] (15-9-2020):
''"All the [[contracts]] are not only owned by a [[multisig]] but also behind a [[timelock|timelock.]] Any proposal takes 2 days to be executed [[on-chain]] so many factors that would result in a rug-pull would need to take 2 days to come into effect."''
* [https://docs.defisafety.com/finished-reviews/aave-process-quality-audit#deployed-code Scored] a 52% on [[DeFi Safety]] (21-10-2020); ''"[https://t.me/c/1453353094/1594 Good project], with all [[addresses]] public. No audit yet and thin documentation reduced the score. But it easy to improve from here."''
*V2 scored a [https://defisafety.com/2021/07/12/pickle-finance-v2/ 66%] (12-7-2021): ''"[[Peckshield|PeckShield]] did a Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/PeckShield-Audit-Report-Gauge-GaugeProxy-v1.0.pdf audit] on March 4th 2021. [[MixBytes]] did a Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/MixBytes_Audit_Curve_Strategy.pdf audit] on October 9th 2020. MixBytes released a second Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/Haechi_Audit.pdf audit] on November 5th 2020. [[Haechi]] released a Pickle Finance [https://github.com/pickle-finance/protocol/blob/master/audits/Haechi_Audit.pdf audit] on November 9th 2020. Pickle was launched on September 10th 2020. Notes: most changes were implemented."'' With the [https://t.me/c/1453353094/4271 comment]: ''"Pickle Finance is up with 66%. Solid team with excellent audits, Decent Access controls, and decent testing."''
 
=== Bugs/Hacks ===
* [https://www.coindesk.com/defi-protocol-pickle-finance-token-loses-almost-half-its-value-after-19-7m-hack From] [[CoinDesk]] (23-11-2020):
"''Was hacked on Saturday, draining $19.7 million in [[DAI]]. On Friday, the team introduced the cDAI jar, a “new strategy” aimed at maximizing returns from DAI deposited on the [[decentralized]] lending protocol [[Compound]]. The Pickle team, and a group of “white hat hackers” have traced the 19,759,355 DAI weekend exploit to this [[smart contract]], according to a [https://picklefinance.medium.com/pickle-was-hacked-and-there-has-been-a-loss-of-funds-414b99969c29 blog] post. "This was a very complicated attack and involved many components of the Pickle protocol. As of right now, it does not seem that any other funds are at risk," they said. A fix was estimated by Sunday at 15:00 UTC. “We’re encouraging all [[LPs]] to withdraw their funds from the Jars until the issues have been resolved,” the Pickle team tweeted."''
* [[Crypto Briefing]] [https://cryptobriefing.com/pickle-finance-devs-patch-code-following-19-7-million-hack/ mentions] it was done through a [[Flash Loan]] (23-11-2020):
''"They have resumed deposits to other jars in the [https://picklefinance.medium.com/pickle-was-hacked-and-there-has-been-a-loss-of-funds-414b99969c29 latest update] but have implored users to “refrain from depositing in the DAI Jar for now.“ The [https://github.com/banteg/evil-jar/blob/master/readme.md detailed postmortem] revealed further vulnerabilities, which the team expects to fix “in the coming days and weeks.”"''
* [[Rekt]] has a [https://rekt.ghost.io/pickle-finance-rekt/ detailed explanation] of what happened plus mentioned there were audits done (22-11-2020):
"''The audits from MixBytes (October 3rd) and Haechi (October 20th) were completed before the addition of ControllerV4 (October 23rd), which was one of the key attack vectors."''
* Soon after the hack, Pickle merged with [[yEarn]] and [https://medium.com/iearn/pickle-yearn-ferment-co-operation-dill-eec43b93d0ea introduced] (24-11-2020) new measures:
''"A new token, <code>CORNICHON</code>, tracks losses from the recent Evil Jar exploit, distributed proportionally to victims of the attack."''


== Usage ==
== Usage ==
Line 134: Line 134:


== yEarn and Pickle Relationship ==
== yEarn and Pickle Relationship ==
* After the merger with [[yEarn]] it had [https://medium.com/iearn/pickle-yearn-ferment-co-operation-dill-eec43b93d0ea a bunch of updates] (24-11-2020):
* [https://medium.com/iearn/clarifying-2020-mergers-an-independent-iron-bank-a6f8f3f4c25e UPDATE] (25-2-2022): all of the following [[YEarn (YFI)|Yearn]] mergers of [[SushiSwap (SUSHI)|SushiSwap]], [[Cream Finance (CREAM)|C.R.E.A.M. Finance]], [[Akropolis (AKRO)|Akropolis]], Pickle Finance, [[Iron Bank]] are unmerging again.
*After the merger with [[yEarn]] it had [https://medium.com/iearn/pickle-yearn-ferment-co-operation-dill-eec43b93d0ea a bunch of updates] (24-11-2020):
# ''"Pickle Jars & Yearn’s v2 Vaults merge.''
# ''"Pickle Jars & Yearn’s v2 Vaults merge.''
# ''Pickle introduces reward Gauges. Pickle emissions remains, with tokens distributed through reward Gauges.''
# ''Pickle introduces reward Gauges. Pickle emissions remains, with tokens distributed through reward Gauges.''
Line 143: Line 144:
# ''A new token, <code>CORNICHON</code>, tracks losses from the recent Evil Jar exploit, distributed proportionally to victims of the attack."''
# ''A new token, <code>CORNICHON</code>, tracks losses from the recent Evil Jar exploit, distributed proportionally to victims of the attack."''
== Competition ==
== Competition ==
== Coin Distribution ==
== Pros and Cons ==
== Pros and Cons ==
=== Pros ===
=== Pros ===
* [https://defiweekly.substack.com/p/pickle From] [[DeFi Weekly]] (15-9-2020):
* [https://defiweekly.substack.com/p/pickle From] [[DeFi Weekly]] (15-9-2020):
"''It’s like stable coin farming that can generate massive cash flows through arbitrage opportunities available [[on-chain]] regardless of whether [[yield farming]] is in-season or not."''
"''It’s like stable [[COIN|coin]] farming that can generate massive cash flows through arbitrage opportunities available [[on-chain]] regardless of whether [[yield farming]] is in-season or not."''


=== Cons ===
=== Cons ===
Line 153: Line 153:
"''In my mind these are some of the key factors that could endanger $PICKLE:''
"''In my mind these are some of the key factors that could endanger $PICKLE:''
# ''The rewards dry up to the point where all the capital which came in suddenly cycles out and moves onto the next things. Having $250m locked up is great but not so great if things revert back quickly.''
# ''The rewards dry up to the point where all the capital which came in suddenly cycles out and moves onto the next things. Having $250m locked up is great but not so great if things revert back quickly.''
# ''I think the bigger risk at play here is if $PICKLE fails to generate any intrinsic cash flows and everyone is just left holding a meme coin. Not that meme coins can’t be valuable but only if $PICKLE’s generate cash flow can this become a serious automated on-chain stable coin hedge fund (who knew that would ever be a thing).''
# ''I think the bigger risk at play here is if $PICKLE fails to generate any intrinsic cash flows and everyone is just left holding a meme coin. Not that meme coins can’t be valuable but only if $PICKLE’s generate cash flow can this become a serious automated on-chain [[stable coin]] hedge fund (who knew that would ever be a thing).''
# ''Things get a bit chaotic within the team or some [[SushiSwap (SUSHI)|sushi]]-level politics start playing out and what once turned out to be something special, gets corrupted due to external interests and pressures. I hope this doesn’t happen but you can expect anything in DeFi these days."''
# ''Things get a bit chaotic within the team or some [[SushiSwap (SUSHI)|sushi]]-level politics start playing out and what once turned out to be something special, gets corrupted due to external interests and pressures. I hope this doesn’t happen but you can expect anything in [[Defi|DeFi]] these days."''


== Team, Funding, Partnerships, etc. ==
== Team, Funding, Partnerships, etc. ==
Line 165: Line 165:
"''The Badger DAO plans to collaborate with Pickle to cook up better yields for [[Wrapped Tokens|tokenized]] [[BTC]] primarily through our Sett product, Badger’s yield aggregator. With that, we hope to increase the [[governance]] reach and rewards incentives of the Pickle community that may intermingle with the Badgers."''
"''The Badger DAO plans to collaborate with Pickle to cook up better yields for [[Wrapped Tokens|tokenized]] [[BTC]] primarily through our Sett product, Badger’s yield aggregator. With that, we hope to increase the [[governance]] reach and rewards incentives of the Pickle community that may intermingle with the Badgers."''
* [[yEarn]] has merged with a bunch of projects in November. First was Pickle Finance, which [https://medium.com/iearn/pickle-yearn-ferment-co-operation-dill-eec43b93d0ea merged] with yEarn only days after it got hacked. [[Cover]] and other projects followed soon.[[Category:Coins/Tokens]]
* [[yEarn]] has merged with a bunch of projects in November. First was Pickle Finance, which [https://medium.com/iearn/pickle-yearn-ferment-co-operation-dill-eec43b93d0ea merged] with yEarn only days after it got hacked. [[Cover]] and other projects followed soon.[[Category:Coins/Tokens]]
== (:==
Knowledge empowers all and will help us get closer to the [[decentralised|decentralized]] world we all want to live in!
Making these free wiki pages is fun but takes a lot of effort and time.
If you have enjoyed reading, tips are appreciated :) This will help us to [[keep]] expanding this archive of information.
[[ETH]] tip [[address]]: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31

Latest revision as of 08:35, 11 March 2022

A project incentivizing liquidity on the four largest DeFi stablecoins (DAI, USDC, USDT, sUSD).

Basics

History

Audits & Exploits

  • Bug Bounty program found here (12-7-2021). Rewards go up to 50k USD. Note: Currently there is no set end date for the program, therefore it is currently active.

"All the contracts are not only owned by a multisig but also behind a timelock. Any proposal takes 2 days to be executed on-chain so many factors that would result in a rug-pull would need to take 2 days to come into effect."

  • Scored a 52% on DeFi Safety (21-10-2020); "Good project, with all addresses public. No audit yet and thin documentation reduced the score. But it easy to improve from here."
  • V2 scored a 66% (12-7-2021): "PeckShield did a Pickle Finance audit on March 4th 2021. MixBytes did a Pickle Finance audit on October 9th 2020. MixBytes released a second Pickle Finance audit on November 5th 2020. Haechi released a Pickle Finance audit on November 9th 2020. Pickle was launched on September 10th 2020. Notes: most changes were implemented." With the comment: "Pickle Finance is up with 66%. Solid team with excellent audits, Decent Access controls, and decent testing."

Bugs/Hacks

"Was hacked on Saturday, draining $19.7 million in DAI. On Friday, the team introduced the cDAI jar, a “new strategy” aimed at maximizing returns from DAI deposited on the decentralized lending protocol Compound. The Pickle team, and a group of “white hat hackers” have traced the 19,759,355 DAI weekend exploit to this smart contract, according to a blog post. "This was a very complicated attack and involved many components of the Pickle protocol. As of right now, it does not seem that any other funds are at risk," they said. A fix was estimated by Sunday at 15:00 UTC. “We’re encouraging all LPs to withdraw their funds from the Jars until the issues have been resolved,” the Pickle team tweeted."

"They have resumed deposits to other jars in the latest update but have implored users to “refrain from depositing in the DAI Jar for now.“ The detailed postmortem revealed further vulnerabilities, which the team expects to fix “in the coming days and weeks.”"

"The audits from MixBytes (October 3rd) and Haechi (October 20th) were completed before the addition of ControllerV4 (October 23rd), which was one of the key attack vectors."

  • Soon after the hack, Pickle merged with yEarn and introduced (24-11-2020) new measures:

"A new tokenCORNICHON, tracks losses from the recent Evil Jar exploit, distributed proportionally to victims of the attack."

Governance

Admin Key

"a) The general DAO and voting system of Pickle Finance indicates the capabilities of contract upgradeability.

b) Voting roles and MultiSig roles are clearly defined.

c) The capabilities for admin change in contract is described in their MasterChef contract.

No Pause Control documentation or test were found."

DAO

Smart Treasury

  • From their blog (9-12-2020):

"The Smart Treasury provides three main functions:

  1. Automatic buyback machine — fees generated from the protocol are used to buy back PICKLEs, which reduces the circulating supply.
  2. Liquidity provider — the Smart Treasury serves as a liquidity provider and can generate trading fees for the protocol.
  3. Token issuance pool — the Smart Treasury facilitates the secondary issuance of PICKLEs (separate from our Farms) for things such as grants.

The Smart Treasury receives all protocol fees to thus maximize buy pressure (with the exception of revenue diverted to DILL holders)."

This will be done through a Balancer pool.

"Smart Treasury goes live. The Smart Treasury will be seeded with 5,860 PICKLEs and a proportionate amount of ETH, currently worth ~$100k."

PICKLE Token

Launch

"The PICKLE token is being launched via an ongoing liquidity mine, with the increasingly popular "fair launch" model; no VC allocation, no pre-mine, and no ICO."

Token allocation

  • There’s a proposal that sets out to reduce infinite amount of Pickle being printed through a halving schedule (15-9-2020).
  • From Glassnode (18-9-2020):

"A portion of PICKLE will be set aside for a development fund. This devshare will consist of 2% of newly minted PICKLE on top of what is being minted to reward stakers. While this devshare model is usually not controversial, some investors are skeptical after the SushiSwap saga.

The distribution schedule is constantly evolving, and there are ongoing conversations within the Pickle governance community around introducing a potential hard cap on supply in the future. The Pickle community has voted in favor of a proposal to continually reduce token emissions over the first year."

Utility

"Pickle is innovating in this area by using quadratic voting — which takes the square root of each vote instead of counting it nominally— to prevent whales from having too much influence. The project’s governance structure prompted a response from Vitalik Buterin himself."

  • From Glassnode (18-9-2020):

" PICKLE holders who participate in governance decisions will receive a share of the 3% governance fee and 0.5% withdrawal fee on pickle jars. The token will adopt a buy back and burn model (on top of any future governance decisions to reduce the emission rate), which will slow inflation, and possibly even create a deflationary issuance rate if the protocol achieves widespread success. The mechanism for this burn model will be implemented via "pickle jars"".

Token Details

  • From Glassnode (18-9-2020):

"At the current PICKLE price of around $30, the protocol would need to generate $13.3m of yield per day to counteract inflation. This translates to $4.9 billion in annual yield, which (at the current estimated APY of 40.5%) would required $12 billion of capital to be staked in pJars.

Assuming a more realistic (but still optimistic) figure of $500 million staked in pJars, the protocol would on average generate $554,795 in daily yield, supporting a zero-inflation PICKLE price of $1.25.

Of course, the price at which inflation is zero is not necessarily its viable market price. The price will almost certainly be driven up due to speculation, demand for voting power, and expectation of future returns. However, the zero-inflation PICKLE price is a helpful starting point when looking at a valuation for the token."

DILL Token

 Launch

  • Got created after the merger of yEarn and Pickle (25-11-2020).

Token allocation

Utility

  • From this tweet (25-11-2020):

"Investors who vote lock their tokens for $DILL will have a claim on three sets of cash flow: strategy fees from what were previous pJars, a 20% performance fee on yVault tokens in the gauge, and 0.5% withdrawal fee."

Token Details 

Technology

  • Pickle PicoPaper can be found here.
  • Code can be viewed here.
  • Built on: Ethereum

How it works

"Touting the tagline ‘Off-peg bad. On-peg good’, Pickle Finance offers more rewards to below-peg stablecoin pools and fewer rewards to above-peg stablecoin pools. As illustrated in the Pickle PicoPaper, the aim is to get people to sell above-peg stablecoins and buy below-peg stablecoins."

"Pickle brings the four largest stablecoins (DAI, USDC, USDT, sUSD) closer to their peg by using the power of farming and pVaults."

Upgrades

pJars

"We realize that we can’t just print $PICKLEs forever, there needs to be a reason (beyond the typical “governance” bullshit) to hold $PICKLEs. pVaults will come a few weeks after farming and will use flash loans to leverage up and arb between stablecoins, further bringing stablecoins to their pegs while generating return for $PICKLE holders. More details to follow."

  • From Glassnode (18-9-2020):

"Alongside the PICKLE mining mechanic, the Pickle protocol will employ a strategy of vault-based yield farming, dubbed "pickle jars" (or pJars), to apply additional pressure to stablecoins in order to bring them closer to their pegs.

Similar to Yearn vaults, these pJars will utilize pooled assets deposited by LPs to generate yield (for example, by farming sCRV tokens via Curve.fi stablecoin pools). A portion of these returns - currently 1.5% - will be used to buy back and burn PICKLE tokens, applying deflationary pressure to the token supply."

Liquidity Mining

Scaling

Different Implementations

Interoperability

Other Details

Oracle Method

Privacy Method

Compliance

Their Other Projects

Roadmap

"In the coming weeks, Pickle Finance will seek to deploy pVaults, a way to stake PICKLE and earn profits from flash loan arbitrage opportunities on stablecoins trading off their peg."

Usage

"Saw $53M in 24 hour volume this weekend as its native governance token, PICKLE, traded as high as $85, according to CoinGecko."

  • The total value locked (TVL) in the protocol at press time [after the hack] is $26.3 million (23-11-2020). 

Projects that use or built on it

yEarn and Pickle Relationship

  1. "Pickle Jars & Yearn’s v2 Vaults merge.
  2. Pickle introduces reward Gauges. Pickle emissions remains, with tokens distributed through reward Gauges.
  3. Yearn Vault depositors can earn additional rewards by depositing Vault shares in Gauges.
  4. Pickle Governance participants get voting power by locking Pickle for set maturity dates, and receive DILL.
  5. Yearn vault depositors can earn additional rewards by locking Pickle for DILL, up to 2.5x, the more DILL they hold the greater the rewards.
  6. Gauge deposit, withdrawal, performance, and protocol fees go to DILL holders.
  7. A new token, CORNICHON, tracks losses from the recent Evil Jar exploit, distributed proportionally to victims of the attack."

Competition

Pros and Cons

Pros

"It’s like stable coin farming that can generate massive cash flows through arbitrage opportunities available on-chain regardless of whether yield farming is in-season or not."

Cons

"In my mind these are some of the key factors that could endanger $PICKLE:

  1. The rewards dry up to the point where all the capital which came in suddenly cycles out and moves onto the next things. Having $250m locked up is great but not so great if things revert back quickly.
  2. I think the bigger risk at play here is if $PICKLE fails to generate any intrinsic cash flows and everyone is just left holding a meme coin. Not that meme coins can’t be valuable but only if $PICKLE’s generate cash flow can this become a serious automated on-chain stable coin hedge fund (who knew that would ever be a thing).
  3. Things get a bit chaotic within the team or some sushi-level politics start playing out and what once turned out to be something special, gets corrupted due to external interests and pressures. I hope this doesn’t happen but you can expect anything in DeFi these days."

Team, Funding, Partnerships, etc.

Team

  • Full team can be found [here].

Funding

Partners 

"The Badger DAO plans to collaborate with Pickle to cook up better yields for tokenized BTC primarily through our Sett product, Badger’s yield aggregator. With that, we hope to increase the governance reach and rewards incentives of the Pickle community that may intermingle with the Badgers."

  • yEarn has merged with a bunch of projects in November. First was Pickle Finance, which merged with yEarn only days after it got hacked. Cover and other projects followed soon.

(:

Knowledge empowers all and will help us get closer to the decentralized world we all want to live in!

Making these free wiki pages is fun but takes a lot of effort and time.

If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.

ETH tip address: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31