torchsdk 10.2.4 → 10.2.5
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/tokens.js +1 -1
- package/dist/torch_market.json +3 -3
- package/package.json +1 -1
package/dist/tokens.js
CHANGED
|
@@ -516,7 +516,7 @@ const INTEREST_RATE_BPS = 200; // 2% per epoch
|
|
|
516
516
|
const LIQUIDATION_THRESHOLD_BPS = 6500; // 65%
|
|
517
517
|
const LIQUIDATION_BONUS_BPS = 1000; // 10%
|
|
518
518
|
const LENDING_UTILIZATION_CAP_BPS = 8000; // 80% (V4.0, was 70%)
|
|
519
|
-
const BORROW_SHARE_MULTIPLIER = 23; // Per-user cap: max borrow = 23x collateral share of supply (V10.2.
|
|
519
|
+
const BORROW_SHARE_MULTIPLIER = 23; // Per-user cap: max borrow = 23x collateral share of supply (V10.2.5, was 5x)
|
|
520
520
|
// Depth-based risk bands (V7): pool SOL depth → max LTV
|
|
521
521
|
const MIN_POOL_SOL_LENDING = 5000000000; // 5 SOL
|
|
522
522
|
const DEPTH_TIER_1 = 50000000000; // 50 SOL
|
package/dist/torch_market.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"address": "8hbUkonssSEEtkqzwM7ZcZrD9evacM92TcWSooVF4BeT",
|
|
3
3
|
"metadata": {
|
|
4
4
|
"name": "torch_market",
|
|
5
|
-
"version": "10.2.
|
|
5
|
+
"version": "10.2.5",
|
|
6
6
|
"spec": "0.1.0",
|
|
7
7
|
"description": "torch.market"
|
|
8
8
|
},
|
|
@@ -5976,12 +5976,12 @@
|
|
|
5976
5976
|
{
|
|
5977
5977
|
"code": 6071,
|
|
5978
5978
|
"name": "PoolTooThin",
|
|
5979
|
-
"msg": "Pool
|
|
5979
|
+
"msg": "Pool depth below minimum for margin operations"
|
|
5980
5980
|
},
|
|
5981
5981
|
{
|
|
5982
5982
|
"code": 6072,
|
|
5983
5983
|
"name": "PriceDeviationTooHigh",
|
|
5984
|
-
"msg": "Pool price deviates too far from baseline
|
|
5984
|
+
"msg": "Pool price deviates too far from baseline"
|
|
5985
5985
|
}
|
|
5986
5986
|
],
|
|
5987
5987
|
"types": [
|