# Differencies between YFI and YFII contract codes

**URL:** <https://gov.yearn.fi/t/differencies-between-yfi-and-yfii-contract-codes/1468>\
**Category:** Technical Discussion\
**Created:** [31 July 2020 02:03 UTC](https://gov.yearn.fi/t/differencies-between-yfi-and-yfii-contract-codes/1468 "2020-07-31T02:03:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doge](https://dub1.discourse-cdn.com/flex013/user_avatar/gov.yearn.fi/doge/32/368_2.png) [@Doge](https://gov.yearn.fi/u/Doge)\
**Post date:** [31 July 2020 02:03 UTC](https://gov.yearn.fi/t/differencies-between-yfi-and-yfii-contract-codes/1468/1 "2020-07-31T02:03:13Z")

</div>

I just had a look at the YFI vs YFII contract code to stake Ycrv tokens, there are just some small changes between the contracts.

Would be great for fellow farmers here if someone that knows solidity well can check out and “audit” the small changes.

If the YFII Ycrv proves to be safe to farm people here can do it to dump YFII tokens and maybe buy more of the real YFI token 🙂.

If someone knows that the code have been audited anywhere else, would be great to have it posted here on the forum for people to see.

These are the lines I found that was different between the codes (left original, right YFII):  
Line 366: [https://i.imgur.com/NHo8pDP.png](https://i.imgur.com/NHo8pDP.png)  
Lines 631, 634, 635: [https://i.imgur.com/fACFFIz.png](https://i.imgur.com/fACFFIz.png)  
Lines 685 to 724: [https://i.imgur.com/8QDn72o.png](https://i.imgur.com/8QDn72o.png)  
Line 739: [https://i.imgur.com/qg7BmW1.png](https://i.imgur.com/qg7BmW1.png)

Let the farming wars begin. 😈

---

<div class="post-metadata">

**Author:** ![Vincent](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vincent](https://gov.yearn.fi/u/Vincent)\
**Post date:** [4 August 2020 08:49 UTC](https://gov.yearn.fi/t/differencies-between-yfi-and-yfii-contract-codes/1468/2 "2020-08-04T08:49:43Z")

</div>

PPL like to discuss price other than code…
