stakewithus / uvault

GNU Affero General Public License v3.0
3 stars 1 forks source link

DAI to yUSD using curve.fi memo #3

Open t4sk opened 4 years ago

t4sk commented 4 years ago

Screenshot from 2020-09-08 09-19-40

Transaction https://etherscan.io/tx/0x25e8b317391b7a58edf825bd7da7285a45a7a7c4467d7ccded2a4598f398e8ba

Curve yDeposit https://github.com/curvefi/curve-contract/blob/master/contracts/pools/y/DepositY.vy

Curve ySwap https://github.com/curvefi/curve-contract/blob/master/contracts/pool-templates/StableSwapBase.vy

t4sk commented 4 years ago

Gas report

StrategyDaiToYcrv <Contract>
   ├─ constructor -  avg: 1557495  low: 1557495  high: 1557495
   ├─ harvest     -  avg: 1122223  low: 1122223  high: 1122223
   ├─ deposit     -  avg:  878944  low:  878944  high:  878944
   └─ withdraw    -  avg:  331940  low:  331940  high:  331940