Parrot DeFi
  • Introduction to Parrot Defi
  • Contracts
    • iPEGG (IoTeX)
    • BPEGG (IoTeX)
    • Masterchef (IoTeX)
    • Timelock (IoTeX)
    • PPEGG (Arbitrum)
    • BPEGG (Arbitrum)
    • Masterchef (Arbitrum)
    • Timelock (Arbitrum)
  • Networks
    • IoTeX
    • Arbitrum
  • General Info
    • Roadmap
    • Tokenomics
    • Security
      • Goose V2 Fork (READ ME)
      • KYC
      • Audit
      • Timelock
      • Anti-bot
      • Flash-loan attacks
      • RugDoc Review
      • MCN Review
  • Support
    • Faucet for IoTeX
    • Bridge to IoTeX
    • Add IoTeX to Metamask
    • Bridge to Arbitrum
    • Add Arbitrum to Metamask
    • Emergency Withdraw
  • Products
    • Yield Farming LP Pools ☑️
    • Staking Pools ☑️
    • Incubator Arbitrum ☑️
    • Incubator IoTeX
    • Auto-Compound Vaults🛠
    • Dividends Vaults🛠
    • ICO/IFO🛠
    • Exchange (AMM)🛠
  • Resources
    • How to start farming
    • Farming Strategies
  • Social
    • Web (IoTeX)
    • Web (Arbitrum)
    • Telegram
    • Twitter
    • Medium
Powered by GitBook
On this page

Was this helpful?

  1. General Info
  2. Security

Goose V2 Fork (READ ME)

PreviousSecurityNextKYC

Last updated 3 years ago

Was this helpful?

Thousands of projects are Goose forks, some of them being safer than others. If you don't know what Goose DeFi is you must know that team set a new standard in what security concerns.

They were the first ones removing the migrator code inherited from Pancakeswap.

We forked Goose V2 Masterchef (forked from Uniswap) and add some modifications.

Modifications

It's important to mention what the modifications are, and why there were made.

If you've been in the DeFi space for a while, and specifically into farming you've heard about rugdoc.io, these guys have so much to say about farming.

What does this mean?

This means that Masterchef does not support pools with deflationary / transfer-tax tokens.

This is what paladinsec.co (Rugdoc's preferred auditors) say about it:

When tokens with a transfer tax are added to the pools, this will result in significant excessive rewards. Due to the way the Masterchef handles rewards, rewards can be heavily inflated when the balance of the Masterchef no longer matches that of user deposits. This happens for example with transfer tax tokens.

This flaw of the Masterchef has recently been exploited on a significant number of projects, all of which their native tokens went to $0 afterwards. This issue was also present in SushiSwap (the original Masterchef). Since they were never meant to have any tokens but LP tokens, it was not a problem there but has become a problem to projects who have started forking it for usage with less standard tokens.

They (Rugdoc and Paladin) recommend to use this current standard for handling deposits, based on how Uniswap handles transfer fees.

That's the main difference you'll find with our Masterchef and the one forked from Goose.

Difference Checker

So, are you a Goose fork with modifications? The answer is YES, we added some modifications and you can check them out using a difference checker like this one:

To use it you need to copy the code from Goose and the Code from Parrot DeFi Goose Contracts Parrot DeFi Contracts

https://www.diffchecker.com/diff
https://goosedefi.gitbook.io/goose-finance/security/contracts
https://arbiscan.io/address/0x1cCf20F4eE3EFD291267c07268BEcbFDFd192311#code
Wed 15 Sep 2021, pinned message from Rugdoc's Telegram account