Skip to content

Latest commit

 

History

History
executable file
·
36 lines (28 loc) · 1.08 KB

README.md

File metadata and controls

executable file
·
36 lines (28 loc) · 1.08 KB

Rho

White paper

An AMM interest rate swap protocol deployed at Rho is deployed on mainnet at: 0xEC41a154386fe49aFa1339C5419eCB8f19a61294

  • Uses CTokens as collateral, and for interest rates.
  • Capped downside for user, theoretically uncapped upside.

Run tests:

  • install solc version ^0.6.10
  • yarn
  • yarn test

Run fork test:

  • node script/infuraProxy.js
  • script/forkChain
  • script/forkTest

Deploy locally (use node 12 or 13):

  • script/chain
  • script/deploy development

Deploy elsewhere:

  • script/deploy development or
  • yarn console -n kovan via saddle console
  • .deploy RhoLensV1 0x123
  • await rhoLensV1.methods.rho().call();
  • await rho.methods.supplierLiquidity().call();
  • await rho.methods._pause(true).send();

Resources: