@pendle/sdk-boros 0.3.55 → 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 +1290 -3
- package/dist/entities/exchange/exchange.js +0 -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: {
|
|
@@ -5820,6 +6392,10 @@ export declare class Exchange {
|
|
|
5820
6392
|
from: `0x${string}`;
|
|
5821
6393
|
to: `0x${string}`;
|
|
5822
6394
|
amount: bigint;
|
|
6395
|
+
} | {
|
|
6396
|
+
from: `0x${string}`;
|
|
6397
|
+
to: `0x${string}`;
|
|
6398
|
+
amount: bigint;
|
|
5823
6399
|
};
|
|
5824
6400
|
} | {
|
|
5825
6401
|
eventName: "CollectFee";
|
|
@@ -5832,6 +6408,9 @@ export declare class Exchange {
|
|
|
5832
6408
|
} | {
|
|
5833
6409
|
tokenId: number;
|
|
5834
6410
|
amount: bigint;
|
|
6411
|
+
} | {
|
|
6412
|
+
tokenId: number;
|
|
6413
|
+
amount: bigint;
|
|
5835
6414
|
};
|
|
5836
6415
|
} | {
|
|
5837
6416
|
eventName: "CritHRUpdated";
|
|
@@ -5841,6 +6420,8 @@ export declare class Exchange {
|
|
|
5841
6420
|
newCritHR: bigint;
|
|
5842
6421
|
} | {
|
|
5843
6422
|
newCritHR: bigint;
|
|
6423
|
+
} | {
|
|
6424
|
+
newCritHR: bigint;
|
|
5844
6425
|
};
|
|
5845
6426
|
} | {
|
|
5846
6427
|
eventName: "EnterMarket";
|
|
@@ -5856,6 +6437,10 @@ export declare class Exchange {
|
|
|
5856
6437
|
user: `0x${string}`;
|
|
5857
6438
|
marketId: number;
|
|
5858
6439
|
entranceFee: bigint;
|
|
6440
|
+
} | {
|
|
6441
|
+
user: `0x${string}`;
|
|
6442
|
+
marketId: number;
|
|
6443
|
+
entranceFee: bigint;
|
|
5859
6444
|
};
|
|
5860
6445
|
} | {
|
|
5861
6446
|
eventName: "ExitMarket";
|
|
@@ -5868,6 +6453,9 @@ export declare class Exchange {
|
|
|
5868
6453
|
} | {
|
|
5869
6454
|
user: `0x${string}`;
|
|
5870
6455
|
marketId: number;
|
|
6456
|
+
} | {
|
|
6457
|
+
user: `0x${string}`;
|
|
6458
|
+
marketId: number;
|
|
5871
6459
|
};
|
|
5872
6460
|
} | {
|
|
5873
6461
|
eventName: "GlobalCooldownSet";
|
|
@@ -5877,6 +6465,10 @@ export declare class Exchange {
|
|
|
5877
6465
|
newCooldown: number;
|
|
5878
6466
|
} | {
|
|
5879
6467
|
newCooldown: number;
|
|
6468
|
+
} | {
|
|
6469
|
+
newCooldown: number;
|
|
6470
|
+
} | {
|
|
6471
|
+
newGlobalCooldown: number;
|
|
5880
6472
|
};
|
|
5881
6473
|
} | {
|
|
5882
6474
|
eventName: "MarketAdded";
|
|
@@ -5889,6 +6481,9 @@ export declare class Exchange {
|
|
|
5889
6481
|
} | {
|
|
5890
6482
|
marketId: number;
|
|
5891
6483
|
marketAddress: `0x${string}`;
|
|
6484
|
+
} | {
|
|
6485
|
+
marketId: number;
|
|
6486
|
+
marketAddress: `0x${string}`;
|
|
5892
6487
|
};
|
|
5893
6488
|
} | {
|
|
5894
6489
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -5901,6 +6496,9 @@ export declare class Exchange {
|
|
|
5901
6496
|
} | {
|
|
5902
6497
|
tokenIds: readonly number[];
|
|
5903
6498
|
entranceFees: readonly bigint[];
|
|
6499
|
+
} | {
|
|
6500
|
+
tokenIds: readonly number[];
|
|
6501
|
+
entranceFees: readonly bigint[];
|
|
5904
6502
|
};
|
|
5905
6503
|
} | {
|
|
5906
6504
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -5913,6 +6511,9 @@ export declare class Exchange {
|
|
|
5913
6511
|
} | {
|
|
5914
6512
|
tokenIds: readonly number[];
|
|
5915
6513
|
newMinCash: readonly bigint[];
|
|
6514
|
+
} | {
|
|
6515
|
+
tokenIds: readonly number[];
|
|
6516
|
+
newMinCash: readonly bigint[];
|
|
5916
6517
|
};
|
|
5917
6518
|
} | {
|
|
5918
6519
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -5925,6 +6526,9 @@ export declare class Exchange {
|
|
|
5925
6526
|
} | {
|
|
5926
6527
|
tokenIds: readonly number[];
|
|
5927
6528
|
newMinCash: readonly bigint[];
|
|
6529
|
+
} | {
|
|
6530
|
+
tokenIds: readonly number[];
|
|
6531
|
+
newMinCash: readonly bigint[];
|
|
5928
6532
|
};
|
|
5929
6533
|
} | {
|
|
5930
6534
|
eventName: "PayTreasury";
|
|
@@ -5937,7 +6541,10 @@ export declare class Exchange {
|
|
|
5937
6541
|
} | {
|
|
5938
6542
|
user: `0x${string}`;
|
|
5939
6543
|
amount: bigint;
|
|
5940
|
-
}
|
|
6544
|
+
} | {
|
|
6545
|
+
user: `0x${string}`;
|
|
6546
|
+
amount: bigint;
|
|
6547
|
+
};
|
|
5941
6548
|
} | {
|
|
5942
6549
|
eventName: "PersonalCooldownSet";
|
|
5943
6550
|
args: {
|
|
@@ -5949,6 +6556,9 @@ export declare class Exchange {
|
|
|
5949
6556
|
} | {
|
|
5950
6557
|
root: `0x${string}`;
|
|
5951
6558
|
cooldown: number;
|
|
6559
|
+
} | {
|
|
6560
|
+
root: `0x${string}`;
|
|
6561
|
+
cooldown: number;
|
|
5952
6562
|
};
|
|
5953
6563
|
} | {
|
|
5954
6564
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -5958,6 +6568,8 @@ export declare class Exchange {
|
|
|
5958
6568
|
newRiskyThresHR: bigint;
|
|
5959
6569
|
} | {
|
|
5960
6570
|
newRiskyThresHR: bigint;
|
|
6571
|
+
} | {
|
|
6572
|
+
newRiskyThresHR: bigint;
|
|
5961
6573
|
};
|
|
5962
6574
|
} | {
|
|
5963
6575
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -5970,6 +6582,9 @@ export declare class Exchange {
|
|
|
5970
6582
|
} | {
|
|
5971
6583
|
marketId: number;
|
|
5972
6584
|
isEnabled: boolean;
|
|
6585
|
+
} | {
|
|
6586
|
+
marketId: number;
|
|
6587
|
+
isEnabled: boolean;
|
|
5973
6588
|
};
|
|
5974
6589
|
} | {
|
|
5975
6590
|
eventName: "TokenAdded";
|
|
@@ -5982,6 +6597,9 @@ export declare class Exchange {
|
|
|
5982
6597
|
} | {
|
|
5983
6598
|
tokenId: number;
|
|
5984
6599
|
tokenAddress: `0x${string}`;
|
|
6600
|
+
} | {
|
|
6601
|
+
tokenId: number;
|
|
6602
|
+
tokenAddress: `0x${string}`;
|
|
5985
6603
|
};
|
|
5986
6604
|
} | {
|
|
5987
6605
|
eventName: "VaultDeposit";
|
|
@@ -5994,6 +6612,9 @@ export declare class Exchange {
|
|
|
5994
6612
|
} | {
|
|
5995
6613
|
acc: `0x${string}`;
|
|
5996
6614
|
unscaledAmount: bigint;
|
|
6615
|
+
} | {
|
|
6616
|
+
acc: `0x${string}`;
|
|
6617
|
+
unscaledAmount: bigint;
|
|
5997
6618
|
};
|
|
5998
6619
|
} | {
|
|
5999
6620
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -6009,6 +6630,10 @@ export declare class Exchange {
|
|
|
6009
6630
|
root: `0x${string}`;
|
|
6010
6631
|
tokenId: number;
|
|
6011
6632
|
totalUnscaledAmount: bigint;
|
|
6633
|
+
} | {
|
|
6634
|
+
root: `0x${string}`;
|
|
6635
|
+
tokenId: number;
|
|
6636
|
+
totalUnscaledAmount: bigint;
|
|
6012
6637
|
};
|
|
6013
6638
|
} | {
|
|
6014
6639
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -6024,6 +6649,10 @@ export declare class Exchange {
|
|
|
6024
6649
|
root: `0x${string}`;
|
|
6025
6650
|
tokenId: number;
|
|
6026
6651
|
totalUnscaledAmount: bigint;
|
|
6652
|
+
} | {
|
|
6653
|
+
root: `0x${string}`;
|
|
6654
|
+
tokenId: number;
|
|
6655
|
+
totalUnscaledAmount: bigint;
|
|
6027
6656
|
};
|
|
6028
6657
|
} | {
|
|
6029
6658
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -6042,6 +6671,11 @@ export declare class Exchange {
|
|
|
6042
6671
|
tokenId: number;
|
|
6043
6672
|
start: number;
|
|
6044
6673
|
totalUnscaledAmount: bigint;
|
|
6674
|
+
} | {
|
|
6675
|
+
root: `0x${string}`;
|
|
6676
|
+
tokenId: number;
|
|
6677
|
+
start: number;
|
|
6678
|
+
totalUnscaledAmount: bigint;
|
|
6045
6679
|
};
|
|
6046
6680
|
} | {
|
|
6047
6681
|
eventName: "MarketCreated";
|
|
@@ -6163,6 +6797,17 @@ export declare class Exchange {
|
|
|
6163
6797
|
account: `0x${string}`;
|
|
6164
6798
|
agent: `0x${string}`;
|
|
6165
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
|
+
};
|
|
6166
6811
|
} | {
|
|
6167
6812
|
eventName: "BulkOrdersExecuted";
|
|
6168
6813
|
args: {
|
|
@@ -7171,6 +7816,76 @@ export declare class Exchange {
|
|
|
7171
7816
|
args: {
|
|
7172
7817
|
newTotalSupplyCap: bigint;
|
|
7173
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
|
+
};
|
|
7174
7889
|
} | {
|
|
7175
7890
|
eventName: "Claimed";
|
|
7176
7891
|
args: {
|
|
@@ -7268,6 +7983,10 @@ export declare class Exchange {
|
|
|
7268
7983
|
from: `0x${string}`;
|
|
7269
7984
|
to: `0x${string}`;
|
|
7270
7985
|
amount: bigint;
|
|
7986
|
+
} | {
|
|
7987
|
+
from: `0x${string}`;
|
|
7988
|
+
to: `0x${string}`;
|
|
7989
|
+
amount: bigint;
|
|
7271
7990
|
};
|
|
7272
7991
|
} | {
|
|
7273
7992
|
eventName: "CollectFee";
|
|
@@ -7280,6 +7999,9 @@ export declare class Exchange {
|
|
|
7280
7999
|
} | {
|
|
7281
8000
|
tokenId: number;
|
|
7282
8001
|
amount: bigint;
|
|
8002
|
+
} | {
|
|
8003
|
+
tokenId: number;
|
|
8004
|
+
amount: bigint;
|
|
7283
8005
|
};
|
|
7284
8006
|
} | {
|
|
7285
8007
|
eventName: "CritHRUpdated";
|
|
@@ -7289,6 +8011,8 @@ export declare class Exchange {
|
|
|
7289
8011
|
newCritHR: bigint;
|
|
7290
8012
|
} | {
|
|
7291
8013
|
newCritHR: bigint;
|
|
8014
|
+
} | {
|
|
8015
|
+
newCritHR: bigint;
|
|
7292
8016
|
};
|
|
7293
8017
|
} | {
|
|
7294
8018
|
eventName: "EnterMarket";
|
|
@@ -7304,6 +8028,10 @@ export declare class Exchange {
|
|
|
7304
8028
|
user: `0x${string}`;
|
|
7305
8029
|
marketId: number;
|
|
7306
8030
|
entranceFee: bigint;
|
|
8031
|
+
} | {
|
|
8032
|
+
user: `0x${string}`;
|
|
8033
|
+
marketId: number;
|
|
8034
|
+
entranceFee: bigint;
|
|
7307
8035
|
};
|
|
7308
8036
|
} | {
|
|
7309
8037
|
eventName: "ExitMarket";
|
|
@@ -7316,6 +8044,9 @@ export declare class Exchange {
|
|
|
7316
8044
|
} | {
|
|
7317
8045
|
user: `0x${string}`;
|
|
7318
8046
|
marketId: number;
|
|
8047
|
+
} | {
|
|
8048
|
+
user: `0x${string}`;
|
|
8049
|
+
marketId: number;
|
|
7319
8050
|
};
|
|
7320
8051
|
} | {
|
|
7321
8052
|
eventName: "GlobalCooldownSet";
|
|
@@ -7325,6 +8056,10 @@ export declare class Exchange {
|
|
|
7325
8056
|
newCooldown: number;
|
|
7326
8057
|
} | {
|
|
7327
8058
|
newCooldown: number;
|
|
8059
|
+
} | {
|
|
8060
|
+
newCooldown: number;
|
|
8061
|
+
} | {
|
|
8062
|
+
newGlobalCooldown: number;
|
|
7328
8063
|
};
|
|
7329
8064
|
} | {
|
|
7330
8065
|
eventName: "MarketAdded";
|
|
@@ -7337,6 +8072,9 @@ export declare class Exchange {
|
|
|
7337
8072
|
} | {
|
|
7338
8073
|
marketId: number;
|
|
7339
8074
|
marketAddress: `0x${string}`;
|
|
8075
|
+
} | {
|
|
8076
|
+
marketId: number;
|
|
8077
|
+
marketAddress: `0x${string}`;
|
|
7340
8078
|
};
|
|
7341
8079
|
} | {
|
|
7342
8080
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -7349,6 +8087,9 @@ export declare class Exchange {
|
|
|
7349
8087
|
} | {
|
|
7350
8088
|
tokenIds: readonly number[];
|
|
7351
8089
|
entranceFees: readonly bigint[];
|
|
8090
|
+
} | {
|
|
8091
|
+
tokenIds: readonly number[];
|
|
8092
|
+
entranceFees: readonly bigint[];
|
|
7352
8093
|
};
|
|
7353
8094
|
} | {
|
|
7354
8095
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -7361,6 +8102,9 @@ export declare class Exchange {
|
|
|
7361
8102
|
} | {
|
|
7362
8103
|
tokenIds: readonly number[];
|
|
7363
8104
|
newMinCash: readonly bigint[];
|
|
8105
|
+
} | {
|
|
8106
|
+
tokenIds: readonly number[];
|
|
8107
|
+
newMinCash: readonly bigint[];
|
|
7364
8108
|
};
|
|
7365
8109
|
} | {
|
|
7366
8110
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -7373,6 +8117,9 @@ export declare class Exchange {
|
|
|
7373
8117
|
} | {
|
|
7374
8118
|
tokenIds: readonly number[];
|
|
7375
8119
|
newMinCash: readonly bigint[];
|
|
8120
|
+
} | {
|
|
8121
|
+
tokenIds: readonly number[];
|
|
8122
|
+
newMinCash: readonly bigint[];
|
|
7376
8123
|
};
|
|
7377
8124
|
} | {
|
|
7378
8125
|
eventName: "PayTreasury";
|
|
@@ -7385,6 +8132,9 @@ export declare class Exchange {
|
|
|
7385
8132
|
} | {
|
|
7386
8133
|
user: `0x${string}`;
|
|
7387
8134
|
amount: bigint;
|
|
8135
|
+
} | {
|
|
8136
|
+
user: `0x${string}`;
|
|
8137
|
+
amount: bigint;
|
|
7388
8138
|
};
|
|
7389
8139
|
} | {
|
|
7390
8140
|
eventName: "PersonalCooldownSet";
|
|
@@ -7397,6 +8147,9 @@ export declare class Exchange {
|
|
|
7397
8147
|
} | {
|
|
7398
8148
|
root: `0x${string}`;
|
|
7399
8149
|
cooldown: number;
|
|
8150
|
+
} | {
|
|
8151
|
+
root: `0x${string}`;
|
|
8152
|
+
cooldown: number;
|
|
7400
8153
|
};
|
|
7401
8154
|
} | {
|
|
7402
8155
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -7406,6 +8159,8 @@ export declare class Exchange {
|
|
|
7406
8159
|
newRiskyThresHR: bigint;
|
|
7407
8160
|
} | {
|
|
7408
8161
|
newRiskyThresHR: bigint;
|
|
8162
|
+
} | {
|
|
8163
|
+
newRiskyThresHR: bigint;
|
|
7409
8164
|
};
|
|
7410
8165
|
} | {
|
|
7411
8166
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -7418,6 +8173,9 @@ export declare class Exchange {
|
|
|
7418
8173
|
} | {
|
|
7419
8174
|
marketId: number;
|
|
7420
8175
|
isEnabled: boolean;
|
|
8176
|
+
} | {
|
|
8177
|
+
marketId: number;
|
|
8178
|
+
isEnabled: boolean;
|
|
7421
8179
|
};
|
|
7422
8180
|
} | {
|
|
7423
8181
|
eventName: "TokenAdded";
|
|
@@ -7430,6 +8188,9 @@ export declare class Exchange {
|
|
|
7430
8188
|
} | {
|
|
7431
8189
|
tokenId: number;
|
|
7432
8190
|
tokenAddress: `0x${string}`;
|
|
8191
|
+
} | {
|
|
8192
|
+
tokenId: number;
|
|
8193
|
+
tokenAddress: `0x${string}`;
|
|
7433
8194
|
};
|
|
7434
8195
|
} | {
|
|
7435
8196
|
eventName: "VaultDeposit";
|
|
@@ -7442,6 +8203,9 @@ export declare class Exchange {
|
|
|
7442
8203
|
} | {
|
|
7443
8204
|
acc: `0x${string}`;
|
|
7444
8205
|
unscaledAmount: bigint;
|
|
8206
|
+
} | {
|
|
8207
|
+
acc: `0x${string}`;
|
|
8208
|
+
unscaledAmount: bigint;
|
|
7445
8209
|
};
|
|
7446
8210
|
} | {
|
|
7447
8211
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -7457,6 +8221,10 @@ export declare class Exchange {
|
|
|
7457
8221
|
root: `0x${string}`;
|
|
7458
8222
|
tokenId: number;
|
|
7459
8223
|
totalUnscaledAmount: bigint;
|
|
8224
|
+
} | {
|
|
8225
|
+
root: `0x${string}`;
|
|
8226
|
+
tokenId: number;
|
|
8227
|
+
totalUnscaledAmount: bigint;
|
|
7460
8228
|
};
|
|
7461
8229
|
} | {
|
|
7462
8230
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -7472,6 +8240,10 @@ export declare class Exchange {
|
|
|
7472
8240
|
root: `0x${string}`;
|
|
7473
8241
|
tokenId: number;
|
|
7474
8242
|
totalUnscaledAmount: bigint;
|
|
8243
|
+
} | {
|
|
8244
|
+
root: `0x${string}`;
|
|
8245
|
+
tokenId: number;
|
|
8246
|
+
totalUnscaledAmount: bigint;
|
|
7475
8247
|
};
|
|
7476
8248
|
} | {
|
|
7477
8249
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -7490,6 +8262,11 @@ export declare class Exchange {
|
|
|
7490
8262
|
tokenId: number;
|
|
7491
8263
|
start: number;
|
|
7492
8264
|
totalUnscaledAmount: bigint;
|
|
8265
|
+
} | {
|
|
8266
|
+
root: `0x${string}`;
|
|
8267
|
+
tokenId: number;
|
|
8268
|
+
start: number;
|
|
8269
|
+
totalUnscaledAmount: bigint;
|
|
7493
8270
|
};
|
|
7494
8271
|
} | {
|
|
7495
8272
|
eventName: "MarketCreated";
|
|
@@ -7611,6 +8388,17 @@ export declare class Exchange {
|
|
|
7611
8388
|
account: `0x${string}`;
|
|
7612
8389
|
agent: `0x${string}`;
|
|
7613
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
|
+
};
|
|
7614
8402
|
} | {
|
|
7615
8403
|
eventName: "BulkOrdersExecuted";
|
|
7616
8404
|
args: {
|
|
@@ -8619,6 +9407,76 @@ export declare class Exchange {
|
|
|
8619
9407
|
args: {
|
|
8620
9408
|
newTotalSupplyCap: bigint;
|
|
8621
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
|
+
};
|
|
8622
9480
|
} | {
|
|
8623
9481
|
eventName: "Claimed";
|
|
8624
9482
|
args: {
|
|
@@ -8709,6 +9567,10 @@ export declare class Exchange {
|
|
|
8709
9567
|
from: `0x${string}`;
|
|
8710
9568
|
to: `0x${string}`;
|
|
8711
9569
|
amount: bigint;
|
|
9570
|
+
} | {
|
|
9571
|
+
from: `0x${string}`;
|
|
9572
|
+
to: `0x${string}`;
|
|
9573
|
+
amount: bigint;
|
|
8712
9574
|
};
|
|
8713
9575
|
} | {
|
|
8714
9576
|
eventName: "CollectFee";
|
|
@@ -8721,6 +9583,9 @@ export declare class Exchange {
|
|
|
8721
9583
|
} | {
|
|
8722
9584
|
tokenId: number;
|
|
8723
9585
|
amount: bigint;
|
|
9586
|
+
} | {
|
|
9587
|
+
tokenId: number;
|
|
9588
|
+
amount: bigint;
|
|
8724
9589
|
};
|
|
8725
9590
|
} | {
|
|
8726
9591
|
eventName: "CritHRUpdated";
|
|
@@ -8730,6 +9595,8 @@ export declare class Exchange {
|
|
|
8730
9595
|
newCritHR: bigint;
|
|
8731
9596
|
} | {
|
|
8732
9597
|
newCritHR: bigint;
|
|
9598
|
+
} | {
|
|
9599
|
+
newCritHR: bigint;
|
|
8733
9600
|
};
|
|
8734
9601
|
} | {
|
|
8735
9602
|
eventName: "EnterMarket";
|
|
@@ -8745,6 +9612,10 @@ export declare class Exchange {
|
|
|
8745
9612
|
user: `0x${string}`;
|
|
8746
9613
|
marketId: number;
|
|
8747
9614
|
entranceFee: bigint;
|
|
9615
|
+
} | {
|
|
9616
|
+
user: `0x${string}`;
|
|
9617
|
+
marketId: number;
|
|
9618
|
+
entranceFee: bigint;
|
|
8748
9619
|
};
|
|
8749
9620
|
} | {
|
|
8750
9621
|
eventName: "ExitMarket";
|
|
@@ -8757,6 +9628,9 @@ export declare class Exchange {
|
|
|
8757
9628
|
} | {
|
|
8758
9629
|
user: `0x${string}`;
|
|
8759
9630
|
marketId: number;
|
|
9631
|
+
} | {
|
|
9632
|
+
user: `0x${string}`;
|
|
9633
|
+
marketId: number;
|
|
8760
9634
|
};
|
|
8761
9635
|
} | {
|
|
8762
9636
|
eventName: "GlobalCooldownSet";
|
|
@@ -8766,6 +9640,10 @@ export declare class Exchange {
|
|
|
8766
9640
|
newCooldown: number;
|
|
8767
9641
|
} | {
|
|
8768
9642
|
newCooldown: number;
|
|
9643
|
+
} | {
|
|
9644
|
+
newCooldown: number;
|
|
9645
|
+
} | {
|
|
9646
|
+
newGlobalCooldown: number;
|
|
8769
9647
|
};
|
|
8770
9648
|
} | {
|
|
8771
9649
|
eventName: "MarketAdded";
|
|
@@ -8778,6 +9656,9 @@ export declare class Exchange {
|
|
|
8778
9656
|
} | {
|
|
8779
9657
|
marketId: number;
|
|
8780
9658
|
marketAddress: `0x${string}`;
|
|
9659
|
+
} | {
|
|
9660
|
+
marketId: number;
|
|
9661
|
+
marketAddress: `0x${string}`;
|
|
8781
9662
|
};
|
|
8782
9663
|
} | {
|
|
8783
9664
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -8790,6 +9671,9 @@ export declare class Exchange {
|
|
|
8790
9671
|
} | {
|
|
8791
9672
|
tokenIds: readonly number[];
|
|
8792
9673
|
entranceFees: readonly bigint[];
|
|
9674
|
+
} | {
|
|
9675
|
+
tokenIds: readonly number[];
|
|
9676
|
+
entranceFees: readonly bigint[];
|
|
8793
9677
|
};
|
|
8794
9678
|
} | {
|
|
8795
9679
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -8802,6 +9686,9 @@ export declare class Exchange {
|
|
|
8802
9686
|
} | {
|
|
8803
9687
|
tokenIds: readonly number[];
|
|
8804
9688
|
newMinCash: readonly bigint[];
|
|
9689
|
+
} | {
|
|
9690
|
+
tokenIds: readonly number[];
|
|
9691
|
+
newMinCash: readonly bigint[];
|
|
8805
9692
|
};
|
|
8806
9693
|
} | {
|
|
8807
9694
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -8814,6 +9701,9 @@ export declare class Exchange {
|
|
|
8814
9701
|
} | {
|
|
8815
9702
|
tokenIds: readonly number[];
|
|
8816
9703
|
newMinCash: readonly bigint[];
|
|
9704
|
+
} | {
|
|
9705
|
+
tokenIds: readonly number[];
|
|
9706
|
+
newMinCash: readonly bigint[];
|
|
8817
9707
|
};
|
|
8818
9708
|
} | {
|
|
8819
9709
|
eventName: "PayTreasury";
|
|
@@ -8826,6 +9716,9 @@ export declare class Exchange {
|
|
|
8826
9716
|
} | {
|
|
8827
9717
|
user: `0x${string}`;
|
|
8828
9718
|
amount: bigint;
|
|
9719
|
+
} | {
|
|
9720
|
+
user: `0x${string}`;
|
|
9721
|
+
amount: bigint;
|
|
8829
9722
|
};
|
|
8830
9723
|
} | {
|
|
8831
9724
|
eventName: "PersonalCooldownSet";
|
|
@@ -8838,6 +9731,9 @@ export declare class Exchange {
|
|
|
8838
9731
|
} | {
|
|
8839
9732
|
root: `0x${string}`;
|
|
8840
9733
|
cooldown: number;
|
|
9734
|
+
} | {
|
|
9735
|
+
root: `0x${string}`;
|
|
9736
|
+
cooldown: number;
|
|
8841
9737
|
};
|
|
8842
9738
|
} | {
|
|
8843
9739
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -8847,6 +9743,8 @@ export declare class Exchange {
|
|
|
8847
9743
|
newRiskyThresHR: bigint;
|
|
8848
9744
|
} | {
|
|
8849
9745
|
newRiskyThresHR: bigint;
|
|
9746
|
+
} | {
|
|
9747
|
+
newRiskyThresHR: bigint;
|
|
8850
9748
|
};
|
|
8851
9749
|
} | {
|
|
8852
9750
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -8859,6 +9757,9 @@ export declare class Exchange {
|
|
|
8859
9757
|
} | {
|
|
8860
9758
|
marketId: number;
|
|
8861
9759
|
isEnabled: boolean;
|
|
9760
|
+
} | {
|
|
9761
|
+
marketId: number;
|
|
9762
|
+
isEnabled: boolean;
|
|
8862
9763
|
};
|
|
8863
9764
|
} | {
|
|
8864
9765
|
eventName: "TokenAdded";
|
|
@@ -8871,6 +9772,9 @@ export declare class Exchange {
|
|
|
8871
9772
|
} | {
|
|
8872
9773
|
tokenId: number;
|
|
8873
9774
|
tokenAddress: `0x${string}`;
|
|
9775
|
+
} | {
|
|
9776
|
+
tokenId: number;
|
|
9777
|
+
tokenAddress: `0x${string}`;
|
|
8874
9778
|
};
|
|
8875
9779
|
} | {
|
|
8876
9780
|
eventName: "VaultDeposit";
|
|
@@ -8883,6 +9787,9 @@ export declare class Exchange {
|
|
|
8883
9787
|
} | {
|
|
8884
9788
|
acc: `0x${string}`;
|
|
8885
9789
|
unscaledAmount: bigint;
|
|
9790
|
+
} | {
|
|
9791
|
+
acc: `0x${string}`;
|
|
9792
|
+
unscaledAmount: bigint;
|
|
8886
9793
|
};
|
|
8887
9794
|
} | {
|
|
8888
9795
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -8898,6 +9805,10 @@ export declare class Exchange {
|
|
|
8898
9805
|
root: `0x${string}`;
|
|
8899
9806
|
tokenId: number;
|
|
8900
9807
|
totalUnscaledAmount: bigint;
|
|
9808
|
+
} | {
|
|
9809
|
+
root: `0x${string}`;
|
|
9810
|
+
tokenId: number;
|
|
9811
|
+
totalUnscaledAmount: bigint;
|
|
8901
9812
|
};
|
|
8902
9813
|
} | {
|
|
8903
9814
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -8913,6 +9824,10 @@ export declare class Exchange {
|
|
|
8913
9824
|
root: `0x${string}`;
|
|
8914
9825
|
tokenId: number;
|
|
8915
9826
|
totalUnscaledAmount: bigint;
|
|
9827
|
+
} | {
|
|
9828
|
+
root: `0x${string}`;
|
|
9829
|
+
tokenId: number;
|
|
9830
|
+
totalUnscaledAmount: bigint;
|
|
8916
9831
|
};
|
|
8917
9832
|
} | {
|
|
8918
9833
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -8931,6 +9846,11 @@ export declare class Exchange {
|
|
|
8931
9846
|
tokenId: number;
|
|
8932
9847
|
start: number;
|
|
8933
9848
|
totalUnscaledAmount: bigint;
|
|
9849
|
+
} | {
|
|
9850
|
+
root: `0x${string}`;
|
|
9851
|
+
tokenId: number;
|
|
9852
|
+
start: number;
|
|
9853
|
+
totalUnscaledAmount: bigint;
|
|
8934
9854
|
};
|
|
8935
9855
|
} | {
|
|
8936
9856
|
eventName: "MarketCreated";
|
|
@@ -9052,6 +9972,17 @@ export declare class Exchange {
|
|
|
9052
9972
|
account: `0x${string}`;
|
|
9053
9973
|
agent: `0x${string}`;
|
|
9054
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
|
+
};
|
|
9055
9986
|
} | {
|
|
9056
9987
|
eventName: "BulkOrdersExecuted";
|
|
9057
9988
|
args: {
|
|
@@ -10060,6 +10991,76 @@ export declare class Exchange {
|
|
|
10060
10991
|
args: {
|
|
10061
10992
|
newTotalSupplyCap: bigint;
|
|
10062
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
|
+
};
|
|
10063
11064
|
} | {
|
|
10064
11065
|
eventName: "Claimed";
|
|
10065
11066
|
args: {
|
|
@@ -10141,6 +11142,10 @@ export declare class Exchange {
|
|
|
10141
11142
|
from: `0x${string}`;
|
|
10142
11143
|
to: `0x${string}`;
|
|
10143
11144
|
amount: bigint;
|
|
11145
|
+
} | {
|
|
11146
|
+
from: `0x${string}`;
|
|
11147
|
+
to: `0x${string}`;
|
|
11148
|
+
amount: bigint;
|
|
10144
11149
|
};
|
|
10145
11150
|
} | {
|
|
10146
11151
|
eventName: "CollectFee";
|
|
@@ -10153,6 +11158,9 @@ export declare class Exchange {
|
|
|
10153
11158
|
} | {
|
|
10154
11159
|
tokenId: number;
|
|
10155
11160
|
amount: bigint;
|
|
11161
|
+
} | {
|
|
11162
|
+
tokenId: number;
|
|
11163
|
+
amount: bigint;
|
|
10156
11164
|
};
|
|
10157
11165
|
} | {
|
|
10158
11166
|
eventName: "CritHRUpdated";
|
|
@@ -10162,6 +11170,8 @@ export declare class Exchange {
|
|
|
10162
11170
|
newCritHR: bigint;
|
|
10163
11171
|
} | {
|
|
10164
11172
|
newCritHR: bigint;
|
|
11173
|
+
} | {
|
|
11174
|
+
newCritHR: bigint;
|
|
10165
11175
|
};
|
|
10166
11176
|
} | {
|
|
10167
11177
|
eventName: "EnterMarket";
|
|
@@ -10177,6 +11187,10 @@ export declare class Exchange {
|
|
|
10177
11187
|
user: `0x${string}`;
|
|
10178
11188
|
marketId: number;
|
|
10179
11189
|
entranceFee: bigint;
|
|
11190
|
+
} | {
|
|
11191
|
+
user: `0x${string}`;
|
|
11192
|
+
marketId: number;
|
|
11193
|
+
entranceFee: bigint;
|
|
10180
11194
|
};
|
|
10181
11195
|
} | {
|
|
10182
11196
|
eventName: "ExitMarket";
|
|
@@ -10189,6 +11203,9 @@ export declare class Exchange {
|
|
|
10189
11203
|
} | {
|
|
10190
11204
|
user: `0x${string}`;
|
|
10191
11205
|
marketId: number;
|
|
11206
|
+
} | {
|
|
11207
|
+
user: `0x${string}`;
|
|
11208
|
+
marketId: number;
|
|
10192
11209
|
};
|
|
10193
11210
|
} | {
|
|
10194
11211
|
eventName: "GlobalCooldownSet";
|
|
@@ -10198,6 +11215,10 @@ export declare class Exchange {
|
|
|
10198
11215
|
newCooldown: number;
|
|
10199
11216
|
} | {
|
|
10200
11217
|
newCooldown: number;
|
|
11218
|
+
} | {
|
|
11219
|
+
newCooldown: number;
|
|
11220
|
+
} | {
|
|
11221
|
+
newGlobalCooldown: number;
|
|
10201
11222
|
};
|
|
10202
11223
|
} | {
|
|
10203
11224
|
eventName: "MarketAdded";
|
|
@@ -10210,6 +11231,9 @@ export declare class Exchange {
|
|
|
10210
11231
|
} | {
|
|
10211
11232
|
marketId: number;
|
|
10212
11233
|
marketAddress: `0x${string}`;
|
|
11234
|
+
} | {
|
|
11235
|
+
marketId: number;
|
|
11236
|
+
marketAddress: `0x${string}`;
|
|
10213
11237
|
};
|
|
10214
11238
|
} | {
|
|
10215
11239
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -10222,6 +11246,9 @@ export declare class Exchange {
|
|
|
10222
11246
|
} | {
|
|
10223
11247
|
tokenIds: readonly number[];
|
|
10224
11248
|
entranceFees: readonly bigint[];
|
|
11249
|
+
} | {
|
|
11250
|
+
tokenIds: readonly number[];
|
|
11251
|
+
entranceFees: readonly bigint[];
|
|
10225
11252
|
};
|
|
10226
11253
|
} | {
|
|
10227
11254
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -10234,6 +11261,9 @@ export declare class Exchange {
|
|
|
10234
11261
|
} | {
|
|
10235
11262
|
tokenIds: readonly number[];
|
|
10236
11263
|
newMinCash: readonly bigint[];
|
|
11264
|
+
} | {
|
|
11265
|
+
tokenIds: readonly number[];
|
|
11266
|
+
newMinCash: readonly bigint[];
|
|
10237
11267
|
};
|
|
10238
11268
|
} | {
|
|
10239
11269
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -10246,6 +11276,9 @@ export declare class Exchange {
|
|
|
10246
11276
|
} | {
|
|
10247
11277
|
tokenIds: readonly number[];
|
|
10248
11278
|
newMinCash: readonly bigint[];
|
|
11279
|
+
} | {
|
|
11280
|
+
tokenIds: readonly number[];
|
|
11281
|
+
newMinCash: readonly bigint[];
|
|
10249
11282
|
};
|
|
10250
11283
|
} | {
|
|
10251
11284
|
eventName: "PayTreasury";
|
|
@@ -10258,6 +11291,9 @@ export declare class Exchange {
|
|
|
10258
11291
|
} | {
|
|
10259
11292
|
user: `0x${string}`;
|
|
10260
11293
|
amount: bigint;
|
|
11294
|
+
} | {
|
|
11295
|
+
user: `0x${string}`;
|
|
11296
|
+
amount: bigint;
|
|
10261
11297
|
};
|
|
10262
11298
|
} | {
|
|
10263
11299
|
eventName: "PersonalCooldownSet";
|
|
@@ -10270,6 +11306,9 @@ export declare class Exchange {
|
|
|
10270
11306
|
} | {
|
|
10271
11307
|
root: `0x${string}`;
|
|
10272
11308
|
cooldown: number;
|
|
11309
|
+
} | {
|
|
11310
|
+
root: `0x${string}`;
|
|
11311
|
+
cooldown: number;
|
|
10273
11312
|
};
|
|
10274
11313
|
} | {
|
|
10275
11314
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -10279,6 +11318,8 @@ export declare class Exchange {
|
|
|
10279
11318
|
newRiskyThresHR: bigint;
|
|
10280
11319
|
} | {
|
|
10281
11320
|
newRiskyThresHR: bigint;
|
|
11321
|
+
} | {
|
|
11322
|
+
newRiskyThresHR: bigint;
|
|
10282
11323
|
};
|
|
10283
11324
|
} | {
|
|
10284
11325
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -10291,6 +11332,9 @@ export declare class Exchange {
|
|
|
10291
11332
|
} | {
|
|
10292
11333
|
marketId: number;
|
|
10293
11334
|
isEnabled: boolean;
|
|
11335
|
+
} | {
|
|
11336
|
+
marketId: number;
|
|
11337
|
+
isEnabled: boolean;
|
|
10294
11338
|
};
|
|
10295
11339
|
} | {
|
|
10296
11340
|
eventName: "TokenAdded";
|
|
@@ -10303,6 +11347,9 @@ export declare class Exchange {
|
|
|
10303
11347
|
} | {
|
|
10304
11348
|
tokenId: number;
|
|
10305
11349
|
tokenAddress: `0x${string}`;
|
|
11350
|
+
} | {
|
|
11351
|
+
tokenId: number;
|
|
11352
|
+
tokenAddress: `0x${string}`;
|
|
10306
11353
|
};
|
|
10307
11354
|
} | {
|
|
10308
11355
|
eventName: "VaultDeposit";
|
|
@@ -10315,6 +11362,9 @@ export declare class Exchange {
|
|
|
10315
11362
|
} | {
|
|
10316
11363
|
acc: `0x${string}`;
|
|
10317
11364
|
unscaledAmount: bigint;
|
|
11365
|
+
} | {
|
|
11366
|
+
acc: `0x${string}`;
|
|
11367
|
+
unscaledAmount: bigint;
|
|
10318
11368
|
};
|
|
10319
11369
|
} | {
|
|
10320
11370
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -10330,6 +11380,10 @@ export declare class Exchange {
|
|
|
10330
11380
|
root: `0x${string}`;
|
|
10331
11381
|
tokenId: number;
|
|
10332
11382
|
totalUnscaledAmount: bigint;
|
|
11383
|
+
} | {
|
|
11384
|
+
root: `0x${string}`;
|
|
11385
|
+
tokenId: number;
|
|
11386
|
+
totalUnscaledAmount: bigint;
|
|
10333
11387
|
};
|
|
10334
11388
|
} | {
|
|
10335
11389
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -10345,6 +11399,10 @@ export declare class Exchange {
|
|
|
10345
11399
|
root: `0x${string}`;
|
|
10346
11400
|
tokenId: number;
|
|
10347
11401
|
totalUnscaledAmount: bigint;
|
|
11402
|
+
} | {
|
|
11403
|
+
root: `0x${string}`;
|
|
11404
|
+
tokenId: number;
|
|
11405
|
+
totalUnscaledAmount: bigint;
|
|
10348
11406
|
};
|
|
10349
11407
|
} | {
|
|
10350
11408
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -10363,6 +11421,11 @@ export declare class Exchange {
|
|
|
10363
11421
|
tokenId: number;
|
|
10364
11422
|
start: number;
|
|
10365
11423
|
totalUnscaledAmount: bigint;
|
|
11424
|
+
} | {
|
|
11425
|
+
root: `0x${string}`;
|
|
11426
|
+
tokenId: number;
|
|
11427
|
+
start: number;
|
|
11428
|
+
totalUnscaledAmount: bigint;
|
|
10366
11429
|
};
|
|
10367
11430
|
} | {
|
|
10368
11431
|
eventName: "MarketCreated";
|
|
@@ -10484,6 +11547,17 @@ export declare class Exchange {
|
|
|
10484
11547
|
account: `0x${string}`;
|
|
10485
11548
|
agent: `0x${string}`;
|
|
10486
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
|
+
};
|
|
10487
11561
|
} | {
|
|
10488
11562
|
eventName: "BulkOrdersExecuted";
|
|
10489
11563
|
args: {
|
|
@@ -11492,6 +12566,76 @@ export declare class Exchange {
|
|
|
11492
12566
|
args: {
|
|
11493
12567
|
newTotalSupplyCap: bigint;
|
|
11494
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
|
+
};
|
|
11495
12639
|
} | {
|
|
11496
12640
|
eventName: "Claimed";
|
|
11497
12641
|
args: {
|
|
@@ -11569,6 +12713,10 @@ export declare class Exchange {
|
|
|
11569
12713
|
from: `0x${string}`;
|
|
11570
12714
|
to: `0x${string}`;
|
|
11571
12715
|
amount: bigint;
|
|
12716
|
+
} | {
|
|
12717
|
+
from: `0x${string}`;
|
|
12718
|
+
to: `0x${string}`;
|
|
12719
|
+
amount: bigint;
|
|
11572
12720
|
};
|
|
11573
12721
|
} | {
|
|
11574
12722
|
eventName: "CollectFee";
|
|
@@ -11581,6 +12729,9 @@ export declare class Exchange {
|
|
|
11581
12729
|
} | {
|
|
11582
12730
|
tokenId: number;
|
|
11583
12731
|
amount: bigint;
|
|
12732
|
+
} | {
|
|
12733
|
+
tokenId: number;
|
|
12734
|
+
amount: bigint;
|
|
11584
12735
|
};
|
|
11585
12736
|
} | {
|
|
11586
12737
|
eventName: "CritHRUpdated";
|
|
@@ -11590,6 +12741,8 @@ export declare class Exchange {
|
|
|
11590
12741
|
newCritHR: bigint;
|
|
11591
12742
|
} | {
|
|
11592
12743
|
newCritHR: bigint;
|
|
12744
|
+
} | {
|
|
12745
|
+
newCritHR: bigint;
|
|
11593
12746
|
};
|
|
11594
12747
|
} | {
|
|
11595
12748
|
eventName: "EnterMarket";
|
|
@@ -11605,6 +12758,10 @@ export declare class Exchange {
|
|
|
11605
12758
|
user: `0x${string}`;
|
|
11606
12759
|
marketId: number;
|
|
11607
12760
|
entranceFee: bigint;
|
|
12761
|
+
} | {
|
|
12762
|
+
user: `0x${string}`;
|
|
12763
|
+
marketId: number;
|
|
12764
|
+
entranceFee: bigint;
|
|
11608
12765
|
};
|
|
11609
12766
|
} | {
|
|
11610
12767
|
eventName: "ExitMarket";
|
|
@@ -11617,6 +12774,9 @@ export declare class Exchange {
|
|
|
11617
12774
|
} | {
|
|
11618
12775
|
user: `0x${string}`;
|
|
11619
12776
|
marketId: number;
|
|
12777
|
+
} | {
|
|
12778
|
+
user: `0x${string}`;
|
|
12779
|
+
marketId: number;
|
|
11620
12780
|
};
|
|
11621
12781
|
} | {
|
|
11622
12782
|
eventName: "GlobalCooldownSet";
|
|
@@ -11626,6 +12786,10 @@ export declare class Exchange {
|
|
|
11626
12786
|
newCooldown: number;
|
|
11627
12787
|
} | {
|
|
11628
12788
|
newCooldown: number;
|
|
12789
|
+
} | {
|
|
12790
|
+
newCooldown: number;
|
|
12791
|
+
} | {
|
|
12792
|
+
newGlobalCooldown: number;
|
|
11629
12793
|
};
|
|
11630
12794
|
} | {
|
|
11631
12795
|
eventName: "MarketAdded";
|
|
@@ -11638,6 +12802,9 @@ export declare class Exchange {
|
|
|
11638
12802
|
} | {
|
|
11639
12803
|
marketId: number;
|
|
11640
12804
|
marketAddress: `0x${string}`;
|
|
12805
|
+
} | {
|
|
12806
|
+
marketId: number;
|
|
12807
|
+
marketAddress: `0x${string}`;
|
|
11641
12808
|
};
|
|
11642
12809
|
} | {
|
|
11643
12810
|
eventName: "MarketEntranceFeesUpdated";
|
|
@@ -11650,6 +12817,9 @@ export declare class Exchange {
|
|
|
11650
12817
|
} | {
|
|
11651
12818
|
tokenIds: readonly number[];
|
|
11652
12819
|
entranceFees: readonly bigint[];
|
|
12820
|
+
} | {
|
|
12821
|
+
tokenIds: readonly number[];
|
|
12822
|
+
entranceFees: readonly bigint[];
|
|
11653
12823
|
};
|
|
11654
12824
|
} | {
|
|
11655
12825
|
eventName: "MinCashCrossAccountsUpdated";
|
|
@@ -11662,6 +12832,9 @@ export declare class Exchange {
|
|
|
11662
12832
|
} | {
|
|
11663
12833
|
tokenIds: readonly number[];
|
|
11664
12834
|
newMinCash: readonly bigint[];
|
|
12835
|
+
} | {
|
|
12836
|
+
tokenIds: readonly number[];
|
|
12837
|
+
newMinCash: readonly bigint[];
|
|
11665
12838
|
};
|
|
11666
12839
|
} | {
|
|
11667
12840
|
eventName: "MinCashIsolatedAccountsUpdated";
|
|
@@ -11674,6 +12847,9 @@ export declare class Exchange {
|
|
|
11674
12847
|
} | {
|
|
11675
12848
|
tokenIds: readonly number[];
|
|
11676
12849
|
newMinCash: readonly bigint[];
|
|
12850
|
+
} | {
|
|
12851
|
+
tokenIds: readonly number[];
|
|
12852
|
+
newMinCash: readonly bigint[];
|
|
11677
12853
|
};
|
|
11678
12854
|
} | {
|
|
11679
12855
|
eventName: "PayTreasury";
|
|
@@ -11686,6 +12862,9 @@ export declare class Exchange {
|
|
|
11686
12862
|
} | {
|
|
11687
12863
|
user: `0x${string}`;
|
|
11688
12864
|
amount: bigint;
|
|
12865
|
+
} | {
|
|
12866
|
+
user: `0x${string}`;
|
|
12867
|
+
amount: bigint;
|
|
11689
12868
|
};
|
|
11690
12869
|
} | {
|
|
11691
12870
|
eventName: "PersonalCooldownSet";
|
|
@@ -11698,6 +12877,9 @@ export declare class Exchange {
|
|
|
11698
12877
|
} | {
|
|
11699
12878
|
root: `0x${string}`;
|
|
11700
12879
|
cooldown: number;
|
|
12880
|
+
} | {
|
|
12881
|
+
root: `0x${string}`;
|
|
12882
|
+
cooldown: number;
|
|
11701
12883
|
};
|
|
11702
12884
|
} | {
|
|
11703
12885
|
eventName: "RiskyThresHRUpdated";
|
|
@@ -11707,6 +12889,8 @@ export declare class Exchange {
|
|
|
11707
12889
|
newRiskyThresHR: bigint;
|
|
11708
12890
|
} | {
|
|
11709
12891
|
newRiskyThresHR: bigint;
|
|
12892
|
+
} | {
|
|
12893
|
+
newRiskyThresHR: bigint;
|
|
11710
12894
|
};
|
|
11711
12895
|
} | {
|
|
11712
12896
|
eventName: "StrictHealthCheckUpdated";
|
|
@@ -11719,6 +12903,9 @@ export declare class Exchange {
|
|
|
11719
12903
|
} | {
|
|
11720
12904
|
marketId: number;
|
|
11721
12905
|
isEnabled: boolean;
|
|
12906
|
+
} | {
|
|
12907
|
+
marketId: number;
|
|
12908
|
+
isEnabled: boolean;
|
|
11722
12909
|
};
|
|
11723
12910
|
} | {
|
|
11724
12911
|
eventName: "TokenAdded";
|
|
@@ -11731,6 +12918,9 @@ export declare class Exchange {
|
|
|
11731
12918
|
} | {
|
|
11732
12919
|
tokenId: number;
|
|
11733
12920
|
tokenAddress: `0x${string}`;
|
|
12921
|
+
} | {
|
|
12922
|
+
tokenId: number;
|
|
12923
|
+
tokenAddress: `0x${string}`;
|
|
11734
12924
|
};
|
|
11735
12925
|
} | {
|
|
11736
12926
|
eventName: "VaultDeposit";
|
|
@@ -11743,6 +12933,9 @@ export declare class Exchange {
|
|
|
11743
12933
|
} | {
|
|
11744
12934
|
acc: `0x${string}`;
|
|
11745
12935
|
unscaledAmount: bigint;
|
|
12936
|
+
} | {
|
|
12937
|
+
acc: `0x${string}`;
|
|
12938
|
+
unscaledAmount: bigint;
|
|
11746
12939
|
};
|
|
11747
12940
|
} | {
|
|
11748
12941
|
eventName: "VaultWithdrawalCanceled";
|
|
@@ -11758,6 +12951,10 @@ export declare class Exchange {
|
|
|
11758
12951
|
root: `0x${string}`;
|
|
11759
12952
|
tokenId: number;
|
|
11760
12953
|
totalUnscaledAmount: bigint;
|
|
12954
|
+
} | {
|
|
12955
|
+
root: `0x${string}`;
|
|
12956
|
+
tokenId: number;
|
|
12957
|
+
totalUnscaledAmount: bigint;
|
|
11761
12958
|
};
|
|
11762
12959
|
} | {
|
|
11763
12960
|
eventName: "VaultWithdrawalFinalized";
|
|
@@ -11773,6 +12970,10 @@ export declare class Exchange {
|
|
|
11773
12970
|
root: `0x${string}`;
|
|
11774
12971
|
tokenId: number;
|
|
11775
12972
|
totalUnscaledAmount: bigint;
|
|
12973
|
+
} | {
|
|
12974
|
+
root: `0x${string}`;
|
|
12975
|
+
tokenId: number;
|
|
12976
|
+
totalUnscaledAmount: bigint;
|
|
11776
12977
|
};
|
|
11777
12978
|
} | {
|
|
11778
12979
|
eventName: "VaultWithdrawalRequested";
|
|
@@ -11791,6 +12992,11 @@ export declare class Exchange {
|
|
|
11791
12992
|
tokenId: number;
|
|
11792
12993
|
start: number;
|
|
11793
12994
|
totalUnscaledAmount: bigint;
|
|
12995
|
+
} | {
|
|
12996
|
+
root: `0x${string}`;
|
|
12997
|
+
tokenId: number;
|
|
12998
|
+
start: number;
|
|
12999
|
+
totalUnscaledAmount: bigint;
|
|
11794
13000
|
};
|
|
11795
13001
|
} | {
|
|
11796
13002
|
eventName: "MarketCreated";
|
|
@@ -11912,6 +13118,17 @@ export declare class Exchange {
|
|
|
11912
13118
|
account: `0x${string}`;
|
|
11913
13119
|
agent: `0x${string}`;
|
|
11914
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
|
+
};
|
|
11915
13132
|
} | {
|
|
11916
13133
|
eventName: "BulkOrdersExecuted";
|
|
11917
13134
|
args: {
|
|
@@ -12920,6 +14137,76 @@ export declare class Exchange {
|
|
|
12920
14137
|
args: {
|
|
12921
14138
|
newTotalSupplyCap: bigint;
|
|
12922
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
|
+
};
|
|
12923
14210
|
} | {
|
|
12924
14211
|
eventName: "Claimed";
|
|
12925
14212
|
args: {
|