@gmx-io/sdk 1.2.1 → 1.3.0
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/build/cjs/src/abis/ClaimHandler.json +1 -16
- package/build/cjs/src/abis/CustomErrors.json +642 -61
- package/build/cjs/src/abis/DataStore.json +25 -6
- package/build/cjs/src/abis/EventEmitter.json +1 -6
- package/build/cjs/src/abis/ExchangeRouter.json +195 -290
- package/build/cjs/src/abis/GelatoRelayRouter.json +251 -98
- package/build/cjs/src/abis/GlvReader.json +60 -3
- package/build/cjs/src/abis/GlvRouter.json +144 -86
- package/build/cjs/src/abis/GovToken.json +1 -354
- package/build/cjs/src/abis/LayerZeroProvider.json +372 -0
- package/build/cjs/src/abis/Multicall.json +134 -38
- package/build/cjs/src/abis/MultichainClaimsRouter.json +1266 -0
- package/build/cjs/src/abis/MultichainGlvRouter.json +1150 -0
- package/build/cjs/src/abis/MultichainGmRouter.json +1449 -0
- package/build/cjs/src/abis/MultichainOrderRouter.json +1820 -0
- package/build/cjs/src/abis/MultichainSubaccountRouter.json +2069 -0
- package/build/cjs/src/abis/MultichainTransferRouter.json +915 -0
- package/build/cjs/src/abis/MultichainUtils.json +133 -0
- package/build/cjs/src/abis/MultichainVault.json +275 -0
- package/build/cjs/src/abis/ReferralStorage.json +69 -19
- package/build/cjs/src/abis/RelayParams.json +85 -48
- package/build/cjs/src/abis/SmartAccount.json +28 -0
- package/build/cjs/src/abis/SubaccountGelatoRelayRouter.json +282 -148
- package/build/cjs/src/abis/SubaccountRouter.json +62 -118
- package/build/cjs/src/abis/SyntheticsReader.json +342 -474
- package/build/cjs/src/abis/SyntheticsRouter.json +1 -6
- package/build/cjs/src/abis/index.js +51 -7
- package/build/cjs/src/configs/__tests__/markets.spec.js +1 -1
- package/build/cjs/src/configs/__tests__/permits.spec.js +1 -1
- package/build/cjs/src/configs/__tests__/tokens.spec.js +1 -1
- package/build/cjs/src/configs/batch.js +48 -0
- package/build/cjs/src/configs/chains.js +41 -8
- package/build/cjs/src/configs/contracts.js +151 -41
- package/build/cjs/src/configs/dataStore.js +39 -5
- package/build/cjs/src/configs/express.js +4 -0
- package/build/cjs/src/configs/factors.js +1 -1
- package/build/cjs/src/configs/markets.js +128 -0
- package/build/cjs/src/configs/oracleKeeper.js +2 -0
- package/build/cjs/src/configs/tokens.js +217 -2
- package/build/cjs/src/modules/markets/index.js +9 -4
- package/build/cjs/src/modules/markets/query-builders.js +28 -8
- package/build/cjs/src/modules/orders/helpers.js +2 -2
- package/build/cjs/src/modules/orders/helpers.spec.js +1 -1
- package/build/cjs/src/modules/orders/utils.js +4 -5
- package/build/cjs/src/modules/positions/positions.js +38 -5
- package/build/cjs/src/modules/utils/utils.js +1 -0
- package/build/cjs/src/prebuilt/hashedKinkModelMarketRatesKeys.json +146 -0
- package/build/cjs/src/prebuilt/hashedMarketConfigKeys.json +2207 -532
- package/build/cjs/src/prebuilt/hashedMarketValuesKeys.json +272 -0
- package/build/cjs/src/test/mock.js +9 -4
- package/build/cjs/src/types/subsquid.js +507 -1
- package/build/cjs/src/utils/LruCache.js +4 -0
- package/build/cjs/src/utils/__tests__/LruCache.spec.js +18 -0
- package/build/cjs/src/utils/__tests__/numbers.spec.js +18 -16
- package/build/cjs/src/utils/__tests__/orderTransactions/batchUtils.spec.js +0 -1
- package/build/cjs/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +8 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/exchangeRouterMulticall.spec.js +38 -30
- package/build/cjs/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +10 -0
- package/build/cjs/src/utils/__tests__/orderTransactions/swapOrders.spec.js +6 -0
- package/build/cjs/src/utils/__tests__/positions.spec.js +23 -6
- package/build/cjs/src/utils/bigmath.js +9 -2
- package/build/cjs/src/utils/errors/parseError.js +35 -1
- package/build/cjs/src/utils/fees/executionFee.js +5 -3
- package/build/cjs/src/utils/fees/index.js +8 -6
- package/build/cjs/src/utils/fees/priceImpact.js +94 -32
- package/build/cjs/src/utils/gelatoRelay.js +5 -0
- package/build/cjs/src/utils/marketKeysAndConfigs.js +24 -4
- package/build/cjs/src/utils/markets.js +10 -3
- package/build/cjs/src/utils/numbers.js +18 -17
- package/build/cjs/src/utils/orderTransactions.js +5 -1
- package/build/cjs/src/utils/positions.js +77 -9
- package/build/cjs/src/utils/prices.js +19 -13
- package/build/cjs/src/utils/swap/__tests__/mockRouting.spec.js +1 -0
- package/build/cjs/src/utils/swap/swapStats.js +6 -3
- package/build/cjs/src/utils/trade/decrease.js +470 -0
- package/build/cjs/src/utils/trade/{amounts.js → increase.js} +86 -31
- package/build/cjs/src/utils/tradeHistory.js +3 -0
- package/build/esm/src/abis/ClaimHandler.json +1 -16
- package/build/esm/src/abis/CustomErrors.json +642 -61
- package/build/esm/src/abis/DataStore.json +25 -6
- package/build/esm/src/abis/EventEmitter.json +1 -6
- package/build/esm/src/abis/ExchangeRouter.json +195 -290
- package/build/esm/src/abis/GelatoRelayRouter.json +251 -98
- package/build/esm/src/abis/GlvReader.json +60 -3
- package/build/esm/src/abis/GlvRouter.json +144 -86
- package/build/esm/src/abis/GovToken.json +1 -354
- package/build/esm/src/abis/LayerZeroProvider.json +372 -0
- package/build/esm/src/abis/Multicall.json +134 -38
- package/build/esm/src/abis/MultichainClaimsRouter.json +1266 -0
- package/build/esm/src/abis/MultichainGlvRouter.json +1150 -0
- package/build/esm/src/abis/MultichainGmRouter.json +1449 -0
- package/build/esm/src/abis/MultichainOrderRouter.json +1820 -0
- package/build/esm/src/abis/MultichainSubaccountRouter.json +2069 -0
- package/build/esm/src/abis/MultichainTransferRouter.json +915 -0
- package/build/esm/src/abis/MultichainUtils.json +133 -0
- package/build/esm/src/abis/MultichainVault.json +275 -0
- package/build/esm/src/abis/ReferralStorage.json +69 -19
- package/build/esm/src/abis/RelayParams.json +85 -48
- package/build/esm/src/abis/SmartAccount.json +28 -0
- package/build/esm/src/abis/SubaccountGelatoRelayRouter.json +282 -148
- package/build/esm/src/abis/SubaccountRouter.json +62 -118
- package/build/esm/src/abis/SyntheticsReader.json +342 -474
- package/build/esm/src/abis/SyntheticsRouter.json +1 -6
- package/build/esm/src/abis/index.js +51 -7
- package/build/esm/src/configs/__tests__/markets.spec.js +3 -3
- package/build/esm/src/configs/__tests__/permits.spec.js +2 -2
- package/build/esm/src/configs/__tests__/tokens.spec.js +2 -2
- package/build/esm/src/configs/batch.js +49 -1
- package/build/esm/src/configs/chains.js +40 -7
- package/build/esm/src/configs/contracts.js +152 -42
- package/build/esm/src/configs/dataStore.js +29 -1
- package/build/esm/src/configs/express.js +5 -1
- package/build/esm/src/configs/factors.js +1 -1
- package/build/esm/src/configs/markets.js +129 -1
- package/build/esm/src/configs/oracleKeeper.js +3 -1
- package/build/esm/src/configs/tokens.js +216 -2
- package/build/esm/src/modules/markets/index.js +9 -4
- package/build/esm/src/modules/markets/query-builders.js +28 -8
- package/build/esm/src/modules/orders/helpers.js +1 -1
- package/build/esm/src/modules/orders/helpers.spec.js +1 -1
- package/build/esm/src/modules/orders/utils.js +4 -5
- package/build/esm/src/modules/positions/positions.js +40 -7
- package/build/esm/src/modules/utils/utils.js +1 -0
- package/build/esm/src/prebuilt/hashedKinkModelMarketRatesKeys.json +146 -0
- package/build/esm/src/prebuilt/hashedMarketConfigKeys.json +2207 -532
- package/build/esm/src/prebuilt/hashedMarketValuesKeys.json +272 -0
- package/build/esm/src/test/mock.js +9 -4
- package/build/esm/src/types/subsquid.js +506 -0
- package/build/esm/src/utils/LruCache.js +4 -0
- package/build/esm/src/utils/__tests__/LruCache.spec.js +18 -0
- package/build/esm/src/utils/__tests__/numbers.spec.js +18 -16
- package/build/esm/src/utils/__tests__/orderTransactions/batchUtils.spec.js +0 -1
- package/build/esm/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +8 -0
- package/build/esm/src/utils/__tests__/orderTransactions/exchangeRouterMulticall.spec.js +38 -30
- package/build/esm/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +10 -0
- package/build/esm/src/utils/__tests__/orderTransactions/swapOrders.spec.js +7 -1
- package/build/esm/src/utils/__tests__/positions.spec.js +23 -6
- package/build/esm/src/utils/bigmath.js +9 -2
- package/build/esm/src/utils/errors/parseError.js +31 -0
- package/build/esm/src/utils/fees/executionFee.js +5 -3
- package/build/esm/src/utils/fees/index.js +8 -6
- package/build/esm/src/utils/fees/priceImpact.js +88 -30
- package/build/esm/src/utils/gelatoRelay.js +2 -0
- package/build/esm/src/utils/marketKeysAndConfigs.js +25 -5
- package/build/esm/src/utils/markets.js +7 -1
- package/build/esm/src/utils/numbers.js +18 -17
- package/build/esm/src/utils/orderTransactions.js +5 -1
- package/build/esm/src/utils/positions.js +75 -11
- package/build/esm/src/utils/prices.js +20 -14
- package/build/esm/src/utils/swap/__tests__/mockRouting.spec.js +1 -0
- package/build/esm/src/utils/swap/swapStats.js +6 -3
- package/build/esm/src/utils/trade/decrease.js +460 -0
- package/build/esm/src/utils/trade/{amounts.js → increase.js} +87 -33
- package/build/esm/src/utils/tradeHistory.js +3 -0
- package/build/types/src/abis/index.d.ts +1 -1
- package/build/types/src/configs/batch.d.ts +2 -2
- package/build/types/src/configs/chains.d.ts +25 -20
- package/build/types/src/configs/contracts.d.ts +118 -10
- package/build/types/src/configs/dataStore.d.ts +16 -0
- package/build/types/src/configs/factors.d.ts +1 -1
- package/build/types/src/configs/markets.d.ts +2 -2
- package/build/types/src/configs/tokens.d.ts +1 -0
- package/build/types/src/index.d.ts +1 -1
- package/build/types/src/modules/base.d.ts +1 -1
- package/build/types/src/modules/markets/query-builders.d.ts +3 -2
- package/build/types/src/modules/markets/types.d.ts +2 -2
- package/build/types/src/modules/orders/utils.d.ts +6 -5
- package/build/types/src/types/fees.d.ts +1 -0
- package/build/types/src/types/markets.d.ts +10 -5
- package/build/types/src/types/orders.d.ts +1 -1
- package/build/types/src/types/positions.d.ts +26 -2
- package/build/types/src/types/sdk.d.ts +2 -2
- package/build/types/src/types/subsquid.d.ts +1259 -9
- package/build/types/src/types/tokens.d.ts +7 -0
- package/build/types/src/types/trade.d.ts +14 -3
- package/build/types/src/types/tradeHistory.d.ts +3 -0
- package/build/types/src/utils/LruCache.d.ts +1 -0
- package/build/types/src/utils/bigmath.d.ts +2 -1
- package/build/types/src/utils/errors/parseError.d.ts +11 -0
- package/build/types/src/utils/fees/executionFee.d.ts +6 -3
- package/build/types/src/utils/fees/index.d.ts +2 -2
- package/build/types/src/utils/fees/priceImpact.d.ts +33 -5
- package/build/types/src/utils/marketKeysAndConfigs.d.ts +9 -4
- package/build/types/src/utils/markets.d.ts +7 -0
- package/build/types/src/utils/multicall.d.ts +1 -1
- package/build/types/src/utils/numbers.d.ts +6 -3
- package/build/types/src/utils/orderTransactions.d.ts +6 -4
- package/build/types/src/utils/positions.d.ts +30 -0
- package/build/types/src/utils/prices.d.ts +4 -0
- package/build/types/src/utils/swap/swapValues.d.ts +1 -1
- package/build/types/src/utils/trade/decrease.d.ts +77 -0
- package/build/types/src/utils/trade/{amounts.d.ts → increase.d.ts} +16 -1
- package/package.json +2 -2
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "Errors",
|
|
4
|
-
"sourceName": "contracts/error/Errors.sol",
|
|
5
2
|
"abi": [
|
|
6
3
|
{
|
|
7
4
|
"inputs": [],
|
|
@@ -113,6 +110,11 @@
|
|
|
113
110
|
"name": "BlockNumbersNotSorted",
|
|
114
111
|
"type": "error"
|
|
115
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"inputs": [],
|
|
115
|
+
"name": "BridgeOutNotSupportedDuringShift",
|
|
116
|
+
"type": "error"
|
|
117
|
+
},
|
|
116
118
|
{
|
|
117
119
|
"inputs": [
|
|
118
120
|
{
|
|
@@ -208,6 +210,11 @@
|
|
|
208
210
|
"name": "ConfigValueExceedsAllowedRange",
|
|
209
211
|
"type": "error"
|
|
210
212
|
},
|
|
213
|
+
{
|
|
214
|
+
"inputs": [],
|
|
215
|
+
"name": "DataListLengthExceeded",
|
|
216
|
+
"type": "error"
|
|
217
|
+
},
|
|
211
218
|
{
|
|
212
219
|
"inputs": [
|
|
213
220
|
{
|
|
@@ -268,6 +275,17 @@
|
|
|
268
275
|
"name": "DisabledMarket",
|
|
269
276
|
"type": "error"
|
|
270
277
|
},
|
|
278
|
+
{
|
|
279
|
+
"inputs": [
|
|
280
|
+
{
|
|
281
|
+
"internalType": "uint256",
|
|
282
|
+
"name": "existingDistributionId",
|
|
283
|
+
"type": "uint256"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"name": "DuplicateClaimTerms",
|
|
287
|
+
"type": "error"
|
|
288
|
+
},
|
|
271
289
|
{
|
|
272
290
|
"inputs": [
|
|
273
291
|
{
|
|
@@ -295,6 +313,17 @@
|
|
|
295
313
|
"name": "DuplicatedMarketInSwapPath",
|
|
296
314
|
"type": "error"
|
|
297
315
|
},
|
|
316
|
+
{
|
|
317
|
+
"inputs": [
|
|
318
|
+
{
|
|
319
|
+
"internalType": "address",
|
|
320
|
+
"name": "token",
|
|
321
|
+
"type": "address"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"name": "EdgeDataStreamIdAlreadyExistsForToken",
|
|
325
|
+
"type": "error"
|
|
326
|
+
},
|
|
298
327
|
{
|
|
299
328
|
"inputs": [],
|
|
300
329
|
"name": "EmptyAccount",
|
|
@@ -318,7 +347,7 @@
|
|
|
318
347
|
},
|
|
319
348
|
{
|
|
320
349
|
"inputs": [],
|
|
321
|
-
"name": "
|
|
350
|
+
"name": "EmptyAmount",
|
|
322
351
|
"type": "error"
|
|
323
352
|
},
|
|
324
353
|
{
|
|
@@ -348,6 +377,17 @@
|
|
|
348
377
|
"name": "EmptyClaimFeesMarket",
|
|
349
378
|
"type": "error"
|
|
350
379
|
},
|
|
380
|
+
{
|
|
381
|
+
"inputs": [
|
|
382
|
+
{
|
|
383
|
+
"internalType": "address",
|
|
384
|
+
"name": "token",
|
|
385
|
+
"type": "address"
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
"name": "EmptyClaimableAmount",
|
|
389
|
+
"type": "error"
|
|
390
|
+
},
|
|
351
391
|
{
|
|
352
392
|
"inputs": [
|
|
353
393
|
{
|
|
@@ -385,6 +425,11 @@
|
|
|
385
425
|
"name": "EmptyDepositAmountsAfterSwap",
|
|
386
426
|
"type": "error"
|
|
387
427
|
},
|
|
428
|
+
{
|
|
429
|
+
"inputs": [],
|
|
430
|
+
"name": "EmptyFundingAccount",
|
|
431
|
+
"type": "error"
|
|
432
|
+
},
|
|
388
433
|
{
|
|
389
434
|
"inputs": [
|
|
390
435
|
{
|
|
@@ -452,6 +497,38 @@
|
|
|
452
497
|
"name": "EmptyMarketTokenSupply",
|
|
453
498
|
"type": "error"
|
|
454
499
|
},
|
|
500
|
+
{
|
|
501
|
+
"inputs": [
|
|
502
|
+
{
|
|
503
|
+
"internalType": "address",
|
|
504
|
+
"name": "account",
|
|
505
|
+
"type": "address"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"internalType": "address",
|
|
509
|
+
"name": "token",
|
|
510
|
+
"type": "address"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"name": "EmptyMultichainTransferInAmount",
|
|
514
|
+
"type": "error"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"inputs": [
|
|
518
|
+
{
|
|
519
|
+
"internalType": "address",
|
|
520
|
+
"name": "account",
|
|
521
|
+
"type": "address"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"internalType": "address",
|
|
525
|
+
"name": "token",
|
|
526
|
+
"type": "address"
|
|
527
|
+
}
|
|
528
|
+
],
|
|
529
|
+
"name": "EmptyMultichainTransferOutAmount",
|
|
530
|
+
"type": "error"
|
|
531
|
+
},
|
|
455
532
|
{
|
|
456
533
|
"inputs": [],
|
|
457
534
|
"name": "EmptyOrder",
|
|
@@ -462,6 +539,11 @@
|
|
|
462
539
|
"name": "EmptyPosition",
|
|
463
540
|
"type": "error"
|
|
464
541
|
},
|
|
542
|
+
{
|
|
543
|
+
"inputs": [],
|
|
544
|
+
"name": "EmptyPositionImpactWithdrawalAmount",
|
|
545
|
+
"type": "error"
|
|
546
|
+
},
|
|
465
547
|
{
|
|
466
548
|
"inputs": [
|
|
467
549
|
{
|
|
@@ -478,6 +560,11 @@
|
|
|
478
560
|
"name": "EmptyReceiver",
|
|
479
561
|
"type": "error"
|
|
480
562
|
},
|
|
563
|
+
{
|
|
564
|
+
"inputs": [],
|
|
565
|
+
"name": "EmptyReduceLentAmount",
|
|
566
|
+
"type": "error"
|
|
567
|
+
},
|
|
481
568
|
{
|
|
482
569
|
"inputs": [],
|
|
483
570
|
"name": "EmptyRelayFeeAddress",
|
|
@@ -498,6 +585,16 @@
|
|
|
498
585
|
"name": "EmptySizeDeltaInTokens",
|
|
499
586
|
"type": "error"
|
|
500
587
|
},
|
|
588
|
+
{
|
|
589
|
+
"inputs": [],
|
|
590
|
+
"name": "EmptyTarget",
|
|
591
|
+
"type": "error"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"inputs": [],
|
|
595
|
+
"name": "EmptyToken",
|
|
596
|
+
"type": "error"
|
|
597
|
+
},
|
|
501
598
|
{
|
|
502
599
|
"inputs": [
|
|
503
600
|
{
|
|
@@ -529,6 +626,17 @@
|
|
|
529
626
|
"name": "EndOfOracleSimulation",
|
|
530
627
|
"type": "error"
|
|
531
628
|
},
|
|
629
|
+
{
|
|
630
|
+
"inputs": [
|
|
631
|
+
{
|
|
632
|
+
"internalType": "string",
|
|
633
|
+
"name": "key",
|
|
634
|
+
"type": "string"
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
"name": "EventItemNotFound",
|
|
638
|
+
"type": "error"
|
|
639
|
+
},
|
|
532
640
|
{
|
|
533
641
|
"inputs": [
|
|
534
642
|
{
|
|
@@ -1129,6 +1237,33 @@
|
|
|
1129
1237
|
"name": "InsufficientExecutionGasForErrorHandling",
|
|
1130
1238
|
"type": "error"
|
|
1131
1239
|
},
|
|
1240
|
+
{
|
|
1241
|
+
"inputs": [
|
|
1242
|
+
{
|
|
1243
|
+
"internalType": "uint256",
|
|
1244
|
+
"name": "feeProvided",
|
|
1245
|
+
"type": "uint256"
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"internalType": "uint256",
|
|
1249
|
+
"name": "feeRequired",
|
|
1250
|
+
"type": "uint256"
|
|
1251
|
+
}
|
|
1252
|
+
],
|
|
1253
|
+
"name": "InsufficientFee",
|
|
1254
|
+
"type": "error"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"inputs": [
|
|
1258
|
+
{
|
|
1259
|
+
"internalType": "address",
|
|
1260
|
+
"name": "token",
|
|
1261
|
+
"type": "address"
|
|
1262
|
+
}
|
|
1263
|
+
],
|
|
1264
|
+
"name": "InsufficientFunds",
|
|
1265
|
+
"type": "error"
|
|
1266
|
+
},
|
|
1132
1267
|
{
|
|
1133
1268
|
"inputs": [
|
|
1134
1269
|
{
|
|
@@ -1145,6 +1280,22 @@
|
|
|
1145
1280
|
"name": "InsufficientFundsToPayForCosts",
|
|
1146
1281
|
"type": "error"
|
|
1147
1282
|
},
|
|
1283
|
+
{
|
|
1284
|
+
"inputs": [
|
|
1285
|
+
{
|
|
1286
|
+
"internalType": "uint256",
|
|
1287
|
+
"name": "gas",
|
|
1288
|
+
"type": "uint256"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"internalType": "uint256",
|
|
1292
|
+
"name": "minHandleExecutionErrorGas",
|
|
1293
|
+
"type": "uint256"
|
|
1294
|
+
}
|
|
1295
|
+
],
|
|
1296
|
+
"name": "InsufficientGasForAutoCancellation",
|
|
1297
|
+
"type": "error"
|
|
1298
|
+
},
|
|
1148
1299
|
{
|
|
1149
1300
|
"inputs": [
|
|
1150
1301
|
{
|
|
@@ -1161,6 +1312,22 @@
|
|
|
1161
1312
|
"name": "InsufficientGasForCancellation",
|
|
1162
1313
|
"type": "error"
|
|
1163
1314
|
},
|
|
1315
|
+
{
|
|
1316
|
+
"inputs": [
|
|
1317
|
+
{
|
|
1318
|
+
"internalType": "uint256",
|
|
1319
|
+
"name": "gas",
|
|
1320
|
+
"type": "uint256"
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"internalType": "uint256",
|
|
1324
|
+
"name": "estimatedGasLimit",
|
|
1325
|
+
"type": "uint256"
|
|
1326
|
+
}
|
|
1327
|
+
],
|
|
1328
|
+
"name": "InsufficientGasLeft",
|
|
1329
|
+
"type": "error"
|
|
1330
|
+
},
|
|
1164
1331
|
{
|
|
1165
1332
|
"inputs": [
|
|
1166
1333
|
{
|
|
@@ -1193,6 +1360,27 @@
|
|
|
1193
1360
|
"name": "InsufficientHandleExecutionErrorGas",
|
|
1194
1361
|
"type": "error"
|
|
1195
1362
|
},
|
|
1363
|
+
{
|
|
1364
|
+
"inputs": [
|
|
1365
|
+
{
|
|
1366
|
+
"internalType": "uint256",
|
|
1367
|
+
"name": "withdrawalAmount",
|
|
1368
|
+
"type": "uint256"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"internalType": "uint256",
|
|
1372
|
+
"name": "poolValue",
|
|
1373
|
+
"type": "uint256"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"internalType": "int256",
|
|
1377
|
+
"name": "totalPendingImpactAmount",
|
|
1378
|
+
"type": "int256"
|
|
1379
|
+
}
|
|
1380
|
+
],
|
|
1381
|
+
"name": "InsufficientImpactPoolValueForWithdrawal",
|
|
1382
|
+
"type": "error"
|
|
1383
|
+
},
|
|
1196
1384
|
{
|
|
1197
1385
|
"inputs": [
|
|
1198
1386
|
{
|
|
@@ -1209,6 +1397,32 @@
|
|
|
1209
1397
|
"name": "InsufficientMarketTokens",
|
|
1210
1398
|
"type": "error"
|
|
1211
1399
|
},
|
|
1400
|
+
{
|
|
1401
|
+
"inputs": [
|
|
1402
|
+
{
|
|
1403
|
+
"internalType": "address",
|
|
1404
|
+
"name": "account",
|
|
1405
|
+
"type": "address"
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"internalType": "address",
|
|
1409
|
+
"name": "token",
|
|
1410
|
+
"type": "address"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"internalType": "uint256",
|
|
1414
|
+
"name": "balance",
|
|
1415
|
+
"type": "uint256"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"internalType": "uint256",
|
|
1419
|
+
"name": "amount",
|
|
1420
|
+
"type": "uint256"
|
|
1421
|
+
}
|
|
1422
|
+
],
|
|
1423
|
+
"name": "InsufficientMultichainBalance",
|
|
1424
|
+
"type": "error"
|
|
1425
|
+
},
|
|
1212
1426
|
{
|
|
1213
1427
|
"inputs": [
|
|
1214
1428
|
{
|
|
@@ -1305,22 +1519,6 @@
|
|
|
1305
1519
|
"name": "InsufficientSwapOutputAmount",
|
|
1306
1520
|
"type": "error"
|
|
1307
1521
|
},
|
|
1308
|
-
{
|
|
1309
|
-
"inputs": [
|
|
1310
|
-
{
|
|
1311
|
-
"internalType": "uint256",
|
|
1312
|
-
"name": "wntAmount",
|
|
1313
|
-
"type": "uint256"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"internalType": "uint256",
|
|
1317
|
-
"name": "executionFee",
|
|
1318
|
-
"type": "uint256"
|
|
1319
|
-
}
|
|
1320
|
-
],
|
|
1321
|
-
"name": "InsufficientWntAmount",
|
|
1322
|
-
"type": "error"
|
|
1323
|
-
},
|
|
1324
1522
|
{
|
|
1325
1523
|
"inputs": [
|
|
1326
1524
|
{
|
|
@@ -1396,6 +1594,17 @@
|
|
|
1396
1594
|
"name": "InvalidBlockRangeSet",
|
|
1397
1595
|
"type": "error"
|
|
1398
1596
|
},
|
|
1597
|
+
{
|
|
1598
|
+
"inputs": [
|
|
1599
|
+
{
|
|
1600
|
+
"internalType": "address",
|
|
1601
|
+
"name": "token",
|
|
1602
|
+
"type": "address"
|
|
1603
|
+
}
|
|
1604
|
+
],
|
|
1605
|
+
"name": "InvalidBridgeOutToken",
|
|
1606
|
+
"type": "error"
|
|
1607
|
+
},
|
|
1399
1608
|
{
|
|
1400
1609
|
"inputs": [
|
|
1401
1610
|
{
|
|
@@ -1476,6 +1685,33 @@
|
|
|
1476
1685
|
"name": "InvalidClaimFundingFeesInput",
|
|
1477
1686
|
"type": "error"
|
|
1478
1687
|
},
|
|
1688
|
+
{
|
|
1689
|
+
"inputs": [
|
|
1690
|
+
{
|
|
1691
|
+
"internalType": "address",
|
|
1692
|
+
"name": "recoveredSigner",
|
|
1693
|
+
"type": "address"
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"internalType": "address",
|
|
1697
|
+
"name": "expectedSigner",
|
|
1698
|
+
"type": "address"
|
|
1699
|
+
}
|
|
1700
|
+
],
|
|
1701
|
+
"name": "InvalidClaimTermsSignature",
|
|
1702
|
+
"type": "error"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"inputs": [
|
|
1706
|
+
{
|
|
1707
|
+
"internalType": "address",
|
|
1708
|
+
"name": "expectedSigner",
|
|
1709
|
+
"type": "address"
|
|
1710
|
+
}
|
|
1711
|
+
],
|
|
1712
|
+
"name": "InvalidClaimTermsSignatureForContract",
|
|
1713
|
+
"type": "error"
|
|
1714
|
+
},
|
|
1479
1715
|
{
|
|
1480
1716
|
"inputs": [
|
|
1481
1717
|
{
|
|
@@ -1503,6 +1739,17 @@
|
|
|
1503
1739
|
"name": "InvalidClaimableFactor",
|
|
1504
1740
|
"type": "error"
|
|
1505
1741
|
},
|
|
1742
|
+
{
|
|
1743
|
+
"inputs": [
|
|
1744
|
+
{
|
|
1745
|
+
"internalType": "uint256",
|
|
1746
|
+
"name": "value",
|
|
1747
|
+
"type": "uint256"
|
|
1748
|
+
}
|
|
1749
|
+
],
|
|
1750
|
+
"name": "InvalidClaimableReductionFactor",
|
|
1751
|
+
"type": "error"
|
|
1752
|
+
},
|
|
1506
1753
|
{
|
|
1507
1754
|
"inputs": [
|
|
1508
1755
|
{
|
|
@@ -1569,7 +1816,114 @@
|
|
|
1569
1816
|
"type": "bytes32"
|
|
1570
1817
|
}
|
|
1571
1818
|
],
|
|
1572
|
-
"name": "InvalidDataStreamFeedId",
|
|
1819
|
+
"name": "InvalidDataStreamFeedId",
|
|
1820
|
+
"type": "error"
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"inputs": [
|
|
1824
|
+
{
|
|
1825
|
+
"internalType": "address",
|
|
1826
|
+
"name": "token",
|
|
1827
|
+
"type": "address"
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"internalType": "int192",
|
|
1831
|
+
"name": "bid",
|
|
1832
|
+
"type": "int192"
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"internalType": "int192",
|
|
1836
|
+
"name": "ask",
|
|
1837
|
+
"type": "int192"
|
|
1838
|
+
}
|
|
1839
|
+
],
|
|
1840
|
+
"name": "InvalidDataStreamPrices",
|
|
1841
|
+
"type": "error"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"inputs": [
|
|
1845
|
+
{
|
|
1846
|
+
"internalType": "address",
|
|
1847
|
+
"name": "token",
|
|
1848
|
+
"type": "address"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"internalType": "uint256",
|
|
1852
|
+
"name": "spreadReductionFactor",
|
|
1853
|
+
"type": "uint256"
|
|
1854
|
+
}
|
|
1855
|
+
],
|
|
1856
|
+
"name": "InvalidDataStreamSpreadReductionFactor",
|
|
1857
|
+
"type": "error"
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"inputs": [
|
|
1861
|
+
{
|
|
1862
|
+
"internalType": "uint256",
|
|
1863
|
+
"name": "sizeDeltaUsd",
|
|
1864
|
+
"type": "uint256"
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"internalType": "uint256",
|
|
1868
|
+
"name": "positionSizeInUsd",
|
|
1869
|
+
"type": "uint256"
|
|
1870
|
+
}
|
|
1871
|
+
],
|
|
1872
|
+
"name": "InvalidDecreaseOrderSize",
|
|
1873
|
+
"type": "error"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"inputs": [
|
|
1877
|
+
{
|
|
1878
|
+
"internalType": "uint256",
|
|
1879
|
+
"name": "decreasePositionSwapType",
|
|
1880
|
+
"type": "uint256"
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"name": "InvalidDecreasePositionSwapType",
|
|
1884
|
+
"type": "error"
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"inputs": [
|
|
1888
|
+
{
|
|
1889
|
+
"internalType": "uint256",
|
|
1890
|
+
"name": "desChainId",
|
|
1891
|
+
"type": "uint256"
|
|
1892
|
+
}
|
|
1893
|
+
],
|
|
1894
|
+
"name": "InvalidDestinationChainId",
|
|
1895
|
+
"type": "error"
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"inputs": [
|
|
1899
|
+
{
|
|
1900
|
+
"internalType": "address",
|
|
1901
|
+
"name": "token",
|
|
1902
|
+
"type": "address"
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"internalType": "uint256",
|
|
1906
|
+
"name": "bid",
|
|
1907
|
+
"type": "uint256"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"internalType": "uint256",
|
|
1911
|
+
"name": "ask",
|
|
1912
|
+
"type": "uint256"
|
|
1913
|
+
}
|
|
1914
|
+
],
|
|
1915
|
+
"name": "InvalidEdgeDataStreamBidAsk",
|
|
1916
|
+
"type": "error"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"inputs": [
|
|
1920
|
+
{
|
|
1921
|
+
"internalType": "int256",
|
|
1922
|
+
"name": "expo",
|
|
1923
|
+
"type": "int256"
|
|
1924
|
+
}
|
|
1925
|
+
],
|
|
1926
|
+
"name": "InvalidEdgeDataStreamExpo",
|
|
1573
1927
|
"type": "error"
|
|
1574
1928
|
},
|
|
1575
1929
|
{
|
|
@@ -1580,60 +1934,44 @@
|
|
|
1580
1934
|
"type": "address"
|
|
1581
1935
|
},
|
|
1582
1936
|
{
|
|
1583
|
-
"internalType": "
|
|
1937
|
+
"internalType": "uint256",
|
|
1584
1938
|
"name": "bid",
|
|
1585
|
-
"type": "
|
|
1939
|
+
"type": "uint256"
|
|
1586
1940
|
},
|
|
1587
1941
|
{
|
|
1588
|
-
"internalType": "
|
|
1942
|
+
"internalType": "uint256",
|
|
1589
1943
|
"name": "ask",
|
|
1590
|
-
"type": "
|
|
1944
|
+
"type": "uint256"
|
|
1591
1945
|
}
|
|
1592
1946
|
],
|
|
1593
|
-
"name": "
|
|
1947
|
+
"name": "InvalidEdgeDataStreamPrices",
|
|
1594
1948
|
"type": "error"
|
|
1595
1949
|
},
|
|
1596
1950
|
{
|
|
1597
1951
|
"inputs": [
|
|
1598
|
-
{
|
|
1599
|
-
"internalType": "address",
|
|
1600
|
-
"name": "token",
|
|
1601
|
-
"type": "address"
|
|
1602
|
-
},
|
|
1603
1952
|
{
|
|
1604
1953
|
"internalType": "uint256",
|
|
1605
|
-
"name": "
|
|
1954
|
+
"name": "recoverError",
|
|
1606
1955
|
"type": "uint256"
|
|
1607
1956
|
}
|
|
1608
1957
|
],
|
|
1609
|
-
"name": "
|
|
1958
|
+
"name": "InvalidEdgeSignature",
|
|
1610
1959
|
"type": "error"
|
|
1611
1960
|
},
|
|
1612
1961
|
{
|
|
1613
|
-
"inputs": [
|
|
1614
|
-
|
|
1615
|
-
"internalType": "uint256",
|
|
1616
|
-
"name": "sizeDeltaUsd",
|
|
1617
|
-
"type": "uint256"
|
|
1618
|
-
},
|
|
1619
|
-
{
|
|
1620
|
-
"internalType": "uint256",
|
|
1621
|
-
"name": "positionSizeInUsd",
|
|
1622
|
-
"type": "uint256"
|
|
1623
|
-
}
|
|
1624
|
-
],
|
|
1625
|
-
"name": "InvalidDecreaseOrderSize",
|
|
1962
|
+
"inputs": [],
|
|
1963
|
+
"name": "InvalidEdgeSigner",
|
|
1626
1964
|
"type": "error"
|
|
1627
1965
|
},
|
|
1628
1966
|
{
|
|
1629
1967
|
"inputs": [
|
|
1630
1968
|
{
|
|
1631
1969
|
"internalType": "uint256",
|
|
1632
|
-
"name": "
|
|
1970
|
+
"name": "eid",
|
|
1633
1971
|
"type": "uint256"
|
|
1634
1972
|
}
|
|
1635
1973
|
],
|
|
1636
|
-
"name": "
|
|
1974
|
+
"name": "InvalidEid",
|
|
1637
1975
|
"type": "error"
|
|
1638
1976
|
},
|
|
1639
1977
|
{
|
|
@@ -1888,6 +2226,22 @@
|
|
|
1888
2226
|
"name": "InvalidGmSignerMinMaxPrice",
|
|
1889
2227
|
"type": "error"
|
|
1890
2228
|
},
|
|
2229
|
+
{
|
|
2230
|
+
"inputs": [
|
|
2231
|
+
{
|
|
2232
|
+
"internalType": "address",
|
|
2233
|
+
"name": "account",
|
|
2234
|
+
"type": "address"
|
|
2235
|
+
}
|
|
2236
|
+
],
|
|
2237
|
+
"name": "InvalidHoldingAddress",
|
|
2238
|
+
"type": "error"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"inputs": [],
|
|
2242
|
+
"name": "InvalidInitializer",
|
|
2243
|
+
"type": "error"
|
|
2244
|
+
},
|
|
1891
2245
|
{
|
|
1892
2246
|
"inputs": [
|
|
1893
2247
|
{
|
|
@@ -2030,6 +2384,28 @@
|
|
|
2030
2384
|
"name": "InvalidMinMaxForPrice",
|
|
2031
2385
|
"type": "error"
|
|
2032
2386
|
},
|
|
2387
|
+
{
|
|
2388
|
+
"inputs": [
|
|
2389
|
+
{
|
|
2390
|
+
"internalType": "address",
|
|
2391
|
+
"name": "endpoint",
|
|
2392
|
+
"type": "address"
|
|
2393
|
+
}
|
|
2394
|
+
],
|
|
2395
|
+
"name": "InvalidMultichainEndpoint",
|
|
2396
|
+
"type": "error"
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"inputs": [
|
|
2400
|
+
{
|
|
2401
|
+
"internalType": "address",
|
|
2402
|
+
"name": "provider",
|
|
2403
|
+
"type": "address"
|
|
2404
|
+
}
|
|
2405
|
+
],
|
|
2406
|
+
"name": "InvalidMultichainProvider",
|
|
2407
|
+
"type": "error"
|
|
2408
|
+
},
|
|
2033
2409
|
{
|
|
2034
2410
|
"inputs": [
|
|
2035
2411
|
{
|
|
@@ -2104,7 +2480,7 @@
|
|
|
2104
2480
|
"inputs": [
|
|
2105
2481
|
{
|
|
2106
2482
|
"internalType": "address",
|
|
2107
|
-
"name": "
|
|
2483
|
+
"name": "signer",
|
|
2108
2484
|
"type": "address"
|
|
2109
2485
|
}
|
|
2110
2486
|
],
|
|
@@ -2153,6 +2529,17 @@
|
|
|
2153
2529
|
"name": "InvalidOutputToken",
|
|
2154
2530
|
"type": "error"
|
|
2155
2531
|
},
|
|
2532
|
+
{
|
|
2533
|
+
"inputs": [
|
|
2534
|
+
{
|
|
2535
|
+
"internalType": "string",
|
|
2536
|
+
"name": "reason",
|
|
2537
|
+
"type": "string"
|
|
2538
|
+
}
|
|
2539
|
+
],
|
|
2540
|
+
"name": "InvalidParams",
|
|
2541
|
+
"type": "error"
|
|
2542
|
+
},
|
|
2156
2543
|
{
|
|
2157
2544
|
"inputs": [
|
|
2158
2545
|
{
|
|
@@ -2191,6 +2578,22 @@
|
|
|
2191
2578
|
"name": "InvalidPoolValueForWithdrawal",
|
|
2192
2579
|
"type": "error"
|
|
2193
2580
|
},
|
|
2581
|
+
{
|
|
2582
|
+
"inputs": [
|
|
2583
|
+
{
|
|
2584
|
+
"internalType": "uint256",
|
|
2585
|
+
"name": "distributionAmount",
|
|
2586
|
+
"type": "uint256"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"internalType": "uint256",
|
|
2590
|
+
"name": "positionImpactPoolAmount",
|
|
2591
|
+
"type": "uint256"
|
|
2592
|
+
}
|
|
2593
|
+
],
|
|
2594
|
+
"name": "InvalidPositionImpactPoolDistributionRate",
|
|
2595
|
+
"type": "error"
|
|
2596
|
+
},
|
|
2194
2597
|
{
|
|
2195
2598
|
"inputs": [
|
|
2196
2599
|
{
|
|
@@ -2293,6 +2696,32 @@
|
|
|
2293
2696
|
"name": "InvalidReceiverForSubaccountOrder",
|
|
2294
2697
|
"type": "error"
|
|
2295
2698
|
},
|
|
2699
|
+
{
|
|
2700
|
+
"inputs": [
|
|
2701
|
+
{
|
|
2702
|
+
"internalType": "string",
|
|
2703
|
+
"name": "signatureType",
|
|
2704
|
+
"type": "string"
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"internalType": "address",
|
|
2708
|
+
"name": "recovered",
|
|
2709
|
+
"type": "address"
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"internalType": "address",
|
|
2713
|
+
"name": "recoveredFromMinified",
|
|
2714
|
+
"type": "address"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"internalType": "address",
|
|
2718
|
+
"name": "expectedSigner",
|
|
2719
|
+
"type": "address"
|
|
2720
|
+
}
|
|
2721
|
+
],
|
|
2722
|
+
"name": "InvalidRecoveredSigner",
|
|
2723
|
+
"type": "error"
|
|
2724
|
+
},
|
|
2296
2725
|
{
|
|
2297
2726
|
"inputs": [
|
|
2298
2727
|
{
|
|
@@ -2352,6 +2781,28 @@
|
|
|
2352
2781
|
"name": "InvalidSizeDeltaForAdl",
|
|
2353
2782
|
"type": "error"
|
|
2354
2783
|
},
|
|
2784
|
+
{
|
|
2785
|
+
"inputs": [
|
|
2786
|
+
{
|
|
2787
|
+
"internalType": "uint256",
|
|
2788
|
+
"name": "srcChainId",
|
|
2789
|
+
"type": "uint256"
|
|
2790
|
+
}
|
|
2791
|
+
],
|
|
2792
|
+
"name": "InvalidSrcChainId",
|
|
2793
|
+
"type": "error"
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
"inputs": [
|
|
2797
|
+
{
|
|
2798
|
+
"internalType": "uint256",
|
|
2799
|
+
"name": "desChainId",
|
|
2800
|
+
"type": "uint256"
|
|
2801
|
+
}
|
|
2802
|
+
],
|
|
2803
|
+
"name": "InvalidSubaccountApprovalDesChainId",
|
|
2804
|
+
"type": "error"
|
|
2805
|
+
},
|
|
2355
2806
|
{
|
|
2356
2807
|
"inputs": [
|
|
2357
2808
|
{
|
|
@@ -2427,6 +2878,17 @@
|
|
|
2427
2878
|
"name": "InvalidTimelockDelay",
|
|
2428
2879
|
"type": "error"
|
|
2429
2880
|
},
|
|
2881
|
+
{
|
|
2882
|
+
"inputs": [
|
|
2883
|
+
{
|
|
2884
|
+
"internalType": "address",
|
|
2885
|
+
"name": "token",
|
|
2886
|
+
"type": "address"
|
|
2887
|
+
}
|
|
2888
|
+
],
|
|
2889
|
+
"name": "InvalidToken",
|
|
2890
|
+
"type": "error"
|
|
2891
|
+
},
|
|
2430
2892
|
{
|
|
2431
2893
|
"inputs": [
|
|
2432
2894
|
{
|
|
@@ -2443,6 +2905,16 @@
|
|
|
2443
2905
|
"name": "InvalidTokenIn",
|
|
2444
2906
|
"type": "error"
|
|
2445
2907
|
},
|
|
2908
|
+
{
|
|
2909
|
+
"inputs": [],
|
|
2910
|
+
"name": "InvalidTransferRequestsLength",
|
|
2911
|
+
"type": "error"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"inputs": [],
|
|
2915
|
+
"name": "InvalidTrustedSignerAddress",
|
|
2916
|
+
"type": "error"
|
|
2917
|
+
},
|
|
2446
2918
|
{
|
|
2447
2919
|
"inputs": [
|
|
2448
2920
|
{
|
|
@@ -2462,17 +2934,12 @@
|
|
|
2462
2934
|
{
|
|
2463
2935
|
"inputs": [
|
|
2464
2936
|
{
|
|
2465
|
-
"internalType": "
|
|
2466
|
-
"name": "
|
|
2467
|
-
"type": "
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"internalType": "uint256",
|
|
2471
|
-
"name": "userNonce",
|
|
2472
|
-
"type": "uint256"
|
|
2937
|
+
"internalType": "bytes32",
|
|
2938
|
+
"name": "digest",
|
|
2939
|
+
"type": "bytes32"
|
|
2473
2940
|
}
|
|
2474
2941
|
],
|
|
2475
|
-
"name": "
|
|
2942
|
+
"name": "InvalidUserDigest",
|
|
2476
2943
|
"type": "error"
|
|
2477
2944
|
},
|
|
2478
2945
|
{
|
|
@@ -2624,6 +3091,22 @@
|
|
|
2624
3091
|
"name": "MaxCallbackGasLimitExceeded",
|
|
2625
3092
|
"type": "error"
|
|
2626
3093
|
},
|
|
3094
|
+
{
|
|
3095
|
+
"inputs": [
|
|
3096
|
+
{
|
|
3097
|
+
"internalType": "uint256",
|
|
3098
|
+
"name": "dataLength",
|
|
3099
|
+
"type": "uint256"
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"internalType": "uint256",
|
|
3103
|
+
"name": "maxDataLength",
|
|
3104
|
+
"type": "uint256"
|
|
3105
|
+
}
|
|
3106
|
+
],
|
|
3107
|
+
"name": "MaxDataListLengthExceeded",
|
|
3108
|
+
"type": "error"
|
|
3109
|
+
},
|
|
2627
3110
|
{
|
|
2628
3111
|
"inputs": [
|
|
2629
3112
|
{
|
|
@@ -2640,6 +3123,27 @@
|
|
|
2640
3123
|
"name": "MaxFundingFactorPerSecondLimitExceeded",
|
|
2641
3124
|
"type": "error"
|
|
2642
3125
|
},
|
|
3126
|
+
{
|
|
3127
|
+
"inputs": [
|
|
3128
|
+
{
|
|
3129
|
+
"internalType": "uint256",
|
|
3130
|
+
"name": "poolUsd",
|
|
3131
|
+
"type": "uint256"
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
"internalType": "uint256",
|
|
3135
|
+
"name": "maxLendableUsd",
|
|
3136
|
+
"type": "uint256"
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
"internalType": "uint256",
|
|
3140
|
+
"name": "lentUsd",
|
|
3141
|
+
"type": "uint256"
|
|
3142
|
+
}
|
|
3143
|
+
],
|
|
3144
|
+
"name": "MaxLendableFactorForWithdrawalsExceeded",
|
|
3145
|
+
"type": "error"
|
|
3146
|
+
},
|
|
2643
3147
|
{
|
|
2644
3148
|
"inputs": [
|
|
2645
3149
|
{
|
|
@@ -3023,8 +3527,18 @@
|
|
|
3023
3527
|
"name": "OpenInterestCannotBeUpdatedForSwapOnlyMarket",
|
|
3024
3528
|
"type": "error"
|
|
3025
3529
|
},
|
|
3530
|
+
{
|
|
3531
|
+
"inputs": [],
|
|
3532
|
+
"name": "OraclePriceOutdated",
|
|
3533
|
+
"type": "error"
|
|
3534
|
+
},
|
|
3026
3535
|
{
|
|
3027
3536
|
"inputs": [
|
|
3537
|
+
{
|
|
3538
|
+
"internalType": "address",
|
|
3539
|
+
"name": "oracle",
|
|
3540
|
+
"type": "address"
|
|
3541
|
+
},
|
|
3028
3542
|
{
|
|
3029
3543
|
"internalType": "address",
|
|
3030
3544
|
"name": "token",
|
|
@@ -3034,6 +3548,22 @@
|
|
|
3034
3548
|
"name": "OracleProviderAlreadyExistsForToken",
|
|
3035
3549
|
"type": "error"
|
|
3036
3550
|
},
|
|
3551
|
+
{
|
|
3552
|
+
"inputs": [
|
|
3553
|
+
{
|
|
3554
|
+
"internalType": "address",
|
|
3555
|
+
"name": "token",
|
|
3556
|
+
"type": "address"
|
|
3557
|
+
},
|
|
3558
|
+
{
|
|
3559
|
+
"internalType": "address",
|
|
3560
|
+
"name": "provider",
|
|
3561
|
+
"type": "address"
|
|
3562
|
+
}
|
|
3563
|
+
],
|
|
3564
|
+
"name": "OracleProviderMinChangeDelayNotYetPassed",
|
|
3565
|
+
"type": "error"
|
|
3566
|
+
},
|
|
3037
3567
|
{
|
|
3038
3568
|
"inputs": [
|
|
3039
3569
|
{
|
|
@@ -3274,6 +3804,22 @@
|
|
|
3274
3804
|
"name": "PriceImpactLargerThanOrderSize",
|
|
3275
3805
|
"type": "error"
|
|
3276
3806
|
},
|
|
3807
|
+
{
|
|
3808
|
+
"inputs": [
|
|
3809
|
+
{
|
|
3810
|
+
"internalType": "uint256",
|
|
3811
|
+
"name": "lentAmount",
|
|
3812
|
+
"type": "uint256"
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
"internalType": "uint256",
|
|
3816
|
+
"name": "totalReductionAmount",
|
|
3817
|
+
"type": "uint256"
|
|
3818
|
+
}
|
|
3819
|
+
],
|
|
3820
|
+
"name": "ReductionExceedsLentAmount",
|
|
3821
|
+
"type": "error"
|
|
3822
|
+
},
|
|
3277
3823
|
{
|
|
3278
3824
|
"inputs": [
|
|
3279
3825
|
{
|
|
@@ -3434,6 +3980,17 @@
|
|
|
3434
3980
|
"name": "SubaccountApprovalExpired",
|
|
3435
3981
|
"type": "error"
|
|
3436
3982
|
},
|
|
3983
|
+
{
|
|
3984
|
+
"inputs": [
|
|
3985
|
+
{
|
|
3986
|
+
"internalType": "bytes32",
|
|
3987
|
+
"name": "integrationId",
|
|
3988
|
+
"type": "bytes32"
|
|
3989
|
+
}
|
|
3990
|
+
],
|
|
3991
|
+
"name": "SubaccountIntegrationIdDisabled",
|
|
3992
|
+
"type": "error"
|
|
3993
|
+
},
|
|
3437
3994
|
{
|
|
3438
3995
|
"inputs": [
|
|
3439
3996
|
{
|
|
@@ -3562,6 +4119,11 @@
|
|
|
3562
4119
|
"name": "ThereMustBeAtLeastOneTimelockMultiSig",
|
|
3563
4120
|
"type": "error"
|
|
3564
4121
|
},
|
|
4122
|
+
{
|
|
4123
|
+
"inputs": [],
|
|
4124
|
+
"name": "TokenPermitsNotAllowedForMultichain",
|
|
4125
|
+
"type": "error"
|
|
4126
|
+
},
|
|
3565
4127
|
{
|
|
3566
4128
|
"inputs": [
|
|
3567
4129
|
{
|
|
@@ -3636,6 +4198,16 @@
|
|
|
3636
4198
|
"name": "UnableToGetOppositeToken",
|
|
3637
4199
|
"type": "error"
|
|
3638
4200
|
},
|
|
4201
|
+
{
|
|
4202
|
+
"inputs": [],
|
|
4203
|
+
"name": "UnableToPayOrderFee",
|
|
4204
|
+
"type": "error"
|
|
4205
|
+
},
|
|
4206
|
+
{
|
|
4207
|
+
"inputs": [],
|
|
4208
|
+
"name": "UnableToPayOrderFeeFromCollateral",
|
|
4209
|
+
"type": "error"
|
|
4210
|
+
},
|
|
3639
4211
|
{
|
|
3640
4212
|
"inputs": [
|
|
3641
4213
|
{
|
|
@@ -3770,6 +4342,17 @@
|
|
|
3770
4342
|
"name": "UnsupportedOrderType",
|
|
3771
4343
|
"type": "error"
|
|
3772
4344
|
},
|
|
4345
|
+
{
|
|
4346
|
+
"inputs": [
|
|
4347
|
+
{
|
|
4348
|
+
"internalType": "uint256",
|
|
4349
|
+
"name": "orderType",
|
|
4350
|
+
"type": "uint256"
|
|
4351
|
+
}
|
|
4352
|
+
],
|
|
4353
|
+
"name": "UnsupportedOrderTypeForAutoCancellation",
|
|
4354
|
+
"type": "error"
|
|
4355
|
+
},
|
|
3773
4356
|
{
|
|
3774
4357
|
"inputs": [
|
|
3775
4358
|
{
|
|
@@ -3845,7 +4428,5 @@
|
|
|
3845
4428
|
"name": "WithdrawalNotFound",
|
|
3846
4429
|
"type": "error"
|
|
3847
4430
|
}
|
|
3848
|
-
]
|
|
3849
|
-
"linkReferences": {},
|
|
3850
|
-
"deployedLinkReferences": {}
|
|
4431
|
+
]
|
|
3851
4432
|
}
|