Skip to content

sunnyRK/idle-open-defi-GR9

Repository files navigation

Idle Finance & Curve.fi: DAI/USDC/USDT Pool DAI Strategy

Solution

I have used Idle finance interface ILendingProtocol to starture for strategy.

Where strategy consumes a DAI token and internal it will call mint of Curve.fi: DAI/USDC/USDT Pool and get CRV DAO token.

IdleCurve Strategy Code and test case:

Strategy: You can find code in contracts/wrappers/IdleCurve.sol path.
Clieck here to go strategy code

Test-case: You can find test case in test/IdleCurve.js path.
Click here to go test cases

Run

Download code
1). Clone repo

Install dependency
2). yarn

to run on mainnet fork
3). npx hardhat test --network hardhat

Contact

Twitter
Discord: sunny#3937

About

Idle Finance & Curve.fi: DAI/USDC/USDT Pool DAI Strategy. Check Readme.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published