@pendle/sdk-boros 0.3.54 → 0.3.56
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/backend/secrettune/BorosCoreSDK.d.ts +86 -37
- package/dist/backend/secrettune/BorosCoreSDK.js +59 -14
- package/dist/backend/secrettune/BorosCoreSDK.js.map +1 -1
- package/dist/contracts/abis/viemAbis.d.ts +2284 -916
- package/dist/contracts/abis/viemAbis.js +1496 -620
- package/dist/contracts/abis/viemAbis.js.map +1 -1
- package/dist/entities/exchange/exchange.d.ts +1297 -3
- package/dist/entities/exchange/exchange.js +11 -1
- package/dist/entities/exchange/exchange.js.map +1 -1
- package/dist/entities/exchange/utils.d.ts +290 -18
- package/dist/types/encoders.d.ts +6 -1
- package/dist/types/encoders.js +7 -7
- package/dist/types/encoders.js.map +1 -1
- package/package.json +1 -1
|
@@ -66,6 +66,10 @@ export declare class Exchange {
|
|
|
66
66
|
from: `0x${string}`;
|
|
67
67
|
to: `0x${string}`;
|
|
68
68
|
amount: bigint;
|
|
69
|
+
} | {
|
|
70
|
+
from: `0x${string}`;
|
|
71
|
+
to: `0x${string}`;
|
|
72
|
+
amount: bigint;
|
|
69
73
|
};
|
|
70
74
|
} | {
|
|
71
75
|
eventName: "CollectFee";
|
|
@@ -78,6 +82,9 @@ export declare class Exchange {
|
|
|
78
82
|
} | {
|
|
79
83
|
tokenId: number;
|
|
80
84
|
amount: bigint;
|
|
85
|
+
} | {
|
|
86
|
+
tokenId: number;
|
|
87
|
+
amount: bigint;
|
|
81
88
|
};
|
|
82
89
|
} | {
|
|
83
90
|
eventName: "CritHRUpdated";
|
|
@@ -87,6 +94,8 @@ export declare class Exchange {
|
|
|
87
94
|
newCritHR: bigint;
|
|
88
95
|
} | {
|
|
89
96
|
newCritHR: bigint;
|
|
97
|
+
} | {
|
|
98
|
+
newCritHR: bigint;
|
|
90
99
|
};
|
|
91
100
|
} | {
|
|
92
101
|
eventName: "EnterMarket";
|
|
@@ -102,6 +111,10 @@ export declare class Exchange {
|
|
|
102
111
|
user: `0x${string}`;
|
|
103
112
|
marketId: number;
|
|
104
113
|
entranceFee: bigint;
|
|
114
|
+
} | {
|
|
115
|
+
user: `0x${string}`;
|
|
116
|
+
marketId: number;
|
|
117
|
+
entranceFee: bigint;
|
|
105
118
|
};
|
|
106
119
|
} | {
|
|
107
120
|
eventName: "ExitMarket";
|
|
@@ -114,6 +127,9 @@ export declare class Exchange {
|
|
|
114
127
|
} | {
|
|
115
128
|
user: `0x${string}`;
|
|
116
129
|
marketId: number;
|
|
130
|
+
} | {
|
|
131
|
+
user: `0x${string}`;
|
|
132
|
+
marketId: number;
|
|
117
133
|
};
|
|
118
134
|
} | {
|
|
119
135
|
eventName: "GlobalCooldownSet";
|
|
@@ -123,6 +139,10 @@ export declare class Exchange {
|
|
|
123
139
|
newCooldown: number;
|
|
124
140
|
} | {
|
|
125
141
|
newCooldown: number;
|
|
142
|
+
} | {
|
|
143
|
+
newCooldown: number;
|
|
144
|
+
} | {
|
|
145
|
+
newGlobalCooldown: number;
|
|
126
146
|
};
|
|
127
147
|
} | {
|
|
128
148
|
eventName: "MarketAdded";
|
|
@@ -135,6 +155,9 @@ export declare class Exchange {
|
|
|
135
155
|
} | {
|
|
136
156
|
marketId: number;
|
|
137
157
|
marketAddress: `0x${string}`;
|
|
158
|
+
} | {
|
|
159
|
+
marketId: number;
|
|
160
|
+
marketAddress: `0x${string}`;
|
|
138
161
|
};
|
|
139
162
|
} | {
|
|
140
163
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -147,6 +170,9 @@ export declare class Exchange {
|
|
|
147
170
|
} | {
|
|
148
171
|
tokenIds: readonly number[];
|
|
149
172
|
entranceFees: readonly bigint[];
|
|
173
|
+
} | {
|
|
174
|
+
tokenIds: readonly number[];
|
|
175
|
+
entranceFees: readonly bigint[];
|
|
150
176
|
};
|
|
151
177
|
} | {
|
|
152
178
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -159,6 +185,9 @@ export declare class Exchange {
|
|
|
159
185
|
} | {
|
|
160
186
|
tokenIds: readonly number[];
|
|
161
187
|
newMinCash: readonly bigint[];
|
|
188
|
+
} | {
|
|
189
|
+
tokenIds: readonly number[];
|
|
190
|
+
newMinCash: readonly bigint[];
|
|
162
191
|
};
|
|
163
192
|
} | {
|
|
164
193
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -171,6 +200,9 @@ export declare class Exchange {
|
|
|
171
200
|
} | {
|
|
172
201
|
tokenIds: readonly number[];
|
|
173
202
|
newMinCash: readonly bigint[];
|
|
203
|
+
} | {
|
|
204
|
+
tokenIds: readonly number[];
|
|
205
|
+
newMinCash: readonly bigint[];
|
|
174
206
|
};
|
|
175
207
|
} | {
|
|
176
208
|
eventName: "PayTreasury";
|
|
@@ -183,6 +215,9 @@ export declare class Exchange {
|
|
|
183
215
|
} | {
|
|
184
216
|
user: `0x${string}`;
|
|
185
217
|
amount: bigint;
|
|
218
|
+
} | {
|
|
219
|
+
user: `0x${string}`;
|
|
220
|
+
amount: bigint;
|
|
186
221
|
};
|
|
187
222
|
} | {
|
|
188
223
|
eventName: "PersonalCooldownSet";
|
|
@@ -195,6 +230,9 @@ export declare class Exchange {
|
|
|
195
230
|
} | {
|
|
196
231
|
root: `0x${string}`;
|
|
197
232
|
cooldown: number;
|
|
233
|
+
} | {
|
|
234
|
+
root: `0x${string}`;
|
|
235
|
+
cooldown: number;
|
|
198
236
|
};
|
|
199
237
|
} | {
|
|
200
238
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -204,6 +242,8 @@ export declare class Exchange {
|
|
|
204
242
|
newRiskyThresHR: bigint;
|
|
205
243
|
} | {
|
|
206
244
|
newRiskyThresHR: bigint;
|
|
245
|
+
} | {
|
|
246
|
+
newRiskyThresHR: bigint;
|
|
207
247
|
};
|
|
208
248
|
} | {
|
|
209
249
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -216,6 +256,9 @@ export declare class Exchange {
|
|
|
216
256
|
} | {
|
|
217
257
|
marketId: number;
|
|
218
258
|
isEnabled: boolean;
|
|
259
|
+
} | {
|
|
260
|
+
marketId: number;
|
|
261
|
+
isEnabled: boolean;
|
|
219
262
|
};
|
|
220
263
|
} | {
|
|
221
264
|
eventName: "TokenAdded";
|
|
@@ -228,6 +271,9 @@ export declare class Exchange {
|
|
|
228
271
|
} | {
|
|
229
272
|
tokenId: number;
|
|
230
273
|
tokenAddress: `0x${string}`;
|
|
274
|
+
} | {
|
|
275
|
+
tokenId: number;
|
|
276
|
+
tokenAddress: `0x${string}`;
|
|
231
277
|
};
|
|
232
278
|
} | {
|
|
233
279
|
eventName: "VaultDeposit";
|
|
@@ -240,6 +286,9 @@ export declare class Exchange {
|
|
|
240
286
|
} | {
|
|
241
287
|
acc: `0x${string}`;
|
|
242
288
|
unscaledAmount: bigint;
|
|
289
|
+
} | {
|
|
290
|
+
acc: `0x${string}`;
|
|
291
|
+
unscaledAmount: bigint;
|
|
243
292
|
};
|
|
244
293
|
} | {
|
|
245
294
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -255,6 +304,10 @@ export declare class Exchange {
|
|
|
255
304
|
root: `0x${string}`;
|
|
256
305
|
tokenId: number;
|
|
257
306
|
totalUnscaledAmount: bigint;
|
|
307
|
+
} | {
|
|
308
|
+
root: `0x${string}`;
|
|
309
|
+
tokenId: number;
|
|
310
|
+
totalUnscaledAmount: bigint;
|
|
258
311
|
};
|
|
259
312
|
} | {
|
|
260
313
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -270,6 +323,10 @@ export declare class Exchange {
|
|
|
270
323
|
root: `0x${string}`;
|
|
271
324
|
tokenId: number;
|
|
272
325
|
totalUnscaledAmount: bigint;
|
|
326
|
+
} | {
|
|
327
|
+
root: `0x${string}`;
|
|
328
|
+
tokenId: number;
|
|
329
|
+
totalUnscaledAmount: bigint;
|
|
273
330
|
};
|
|
274
331
|
} | {
|
|
275
332
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -288,6 +345,11 @@ export declare class Exchange {
|
|
|
288
345
|
tokenId: number;
|
|
289
346
|
start: number;
|
|
290
347
|
totalUnscaledAmount: bigint;
|
|
348
|
+
} | {
|
|
349
|
+
root: `0x${string}`;
|
|
350
|
+
tokenId: number;
|
|
351
|
+
start: number;
|
|
352
|
+
totalUnscaledAmount: bigint;
|
|
291
353
|
};
|
|
292
354
|
} | {
|
|
293
355
|
eventName: "MarketCreated";
|
|
@@ -409,6 +471,17 @@ export declare class Exchange {
|
|
|
409
471
|
account: `0x${string}`;
|
|
410
472
|
agent: `0x${string}`;
|
|
411
473
|
};
|
|
474
|
+
} | {
|
|
475
|
+
eventName: "AllowedRelayerUpdated";
|
|
476
|
+
args: {
|
|
477
|
+
relayer: `0x${string}`;
|
|
478
|
+
allowed: boolean;
|
|
479
|
+
};
|
|
480
|
+
} | {
|
|
481
|
+
eventName: "ApprovedMarketHubInf";
|
|
482
|
+
args: {
|
|
483
|
+
tokenId: number;
|
|
484
|
+
};
|
|
412
485
|
} | {
|
|
413
486
|
eventName: "BulkOrdersExecuted";
|
|
414
487
|
args: {
|
|
@@ -1417,6 +1490,76 @@ export declare class Exchange {
|
|
|
1417
1490
|
args: {
|
|
1418
1491
|
newTotalSupplyCap: bigint;
|
|
1419
1492
|
};
|
|
1493
|
+
} | {
|
|
1494
|
+
eventName: "CLOThresholdSet";
|
|
1495
|
+
args: {
|
|
1496
|
+
marketId: number;
|
|
1497
|
+
newThreshold: {
|
|
1498
|
+
lowerThres: bigint;
|
|
1499
|
+
upperThres: bigint;
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
} | {
|
|
1503
|
+
eventName: "DeleverageThresHRSet";
|
|
1504
|
+
args: {
|
|
1505
|
+
newDeleverageThresHR: bigint;
|
|
1506
|
+
};
|
|
1507
|
+
} | {
|
|
1508
|
+
eventName: "LiquidationExecuted";
|
|
1509
|
+
args: {
|
|
1510
|
+
violator: `0x${string}`;
|
|
1511
|
+
profit: bigint;
|
|
1512
|
+
};
|
|
1513
|
+
} | {
|
|
1514
|
+
eventName: "CancelThresHRSet";
|
|
1515
|
+
args: {
|
|
1516
|
+
newCancelThresHR: bigint;
|
|
1517
|
+
};
|
|
1518
|
+
} | {
|
|
1519
|
+
eventName: "MinTotalMMSet";
|
|
1520
|
+
args: {
|
|
1521
|
+
tokenId: number;
|
|
1522
|
+
newMinTotalMM: bigint;
|
|
1523
|
+
};
|
|
1524
|
+
} | {
|
|
1525
|
+
eventName: "DisallowWithdrawal";
|
|
1526
|
+
args: {
|
|
1527
|
+
user: `0x${string}`;
|
|
1528
|
+
};
|
|
1529
|
+
} | {
|
|
1530
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
1531
|
+
args: {
|
|
1532
|
+
tokenId: number;
|
|
1533
|
+
newThreshold: bigint;
|
|
1534
|
+
};
|
|
1535
|
+
} | {
|
|
1536
|
+
eventName: "ResetPersonalCooldown";
|
|
1537
|
+
args: {
|
|
1538
|
+
user: `0x${string}`;
|
|
1539
|
+
};
|
|
1540
|
+
} | {
|
|
1541
|
+
eventName: "LiqSettingsSet";
|
|
1542
|
+
args: {
|
|
1543
|
+
marketId: number;
|
|
1544
|
+
newLiqSettings: {
|
|
1545
|
+
base: bigint;
|
|
1546
|
+
slope: bigint;
|
|
1547
|
+
feeRate: bigint;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
} | {
|
|
1551
|
+
eventName: "RateDeviationConfigSet";
|
|
1552
|
+
args: {
|
|
1553
|
+
marketId: number;
|
|
1554
|
+
newRateDeviationConfig: {
|
|
1555
|
+
maxRateDeviationFactorBase1e4: number;
|
|
1556
|
+
closingOrderBoundBase1e4: number;
|
|
1557
|
+
loUpperConstBase1e4: number;
|
|
1558
|
+
loUpperSlopeBase1e4: number;
|
|
1559
|
+
loLowerConstBase1e4: number;
|
|
1560
|
+
loLowerSlopeBase1e4: number;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1420
1563
|
} | {
|
|
1421
1564
|
eventName: "Claimed";
|
|
1422
1565
|
args: {
|
|
@@ -1494,6 +1637,10 @@ export declare class Exchange {
|
|
|
1494
1637
|
from: `0x${string}`;
|
|
1495
1638
|
to: `0x${string}`;
|
|
1496
1639
|
amount: bigint;
|
|
1640
|
+
} | {
|
|
1641
|
+
from: `0x${string}`;
|
|
1642
|
+
to: `0x${string}`;
|
|
1643
|
+
amount: bigint;
|
|
1497
1644
|
};
|
|
1498
1645
|
} | {
|
|
1499
1646
|
eventName: "CollectFee";
|
|
@@ -1506,6 +1653,9 @@ export declare class Exchange {
|
|
|
1506
1653
|
} | {
|
|
1507
1654
|
tokenId: number;
|
|
1508
1655
|
amount: bigint;
|
|
1656
|
+
} | {
|
|
1657
|
+
tokenId: number;
|
|
1658
|
+
amount: bigint;
|
|
1509
1659
|
};
|
|
1510
1660
|
} | {
|
|
1511
1661
|
eventName: "CritHRUpdated";
|
|
@@ -1515,6 +1665,8 @@ export declare class Exchange {
|
|
|
1515
1665
|
newCritHR: bigint;
|
|
1516
1666
|
} | {
|
|
1517
1667
|
newCritHR: bigint;
|
|
1668
|
+
} | {
|
|
1669
|
+
newCritHR: bigint;
|
|
1518
1670
|
};
|
|
1519
1671
|
} | {
|
|
1520
1672
|
eventName: "EnterMarket";
|
|
@@ -1530,6 +1682,10 @@ export declare class Exchange {
|
|
|
1530
1682
|
user: `0x${string}`;
|
|
1531
1683
|
marketId: number;
|
|
1532
1684
|
entranceFee: bigint;
|
|
1685
|
+
} | {
|
|
1686
|
+
user: `0x${string}`;
|
|
1687
|
+
marketId: number;
|
|
1688
|
+
entranceFee: bigint;
|
|
1533
1689
|
};
|
|
1534
1690
|
} | {
|
|
1535
1691
|
eventName: "ExitMarket";
|
|
@@ -1542,6 +1698,9 @@ export declare class Exchange {
|
|
|
1542
1698
|
} | {
|
|
1543
1699
|
user: `0x${string}`;
|
|
1544
1700
|
marketId: number;
|
|
1701
|
+
} | {
|
|
1702
|
+
user: `0x${string}`;
|
|
1703
|
+
marketId: number;
|
|
1545
1704
|
};
|
|
1546
1705
|
} | {
|
|
1547
1706
|
eventName: "GlobalCooldownSet";
|
|
@@ -1551,6 +1710,10 @@ export declare class Exchange {
|
|
|
1551
1710
|
newCooldown: number;
|
|
1552
1711
|
} | {
|
|
1553
1712
|
newCooldown: number;
|
|
1713
|
+
} | {
|
|
1714
|
+
newCooldown: number;
|
|
1715
|
+
} | {
|
|
1716
|
+
newGlobalCooldown: number;
|
|
1554
1717
|
};
|
|
1555
1718
|
} | {
|
|
1556
1719
|
eventName: "MarketAdded";
|
|
@@ -1563,6 +1726,9 @@ export declare class Exchange {
|
|
|
1563
1726
|
} | {
|
|
1564
1727
|
marketId: number;
|
|
1565
1728
|
marketAddress: `0x${string}`;
|
|
1729
|
+
} | {
|
|
1730
|
+
marketId: number;
|
|
1731
|
+
marketAddress: `0x${string}`;
|
|
1566
1732
|
};
|
|
1567
1733
|
} | {
|
|
1568
1734
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -1575,6 +1741,9 @@ export declare class Exchange {
|
|
|
1575
1741
|
} | {
|
|
1576
1742
|
tokenIds: readonly number[];
|
|
1577
1743
|
entranceFees: readonly bigint[];
|
|
1744
|
+
} | {
|
|
1745
|
+
tokenIds: readonly number[];
|
|
1746
|
+
entranceFees: readonly bigint[];
|
|
1578
1747
|
};
|
|
1579
1748
|
} | {
|
|
1580
1749
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -1587,6 +1756,9 @@ export declare class Exchange {
|
|
|
1587
1756
|
} | {
|
|
1588
1757
|
tokenIds: readonly number[];
|
|
1589
1758
|
newMinCash: readonly bigint[];
|
|
1759
|
+
} | {
|
|
1760
|
+
tokenIds: readonly number[];
|
|
1761
|
+
newMinCash: readonly bigint[];
|
|
1590
1762
|
};
|
|
1591
1763
|
} | {
|
|
1592
1764
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -1599,6 +1771,9 @@ export declare class Exchange {
|
|
|
1599
1771
|
} | {
|
|
1600
1772
|
tokenIds: readonly number[];
|
|
1601
1773
|
newMinCash: readonly bigint[];
|
|
1774
|
+
} | {
|
|
1775
|
+
tokenIds: readonly number[];
|
|
1776
|
+
newMinCash: readonly bigint[];
|
|
1602
1777
|
};
|
|
1603
1778
|
} | {
|
|
1604
1779
|
eventName: "PayTreasury";
|
|
@@ -1611,6 +1786,9 @@ export declare class Exchange {
|
|
|
1611
1786
|
} | {
|
|
1612
1787
|
user: `0x${string}`;
|
|
1613
1788
|
amount: bigint;
|
|
1789
|
+
} | {
|
|
1790
|
+
user: `0x${string}`;
|
|
1791
|
+
amount: bigint;
|
|
1614
1792
|
};
|
|
1615
1793
|
} | {
|
|
1616
1794
|
eventName: "PersonalCooldownSet";
|
|
@@ -1623,6 +1801,9 @@ export declare class Exchange {
|
|
|
1623
1801
|
} | {
|
|
1624
1802
|
root: `0x${string}`;
|
|
1625
1803
|
cooldown: number;
|
|
1804
|
+
} | {
|
|
1805
|
+
root: `0x${string}`;
|
|
1806
|
+
cooldown: number;
|
|
1626
1807
|
};
|
|
1627
1808
|
} | {
|
|
1628
1809
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -1632,6 +1813,8 @@ export declare class Exchange {
|
|
|
1632
1813
|
newRiskyThresHR: bigint;
|
|
1633
1814
|
} | {
|
|
1634
1815
|
newRiskyThresHR: bigint;
|
|
1816
|
+
} | {
|
|
1817
|
+
newRiskyThresHR: bigint;
|
|
1635
1818
|
};
|
|
1636
1819
|
} | {
|
|
1637
1820
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -1644,6 +1827,9 @@ export declare class Exchange {
|
|
|
1644
1827
|
} | {
|
|
1645
1828
|
marketId: number;
|
|
1646
1829
|
isEnabled: boolean;
|
|
1830
|
+
} | {
|
|
1831
|
+
marketId: number;
|
|
1832
|
+
isEnabled: boolean;
|
|
1647
1833
|
};
|
|
1648
1834
|
} | {
|
|
1649
1835
|
eventName: "TokenAdded";
|
|
@@ -1656,6 +1842,9 @@ export declare class Exchange {
|
|
|
1656
1842
|
} | {
|
|
1657
1843
|
tokenId: number;
|
|
1658
1844
|
tokenAddress: `0x${string}`;
|
|
1845
|
+
} | {
|
|
1846
|
+
tokenId: number;
|
|
1847
|
+
tokenAddress: `0x${string}`;
|
|
1659
1848
|
};
|
|
1660
1849
|
} | {
|
|
1661
1850
|
eventName: "VaultDeposit";
|
|
@@ -1668,6 +1857,9 @@ export declare class Exchange {
|
|
|
1668
1857
|
} | {
|
|
1669
1858
|
acc: `0x${string}`;
|
|
1670
1859
|
unscaledAmount: bigint;
|
|
1860
|
+
} | {
|
|
1861
|
+
acc: `0x${string}`;
|
|
1862
|
+
unscaledAmount: bigint;
|
|
1671
1863
|
};
|
|
1672
1864
|
} | {
|
|
1673
1865
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -1683,6 +1875,10 @@ export declare class Exchange {
|
|
|
1683
1875
|
root: `0x${string}`;
|
|
1684
1876
|
tokenId: number;
|
|
1685
1877
|
totalUnscaledAmount: bigint;
|
|
1878
|
+
} | {
|
|
1879
|
+
root: `0x${string}`;
|
|
1880
|
+
tokenId: number;
|
|
1881
|
+
totalUnscaledAmount: bigint;
|
|
1686
1882
|
};
|
|
1687
1883
|
} | {
|
|
1688
1884
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -1698,6 +1894,10 @@ export declare class Exchange {
|
|
|
1698
1894
|
root: `0x${string}`;
|
|
1699
1895
|
tokenId: number;
|
|
1700
1896
|
totalUnscaledAmount: bigint;
|
|
1897
|
+
} | {
|
|
1898
|
+
root: `0x${string}`;
|
|
1899
|
+
tokenId: number;
|
|
1900
|
+
totalUnscaledAmount: bigint;
|
|
1701
1901
|
};
|
|
1702
1902
|
} | {
|
|
1703
1903
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -1716,6 +1916,11 @@ export declare class Exchange {
|
|
|
1716
1916
|
tokenId: number;
|
|
1717
1917
|
start: number;
|
|
1718
1918
|
totalUnscaledAmount: bigint;
|
|
1919
|
+
} | {
|
|
1920
|
+
root: `0x${string}`;
|
|
1921
|
+
tokenId: number;
|
|
1922
|
+
start: number;
|
|
1923
|
+
totalUnscaledAmount: bigint;
|
|
1719
1924
|
};
|
|
1720
1925
|
} | {
|
|
1721
1926
|
eventName: "MarketCreated";
|
|
@@ -1837,6 +2042,17 @@ export declare class Exchange {
|
|
|
1837
2042
|
account: `0x${string}`;
|
|
1838
2043
|
agent: `0x${string}`;
|
|
1839
2044
|
};
|
|
2045
|
+
} | {
|
|
2046
|
+
eventName: "AllowedRelayerUpdated";
|
|
2047
|
+
args: {
|
|
2048
|
+
relayer: `0x${string}`;
|
|
2049
|
+
allowed: boolean;
|
|
2050
|
+
};
|
|
2051
|
+
} | {
|
|
2052
|
+
eventName: "ApprovedMarketHubInf";
|
|
2053
|
+
args: {
|
|
2054
|
+
tokenId: number;
|
|
2055
|
+
};
|
|
1840
2056
|
} | {
|
|
1841
2057
|
eventName: "BulkOrdersExecuted";
|
|
1842
2058
|
args: {
|
|
@@ -2845,6 +3061,76 @@ export declare class Exchange {
|
|
|
2845
3061
|
args: {
|
|
2846
3062
|
newTotalSupplyCap: bigint;
|
|
2847
3063
|
};
|
|
3064
|
+
} | {
|
|
3065
|
+
eventName: "CLOThresholdSet";
|
|
3066
|
+
args: {
|
|
3067
|
+
marketId: number;
|
|
3068
|
+
newThreshold: {
|
|
3069
|
+
lowerThres: bigint;
|
|
3070
|
+
upperThres: bigint;
|
|
3071
|
+
};
|
|
3072
|
+
};
|
|
3073
|
+
} | {
|
|
3074
|
+
eventName: "DeleverageThresHRSet";
|
|
3075
|
+
args: {
|
|
3076
|
+
newDeleverageThresHR: bigint;
|
|
3077
|
+
};
|
|
3078
|
+
} | {
|
|
3079
|
+
eventName: "LiquidationExecuted";
|
|
3080
|
+
args: {
|
|
3081
|
+
violator: `0x${string}`;
|
|
3082
|
+
profit: bigint;
|
|
3083
|
+
};
|
|
3084
|
+
} | {
|
|
3085
|
+
eventName: "CancelThresHRSet";
|
|
3086
|
+
args: {
|
|
3087
|
+
newCancelThresHR: bigint;
|
|
3088
|
+
};
|
|
3089
|
+
} | {
|
|
3090
|
+
eventName: "MinTotalMMSet";
|
|
3091
|
+
args: {
|
|
3092
|
+
tokenId: number;
|
|
3093
|
+
newMinTotalMM: bigint;
|
|
3094
|
+
};
|
|
3095
|
+
} | {
|
|
3096
|
+
eventName: "DisallowWithdrawal";
|
|
3097
|
+
args: {
|
|
3098
|
+
user: `0x${string}`;
|
|
3099
|
+
};
|
|
3100
|
+
} | {
|
|
3101
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
3102
|
+
args: {
|
|
3103
|
+
tokenId: number;
|
|
3104
|
+
newThreshold: bigint;
|
|
3105
|
+
};
|
|
3106
|
+
} | {
|
|
3107
|
+
eventName: "ResetPersonalCooldown";
|
|
3108
|
+
args: {
|
|
3109
|
+
user: `0x${string}`;
|
|
3110
|
+
};
|
|
3111
|
+
} | {
|
|
3112
|
+
eventName: "LiqSettingsSet";
|
|
3113
|
+
args: {
|
|
3114
|
+
marketId: number;
|
|
3115
|
+
newLiqSettings: {
|
|
3116
|
+
base: bigint;
|
|
3117
|
+
slope: bigint;
|
|
3118
|
+
feeRate: bigint;
|
|
3119
|
+
};
|
|
3120
|
+
};
|
|
3121
|
+
} | {
|
|
3122
|
+
eventName: "RateDeviationConfigSet";
|
|
3123
|
+
args: {
|
|
3124
|
+
marketId: number;
|
|
3125
|
+
newRateDeviationConfig: {
|
|
3126
|
+
maxRateDeviationFactorBase1e4: number;
|
|
3127
|
+
closingOrderBoundBase1e4: number;
|
|
3128
|
+
loUpperConstBase1e4: number;
|
|
3129
|
+
loUpperSlopeBase1e4: number;
|
|
3130
|
+
loLowerConstBase1e4: number;
|
|
3131
|
+
loLowerSlopeBase1e4: number;
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
2848
3134
|
} | {
|
|
2849
3135
|
eventName: "Claimed";
|
|
2850
3136
|
args: {
|
|
@@ -2931,6 +3217,10 @@ export declare class Exchange {
|
|
|
2931
3217
|
from: `0x${string}`;
|
|
2932
3218
|
to: `0x${string}`;
|
|
2933
3219
|
amount: bigint;
|
|
3220
|
+
} | {
|
|
3221
|
+
from: `0x${string}`;
|
|
3222
|
+
to: `0x${string}`;
|
|
3223
|
+
amount: bigint;
|
|
2934
3224
|
};
|
|
2935
3225
|
} | {
|
|
2936
3226
|
eventName: "CollectFee";
|
|
@@ -2943,6 +3233,9 @@ export declare class Exchange {
|
|
|
2943
3233
|
} | {
|
|
2944
3234
|
tokenId: number;
|
|
2945
3235
|
amount: bigint;
|
|
3236
|
+
} | {
|
|
3237
|
+
tokenId: number;
|
|
3238
|
+
amount: bigint;
|
|
2946
3239
|
};
|
|
2947
3240
|
} | {
|
|
2948
3241
|
eventName: "CritHRUpdated";
|
|
@@ -2952,6 +3245,8 @@ export declare class Exchange {
|
|
|
2952
3245
|
newCritHR: bigint;
|
|
2953
3246
|
} | {
|
|
2954
3247
|
newCritHR: bigint;
|
|
3248
|
+
} | {
|
|
3249
|
+
newCritHR: bigint;
|
|
2955
3250
|
};
|
|
2956
3251
|
} | {
|
|
2957
3252
|
eventName: "EnterMarket";
|
|
@@ -2967,6 +3262,10 @@ export declare class Exchange {
|
|
|
2967
3262
|
user: `0x${string}`;
|
|
2968
3263
|
marketId: number;
|
|
2969
3264
|
entranceFee: bigint;
|
|
3265
|
+
} | {
|
|
3266
|
+
user: `0x${string}`;
|
|
3267
|
+
marketId: number;
|
|
3268
|
+
entranceFee: bigint;
|
|
2970
3269
|
};
|
|
2971
3270
|
} | {
|
|
2972
3271
|
eventName: "ExitMarket";
|
|
@@ -2979,6 +3278,9 @@ export declare class Exchange {
|
|
|
2979
3278
|
} | {
|
|
2980
3279
|
user: `0x${string}`;
|
|
2981
3280
|
marketId: number;
|
|
3281
|
+
} | {
|
|
3282
|
+
user: `0x${string}`;
|
|
3283
|
+
marketId: number;
|
|
2982
3284
|
};
|
|
2983
3285
|
} | {
|
|
2984
3286
|
eventName: "GlobalCooldownSet";
|
|
@@ -2988,8 +3290,12 @@ export declare class Exchange {
|
|
|
2988
3290
|
newCooldown: number;
|
|
2989
3291
|
} | {
|
|
2990
3292
|
newCooldown: number;
|
|
2991
|
-
}
|
|
2992
|
-
|
|
3293
|
+
} | {
|
|
3294
|
+
newCooldown: number;
|
|
3295
|
+
} | {
|
|
3296
|
+
newGlobalCooldown: number;
|
|
3297
|
+
};
|
|
3298
|
+
} | {
|
|
2993
3299
|
eventName: "MarketAdded";
|
|
2994
3300
|
args: {
|
|
2995
3301
|
marketId: number;
|
|
@@ -3000,6 +3306,9 @@ export declare class Exchange {
|
|
|
3000
3306
|
} | {
|
|
3001
3307
|
marketId: number;
|
|
3002
3308
|
marketAddress: `0x${string}`;
|
|
3309
|
+
} | {
|
|
3310
|
+
marketId: number;
|
|
3311
|
+
marketAddress: `0x${string}`;
|
|
3003
3312
|
};
|
|
3004
3313
|
} | {
|
|
3005
3314
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -3012,6 +3321,9 @@ export declare class Exchange {
|
|
|
3012
3321
|
} | {
|
|
3013
3322
|
tokenIds: readonly number[];
|
|
3014
3323
|
entranceFees: readonly bigint[];
|
|
3324
|
+
} | {
|
|
3325
|
+
tokenIds: readonly number[];
|
|
3326
|
+
entranceFees: readonly bigint[];
|
|
3015
3327
|
};
|
|
3016
3328
|
} | {
|
|
3017
3329
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -3024,6 +3336,9 @@ export declare class Exchange {
|
|
|
3024
3336
|
} | {
|
|
3025
3337
|
tokenIds: readonly number[];
|
|
3026
3338
|
newMinCash: readonly bigint[];
|
|
3339
|
+
} | {
|
|
3340
|
+
tokenIds: readonly number[];
|
|
3341
|
+
newMinCash: readonly bigint[];
|
|
3027
3342
|
};
|
|
3028
3343
|
} | {
|
|
3029
3344
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -3036,6 +3351,9 @@ export declare class Exchange {
|
|
|
3036
3351
|
} | {
|
|
3037
3352
|
tokenIds: readonly number[];
|
|
3038
3353
|
newMinCash: readonly bigint[];
|
|
3354
|
+
} | {
|
|
3355
|
+
tokenIds: readonly number[];
|
|
3356
|
+
newMinCash: readonly bigint[];
|
|
3039
3357
|
};
|
|
3040
3358
|
} | {
|
|
3041
3359
|
eventName: "PayTreasury";
|
|
@@ -3048,6 +3366,9 @@ export declare class Exchange {
|
|
|
3048
3366
|
} | {
|
|
3049
3367
|
user: `0x${string}`;
|
|
3050
3368
|
amount: bigint;
|
|
3369
|
+
} | {
|
|
3370
|
+
user: `0x${string}`;
|
|
3371
|
+
amount: bigint;
|
|
3051
3372
|
};
|
|
3052
3373
|
} | {
|
|
3053
3374
|
eventName: "PersonalCooldownSet";
|
|
@@ -3060,6 +3381,9 @@ export declare class Exchange {
|
|
|
3060
3381
|
} | {
|
|
3061
3382
|
root: `0x${string}`;
|
|
3062
3383
|
cooldown: number;
|
|
3384
|
+
} | {
|
|
3385
|
+
root: `0x${string}`;
|
|
3386
|
+
cooldown: number;
|
|
3063
3387
|
};
|
|
3064
3388
|
} | {
|
|
3065
3389
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -3069,6 +3393,8 @@ export declare class Exchange {
|
|
|
3069
3393
|
newRiskyThresHR: bigint;
|
|
3070
3394
|
} | {
|
|
3071
3395
|
newRiskyThresHR: bigint;
|
|
3396
|
+
} | {
|
|
3397
|
+
newRiskyThresHR: bigint;
|
|
3072
3398
|
};
|
|
3073
3399
|
} | {
|
|
3074
3400
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -3081,6 +3407,9 @@ export declare class Exchange {
|
|
|
3081
3407
|
} | {
|
|
3082
3408
|
marketId: number;
|
|
3083
3409
|
isEnabled: boolean;
|
|
3410
|
+
} | {
|
|
3411
|
+
marketId: number;
|
|
3412
|
+
isEnabled: boolean;
|
|
3084
3413
|
};
|
|
3085
3414
|
} | {
|
|
3086
3415
|
eventName: "TokenAdded";
|
|
@@ -3093,6 +3422,9 @@ export declare class Exchange {
|
|
|
3093
3422
|
} | {
|
|
3094
3423
|
tokenId: number;
|
|
3095
3424
|
tokenAddress: `0x${string}`;
|
|
3425
|
+
} | {
|
|
3426
|
+
tokenId: number;
|
|
3427
|
+
tokenAddress: `0x${string}`;
|
|
3096
3428
|
};
|
|
3097
3429
|
} | {
|
|
3098
3430
|
eventName: "VaultDeposit";
|
|
@@ -3105,6 +3437,9 @@ export declare class Exchange {
|
|
|
3105
3437
|
} | {
|
|
3106
3438
|
acc: `0x${string}`;
|
|
3107
3439
|
unscaledAmount: bigint;
|
|
3440
|
+
} | {
|
|
3441
|
+
acc: `0x${string}`;
|
|
3442
|
+
unscaledAmount: bigint;
|
|
3108
3443
|
};
|
|
3109
3444
|
} | {
|
|
3110
3445
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -3120,6 +3455,10 @@ export declare class Exchange {
|
|
|
3120
3455
|
root: `0x${string}`;
|
|
3121
3456
|
tokenId: number;
|
|
3122
3457
|
totalUnscaledAmount: bigint;
|
|
3458
|
+
} | {
|
|
3459
|
+
root: `0x${string}`;
|
|
3460
|
+
tokenId: number;
|
|
3461
|
+
totalUnscaledAmount: bigint;
|
|
3123
3462
|
};
|
|
3124
3463
|
} | {
|
|
3125
3464
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -3135,6 +3474,10 @@ export declare class Exchange {
|
|
|
3135
3474
|
root: `0x${string}`;
|
|
3136
3475
|
tokenId: number;
|
|
3137
3476
|
totalUnscaledAmount: bigint;
|
|
3477
|
+
} | {
|
|
3478
|
+
root: `0x${string}`;
|
|
3479
|
+
tokenId: number;
|
|
3480
|
+
totalUnscaledAmount: bigint;
|
|
3138
3481
|
};
|
|
3139
3482
|
} | {
|
|
3140
3483
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -3153,6 +3496,11 @@ export declare class Exchange {
|
|
|
3153
3496
|
tokenId: number;
|
|
3154
3497
|
start: number;
|
|
3155
3498
|
totalUnscaledAmount: bigint;
|
|
3499
|
+
} | {
|
|
3500
|
+
root: `0x${string}`;
|
|
3501
|
+
tokenId: number;
|
|
3502
|
+
start: number;
|
|
3503
|
+
totalUnscaledAmount: bigint;
|
|
3156
3504
|
};
|
|
3157
3505
|
} | {
|
|
3158
3506
|
eventName: "MarketCreated";
|
|
@@ -3274,6 +3622,17 @@ export declare class Exchange {
|
|
|
3274
3622
|
account: `0x${string}`;
|
|
3275
3623
|
agent: `0x${string}`;
|
|
3276
3624
|
};
|
|
3625
|
+
} | {
|
|
3626
|
+
eventName: "AllowedRelayerUpdated";
|
|
3627
|
+
args: {
|
|
3628
|
+
relayer: `0x${string}`;
|
|
3629
|
+
allowed: boolean;
|
|
3630
|
+
};
|
|
3631
|
+
} | {
|
|
3632
|
+
eventName: "ApprovedMarketHubInf";
|
|
3633
|
+
args: {
|
|
3634
|
+
tokenId: number;
|
|
3635
|
+
};
|
|
3277
3636
|
} | {
|
|
3278
3637
|
eventName: "BulkOrdersExecuted";
|
|
3279
3638
|
args: {
|
|
@@ -4282,6 +4641,76 @@ export declare class Exchange {
|
|
|
4282
4641
|
args: {
|
|
4283
4642
|
newTotalSupplyCap: bigint;
|
|
4284
4643
|
};
|
|
4644
|
+
} | {
|
|
4645
|
+
eventName: "CLOThresholdSet";
|
|
4646
|
+
args: {
|
|
4647
|
+
marketId: number;
|
|
4648
|
+
newThreshold: {
|
|
4649
|
+
lowerThres: bigint;
|
|
4650
|
+
upperThres: bigint;
|
|
4651
|
+
};
|
|
4652
|
+
};
|
|
4653
|
+
} | {
|
|
4654
|
+
eventName: "DeleverageThresHRSet";
|
|
4655
|
+
args: {
|
|
4656
|
+
newDeleverageThresHR: bigint;
|
|
4657
|
+
};
|
|
4658
|
+
} | {
|
|
4659
|
+
eventName: "LiquidationExecuted";
|
|
4660
|
+
args: {
|
|
4661
|
+
violator: `0x${string}`;
|
|
4662
|
+
profit: bigint;
|
|
4663
|
+
};
|
|
4664
|
+
} | {
|
|
4665
|
+
eventName: "CancelThresHRSet";
|
|
4666
|
+
args: {
|
|
4667
|
+
newCancelThresHR: bigint;
|
|
4668
|
+
};
|
|
4669
|
+
} | {
|
|
4670
|
+
eventName: "MinTotalMMSet";
|
|
4671
|
+
args: {
|
|
4672
|
+
tokenId: number;
|
|
4673
|
+
newMinTotalMM: bigint;
|
|
4674
|
+
};
|
|
4675
|
+
} | {
|
|
4676
|
+
eventName: "DisallowWithdrawal";
|
|
4677
|
+
args: {
|
|
4678
|
+
user: `0x${string}`;
|
|
4679
|
+
};
|
|
4680
|
+
} | {
|
|
4681
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
4682
|
+
args: {
|
|
4683
|
+
tokenId: number;
|
|
4684
|
+
newThreshold: bigint;
|
|
4685
|
+
};
|
|
4686
|
+
} | {
|
|
4687
|
+
eventName: "ResetPersonalCooldown";
|
|
4688
|
+
args: {
|
|
4689
|
+
user: `0x${string}`;
|
|
4690
|
+
};
|
|
4691
|
+
} | {
|
|
4692
|
+
eventName: "LiqSettingsSet";
|
|
4693
|
+
args: {
|
|
4694
|
+
marketId: number;
|
|
4695
|
+
newLiqSettings: {
|
|
4696
|
+
base: bigint;
|
|
4697
|
+
slope: bigint;
|
|
4698
|
+
feeRate: bigint;
|
|
4699
|
+
};
|
|
4700
|
+
};
|
|
4701
|
+
} | {
|
|
4702
|
+
eventName: "RateDeviationConfigSet";
|
|
4703
|
+
args: {
|
|
4704
|
+
marketId: number;
|
|
4705
|
+
newRateDeviationConfig: {
|
|
4706
|
+
maxRateDeviationFactorBase1e4: number;
|
|
4707
|
+
closingOrderBoundBase1e4: number;
|
|
4708
|
+
loUpperConstBase1e4: number;
|
|
4709
|
+
loUpperSlopeBase1e4: number;
|
|
4710
|
+
loLowerConstBase1e4: number;
|
|
4711
|
+
loLowerSlopeBase1e4: number;
|
|
4712
|
+
};
|
|
4713
|
+
};
|
|
4285
4714
|
} | {
|
|
4286
4715
|
eventName: "Claimed";
|
|
4287
4716
|
args: {
|
|
@@ -4356,6 +4785,10 @@ export declare class Exchange {
|
|
|
4356
4785
|
from: `0x${string}`;
|
|
4357
4786
|
to: `0x${string}`;
|
|
4358
4787
|
amount: bigint;
|
|
4788
|
+
} | {
|
|
4789
|
+
from: `0x${string}`;
|
|
4790
|
+
to: `0x${string}`;
|
|
4791
|
+
amount: bigint;
|
|
4359
4792
|
};
|
|
4360
4793
|
} | {
|
|
4361
4794
|
eventName: "CollectFee";
|
|
@@ -4368,6 +4801,9 @@ export declare class Exchange {
|
|
|
4368
4801
|
} | {
|
|
4369
4802
|
tokenId: number;
|
|
4370
4803
|
amount: bigint;
|
|
4804
|
+
} | {
|
|
4805
|
+
tokenId: number;
|
|
4806
|
+
amount: bigint;
|
|
4371
4807
|
};
|
|
4372
4808
|
} | {
|
|
4373
4809
|
eventName: "CritHRUpdated";
|
|
@@ -4377,6 +4813,8 @@ export declare class Exchange {
|
|
|
4377
4813
|
newCritHR: bigint;
|
|
4378
4814
|
} | {
|
|
4379
4815
|
newCritHR: bigint;
|
|
4816
|
+
} | {
|
|
4817
|
+
newCritHR: bigint;
|
|
4380
4818
|
};
|
|
4381
4819
|
} | {
|
|
4382
4820
|
eventName: "EnterMarket";
|
|
@@ -4392,6 +4830,10 @@ export declare class Exchange {
|
|
|
4392
4830
|
user: `0x${string}`;
|
|
4393
4831
|
marketId: number;
|
|
4394
4832
|
entranceFee: bigint;
|
|
4833
|
+
} | {
|
|
4834
|
+
user: `0x${string}`;
|
|
4835
|
+
marketId: number;
|
|
4836
|
+
entranceFee: bigint;
|
|
4395
4837
|
};
|
|
4396
4838
|
} | {
|
|
4397
4839
|
eventName: "ExitMarket";
|
|
@@ -4404,6 +4846,9 @@ export declare class Exchange {
|
|
|
4404
4846
|
} | {
|
|
4405
4847
|
user: `0x${string}`;
|
|
4406
4848
|
marketId: number;
|
|
4849
|
+
} | {
|
|
4850
|
+
user: `0x${string}`;
|
|
4851
|
+
marketId: number;
|
|
4407
4852
|
};
|
|
4408
4853
|
} | {
|
|
4409
4854
|
eventName: "GlobalCooldownSet";
|
|
@@ -4413,6 +4858,10 @@ export declare class Exchange {
|
|
|
4413
4858
|
newCooldown: number;
|
|
4414
4859
|
} | {
|
|
4415
4860
|
newCooldown: number;
|
|
4861
|
+
} | {
|
|
4862
|
+
newCooldown: number;
|
|
4863
|
+
} | {
|
|
4864
|
+
newGlobalCooldown: number;
|
|
4416
4865
|
};
|
|
4417
4866
|
} | {
|
|
4418
4867
|
eventName: "MarketAdded";
|
|
@@ -4425,6 +4874,9 @@ export declare class Exchange {
|
|
|
4425
4874
|
} | {
|
|
4426
4875
|
marketId: number;
|
|
4427
4876
|
marketAddress: `0x${string}`;
|
|
4877
|
+
} | {
|
|
4878
|
+
marketId: number;
|
|
4879
|
+
marketAddress: `0x${string}`;
|
|
4428
4880
|
};
|
|
4429
4881
|
} | {
|
|
4430
4882
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -4437,6 +4889,9 @@ export declare class Exchange {
|
|
|
4437
4889
|
} | {
|
|
4438
4890
|
tokenIds: readonly number[];
|
|
4439
4891
|
entranceFees: readonly bigint[];
|
|
4892
|
+
} | {
|
|
4893
|
+
tokenIds: readonly number[];
|
|
4894
|
+
entranceFees: readonly bigint[];
|
|
4440
4895
|
};
|
|
4441
4896
|
} | {
|
|
4442
4897
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -4449,6 +4904,9 @@ export declare class Exchange {
|
|
|
4449
4904
|
} | {
|
|
4450
4905
|
tokenIds: readonly number[];
|
|
4451
4906
|
newMinCash: readonly bigint[];
|
|
4907
|
+
} | {
|
|
4908
|
+
tokenIds: readonly number[];
|
|
4909
|
+
newMinCash: readonly bigint[];
|
|
4452
4910
|
};
|
|
4453
4911
|
} | {
|
|
4454
4912
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -4461,6 +4919,9 @@ export declare class Exchange {
|
|
|
4461
4919
|
} | {
|
|
4462
4920
|
tokenIds: readonly number[];
|
|
4463
4921
|
newMinCash: readonly bigint[];
|
|
4922
|
+
} | {
|
|
4923
|
+
tokenIds: readonly number[];
|
|
4924
|
+
newMinCash: readonly bigint[];
|
|
4464
4925
|
};
|
|
4465
4926
|
} | {
|
|
4466
4927
|
eventName: "PayTreasury";
|
|
@@ -4473,6 +4934,9 @@ export declare class Exchange {
|
|
|
4473
4934
|
} | {
|
|
4474
4935
|
user: `0x${string}`;
|
|
4475
4936
|
amount: bigint;
|
|
4937
|
+
} | {
|
|
4938
|
+
user: `0x${string}`;
|
|
4939
|
+
amount: bigint;
|
|
4476
4940
|
};
|
|
4477
4941
|
} | {
|
|
4478
4942
|
eventName: "PersonalCooldownSet";
|
|
@@ -4485,6 +4949,9 @@ export declare class Exchange {
|
|
|
4485
4949
|
} | {
|
|
4486
4950
|
root: `0x${string}`;
|
|
4487
4951
|
cooldown: number;
|
|
4952
|
+
} | {
|
|
4953
|
+
root: `0x${string}`;
|
|
4954
|
+
cooldown: number;
|
|
4488
4955
|
};
|
|
4489
4956
|
} | {
|
|
4490
4957
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -4494,6 +4961,8 @@ export declare class Exchange {
|
|
|
4494
4961
|
newRiskyThresHR: bigint;
|
|
4495
4962
|
} | {
|
|
4496
4963
|
newRiskyThresHR: bigint;
|
|
4964
|
+
} | {
|
|
4965
|
+
newRiskyThresHR: bigint;
|
|
4497
4966
|
};
|
|
4498
4967
|
} | {
|
|
4499
4968
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -4506,6 +4975,9 @@ export declare class Exchange {
|
|
|
4506
4975
|
} | {
|
|
4507
4976
|
marketId: number;
|
|
4508
4977
|
isEnabled: boolean;
|
|
4978
|
+
} | {
|
|
4979
|
+
marketId: number;
|
|
4980
|
+
isEnabled: boolean;
|
|
4509
4981
|
};
|
|
4510
4982
|
} | {
|
|
4511
4983
|
eventName: "TokenAdded";
|
|
@@ -4518,6 +4990,9 @@ export declare class Exchange {
|
|
|
4518
4990
|
} | {
|
|
4519
4991
|
tokenId: number;
|
|
4520
4992
|
tokenAddress: `0x${string}`;
|
|
4993
|
+
} | {
|
|
4994
|
+
tokenId: number;
|
|
4995
|
+
tokenAddress: `0x${string}`;
|
|
4521
4996
|
};
|
|
4522
4997
|
} | {
|
|
4523
4998
|
eventName: "VaultDeposit";
|
|
@@ -4530,6 +5005,9 @@ export declare class Exchange {
|
|
|
4530
5005
|
} | {
|
|
4531
5006
|
acc: `0x${string}`;
|
|
4532
5007
|
unscaledAmount: bigint;
|
|
5008
|
+
} | {
|
|
5009
|
+
acc: `0x${string}`;
|
|
5010
|
+
unscaledAmount: bigint;
|
|
4533
5011
|
};
|
|
4534
5012
|
} | {
|
|
4535
5013
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -4545,6 +5023,10 @@ export declare class Exchange {
|
|
|
4545
5023
|
root: `0x${string}`;
|
|
4546
5024
|
tokenId: number;
|
|
4547
5025
|
totalUnscaledAmount: bigint;
|
|
5026
|
+
} | {
|
|
5027
|
+
root: `0x${string}`;
|
|
5028
|
+
tokenId: number;
|
|
5029
|
+
totalUnscaledAmount: bigint;
|
|
4548
5030
|
};
|
|
4549
5031
|
} | {
|
|
4550
5032
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -4560,6 +5042,10 @@ export declare class Exchange {
|
|
|
4560
5042
|
root: `0x${string}`;
|
|
4561
5043
|
tokenId: number;
|
|
4562
5044
|
totalUnscaledAmount: bigint;
|
|
5045
|
+
} | {
|
|
5046
|
+
root: `0x${string}`;
|
|
5047
|
+
tokenId: number;
|
|
5048
|
+
totalUnscaledAmount: bigint;
|
|
4563
5049
|
};
|
|
4564
5050
|
} | {
|
|
4565
5051
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -4578,6 +5064,11 @@ export declare class Exchange {
|
|
|
4578
5064
|
tokenId: number;
|
|
4579
5065
|
start: number;
|
|
4580
5066
|
totalUnscaledAmount: bigint;
|
|
5067
|
+
} | {
|
|
5068
|
+
root: `0x${string}`;
|
|
5069
|
+
tokenId: number;
|
|
5070
|
+
start: number;
|
|
5071
|
+
totalUnscaledAmount: bigint;
|
|
4581
5072
|
};
|
|
4582
5073
|
} | {
|
|
4583
5074
|
eventName: "MarketCreated";
|
|
@@ -4699,6 +5190,17 @@ export declare class Exchange {
|
|
|
4699
5190
|
account: `0x${string}`;
|
|
4700
5191
|
agent: `0x${string}`;
|
|
4701
5192
|
};
|
|
5193
|
+
} | {
|
|
5194
|
+
eventName: "AllowedRelayerUpdated";
|
|
5195
|
+
args: {
|
|
5196
|
+
relayer: `0x${string}`;
|
|
5197
|
+
allowed: boolean;
|
|
5198
|
+
};
|
|
5199
|
+
} | {
|
|
5200
|
+
eventName: "ApprovedMarketHubInf";
|
|
5201
|
+
args: {
|
|
5202
|
+
tokenId: number;
|
|
5203
|
+
};
|
|
4702
5204
|
} | {
|
|
4703
5205
|
eventName: "BulkOrdersExecuted";
|
|
4704
5206
|
args: {
|
|
@@ -5707,6 +6209,76 @@ export declare class Exchange {
|
|
|
5707
6209
|
args: {
|
|
5708
6210
|
newTotalSupplyCap: bigint;
|
|
5709
6211
|
};
|
|
6212
|
+
} | {
|
|
6213
|
+
eventName: "CLOThresholdSet";
|
|
6214
|
+
args: {
|
|
6215
|
+
marketId: number;
|
|
6216
|
+
newThreshold: {
|
|
6217
|
+
lowerThres: bigint;
|
|
6218
|
+
upperThres: bigint;
|
|
6219
|
+
};
|
|
6220
|
+
};
|
|
6221
|
+
} | {
|
|
6222
|
+
eventName: "DeleverageThresHRSet";
|
|
6223
|
+
args: {
|
|
6224
|
+
newDeleverageThresHR: bigint;
|
|
6225
|
+
};
|
|
6226
|
+
} | {
|
|
6227
|
+
eventName: "LiquidationExecuted";
|
|
6228
|
+
args: {
|
|
6229
|
+
violator: `0x${string}`;
|
|
6230
|
+
profit: bigint;
|
|
6231
|
+
};
|
|
6232
|
+
} | {
|
|
6233
|
+
eventName: "CancelThresHRSet";
|
|
6234
|
+
args: {
|
|
6235
|
+
newCancelThresHR: bigint;
|
|
6236
|
+
};
|
|
6237
|
+
} | {
|
|
6238
|
+
eventName: "MinTotalMMSet";
|
|
6239
|
+
args: {
|
|
6240
|
+
tokenId: number;
|
|
6241
|
+
newMinTotalMM: bigint;
|
|
6242
|
+
};
|
|
6243
|
+
} | {
|
|
6244
|
+
eventName: "DisallowWithdrawal";
|
|
6245
|
+
args: {
|
|
6246
|
+
user: `0x${string}`;
|
|
6247
|
+
};
|
|
6248
|
+
} | {
|
|
6249
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
6250
|
+
args: {
|
|
6251
|
+
tokenId: number;
|
|
6252
|
+
newThreshold: bigint;
|
|
6253
|
+
};
|
|
6254
|
+
} | {
|
|
6255
|
+
eventName: "ResetPersonalCooldown";
|
|
6256
|
+
args: {
|
|
6257
|
+
user: `0x${string}`;
|
|
6258
|
+
};
|
|
6259
|
+
} | {
|
|
6260
|
+
eventName: "LiqSettingsSet";
|
|
6261
|
+
args: {
|
|
6262
|
+
marketId: number;
|
|
6263
|
+
newLiqSettings: {
|
|
6264
|
+
base: bigint;
|
|
6265
|
+
slope: bigint;
|
|
6266
|
+
feeRate: bigint;
|
|
6267
|
+
};
|
|
6268
|
+
};
|
|
6269
|
+
} | {
|
|
6270
|
+
eventName: "RateDeviationConfigSet";
|
|
6271
|
+
args: {
|
|
6272
|
+
marketId: number;
|
|
6273
|
+
newRateDeviationConfig: {
|
|
6274
|
+
maxRateDeviationFactorBase1e4: number;
|
|
6275
|
+
closingOrderBoundBase1e4: number;
|
|
6276
|
+
loUpperConstBase1e4: number;
|
|
6277
|
+
loUpperSlopeBase1e4: number;
|
|
6278
|
+
loLowerConstBase1e4: number;
|
|
6279
|
+
loLowerSlopeBase1e4: number;
|
|
6280
|
+
};
|
|
6281
|
+
};
|
|
5710
6282
|
} | {
|
|
5711
6283
|
eventName: "Claimed";
|
|
5712
6284
|
args: {
|
|
@@ -5760,6 +6332,13 @@ export declare class Exchange {
|
|
|
5760
6332
|
limitTick: number;
|
|
5761
6333
|
error?: undefined;
|
|
5762
6334
|
})[];
|
|
6335
|
+
otherOrders: {
|
|
6336
|
+
originalOrderId: string;
|
|
6337
|
+
orderId: string;
|
|
6338
|
+
side: Side;
|
|
6339
|
+
size: bigint;
|
|
6340
|
+
limitTick: number;
|
|
6341
|
+
}[];
|
|
5763
6342
|
cancelledOrders: {
|
|
5764
6343
|
orderIds: string[];
|
|
5765
6344
|
root: `0x${string}`;
|
|
@@ -5813,6 +6392,10 @@ export declare class Exchange {
|
|
|
5813
6392
|
from: `0x${string}`;
|
|
5814
6393
|
to: `0x${string}`;
|
|
5815
6394
|
amount: bigint;
|
|
6395
|
+
} | {
|
|
6396
|
+
from: `0x${string}`;
|
|
6397
|
+
to: `0x${string}`;
|
|
6398
|
+
amount: bigint;
|
|
5816
6399
|
};
|
|
5817
6400
|
} | {
|
|
5818
6401
|
eventName: "CollectFee";
|
|
@@ -5825,6 +6408,9 @@ export declare class Exchange {
|
|
|
5825
6408
|
} | {
|
|
5826
6409
|
tokenId: number;
|
|
5827
6410
|
amount: bigint;
|
|
6411
|
+
} | {
|
|
6412
|
+
tokenId: number;
|
|
6413
|
+
amount: bigint;
|
|
5828
6414
|
};
|
|
5829
6415
|
} | {
|
|
5830
6416
|
eventName: "CritHRUpdated";
|
|
@@ -5834,6 +6420,8 @@ export declare class Exchange {
|
|
|
5834
6420
|
newCritHR: bigint;
|
|
5835
6421
|
} | {
|
|
5836
6422
|
newCritHR: bigint;
|
|
6423
|
+
} | {
|
|
6424
|
+
newCritHR: bigint;
|
|
5837
6425
|
};
|
|
5838
6426
|
} | {
|
|
5839
6427
|
eventName: "EnterMarket";
|
|
@@ -5849,6 +6437,10 @@ export declare class Exchange {
|
|
|
5849
6437
|
user: `0x${string}`;
|
|
5850
6438
|
marketId: number;
|
|
5851
6439
|
entranceFee: bigint;
|
|
6440
|
+
} | {
|
|
6441
|
+
user: `0x${string}`;
|
|
6442
|
+
marketId: number;
|
|
6443
|
+
entranceFee: bigint;
|
|
5852
6444
|
};
|
|
5853
6445
|
} | {
|
|
5854
6446
|
eventName: "ExitMarket";
|
|
@@ -5861,6 +6453,9 @@ export declare class Exchange {
|
|
|
5861
6453
|
} | {
|
|
5862
6454
|
user: `0x${string}`;
|
|
5863
6455
|
marketId: number;
|
|
6456
|
+
} | {
|
|
6457
|
+
user: `0x${string}`;
|
|
6458
|
+
marketId: number;
|
|
5864
6459
|
};
|
|
5865
6460
|
} | {
|
|
5866
6461
|
eventName: "GlobalCooldownSet";
|
|
@@ -5870,6 +6465,10 @@ export declare class Exchange {
|
|
|
5870
6465
|
newCooldown: number;
|
|
5871
6466
|
} | {
|
|
5872
6467
|
newCooldown: number;
|
|
6468
|
+
} | {
|
|
6469
|
+
newCooldown: number;
|
|
6470
|
+
} | {
|
|
6471
|
+
newGlobalCooldown: number;
|
|
5873
6472
|
};
|
|
5874
6473
|
} | {
|
|
5875
6474
|
eventName: "MarketAdded";
|
|
@@ -5882,6 +6481,9 @@ export declare class Exchange {
|
|
|
5882
6481
|
} | {
|
|
5883
6482
|
marketId: number;
|
|
5884
6483
|
marketAddress: `0x${string}`;
|
|
6484
|
+
} | {
|
|
6485
|
+
marketId: number;
|
|
6486
|
+
marketAddress: `0x${string}`;
|
|
5885
6487
|
};
|
|
5886
6488
|
} | {
|
|
5887
6489
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -5894,6 +6496,9 @@ export declare class Exchange {
|
|
|
5894
6496
|
} | {
|
|
5895
6497
|
tokenIds: readonly number[];
|
|
5896
6498
|
entranceFees: readonly bigint[];
|
|
6499
|
+
} | {
|
|
6500
|
+
tokenIds: readonly number[];
|
|
6501
|
+
entranceFees: readonly bigint[];
|
|
5897
6502
|
};
|
|
5898
6503
|
} | {
|
|
5899
6504
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -5906,7 +6511,10 @@ export declare class Exchange {
|
|
|
5906
6511
|
} | {
|
|
5907
6512
|
tokenIds: readonly number[];
|
|
5908
6513
|
newMinCash: readonly bigint[];
|
|
5909
|
-
}
|
|
6514
|
+
} | {
|
|
6515
|
+
tokenIds: readonly number[];
|
|
6516
|
+
newMinCash: readonly bigint[];
|
|
6517
|
+
};
|
|
5910
6518
|
} | {
|
|
5911
6519
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
5912
6520
|
args: {
|
|
@@ -5918,6 +6526,9 @@ export declare class Exchange {
|
|
|
5918
6526
|
} | {
|
|
5919
6527
|
tokenIds: readonly number[];
|
|
5920
6528
|
newMinCash: readonly bigint[];
|
|
6529
|
+
} | {
|
|
6530
|
+
tokenIds: readonly number[];
|
|
6531
|
+
newMinCash: readonly bigint[];
|
|
5921
6532
|
};
|
|
5922
6533
|
} | {
|
|
5923
6534
|
eventName: "PayTreasury";
|
|
@@ -5930,6 +6541,9 @@ export declare class Exchange {
|
|
|
5930
6541
|
} | {
|
|
5931
6542
|
user: `0x${string}`;
|
|
5932
6543
|
amount: bigint;
|
|
6544
|
+
} | {
|
|
6545
|
+
user: `0x${string}`;
|
|
6546
|
+
amount: bigint;
|
|
5933
6547
|
};
|
|
5934
6548
|
} | {
|
|
5935
6549
|
eventName: "PersonalCooldownSet";
|
|
@@ -5942,6 +6556,9 @@ export declare class Exchange {
|
|
|
5942
6556
|
} | {
|
|
5943
6557
|
root: `0x${string}`;
|
|
5944
6558
|
cooldown: number;
|
|
6559
|
+
} | {
|
|
6560
|
+
root: `0x${string}`;
|
|
6561
|
+
cooldown: number;
|
|
5945
6562
|
};
|
|
5946
6563
|
} | {
|
|
5947
6564
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -5951,6 +6568,8 @@ export declare class Exchange {
|
|
|
5951
6568
|
newRiskyThresHR: bigint;
|
|
5952
6569
|
} | {
|
|
5953
6570
|
newRiskyThresHR: bigint;
|
|
6571
|
+
} | {
|
|
6572
|
+
newRiskyThresHR: bigint;
|
|
5954
6573
|
};
|
|
5955
6574
|
} | {
|
|
5956
6575
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -5963,6 +6582,9 @@ export declare class Exchange {
|
|
|
5963
6582
|
} | {
|
|
5964
6583
|
marketId: number;
|
|
5965
6584
|
isEnabled: boolean;
|
|
6585
|
+
} | {
|
|
6586
|
+
marketId: number;
|
|
6587
|
+
isEnabled: boolean;
|
|
5966
6588
|
};
|
|
5967
6589
|
} | {
|
|
5968
6590
|
eventName: "TokenAdded";
|
|
@@ -5975,6 +6597,9 @@ export declare class Exchange {
|
|
|
5975
6597
|
} | {
|
|
5976
6598
|
tokenId: number;
|
|
5977
6599
|
tokenAddress: `0x${string}`;
|
|
6600
|
+
} | {
|
|
6601
|
+
tokenId: number;
|
|
6602
|
+
tokenAddress: `0x${string}`;
|
|
5978
6603
|
};
|
|
5979
6604
|
} | {
|
|
5980
6605
|
eventName: "VaultDeposit";
|
|
@@ -5987,6 +6612,9 @@ export declare class Exchange {
|
|
|
5987
6612
|
} | {
|
|
5988
6613
|
acc: `0x${string}`;
|
|
5989
6614
|
unscaledAmount: bigint;
|
|
6615
|
+
} | {
|
|
6616
|
+
acc: `0x${string}`;
|
|
6617
|
+
unscaledAmount: bigint;
|
|
5990
6618
|
};
|
|
5991
6619
|
} | {
|
|
5992
6620
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -6002,6 +6630,10 @@ export declare class Exchange {
|
|
|
6002
6630
|
root: `0x${string}`;
|
|
6003
6631
|
tokenId: number;
|
|
6004
6632
|
totalUnscaledAmount: bigint;
|
|
6633
|
+
} | {
|
|
6634
|
+
root: `0x${string}`;
|
|
6635
|
+
tokenId: number;
|
|
6636
|
+
totalUnscaledAmount: bigint;
|
|
6005
6637
|
};
|
|
6006
6638
|
} | {
|
|
6007
6639
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -6017,6 +6649,10 @@ export declare class Exchange {
|
|
|
6017
6649
|
root: `0x${string}`;
|
|
6018
6650
|
tokenId: number;
|
|
6019
6651
|
totalUnscaledAmount: bigint;
|
|
6652
|
+
} | {
|
|
6653
|
+
root: `0x${string}`;
|
|
6654
|
+
tokenId: number;
|
|
6655
|
+
totalUnscaledAmount: bigint;
|
|
6020
6656
|
};
|
|
6021
6657
|
} | {
|
|
6022
6658
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -6035,6 +6671,11 @@ export declare class Exchange {
|
|
|
6035
6671
|
tokenId: number;
|
|
6036
6672
|
start: number;
|
|
6037
6673
|
totalUnscaledAmount: bigint;
|
|
6674
|
+
} | {
|
|
6675
|
+
root: `0x${string}`;
|
|
6676
|
+
tokenId: number;
|
|
6677
|
+
start: number;
|
|
6678
|
+
totalUnscaledAmount: bigint;
|
|
6038
6679
|
};
|
|
6039
6680
|
} | {
|
|
6040
6681
|
eventName: "MarketCreated";
|
|
@@ -6156,6 +6797,17 @@ export declare class Exchange {
|
|
|
6156
6797
|
account: `0x${string}`;
|
|
6157
6798
|
agent: `0x${string}`;
|
|
6158
6799
|
};
|
|
6800
|
+
} | {
|
|
6801
|
+
eventName: "AllowedRelayerUpdated";
|
|
6802
|
+
args: {
|
|
6803
|
+
relayer: `0x${string}`;
|
|
6804
|
+
allowed: boolean;
|
|
6805
|
+
};
|
|
6806
|
+
} | {
|
|
6807
|
+
eventName: "ApprovedMarketHubInf";
|
|
6808
|
+
args: {
|
|
6809
|
+
tokenId: number;
|
|
6810
|
+
};
|
|
6159
6811
|
} | {
|
|
6160
6812
|
eventName: "BulkOrdersExecuted";
|
|
6161
6813
|
args: {
|
|
@@ -7164,6 +7816,76 @@ export declare class Exchange {
|
|
|
7164
7816
|
args: {
|
|
7165
7817
|
newTotalSupplyCap: bigint;
|
|
7166
7818
|
};
|
|
7819
|
+
} | {
|
|
7820
|
+
eventName: "CLOThresholdSet";
|
|
7821
|
+
args: {
|
|
7822
|
+
marketId: number;
|
|
7823
|
+
newThreshold: {
|
|
7824
|
+
lowerThres: bigint;
|
|
7825
|
+
upperThres: bigint;
|
|
7826
|
+
};
|
|
7827
|
+
};
|
|
7828
|
+
} | {
|
|
7829
|
+
eventName: "DeleverageThresHRSet";
|
|
7830
|
+
args: {
|
|
7831
|
+
newDeleverageThresHR: bigint;
|
|
7832
|
+
};
|
|
7833
|
+
} | {
|
|
7834
|
+
eventName: "LiquidationExecuted";
|
|
7835
|
+
args: {
|
|
7836
|
+
violator: `0x${string}`;
|
|
7837
|
+
profit: bigint;
|
|
7838
|
+
};
|
|
7839
|
+
} | {
|
|
7840
|
+
eventName: "CancelThresHRSet";
|
|
7841
|
+
args: {
|
|
7842
|
+
newCancelThresHR: bigint;
|
|
7843
|
+
};
|
|
7844
|
+
} | {
|
|
7845
|
+
eventName: "MinTotalMMSet";
|
|
7846
|
+
args: {
|
|
7847
|
+
tokenId: number;
|
|
7848
|
+
newMinTotalMM: bigint;
|
|
7849
|
+
};
|
|
7850
|
+
} | {
|
|
7851
|
+
eventName: "DisallowWithdrawal";
|
|
7852
|
+
args: {
|
|
7853
|
+
user: `0x${string}`;
|
|
7854
|
+
};
|
|
7855
|
+
} | {
|
|
7856
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
7857
|
+
args: {
|
|
7858
|
+
tokenId: number;
|
|
7859
|
+
newThreshold: bigint;
|
|
7860
|
+
};
|
|
7861
|
+
} | {
|
|
7862
|
+
eventName: "ResetPersonalCooldown";
|
|
7863
|
+
args: {
|
|
7864
|
+
user: `0x${string}`;
|
|
7865
|
+
};
|
|
7866
|
+
} | {
|
|
7867
|
+
eventName: "LiqSettingsSet";
|
|
7868
|
+
args: {
|
|
7869
|
+
marketId: number;
|
|
7870
|
+
newLiqSettings: {
|
|
7871
|
+
base: bigint;
|
|
7872
|
+
slope: bigint;
|
|
7873
|
+
feeRate: bigint;
|
|
7874
|
+
};
|
|
7875
|
+
};
|
|
7876
|
+
} | {
|
|
7877
|
+
eventName: "RateDeviationConfigSet";
|
|
7878
|
+
args: {
|
|
7879
|
+
marketId: number;
|
|
7880
|
+
newRateDeviationConfig: {
|
|
7881
|
+
maxRateDeviationFactorBase1e4: number;
|
|
7882
|
+
closingOrderBoundBase1e4: number;
|
|
7883
|
+
loUpperConstBase1e4: number;
|
|
7884
|
+
loUpperSlopeBase1e4: number;
|
|
7885
|
+
loLowerConstBase1e4: number;
|
|
7886
|
+
loLowerSlopeBase1e4: number;
|
|
7887
|
+
};
|
|
7888
|
+
};
|
|
7167
7889
|
} | {
|
|
7168
7890
|
eventName: "Claimed";
|
|
7169
7891
|
args: {
|
|
@@ -7261,6 +7983,10 @@ export declare class Exchange {
|
|
|
7261
7983
|
from: `0x${string}`;
|
|
7262
7984
|
to: `0x${string}`;
|
|
7263
7985
|
amount: bigint;
|
|
7986
|
+
} | {
|
|
7987
|
+
from: `0x${string}`;
|
|
7988
|
+
to: `0x${string}`;
|
|
7989
|
+
amount: bigint;
|
|
7264
7990
|
};
|
|
7265
7991
|
} | {
|
|
7266
7992
|
eventName: "CollectFee";
|
|
@@ -7273,6 +7999,9 @@ export declare class Exchange {
|
|
|
7273
7999
|
} | {
|
|
7274
8000
|
tokenId: number;
|
|
7275
8001
|
amount: bigint;
|
|
8002
|
+
} | {
|
|
8003
|
+
tokenId: number;
|
|
8004
|
+
amount: bigint;
|
|
7276
8005
|
};
|
|
7277
8006
|
} | {
|
|
7278
8007
|
eventName: "CritHRUpdated";
|
|
@@ -7282,6 +8011,8 @@ export declare class Exchange {
|
|
|
7282
8011
|
newCritHR: bigint;
|
|
7283
8012
|
} | {
|
|
7284
8013
|
newCritHR: bigint;
|
|
8014
|
+
} | {
|
|
8015
|
+
newCritHR: bigint;
|
|
7285
8016
|
};
|
|
7286
8017
|
} | {
|
|
7287
8018
|
eventName: "EnterMarket";
|
|
@@ -7297,6 +8028,10 @@ export declare class Exchange {
|
|
|
7297
8028
|
user: `0x${string}`;
|
|
7298
8029
|
marketId: number;
|
|
7299
8030
|
entranceFee: bigint;
|
|
8031
|
+
} | {
|
|
8032
|
+
user: `0x${string}`;
|
|
8033
|
+
marketId: number;
|
|
8034
|
+
entranceFee: bigint;
|
|
7300
8035
|
};
|
|
7301
8036
|
} | {
|
|
7302
8037
|
eventName: "ExitMarket";
|
|
@@ -7309,6 +8044,9 @@ export declare class Exchange {
|
|
|
7309
8044
|
} | {
|
|
7310
8045
|
user: `0x${string}`;
|
|
7311
8046
|
marketId: number;
|
|
8047
|
+
} | {
|
|
8048
|
+
user: `0x${string}`;
|
|
8049
|
+
marketId: number;
|
|
7312
8050
|
};
|
|
7313
8051
|
} | {
|
|
7314
8052
|
eventName: "GlobalCooldownSet";
|
|
@@ -7318,6 +8056,10 @@ export declare class Exchange {
|
|
|
7318
8056
|
newCooldown: number;
|
|
7319
8057
|
} | {
|
|
7320
8058
|
newCooldown: number;
|
|
8059
|
+
} | {
|
|
8060
|
+
newCooldown: number;
|
|
8061
|
+
} | {
|
|
8062
|
+
newGlobalCooldown: number;
|
|
7321
8063
|
};
|
|
7322
8064
|
} | {
|
|
7323
8065
|
eventName: "MarketAdded";
|
|
@@ -7330,6 +8072,9 @@ export declare class Exchange {
|
|
|
7330
8072
|
} | {
|
|
7331
8073
|
marketId: number;
|
|
7332
8074
|
marketAddress: `0x${string}`;
|
|
8075
|
+
} | {
|
|
8076
|
+
marketId: number;
|
|
8077
|
+
marketAddress: `0x${string}`;
|
|
7333
8078
|
};
|
|
7334
8079
|
} | {
|
|
7335
8080
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -7342,6 +8087,9 @@ export declare class Exchange {
|
|
|
7342
8087
|
} | {
|
|
7343
8088
|
tokenIds: readonly number[];
|
|
7344
8089
|
entranceFees: readonly bigint[];
|
|
8090
|
+
} | {
|
|
8091
|
+
tokenIds: readonly number[];
|
|
8092
|
+
entranceFees: readonly bigint[];
|
|
7345
8093
|
};
|
|
7346
8094
|
} | {
|
|
7347
8095
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -7354,6 +8102,9 @@ export declare class Exchange {
|
|
|
7354
8102
|
} | {
|
|
7355
8103
|
tokenIds: readonly number[];
|
|
7356
8104
|
newMinCash: readonly bigint[];
|
|
8105
|
+
} | {
|
|
8106
|
+
tokenIds: readonly number[];
|
|
8107
|
+
newMinCash: readonly bigint[];
|
|
7357
8108
|
};
|
|
7358
8109
|
} | {
|
|
7359
8110
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -7366,6 +8117,9 @@ export declare class Exchange {
|
|
|
7366
8117
|
} | {
|
|
7367
8118
|
tokenIds: readonly number[];
|
|
7368
8119
|
newMinCash: readonly bigint[];
|
|
8120
|
+
} | {
|
|
8121
|
+
tokenIds: readonly number[];
|
|
8122
|
+
newMinCash: readonly bigint[];
|
|
7369
8123
|
};
|
|
7370
8124
|
} | {
|
|
7371
8125
|
eventName: "PayTreasury";
|
|
@@ -7378,6 +8132,9 @@ export declare class Exchange {
|
|
|
7378
8132
|
} | {
|
|
7379
8133
|
user: `0x${string}`;
|
|
7380
8134
|
amount: bigint;
|
|
8135
|
+
} | {
|
|
8136
|
+
user: `0x${string}`;
|
|
8137
|
+
amount: bigint;
|
|
7381
8138
|
};
|
|
7382
8139
|
} | {
|
|
7383
8140
|
eventName: "PersonalCooldownSet";
|
|
@@ -7390,6 +8147,9 @@ export declare class Exchange {
|
|
|
7390
8147
|
} | {
|
|
7391
8148
|
root: `0x${string}`;
|
|
7392
8149
|
cooldown: number;
|
|
8150
|
+
} | {
|
|
8151
|
+
root: `0x${string}`;
|
|
8152
|
+
cooldown: number;
|
|
7393
8153
|
};
|
|
7394
8154
|
} | {
|
|
7395
8155
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -7399,6 +8159,8 @@ export declare class Exchange {
|
|
|
7399
8159
|
newRiskyThresHR: bigint;
|
|
7400
8160
|
} | {
|
|
7401
8161
|
newRiskyThresHR: bigint;
|
|
8162
|
+
} | {
|
|
8163
|
+
newRiskyThresHR: bigint;
|
|
7402
8164
|
};
|
|
7403
8165
|
} | {
|
|
7404
8166
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -7411,6 +8173,9 @@ export declare class Exchange {
|
|
|
7411
8173
|
} | {
|
|
7412
8174
|
marketId: number;
|
|
7413
8175
|
isEnabled: boolean;
|
|
8176
|
+
} | {
|
|
8177
|
+
marketId: number;
|
|
8178
|
+
isEnabled: boolean;
|
|
7414
8179
|
};
|
|
7415
8180
|
} | {
|
|
7416
8181
|
eventName: "TokenAdded";
|
|
@@ -7423,6 +8188,9 @@ export declare class Exchange {
|
|
|
7423
8188
|
} | {
|
|
7424
8189
|
tokenId: number;
|
|
7425
8190
|
tokenAddress: `0x${string}`;
|
|
8191
|
+
} | {
|
|
8192
|
+
tokenId: number;
|
|
8193
|
+
tokenAddress: `0x${string}`;
|
|
7426
8194
|
};
|
|
7427
8195
|
} | {
|
|
7428
8196
|
eventName: "VaultDeposit";
|
|
@@ -7435,6 +8203,9 @@ export declare class Exchange {
|
|
|
7435
8203
|
} | {
|
|
7436
8204
|
acc: `0x${string}`;
|
|
7437
8205
|
unscaledAmount: bigint;
|
|
8206
|
+
} | {
|
|
8207
|
+
acc: `0x${string}`;
|
|
8208
|
+
unscaledAmount: bigint;
|
|
7438
8209
|
};
|
|
7439
8210
|
} | {
|
|
7440
8211
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -7450,6 +8221,10 @@ export declare class Exchange {
|
|
|
7450
8221
|
root: `0x${string}`;
|
|
7451
8222
|
tokenId: number;
|
|
7452
8223
|
totalUnscaledAmount: bigint;
|
|
8224
|
+
} | {
|
|
8225
|
+
root: `0x${string}`;
|
|
8226
|
+
tokenId: number;
|
|
8227
|
+
totalUnscaledAmount: bigint;
|
|
7453
8228
|
};
|
|
7454
8229
|
} | {
|
|
7455
8230
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -7465,6 +8240,10 @@ export declare class Exchange {
|
|
|
7465
8240
|
root: `0x${string}`;
|
|
7466
8241
|
tokenId: number;
|
|
7467
8242
|
totalUnscaledAmount: bigint;
|
|
8243
|
+
} | {
|
|
8244
|
+
root: `0x${string}`;
|
|
8245
|
+
tokenId: number;
|
|
8246
|
+
totalUnscaledAmount: bigint;
|
|
7468
8247
|
};
|
|
7469
8248
|
} | {
|
|
7470
8249
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -7483,6 +8262,11 @@ export declare class Exchange {
|
|
|
7483
8262
|
tokenId: number;
|
|
7484
8263
|
start: number;
|
|
7485
8264
|
totalUnscaledAmount: bigint;
|
|
8265
|
+
} | {
|
|
8266
|
+
root: `0x${string}`;
|
|
8267
|
+
tokenId: number;
|
|
8268
|
+
start: number;
|
|
8269
|
+
totalUnscaledAmount: bigint;
|
|
7486
8270
|
};
|
|
7487
8271
|
} | {
|
|
7488
8272
|
eventName: "MarketCreated";
|
|
@@ -7604,6 +8388,17 @@ export declare class Exchange {
|
|
|
7604
8388
|
account: `0x${string}`;
|
|
7605
8389
|
agent: `0x${string}`;
|
|
7606
8390
|
};
|
|
8391
|
+
} | {
|
|
8392
|
+
eventName: "AllowedRelayerUpdated";
|
|
8393
|
+
args: {
|
|
8394
|
+
relayer: `0x${string}`;
|
|
8395
|
+
allowed: boolean;
|
|
8396
|
+
};
|
|
8397
|
+
} | {
|
|
8398
|
+
eventName: "ApprovedMarketHubInf";
|
|
8399
|
+
args: {
|
|
8400
|
+
tokenId: number;
|
|
8401
|
+
};
|
|
7607
8402
|
} | {
|
|
7608
8403
|
eventName: "BulkOrdersExecuted";
|
|
7609
8404
|
args: {
|
|
@@ -8612,6 +9407,76 @@ export declare class Exchange {
|
|
|
8612
9407
|
args: {
|
|
8613
9408
|
newTotalSupplyCap: bigint;
|
|
8614
9409
|
};
|
|
9410
|
+
} | {
|
|
9411
|
+
eventName: "CLOThresholdSet";
|
|
9412
|
+
args: {
|
|
9413
|
+
marketId: number;
|
|
9414
|
+
newThreshold: {
|
|
9415
|
+
lowerThres: bigint;
|
|
9416
|
+
upperThres: bigint;
|
|
9417
|
+
};
|
|
9418
|
+
};
|
|
9419
|
+
} | {
|
|
9420
|
+
eventName: "DeleverageThresHRSet";
|
|
9421
|
+
args: {
|
|
9422
|
+
newDeleverageThresHR: bigint;
|
|
9423
|
+
};
|
|
9424
|
+
} | {
|
|
9425
|
+
eventName: "LiquidationExecuted";
|
|
9426
|
+
args: {
|
|
9427
|
+
violator: `0x${string}`;
|
|
9428
|
+
profit: bigint;
|
|
9429
|
+
};
|
|
9430
|
+
} | {
|
|
9431
|
+
eventName: "CancelThresHRSet";
|
|
9432
|
+
args: {
|
|
9433
|
+
newCancelThresHR: bigint;
|
|
9434
|
+
};
|
|
9435
|
+
} | {
|
|
9436
|
+
eventName: "MinTotalMMSet";
|
|
9437
|
+
args: {
|
|
9438
|
+
tokenId: number;
|
|
9439
|
+
newMinTotalMM: bigint;
|
|
9440
|
+
};
|
|
9441
|
+
} | {
|
|
9442
|
+
eventName: "DisallowWithdrawal";
|
|
9443
|
+
args: {
|
|
9444
|
+
user: `0x${string}`;
|
|
9445
|
+
};
|
|
9446
|
+
} | {
|
|
9447
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
9448
|
+
args: {
|
|
9449
|
+
tokenId: number;
|
|
9450
|
+
newThreshold: bigint;
|
|
9451
|
+
};
|
|
9452
|
+
} | {
|
|
9453
|
+
eventName: "ResetPersonalCooldown";
|
|
9454
|
+
args: {
|
|
9455
|
+
user: `0x${string}`;
|
|
9456
|
+
};
|
|
9457
|
+
} | {
|
|
9458
|
+
eventName: "LiqSettingsSet";
|
|
9459
|
+
args: {
|
|
9460
|
+
marketId: number;
|
|
9461
|
+
newLiqSettings: {
|
|
9462
|
+
base: bigint;
|
|
9463
|
+
slope: bigint;
|
|
9464
|
+
feeRate: bigint;
|
|
9465
|
+
};
|
|
9466
|
+
};
|
|
9467
|
+
} | {
|
|
9468
|
+
eventName: "RateDeviationConfigSet";
|
|
9469
|
+
args: {
|
|
9470
|
+
marketId: number;
|
|
9471
|
+
newRateDeviationConfig: {
|
|
9472
|
+
maxRateDeviationFactorBase1e4: number;
|
|
9473
|
+
closingOrderBoundBase1e4: number;
|
|
9474
|
+
loUpperConstBase1e4: number;
|
|
9475
|
+
loUpperSlopeBase1e4: number;
|
|
9476
|
+
loLowerConstBase1e4: number;
|
|
9477
|
+
loLowerSlopeBase1e4: number;
|
|
9478
|
+
};
|
|
9479
|
+
};
|
|
8615
9480
|
} | {
|
|
8616
9481
|
eventName: "Claimed";
|
|
8617
9482
|
args: {
|
|
@@ -8702,6 +9567,10 @@ export declare class Exchange {
|
|
|
8702
9567
|
from: `0x${string}`;
|
|
8703
9568
|
to: `0x${string}`;
|
|
8704
9569
|
amount: bigint;
|
|
9570
|
+
} | {
|
|
9571
|
+
from: `0x${string}`;
|
|
9572
|
+
to: `0x${string}`;
|
|
9573
|
+
amount: bigint;
|
|
8705
9574
|
};
|
|
8706
9575
|
} | {
|
|
8707
9576
|
eventName: "CollectFee";
|
|
@@ -8714,6 +9583,9 @@ export declare class Exchange {
|
|
|
8714
9583
|
} | {
|
|
8715
9584
|
tokenId: number;
|
|
8716
9585
|
amount: bigint;
|
|
9586
|
+
} | {
|
|
9587
|
+
tokenId: number;
|
|
9588
|
+
amount: bigint;
|
|
8717
9589
|
};
|
|
8718
9590
|
} | {
|
|
8719
9591
|
eventName: "CritHRUpdated";
|
|
@@ -8723,6 +9595,8 @@ export declare class Exchange {
|
|
|
8723
9595
|
newCritHR: bigint;
|
|
8724
9596
|
} | {
|
|
8725
9597
|
newCritHR: bigint;
|
|
9598
|
+
} | {
|
|
9599
|
+
newCritHR: bigint;
|
|
8726
9600
|
};
|
|
8727
9601
|
} | {
|
|
8728
9602
|
eventName: "EnterMarket";
|
|
@@ -8738,6 +9612,10 @@ export declare class Exchange {
|
|
|
8738
9612
|
user: `0x${string}`;
|
|
8739
9613
|
marketId: number;
|
|
8740
9614
|
entranceFee: bigint;
|
|
9615
|
+
} | {
|
|
9616
|
+
user: `0x${string}`;
|
|
9617
|
+
marketId: number;
|
|
9618
|
+
entranceFee: bigint;
|
|
8741
9619
|
};
|
|
8742
9620
|
} | {
|
|
8743
9621
|
eventName: "ExitMarket";
|
|
@@ -8750,6 +9628,9 @@ export declare class Exchange {
|
|
|
8750
9628
|
} | {
|
|
8751
9629
|
user: `0x${string}`;
|
|
8752
9630
|
marketId: number;
|
|
9631
|
+
} | {
|
|
9632
|
+
user: `0x${string}`;
|
|
9633
|
+
marketId: number;
|
|
8753
9634
|
};
|
|
8754
9635
|
} | {
|
|
8755
9636
|
eventName: "GlobalCooldownSet";
|
|
@@ -8759,6 +9640,10 @@ export declare class Exchange {
|
|
|
8759
9640
|
newCooldown: number;
|
|
8760
9641
|
} | {
|
|
8761
9642
|
newCooldown: number;
|
|
9643
|
+
} | {
|
|
9644
|
+
newCooldown: number;
|
|
9645
|
+
} | {
|
|
9646
|
+
newGlobalCooldown: number;
|
|
8762
9647
|
};
|
|
8763
9648
|
} | {
|
|
8764
9649
|
eventName: "MarketAdded";
|
|
@@ -8771,6 +9656,9 @@ export declare class Exchange {
|
|
|
8771
9656
|
} | {
|
|
8772
9657
|
marketId: number;
|
|
8773
9658
|
marketAddress: `0x${string}`;
|
|
9659
|
+
} | {
|
|
9660
|
+
marketId: number;
|
|
9661
|
+
marketAddress: `0x${string}`;
|
|
8774
9662
|
};
|
|
8775
9663
|
} | {
|
|
8776
9664
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -8783,6 +9671,9 @@ export declare class Exchange {
|
|
|
8783
9671
|
} | {
|
|
8784
9672
|
tokenIds: readonly number[];
|
|
8785
9673
|
entranceFees: readonly bigint[];
|
|
9674
|
+
} | {
|
|
9675
|
+
tokenIds: readonly number[];
|
|
9676
|
+
entranceFees: readonly bigint[];
|
|
8786
9677
|
};
|
|
8787
9678
|
} | {
|
|
8788
9679
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -8795,6 +9686,9 @@ export declare class Exchange {
|
|
|
8795
9686
|
} | {
|
|
8796
9687
|
tokenIds: readonly number[];
|
|
8797
9688
|
newMinCash: readonly bigint[];
|
|
9689
|
+
} | {
|
|
9690
|
+
tokenIds: readonly number[];
|
|
9691
|
+
newMinCash: readonly bigint[];
|
|
8798
9692
|
};
|
|
8799
9693
|
} | {
|
|
8800
9694
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -8807,6 +9701,9 @@ export declare class Exchange {
|
|
|
8807
9701
|
} | {
|
|
8808
9702
|
tokenIds: readonly number[];
|
|
8809
9703
|
newMinCash: readonly bigint[];
|
|
9704
|
+
} | {
|
|
9705
|
+
tokenIds: readonly number[];
|
|
9706
|
+
newMinCash: readonly bigint[];
|
|
8810
9707
|
};
|
|
8811
9708
|
} | {
|
|
8812
9709
|
eventName: "PayTreasury";
|
|
@@ -8819,6 +9716,9 @@ export declare class Exchange {
|
|
|
8819
9716
|
} | {
|
|
8820
9717
|
user: `0x${string}`;
|
|
8821
9718
|
amount: bigint;
|
|
9719
|
+
} | {
|
|
9720
|
+
user: `0x${string}`;
|
|
9721
|
+
amount: bigint;
|
|
8822
9722
|
};
|
|
8823
9723
|
} | {
|
|
8824
9724
|
eventName: "PersonalCooldownSet";
|
|
@@ -8831,6 +9731,9 @@ export declare class Exchange {
|
|
|
8831
9731
|
} | {
|
|
8832
9732
|
root: `0x${string}`;
|
|
8833
9733
|
cooldown: number;
|
|
9734
|
+
} | {
|
|
9735
|
+
root: `0x${string}`;
|
|
9736
|
+
cooldown: number;
|
|
8834
9737
|
};
|
|
8835
9738
|
} | {
|
|
8836
9739
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -8840,6 +9743,8 @@ export declare class Exchange {
|
|
|
8840
9743
|
newRiskyThresHR: bigint;
|
|
8841
9744
|
} | {
|
|
8842
9745
|
newRiskyThresHR: bigint;
|
|
9746
|
+
} | {
|
|
9747
|
+
newRiskyThresHR: bigint;
|
|
8843
9748
|
};
|
|
8844
9749
|
} | {
|
|
8845
9750
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -8852,6 +9757,9 @@ export declare class Exchange {
|
|
|
8852
9757
|
} | {
|
|
8853
9758
|
marketId: number;
|
|
8854
9759
|
isEnabled: boolean;
|
|
9760
|
+
} | {
|
|
9761
|
+
marketId: number;
|
|
9762
|
+
isEnabled: boolean;
|
|
8855
9763
|
};
|
|
8856
9764
|
} | {
|
|
8857
9765
|
eventName: "TokenAdded";
|
|
@@ -8864,6 +9772,9 @@ export declare class Exchange {
|
|
|
8864
9772
|
} | {
|
|
8865
9773
|
tokenId: number;
|
|
8866
9774
|
tokenAddress: `0x${string}`;
|
|
9775
|
+
} | {
|
|
9776
|
+
tokenId: number;
|
|
9777
|
+
tokenAddress: `0x${string}`;
|
|
8867
9778
|
};
|
|
8868
9779
|
} | {
|
|
8869
9780
|
eventName: "VaultDeposit";
|
|
@@ -8876,6 +9787,9 @@ export declare class Exchange {
|
|
|
8876
9787
|
} | {
|
|
8877
9788
|
acc: `0x${string}`;
|
|
8878
9789
|
unscaledAmount: bigint;
|
|
9790
|
+
} | {
|
|
9791
|
+
acc: `0x${string}`;
|
|
9792
|
+
unscaledAmount: bigint;
|
|
8879
9793
|
};
|
|
8880
9794
|
} | {
|
|
8881
9795
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -8891,6 +9805,10 @@ export declare class Exchange {
|
|
|
8891
9805
|
root: `0x${string}`;
|
|
8892
9806
|
tokenId: number;
|
|
8893
9807
|
totalUnscaledAmount: bigint;
|
|
9808
|
+
} | {
|
|
9809
|
+
root: `0x${string}`;
|
|
9810
|
+
tokenId: number;
|
|
9811
|
+
totalUnscaledAmount: bigint;
|
|
8894
9812
|
};
|
|
8895
9813
|
} | {
|
|
8896
9814
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -8906,6 +9824,10 @@ export declare class Exchange {
|
|
|
8906
9824
|
root: `0x${string}`;
|
|
8907
9825
|
tokenId: number;
|
|
8908
9826
|
totalUnscaledAmount: bigint;
|
|
9827
|
+
} | {
|
|
9828
|
+
root: `0x${string}`;
|
|
9829
|
+
tokenId: number;
|
|
9830
|
+
totalUnscaledAmount: bigint;
|
|
8909
9831
|
};
|
|
8910
9832
|
} | {
|
|
8911
9833
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -8924,6 +9846,11 @@ export declare class Exchange {
|
|
|
8924
9846
|
tokenId: number;
|
|
8925
9847
|
start: number;
|
|
8926
9848
|
totalUnscaledAmount: bigint;
|
|
9849
|
+
} | {
|
|
9850
|
+
root: `0x${string}`;
|
|
9851
|
+
tokenId: number;
|
|
9852
|
+
start: number;
|
|
9853
|
+
totalUnscaledAmount: bigint;
|
|
8927
9854
|
};
|
|
8928
9855
|
} | {
|
|
8929
9856
|
eventName: "MarketCreated";
|
|
@@ -9045,6 +9972,17 @@ export declare class Exchange {
|
|
|
9045
9972
|
account: `0x${string}`;
|
|
9046
9973
|
agent: `0x${string}`;
|
|
9047
9974
|
};
|
|
9975
|
+
} | {
|
|
9976
|
+
eventName: "AllowedRelayerUpdated";
|
|
9977
|
+
args: {
|
|
9978
|
+
relayer: `0x${string}`;
|
|
9979
|
+
allowed: boolean;
|
|
9980
|
+
};
|
|
9981
|
+
} | {
|
|
9982
|
+
eventName: "ApprovedMarketHubInf";
|
|
9983
|
+
args: {
|
|
9984
|
+
tokenId: number;
|
|
9985
|
+
};
|
|
9048
9986
|
} | {
|
|
9049
9987
|
eventName: "BulkOrdersExecuted";
|
|
9050
9988
|
args: {
|
|
@@ -10053,6 +10991,76 @@ export declare class Exchange {
|
|
|
10053
10991
|
args: {
|
|
10054
10992
|
newTotalSupplyCap: bigint;
|
|
10055
10993
|
};
|
|
10994
|
+
} | {
|
|
10995
|
+
eventName: "CLOThresholdSet";
|
|
10996
|
+
args: {
|
|
10997
|
+
marketId: number;
|
|
10998
|
+
newThreshold: {
|
|
10999
|
+
lowerThres: bigint;
|
|
11000
|
+
upperThres: bigint;
|
|
11001
|
+
};
|
|
11002
|
+
};
|
|
11003
|
+
} | {
|
|
11004
|
+
eventName: "DeleverageThresHRSet";
|
|
11005
|
+
args: {
|
|
11006
|
+
newDeleverageThresHR: bigint;
|
|
11007
|
+
};
|
|
11008
|
+
} | {
|
|
11009
|
+
eventName: "LiquidationExecuted";
|
|
11010
|
+
args: {
|
|
11011
|
+
violator: `0x${string}`;
|
|
11012
|
+
profit: bigint;
|
|
11013
|
+
};
|
|
11014
|
+
} | {
|
|
11015
|
+
eventName: "CancelThresHRSet";
|
|
11016
|
+
args: {
|
|
11017
|
+
newCancelThresHR: bigint;
|
|
11018
|
+
};
|
|
11019
|
+
} | {
|
|
11020
|
+
eventName: "MinTotalMMSet";
|
|
11021
|
+
args: {
|
|
11022
|
+
tokenId: number;
|
|
11023
|
+
newMinTotalMM: bigint;
|
|
11024
|
+
};
|
|
11025
|
+
} | {
|
|
11026
|
+
eventName: "DisallowWithdrawal";
|
|
11027
|
+
args: {
|
|
11028
|
+
user: `0x${string}`;
|
|
11029
|
+
};
|
|
11030
|
+
} | {
|
|
11031
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
11032
|
+
args: {
|
|
11033
|
+
tokenId: number;
|
|
11034
|
+
newThreshold: bigint;
|
|
11035
|
+
};
|
|
11036
|
+
} | {
|
|
11037
|
+
eventName: "ResetPersonalCooldown";
|
|
11038
|
+
args: {
|
|
11039
|
+
user: `0x${string}`;
|
|
11040
|
+
};
|
|
11041
|
+
} | {
|
|
11042
|
+
eventName: "LiqSettingsSet";
|
|
11043
|
+
args: {
|
|
11044
|
+
marketId: number;
|
|
11045
|
+
newLiqSettings: {
|
|
11046
|
+
base: bigint;
|
|
11047
|
+
slope: bigint;
|
|
11048
|
+
feeRate: bigint;
|
|
11049
|
+
};
|
|
11050
|
+
};
|
|
11051
|
+
} | {
|
|
11052
|
+
eventName: "RateDeviationConfigSet";
|
|
11053
|
+
args: {
|
|
11054
|
+
marketId: number;
|
|
11055
|
+
newRateDeviationConfig: {
|
|
11056
|
+
maxRateDeviationFactorBase1e4: number;
|
|
11057
|
+
closingOrderBoundBase1e4: number;
|
|
11058
|
+
loUpperConstBase1e4: number;
|
|
11059
|
+
loUpperSlopeBase1e4: number;
|
|
11060
|
+
loLowerConstBase1e4: number;
|
|
11061
|
+
loLowerSlopeBase1e4: number;
|
|
11062
|
+
};
|
|
11063
|
+
};
|
|
10056
11064
|
} | {
|
|
10057
11065
|
eventName: "Claimed";
|
|
10058
11066
|
args: {
|
|
@@ -10134,6 +11142,10 @@ export declare class Exchange {
|
|
|
10134
11142
|
from: `0x${string}`;
|
|
10135
11143
|
to: `0x${string}`;
|
|
10136
11144
|
amount: bigint;
|
|
11145
|
+
} | {
|
|
11146
|
+
from: `0x${string}`;
|
|
11147
|
+
to: `0x${string}`;
|
|
11148
|
+
amount: bigint;
|
|
10137
11149
|
};
|
|
10138
11150
|
} | {
|
|
10139
11151
|
eventName: "CollectFee";
|
|
@@ -10146,6 +11158,9 @@ export declare class Exchange {
|
|
|
10146
11158
|
} | {
|
|
10147
11159
|
tokenId: number;
|
|
10148
11160
|
amount: bigint;
|
|
11161
|
+
} | {
|
|
11162
|
+
tokenId: number;
|
|
11163
|
+
amount: bigint;
|
|
10149
11164
|
};
|
|
10150
11165
|
} | {
|
|
10151
11166
|
eventName: "CritHRUpdated";
|
|
@@ -10155,6 +11170,8 @@ export declare class Exchange {
|
|
|
10155
11170
|
newCritHR: bigint;
|
|
10156
11171
|
} | {
|
|
10157
11172
|
newCritHR: bigint;
|
|
11173
|
+
} | {
|
|
11174
|
+
newCritHR: bigint;
|
|
10158
11175
|
};
|
|
10159
11176
|
} | {
|
|
10160
11177
|
eventName: "EnterMarket";
|
|
@@ -10170,6 +11187,10 @@ export declare class Exchange {
|
|
|
10170
11187
|
user: `0x${string}`;
|
|
10171
11188
|
marketId: number;
|
|
10172
11189
|
entranceFee: bigint;
|
|
11190
|
+
} | {
|
|
11191
|
+
user: `0x${string}`;
|
|
11192
|
+
marketId: number;
|
|
11193
|
+
entranceFee: bigint;
|
|
10173
11194
|
};
|
|
10174
11195
|
} | {
|
|
10175
11196
|
eventName: "ExitMarket";
|
|
@@ -10182,6 +11203,9 @@ export declare class Exchange {
|
|
|
10182
11203
|
} | {
|
|
10183
11204
|
user: `0x${string}`;
|
|
10184
11205
|
marketId: number;
|
|
11206
|
+
} | {
|
|
11207
|
+
user: `0x${string}`;
|
|
11208
|
+
marketId: number;
|
|
10185
11209
|
};
|
|
10186
11210
|
} | {
|
|
10187
11211
|
eventName: "GlobalCooldownSet";
|
|
@@ -10191,6 +11215,10 @@ export declare class Exchange {
|
|
|
10191
11215
|
newCooldown: number;
|
|
10192
11216
|
} | {
|
|
10193
11217
|
newCooldown: number;
|
|
11218
|
+
} | {
|
|
11219
|
+
newCooldown: number;
|
|
11220
|
+
} | {
|
|
11221
|
+
newGlobalCooldown: number;
|
|
10194
11222
|
};
|
|
10195
11223
|
} | {
|
|
10196
11224
|
eventName: "MarketAdded";
|
|
@@ -10203,6 +11231,9 @@ export declare class Exchange {
|
|
|
10203
11231
|
} | {
|
|
10204
11232
|
marketId: number;
|
|
10205
11233
|
marketAddress: `0x${string}`;
|
|
11234
|
+
} | {
|
|
11235
|
+
marketId: number;
|
|
11236
|
+
marketAddress: `0x${string}`;
|
|
10206
11237
|
};
|
|
10207
11238
|
} | {
|
|
10208
11239
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -10215,6 +11246,9 @@ export declare class Exchange {
|
|
|
10215
11246
|
} | {
|
|
10216
11247
|
tokenIds: readonly number[];
|
|
10217
11248
|
entranceFees: readonly bigint[];
|
|
11249
|
+
} | {
|
|
11250
|
+
tokenIds: readonly number[];
|
|
11251
|
+
entranceFees: readonly bigint[];
|
|
10218
11252
|
};
|
|
10219
11253
|
} | {
|
|
10220
11254
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -10227,6 +11261,9 @@ export declare class Exchange {
|
|
|
10227
11261
|
} | {
|
|
10228
11262
|
tokenIds: readonly number[];
|
|
10229
11263
|
newMinCash: readonly bigint[];
|
|
11264
|
+
} | {
|
|
11265
|
+
tokenIds: readonly number[];
|
|
11266
|
+
newMinCash: readonly bigint[];
|
|
10230
11267
|
};
|
|
10231
11268
|
} | {
|
|
10232
11269
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -10239,6 +11276,9 @@ export declare class Exchange {
|
|
|
10239
11276
|
} | {
|
|
10240
11277
|
tokenIds: readonly number[];
|
|
10241
11278
|
newMinCash: readonly bigint[];
|
|
11279
|
+
} | {
|
|
11280
|
+
tokenIds: readonly number[];
|
|
11281
|
+
newMinCash: readonly bigint[];
|
|
10242
11282
|
};
|
|
10243
11283
|
} | {
|
|
10244
11284
|
eventName: "PayTreasury";
|
|
@@ -10251,6 +11291,9 @@ export declare class Exchange {
|
|
|
10251
11291
|
} | {
|
|
10252
11292
|
user: `0x${string}`;
|
|
10253
11293
|
amount: bigint;
|
|
11294
|
+
} | {
|
|
11295
|
+
user: `0x${string}`;
|
|
11296
|
+
amount: bigint;
|
|
10254
11297
|
};
|
|
10255
11298
|
} | {
|
|
10256
11299
|
eventName: "PersonalCooldownSet";
|
|
@@ -10263,6 +11306,9 @@ export declare class Exchange {
|
|
|
10263
11306
|
} | {
|
|
10264
11307
|
root: `0x${string}`;
|
|
10265
11308
|
cooldown: number;
|
|
11309
|
+
} | {
|
|
11310
|
+
root: `0x${string}`;
|
|
11311
|
+
cooldown: number;
|
|
10266
11312
|
};
|
|
10267
11313
|
} | {
|
|
10268
11314
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -10272,6 +11318,8 @@ export declare class Exchange {
|
|
|
10272
11318
|
newRiskyThresHR: bigint;
|
|
10273
11319
|
} | {
|
|
10274
11320
|
newRiskyThresHR: bigint;
|
|
11321
|
+
} | {
|
|
11322
|
+
newRiskyThresHR: bigint;
|
|
10275
11323
|
};
|
|
10276
11324
|
} | {
|
|
10277
11325
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -10284,6 +11332,9 @@ export declare class Exchange {
|
|
|
10284
11332
|
} | {
|
|
10285
11333
|
marketId: number;
|
|
10286
11334
|
isEnabled: boolean;
|
|
11335
|
+
} | {
|
|
11336
|
+
marketId: number;
|
|
11337
|
+
isEnabled: boolean;
|
|
10287
11338
|
};
|
|
10288
11339
|
} | {
|
|
10289
11340
|
eventName: "TokenAdded";
|
|
@@ -10296,6 +11347,9 @@ export declare class Exchange {
|
|
|
10296
11347
|
} | {
|
|
10297
11348
|
tokenId: number;
|
|
10298
11349
|
tokenAddress: `0x${string}`;
|
|
11350
|
+
} | {
|
|
11351
|
+
tokenId: number;
|
|
11352
|
+
tokenAddress: `0x${string}`;
|
|
10299
11353
|
};
|
|
10300
11354
|
} | {
|
|
10301
11355
|
eventName: "VaultDeposit";
|
|
@@ -10308,6 +11362,9 @@ export declare class Exchange {
|
|
|
10308
11362
|
} | {
|
|
10309
11363
|
acc: `0x${string}`;
|
|
10310
11364
|
unscaledAmount: bigint;
|
|
11365
|
+
} | {
|
|
11366
|
+
acc: `0x${string}`;
|
|
11367
|
+
unscaledAmount: bigint;
|
|
10311
11368
|
};
|
|
10312
11369
|
} | {
|
|
10313
11370
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -10323,6 +11380,10 @@ export declare class Exchange {
|
|
|
10323
11380
|
root: `0x${string}`;
|
|
10324
11381
|
tokenId: number;
|
|
10325
11382
|
totalUnscaledAmount: bigint;
|
|
11383
|
+
} | {
|
|
11384
|
+
root: `0x${string}`;
|
|
11385
|
+
tokenId: number;
|
|
11386
|
+
totalUnscaledAmount: bigint;
|
|
10326
11387
|
};
|
|
10327
11388
|
} | {
|
|
10328
11389
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -10338,6 +11399,10 @@ export declare class Exchange {
|
|
|
10338
11399
|
root: `0x${string}`;
|
|
10339
11400
|
tokenId: number;
|
|
10340
11401
|
totalUnscaledAmount: bigint;
|
|
11402
|
+
} | {
|
|
11403
|
+
root: `0x${string}`;
|
|
11404
|
+
tokenId: number;
|
|
11405
|
+
totalUnscaledAmount: bigint;
|
|
10341
11406
|
};
|
|
10342
11407
|
} | {
|
|
10343
11408
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -10356,6 +11421,11 @@ export declare class Exchange {
|
|
|
10356
11421
|
tokenId: number;
|
|
10357
11422
|
start: number;
|
|
10358
11423
|
totalUnscaledAmount: bigint;
|
|
11424
|
+
} | {
|
|
11425
|
+
root: `0x${string}`;
|
|
11426
|
+
tokenId: number;
|
|
11427
|
+
start: number;
|
|
11428
|
+
totalUnscaledAmount: bigint;
|
|
10359
11429
|
};
|
|
10360
11430
|
} | {
|
|
10361
11431
|
eventName: "MarketCreated";
|
|
@@ -10477,6 +11547,17 @@ export declare class Exchange {
|
|
|
10477
11547
|
account: `0x${string}`;
|
|
10478
11548
|
agent: `0x${string}`;
|
|
10479
11549
|
};
|
|
11550
|
+
} | {
|
|
11551
|
+
eventName: "AllowedRelayerUpdated";
|
|
11552
|
+
args: {
|
|
11553
|
+
relayer: `0x${string}`;
|
|
11554
|
+
allowed: boolean;
|
|
11555
|
+
};
|
|
11556
|
+
} | {
|
|
11557
|
+
eventName: "ApprovedMarketHubInf";
|
|
11558
|
+
args: {
|
|
11559
|
+
tokenId: number;
|
|
11560
|
+
};
|
|
10480
11561
|
} | {
|
|
10481
11562
|
eventName: "BulkOrdersExecuted";
|
|
10482
11563
|
args: {
|
|
@@ -11485,6 +12566,76 @@ export declare class Exchange {
|
|
|
11485
12566
|
args: {
|
|
11486
12567
|
newTotalSupplyCap: bigint;
|
|
11487
12568
|
};
|
|
12569
|
+
} | {
|
|
12570
|
+
eventName: "CLOThresholdSet";
|
|
12571
|
+
args: {
|
|
12572
|
+
marketId: number;
|
|
12573
|
+
newThreshold: {
|
|
12574
|
+
lowerThres: bigint;
|
|
12575
|
+
upperThres: bigint;
|
|
12576
|
+
};
|
|
12577
|
+
};
|
|
12578
|
+
} | {
|
|
12579
|
+
eventName: "DeleverageThresHRSet";
|
|
12580
|
+
args: {
|
|
12581
|
+
newDeleverageThresHR: bigint;
|
|
12582
|
+
};
|
|
12583
|
+
} | {
|
|
12584
|
+
eventName: "LiquidationExecuted";
|
|
12585
|
+
args: {
|
|
12586
|
+
violator: `0x${string}`;
|
|
12587
|
+
profit: bigint;
|
|
12588
|
+
};
|
|
12589
|
+
} | {
|
|
12590
|
+
eventName: "CancelThresHRSet";
|
|
12591
|
+
args: {
|
|
12592
|
+
newCancelThresHR: bigint;
|
|
12593
|
+
};
|
|
12594
|
+
} | {
|
|
12595
|
+
eventName: "MinTotalMMSet";
|
|
12596
|
+
args: {
|
|
12597
|
+
tokenId: number;
|
|
12598
|
+
newMinTotalMM: bigint;
|
|
12599
|
+
};
|
|
12600
|
+
} | {
|
|
12601
|
+
eventName: "DisallowWithdrawal";
|
|
12602
|
+
args: {
|
|
12603
|
+
user: `0x${string}`;
|
|
12604
|
+
};
|
|
12605
|
+
} | {
|
|
12606
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
12607
|
+
args: {
|
|
12608
|
+
tokenId: number;
|
|
12609
|
+
newThreshold: bigint;
|
|
12610
|
+
};
|
|
12611
|
+
} | {
|
|
12612
|
+
eventName: "ResetPersonalCooldown";
|
|
12613
|
+
args: {
|
|
12614
|
+
user: `0x${string}`;
|
|
12615
|
+
};
|
|
12616
|
+
} | {
|
|
12617
|
+
eventName: "LiqSettingsSet";
|
|
12618
|
+
args: {
|
|
12619
|
+
marketId: number;
|
|
12620
|
+
newLiqSettings: {
|
|
12621
|
+
base: bigint;
|
|
12622
|
+
slope: bigint;
|
|
12623
|
+
feeRate: bigint;
|
|
12624
|
+
};
|
|
12625
|
+
};
|
|
12626
|
+
} | {
|
|
12627
|
+
eventName: "RateDeviationConfigSet";
|
|
12628
|
+
args: {
|
|
12629
|
+
marketId: number;
|
|
12630
|
+
newRateDeviationConfig: {
|
|
12631
|
+
maxRateDeviationFactorBase1e4: number;
|
|
12632
|
+
closingOrderBoundBase1e4: number;
|
|
12633
|
+
loUpperConstBase1e4: number;
|
|
12634
|
+
loUpperSlopeBase1e4: number;
|
|
12635
|
+
loLowerConstBase1e4: number;
|
|
12636
|
+
loLowerSlopeBase1e4: number;
|
|
12637
|
+
};
|
|
12638
|
+
};
|
|
11488
12639
|
} | {
|
|
11489
12640
|
eventName: "Claimed";
|
|
11490
12641
|
args: {
|
|
@@ -11562,6 +12713,10 @@ export declare class Exchange {
|
|
|
11562
12713
|
from: `0x${string}`;
|
|
11563
12714
|
to: `0x${string}`;
|
|
11564
12715
|
amount: bigint;
|
|
12716
|
+
} | {
|
|
12717
|
+
from: `0x${string}`;
|
|
12718
|
+
to: `0x${string}`;
|
|
12719
|
+
amount: bigint;
|
|
11565
12720
|
};
|
|
11566
12721
|
} | {
|
|
11567
12722
|
eventName: "CollectFee";
|
|
@@ -11574,6 +12729,9 @@ export declare class Exchange {
|
|
|
11574
12729
|
} | {
|
|
11575
12730
|
tokenId: number;
|
|
11576
12731
|
amount: bigint;
|
|
12732
|
+
} | {
|
|
12733
|
+
tokenId: number;
|
|
12734
|
+
amount: bigint;
|
|
11577
12735
|
};
|
|
11578
12736
|
} | {
|
|
11579
12737
|
eventName: "CritHRUpdated";
|
|
@@ -11583,6 +12741,8 @@ export declare class Exchange {
|
|
|
11583
12741
|
newCritHR: bigint;
|
|
11584
12742
|
} | {
|
|
11585
12743
|
newCritHR: bigint;
|
|
12744
|
+
} | {
|
|
12745
|
+
newCritHR: bigint;
|
|
11586
12746
|
};
|
|
11587
12747
|
} | {
|
|
11588
12748
|
eventName: "EnterMarket";
|
|
@@ -11598,6 +12758,10 @@ export declare class Exchange {
|
|
|
11598
12758
|
user: `0x${string}`;
|
|
11599
12759
|
marketId: number;
|
|
11600
12760
|
entranceFee: bigint;
|
|
12761
|
+
} | {
|
|
12762
|
+
user: `0x${string}`;
|
|
12763
|
+
marketId: number;
|
|
12764
|
+
entranceFee: bigint;
|
|
11601
12765
|
};
|
|
11602
12766
|
} | {
|
|
11603
12767
|
eventName: "ExitMarket";
|
|
@@ -11610,6 +12774,9 @@ export declare class Exchange {
|
|
|
11610
12774
|
} | {
|
|
11611
12775
|
user: `0x${string}`;
|
|
11612
12776
|
marketId: number;
|
|
12777
|
+
} | {
|
|
12778
|
+
user: `0x${string}`;
|
|
12779
|
+
marketId: number;
|
|
11613
12780
|
};
|
|
11614
12781
|
} | {
|
|
11615
12782
|
eventName: "GlobalCooldownSet";
|
|
@@ -11619,6 +12786,10 @@ export declare class Exchange {
|
|
|
11619
12786
|
newCooldown: number;
|
|
11620
12787
|
} | {
|
|
11621
12788
|
newCooldown: number;
|
|
12789
|
+
} | {
|
|
12790
|
+
newCooldown: number;
|
|
12791
|
+
} | {
|
|
12792
|
+
newGlobalCooldown: number;
|
|
11622
12793
|
};
|
|
11623
12794
|
} | {
|
|
11624
12795
|
eventName: "MarketAdded";
|
|
@@ -11631,6 +12802,9 @@ export declare class Exchange {
|
|
|
11631
12802
|
} | {
|
|
11632
12803
|
marketId: number;
|
|
11633
12804
|
marketAddress: `0x${string}`;
|
|
12805
|
+
} | {
|
|
12806
|
+
marketId: number;
|
|
12807
|
+
marketAddress: `0x${string}`;
|
|
11634
12808
|
};
|
|
11635
12809
|
} | {
|
|
11636
12810
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -11643,6 +12817,9 @@ export declare class Exchange {
|
|
|
11643
12817
|
} | {
|
|
11644
12818
|
tokenIds: readonly number[];
|
|
11645
12819
|
entranceFees: readonly bigint[];
|
|
12820
|
+
} | {
|
|
12821
|
+
tokenIds: readonly number[];
|
|
12822
|
+
entranceFees: readonly bigint[];
|
|
11646
12823
|
};
|
|
11647
12824
|
} | {
|
|
11648
12825
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -11655,6 +12832,9 @@ export declare class Exchange {
|
|
|
11655
12832
|
} | {
|
|
11656
12833
|
tokenIds: readonly number[];
|
|
11657
12834
|
newMinCash: readonly bigint[];
|
|
12835
|
+
} | {
|
|
12836
|
+
tokenIds: readonly number[];
|
|
12837
|
+
newMinCash: readonly bigint[];
|
|
11658
12838
|
};
|
|
11659
12839
|
} | {
|
|
11660
12840
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -11667,6 +12847,9 @@ export declare class Exchange {
|
|
|
11667
12847
|
} | {
|
|
11668
12848
|
tokenIds: readonly number[];
|
|
11669
12849
|
newMinCash: readonly bigint[];
|
|
12850
|
+
} | {
|
|
12851
|
+
tokenIds: readonly number[];
|
|
12852
|
+
newMinCash: readonly bigint[];
|
|
11670
12853
|
};
|
|
11671
12854
|
} | {
|
|
11672
12855
|
eventName: "PayTreasury";
|
|
@@ -11679,6 +12862,9 @@ export declare class Exchange {
|
|
|
11679
12862
|
} | {
|
|
11680
12863
|
user: `0x${string}`;
|
|
11681
12864
|
amount: bigint;
|
|
12865
|
+
} | {
|
|
12866
|
+
user: `0x${string}`;
|
|
12867
|
+
amount: bigint;
|
|
11682
12868
|
};
|
|
11683
12869
|
} | {
|
|
11684
12870
|
eventName: "PersonalCooldownSet";
|
|
@@ -11691,6 +12877,9 @@ export declare class Exchange {
|
|
|
11691
12877
|
} | {
|
|
11692
12878
|
root: `0x${string}`;
|
|
11693
12879
|
cooldown: number;
|
|
12880
|
+
} | {
|
|
12881
|
+
root: `0x${string}`;
|
|
12882
|
+
cooldown: number;
|
|
11694
12883
|
};
|
|
11695
12884
|
} | {
|
|
11696
12885
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -11700,6 +12889,8 @@ export declare class Exchange {
|
|
|
11700
12889
|
newRiskyThresHR: bigint;
|
|
11701
12890
|
} | {
|
|
11702
12891
|
newRiskyThresHR: bigint;
|
|
12892
|
+
} | {
|
|
12893
|
+
newRiskyThresHR: bigint;
|
|
11703
12894
|
};
|
|
11704
12895
|
} | {
|
|
11705
12896
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -11712,6 +12903,9 @@ export declare class Exchange {
|
|
|
11712
12903
|
} | {
|
|
11713
12904
|
marketId: number;
|
|
11714
12905
|
isEnabled: boolean;
|
|
12906
|
+
} | {
|
|
12907
|
+
marketId: number;
|
|
12908
|
+
isEnabled: boolean;
|
|
11715
12909
|
};
|
|
11716
12910
|
} | {
|
|
11717
12911
|
eventName: "TokenAdded";
|
|
@@ -11724,6 +12918,9 @@ export declare class Exchange {
|
|
|
11724
12918
|
} | {
|
|
11725
12919
|
tokenId: number;
|
|
11726
12920
|
tokenAddress: `0x${string}`;
|
|
12921
|
+
} | {
|
|
12922
|
+
tokenId: number;
|
|
12923
|
+
tokenAddress: `0x${string}`;
|
|
11727
12924
|
};
|
|
11728
12925
|
} | {
|
|
11729
12926
|
eventName: "VaultDeposit";
|
|
@@ -11736,6 +12933,9 @@ export declare class Exchange {
|
|
|
11736
12933
|
} | {
|
|
11737
12934
|
acc: `0x${string}`;
|
|
11738
12935
|
unscaledAmount: bigint;
|
|
12936
|
+
} | {
|
|
12937
|
+
acc: `0x${string}`;
|
|
12938
|
+
unscaledAmount: bigint;
|
|
11739
12939
|
};
|
|
11740
12940
|
} | {
|
|
11741
12941
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -11751,6 +12951,10 @@ export declare class Exchange {
|
|
|
11751
12951
|
root: `0x${string}`;
|
|
11752
12952
|
tokenId: number;
|
|
11753
12953
|
totalUnscaledAmount: bigint;
|
|
12954
|
+
} | {
|
|
12955
|
+
root: `0x${string}`;
|
|
12956
|
+
tokenId: number;
|
|
12957
|
+
totalUnscaledAmount: bigint;
|
|
11754
12958
|
};
|
|
11755
12959
|
} | {
|
|
11756
12960
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -11766,6 +12970,10 @@ export declare class Exchange {
|
|
|
11766
12970
|
root: `0x${string}`;
|
|
11767
12971
|
tokenId: number;
|
|
11768
12972
|
totalUnscaledAmount: bigint;
|
|
12973
|
+
} | {
|
|
12974
|
+
root: `0x${string}`;
|
|
12975
|
+
tokenId: number;
|
|
12976
|
+
totalUnscaledAmount: bigint;
|
|
11769
12977
|
};
|
|
11770
12978
|
} | {
|
|
11771
12979
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -11784,6 +12992,11 @@ export declare class Exchange {
|
|
|
11784
12992
|
tokenId: number;
|
|
11785
12993
|
start: number;
|
|
11786
12994
|
totalUnscaledAmount: bigint;
|
|
12995
|
+
} | {
|
|
12996
|
+
root: `0x${string}`;
|
|
12997
|
+
tokenId: number;
|
|
12998
|
+
start: number;
|
|
12999
|
+
totalUnscaledAmount: bigint;
|
|
11787
13000
|
};
|
|
11788
13001
|
} | {
|
|
11789
13002
|
eventName: "MarketCreated";
|
|
@@ -11905,6 +13118,17 @@ export declare class Exchange {
|
|
|
11905
13118
|
account: `0x${string}`;
|
|
11906
13119
|
agent: `0x${string}`;
|
|
11907
13120
|
};
|
|
13121
|
+
} | {
|
|
13122
|
+
eventName: "AllowedRelayerUpdated";
|
|
13123
|
+
args: {
|
|
13124
|
+
relayer: `0x${string}`;
|
|
13125
|
+
allowed: boolean;
|
|
13126
|
+
};
|
|
13127
|
+
} | {
|
|
13128
|
+
eventName: "ApprovedMarketHubInf";
|
|
13129
|
+
args: {
|
|
13130
|
+
tokenId: number;
|
|
13131
|
+
};
|
|
11908
13132
|
} | {
|
|
11909
13133
|
eventName: "BulkOrdersExecuted";
|
|
11910
13134
|
args: {
|
|
@@ -12913,6 +14137,76 @@ export declare class Exchange {
|
|
|
12913
14137
|
args: {
|
|
12914
14138
|
newTotalSupplyCap: bigint;
|
|
12915
14139
|
};
|
|
14140
|
+
} | {
|
|
14141
|
+
eventName: "CLOThresholdSet";
|
|
14142
|
+
args: {
|
|
14143
|
+
marketId: number;
|
|
14144
|
+
newThreshold: {
|
|
14145
|
+
lowerThres: bigint;
|
|
14146
|
+
upperThres: bigint;
|
|
14147
|
+
};
|
|
14148
|
+
};
|
|
14149
|
+
} | {
|
|
14150
|
+
eventName: "DeleverageThresHRSet";
|
|
14151
|
+
args: {
|
|
14152
|
+
newDeleverageThresHR: bigint;
|
|
14153
|
+
};
|
|
14154
|
+
} | {
|
|
14155
|
+
eventName: "LiquidationExecuted";
|
|
14156
|
+
args: {
|
|
14157
|
+
violator: `0x${string}`;
|
|
14158
|
+
profit: bigint;
|
|
14159
|
+
};
|
|
14160
|
+
} | {
|
|
14161
|
+
eventName: "CancelThresHRSet";
|
|
14162
|
+
args: {
|
|
14163
|
+
newCancelThresHR: bigint;
|
|
14164
|
+
};
|
|
14165
|
+
} | {
|
|
14166
|
+
eventName: "MinTotalMMSet";
|
|
14167
|
+
args: {
|
|
14168
|
+
tokenId: number;
|
|
14169
|
+
newMinTotalMM: bigint;
|
|
14170
|
+
};
|
|
14171
|
+
} | {
|
|
14172
|
+
eventName: "DisallowWithdrawal";
|
|
14173
|
+
args: {
|
|
14174
|
+
user: `0x${string}`;
|
|
14175
|
+
};
|
|
14176
|
+
} | {
|
|
14177
|
+
eventName: "LargeWithdrawalUnscaledThresholdSet";
|
|
14178
|
+
args: {
|
|
14179
|
+
tokenId: number;
|
|
14180
|
+
newThreshold: bigint;
|
|
14181
|
+
};
|
|
14182
|
+
} | {
|
|
14183
|
+
eventName: "ResetPersonalCooldown";
|
|
14184
|
+
args: {
|
|
14185
|
+
user: `0x${string}`;
|
|
14186
|
+
};
|
|
14187
|
+
} | {
|
|
14188
|
+
eventName: "LiqSettingsSet";
|
|
14189
|
+
args: {
|
|
14190
|
+
marketId: number;
|
|
14191
|
+
newLiqSettings: {
|
|
14192
|
+
base: bigint;
|
|
14193
|
+
slope: bigint;
|
|
14194
|
+
feeRate: bigint;
|
|
14195
|
+
};
|
|
14196
|
+
};
|
|
14197
|
+
} | {
|
|
14198
|
+
eventName: "RateDeviationConfigSet";
|
|
14199
|
+
args: {
|
|
14200
|
+
marketId: number;
|
|
14201
|
+
newRateDeviationConfig: {
|
|
14202
|
+
maxRateDeviationFactorBase1e4: number;
|
|
14203
|
+
closingOrderBoundBase1e4: number;
|
|
14204
|
+
loUpperConstBase1e4: number;
|
|
14205
|
+
loUpperSlopeBase1e4: number;
|
|
14206
|
+
loLowerConstBase1e4: number;
|
|
14207
|
+
loLowerSlopeBase1e4: number;
|
|
14208
|
+
};
|
|
14209
|
+
};
|
|
12916
14210
|
} | {
|
|
12917
14211
|
eventName: "Claimed";
|
|
12918
14212
|
args: {
|