Rari-Capital / rari-dApp

Rari Capital's Web3 Portal.
https://app.rari.capital
GNU Affero General Public License v3.0
151 stars 69 forks source link

minimal JumpRateModelV2 IRM support #447

Closed brandoncurtis closed 3 years ago

brandoncurtis commented 3 years ago

This PR adds minimal support for JumpRateModelV2, a version of the JumpRateModel interest rate model that has been modified by Dharma to allow for post-deployment modification of the model parameters.

Minimal support does not include deployment or tests; it only adds a minimal JumpRateModelV2 IRM that specifies a RUNTIME_BYTECODE_HASH so that this model can be properly identified when used.

vercel[bot] commented 3 years ago

@brandoncurtis is attempting to deploy a commit to the Rari Capital Team on Vercel.

A member of the Team first needs to authorize it.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 1109237676


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/fuse-sdk/src/irm/JumpRateModelV2.js 2 42 4.76%
<!-- Total: 2 42 4.76% -->
Totals Coverage Status
Change from base Build 1108658637: -0.03%
Covered Lines: 879
Relevant Lines: 5833

💛 - Coveralls
brandoncurtis commented 3 years ago

Examples of this IRM in the wild: https://etherscan.io/address/0xab0f8Cd18E875AF7F2718B394Ccd1a5a0643D8a9 https://etherscan.io/address/0xFB564da37B41b2F6B6EDcc3e56FbF523bD9F2012

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rari-capital/rari/A42bXj41LDNuc63eAjfPivHAYCPu
✅ Preview: https://rari-git-fork-brandoncurtis-bc-jrmv2-rari-capital.vercel.app

transmissions11 commented 3 years ago

chad shit, thx