@triadxyz/triad-protocol 2.6.3-beta → 2.6.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -827,6 +827,7 @@ class TriadProtocolClient {
|
|
|
827
827
|
.div(new bn_js_1.default(1000000));
|
|
828
828
|
adjustedPrice = orderPrice.add(fee);
|
|
829
829
|
}
|
|
830
|
+
console.log('remainingUSDC', remainingUSDC.toString());
|
|
830
831
|
const maxSharesForPrice = remainingUSDC
|
|
831
832
|
.mul(new bn_js_1.default(Math.pow(10, this.decimals)))
|
|
832
833
|
.div(adjustedPrice);
|