Skip to content

Commit

Permalink
chore: include interest rate (#2818)
Browse files Browse the repository at this point in the history
* chore: include interest rate
  • Loading branch information
katelynsills authored Apr 6, 2021
1 parent 5284548 commit fc451a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/treasury/src/stablecoinMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ export async function start(zcf) {
const priceQuote = await vm.getCollateralQuote();
return {
brand,
interestRate: vm.getInterestRate(),
liquidationMargin: vm.getLiquidationMargin(),
initialMargin: vm.getInitialMargin(),
stabilityFee: vm.getLoanFee(),
Expand Down
1 change: 1 addition & 0 deletions packages/treasury/test/test-stablecoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ test('stablecoin display collateral', async t => {
initialMargin: makeRatio(120n, runBrand),
stabilityFee: makeRatio(530n, runBrand, BASIS_POINTS),
marketPrice: makeRatio(5n, runBrand, 1n, aethBrand),
interestRate: makeRatio(100n, runBrand, 10000n, runBrand),
});
});

Expand Down

0 comments on commit fc451a0

Please sign in to comment.