# Dai versus yDai

**URL:** <https://gov.yearn.fi/t/dai-versus-ydai/3169>\
**Category:** Technical Discussion\
**Created:** [21 August 2020 23:03 UTC](https://gov.yearn.fi/t/dai-versus-ydai/3169 "2020-08-21T23:03:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DefiDuck](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@DefiDuck](https://gov.yearn.fi/u/DefiDuck)\
**Post date:** [21 August 2020 23:03 UTC](https://gov.yearn.fi/t/dai-versus-ydai/3169/1 "2020-08-21T23:03:31Z")

</div>

![Screen Shot 2020-08-22 at 1.58.22](https://europe1.discourse-cdn.com/flex013/uploads/yearn/original/1X/6f9db3d5ee7ce7b5207cd52603a21620f860a6e5.png)

This is the vault contract for StrategyCurveYCRV.

The dai swapped for CRV is not directly deposited into curve.finance Y pool. Why is that? Why is the dai first exchanged for yDai and only then the yDai is deposited in the Y pool?

Thanks

---

<div class="post-metadata">

**Author:** ![jiecut](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@jiecut](https://gov.yearn.fi/u/jiecut)\
**Post date:** [21 August 2020 23:37 UTC](https://gov.yearn.fi/t/dai-versus-ydai/3169/2 "2020-08-21T23:37:49Z")

</div>

All DAI that is in the y pool has been exchanged for yDAI.

If you deposit DAI on the curve website, they exchange it for yDAI for you.

---

<div class="post-metadata">

**Author:** ![DefiDuck](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@DefiDuck](https://gov.yearn.fi/u/DefiDuck)\
**Post date:** [22 August 2020 08:35 UTC](https://gov.yearn.fi/t/dai-versus-ydai/3169/3 "2020-08-22T08:35:57Z")

</div>

And which would be more gas efficient?
