File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -389,6 +389,10 @@ import crvusd from "@curvefi/stablecoin-api";
389389 await llamma .wallet .balances ();
390390 // { stablecoin: '1500.0', collateral: '0.3' }
391391
392+ await llamma .repayTicks (1000 );
393+ // [ 135, 139 ]
394+ await llamma .repayPrices (1000 );
395+ // [ '772.453820291837448', '734.595897104762463' ]
392396 await llamma .repayHealth (1000 ); // FULL
393397 // 315.2178906180373138
394398 await llamma .repayHealth (1000 , false ); // NOT FULL
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ const generalTest = async () => {
158158
159159 console . log ( await llamma . wallet . balances ( ) ) ;
160160
161+ console . log ( await llamma . repayTicks ( 1000 ) ) ;
162+ console . log ( await llamma . repayPrices ( 1000 ) ) ;
161163 console . log ( await llamma . repayHealth ( 1000 ) ) ; // FULL
162164 console . log ( await llamma . repayHealth ( 1000 , false ) ) ; // NOT FULL
163165
You can’t perform that action at this time.
0 commit comments