Fujicracy / fuji-v2

Cross-chain money market aggregator
https://fuji-v2-frontend.vercel.app
15 stars 10 forks source link

Yield Vault #36

Closed brozorec closed 1 year ago

brozorec commented 1 year ago

close #38

brozorec commented 1 year ago

@DaigaroCota with this PR, with the implementation of Beefy's first provider, I moved some of "BaseVault" variables concerning borrowing to "BorrowingVault". I also merged the latest from "main" so that there are no conflicts. Plz double check!

brozorec commented 1 year ago

We still need to figure out the implementation of "getDepositRateFor()"

0xdcota commented 1 year ago

I posted a question on Beefy channel to ask about if there is any method we can call to get yield rates. I don't feel they will have, but lets see what they come back with.

0xdcota commented 1 year ago

@brozorec as discussed, lets have the getBorrowRate(address) and getBorrowRateFor(address) revert.

brozorec commented 1 year ago

close #38

brozorec commented 1 year ago

@DaigaroCota plz review again