Skip to content

Idle Finance & Cream Finance DAI Strategy. Check Readme.

License

Notifications You must be signed in to change notification settings

sunnyRK/idleCreamDai-strategy

Repository files navigation

Idle Finance & Cream Finance DAI Strategy

Solution

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

Where strategy consumes a DAI token and internall it will call mint of creamDAI and buy Cream Dai Stablecoin token.

IdleCreamDAI Strategy Code and test case:

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

Test-case: You can find test case in test/idleCreamDai.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 & Cream Finance DAI Strategy. Check Readme.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published