@pendle/sdk-boros 0.4.3 → 0.4.4
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/contracts/abis/viemAbis.d.ts +365 -409
- package/dist/contracts/abis/viemAbis.js +248 -281
- package/dist/contracts/abis/viemAbis.js.map +1 -1
- package/dist/contracts/explorer.d.ts +5 -5
- package/dist/contracts/market.d.ts +2 -12
- package/dist/entities/exchange/exchange.d.ts +132 -0
- package/dist/entities/exchange/utils.d.ts +24 -40
- package/package.json +2 -2
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.iPVeTokenAbi = exports.iMultiTokenMerkleDistributorAbi = exports.iZoneResponderAbi = exports.
|
|
4
|
-
exports.
|
|
5
|
-
{ inputs: [], name: 'InsufficientProfit', type: 'error' },
|
|
3
|
+
exports.iPVeTokenAbi = exports.iMultiTokenMerkleDistributorAbi = exports.iBotMiscFacetAbi = exports.iZoneResponderAbi = exports.iMarkRatePusherAbi = exports.iWithdrawalPoliceFacetAbi = exports.iPauserFacetAbi = exports.iOrderCancellerFacetAbi = exports.iLiquidationExecutorFacetAbi = exports.iDeleveragerFacetAbi = exports.iCLOSetterFacetAbi = exports.iBOROS20Abi = exports.iAMMAbi = exports.iFIndexOracleAbi = exports.iAuthModuleAbi = exports.iTradeModuleAbi = exports.iMarkRateOracleAbi = exports.iExplorerAbi = exports.iMulticall3Abi = exports.iMarketOffViewOnlyAbi = exports.iMarketEntryAbi = exports.iMarketRiskManagementAbi = exports.iMarketSettingAbi = exports.iMarketAllTypesAbi = exports.iMarketOrderAndOtcAbi = exports.iMarketOffAbi = exports.iMarketAbi = exports.iMarketAllEventsAndTypesAbi = exports.iRouterAbi = exports.iMarketFactoryAbi = exports.iMarketHubStorageOnlyAbi = exports.iMarketHubSetAndViewAbi = exports.iMarketHubAllEventsAndTypesAbi = exports.iMarketHubAbi = exports.iMarketHubRiskManagementAbi = exports.iMarketHubEntryOnlyAbi = exports.iAMMFactoryAbi = exports.iArbitrageExecutorFacetAbi = void 0;
|
|
4
|
+
exports.iArbitrageExecutorFacetAbi = [
|
|
6
5
|
{
|
|
7
6
|
anonymous: false,
|
|
8
7
|
inputs: [
|
|
@@ -12,30 +11,6 @@ exports.iArbitrageExecutorAbi = [
|
|
|
12
11
|
name: 'ArbitrageExecuted',
|
|
13
12
|
type: 'event',
|
|
14
13
|
},
|
|
15
|
-
{
|
|
16
|
-
inputs: [],
|
|
17
|
-
name: 'MARKET_HUB',
|
|
18
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
19
|
-
stateMutability: 'view',
|
|
20
|
-
type: 'function',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
inputs: [],
|
|
24
|
-
name: 'ROUTER',
|
|
25
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
26
|
-
stateMutability: 'view',
|
|
27
|
-
type: 'function',
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
inputs: [
|
|
31
|
-
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
32
|
-
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
33
|
-
],
|
|
34
|
-
name: 'deposit',
|
|
35
|
-
outputs: [],
|
|
36
|
-
stateMutability: 'nonpayable',
|
|
37
|
-
type: 'function',
|
|
38
|
-
},
|
|
39
14
|
{
|
|
40
15
|
inputs: [
|
|
41
16
|
{
|
|
@@ -45,7 +20,7 @@ exports.iArbitrageExecutorAbi = [
|
|
|
45
20
|
{ internalType: 'int256', name: 'minProfit', type: 'int256' },
|
|
46
21
|
{ internalType: 'bool', name: 'maximizeProfit', type: 'bool' },
|
|
47
22
|
],
|
|
48
|
-
internalType: 'struct
|
|
23
|
+
internalType: 'struct IArbitrageExecutorFacet.ArbitrageParams',
|
|
49
24
|
name: 'params',
|
|
50
25
|
type: 'tuple',
|
|
51
26
|
},
|
|
@@ -65,34 +40,6 @@ exports.iArbitrageExecutorAbi = [
|
|
|
65
40
|
stateMutability: 'view',
|
|
66
41
|
type: 'function',
|
|
67
42
|
},
|
|
68
|
-
{
|
|
69
|
-
inputs: [{ internalType: 'MarketId', name: 'marketId', type: 'uint24' }],
|
|
70
|
-
name: 'payMarketEntranceFee',
|
|
71
|
-
outputs: [],
|
|
72
|
-
stateMutability: 'nonpayable',
|
|
73
|
-
type: 'function',
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
inputs: [
|
|
77
|
-
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
78
|
-
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
79
|
-
],
|
|
80
|
-
name: 'requestWithdrawal',
|
|
81
|
-
outputs: [],
|
|
82
|
-
stateMutability: 'nonpayable',
|
|
83
|
-
type: 'function',
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
inputs: [
|
|
87
|
-
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
88
|
-
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
89
|
-
{ internalType: 'address', name: 'receiver', type: 'address' },
|
|
90
|
-
],
|
|
91
|
-
name: 'withdraw',
|
|
92
|
-
outputs: [],
|
|
93
|
-
stateMutability: 'nonpayable',
|
|
94
|
-
type: 'function',
|
|
95
|
-
},
|
|
96
43
|
];
|
|
97
44
|
exports.iAMMFactoryAbi = [
|
|
98
45
|
{
|
|
@@ -443,16 +390,6 @@ exports.iMarketHubEntryOnlyAbi = [
|
|
|
443
390
|
},
|
|
444
391
|
];
|
|
445
392
|
exports.iMarketHubRiskManagementAbi = [
|
|
446
|
-
{
|
|
447
|
-
inputs: [
|
|
448
|
-
{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' },
|
|
449
|
-
{ internalType: 'int256', name: 'delta', type: 'int256' },
|
|
450
|
-
],
|
|
451
|
-
name: 'adjustAccCash',
|
|
452
|
-
outputs: [],
|
|
453
|
-
stateMutability: 'nonpayable',
|
|
454
|
-
type: 'function',
|
|
455
|
-
},
|
|
456
393
|
{
|
|
457
394
|
inputs: [
|
|
458
395
|
{ internalType: 'MarketId', name: 'marketId', type: 'uint24' },
|
|
@@ -509,16 +446,6 @@ exports.iMarketHubRiskManagementAbi = [
|
|
|
509
446
|
stateMutability: 'nonpayable',
|
|
510
447
|
type: 'function',
|
|
511
448
|
},
|
|
512
|
-
{
|
|
513
|
-
inputs: [
|
|
514
|
-
{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' },
|
|
515
|
-
{ internalType: 'int256', name: 'desiredCash', type: 'int256' },
|
|
516
|
-
],
|
|
517
|
-
name: 'setAccCash',
|
|
518
|
-
outputs: [],
|
|
519
|
-
stateMutability: 'nonpayable',
|
|
520
|
-
type: 'function',
|
|
521
|
-
},
|
|
522
449
|
];
|
|
523
450
|
exports.iMarketHubAbi = [
|
|
524
451
|
{
|
|
@@ -724,16 +651,6 @@ exports.iMarketHubAbi = [
|
|
|
724
651
|
stateMutability: 'view',
|
|
725
652
|
type: 'function',
|
|
726
653
|
},
|
|
727
|
-
{
|
|
728
|
-
inputs: [
|
|
729
|
-
{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' },
|
|
730
|
-
{ internalType: 'int256', name: 'delta', type: 'int256' },
|
|
731
|
-
],
|
|
732
|
-
name: 'adjustAccCash',
|
|
733
|
-
outputs: [],
|
|
734
|
-
stateMutability: 'nonpayable',
|
|
735
|
-
type: 'function',
|
|
736
|
-
},
|
|
737
654
|
{
|
|
738
655
|
inputs: [
|
|
739
656
|
{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' },
|
|
@@ -1132,16 +1049,6 @@ exports.iMarketHubAbi = [
|
|
|
1132
1049
|
stateMutability: 'view',
|
|
1133
1050
|
type: 'function',
|
|
1134
1051
|
},
|
|
1135
|
-
{
|
|
1136
|
-
inputs: [
|
|
1137
|
-
{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' },
|
|
1138
|
-
{ internalType: 'int256', name: 'desiredCash', type: 'int256' },
|
|
1139
|
-
],
|
|
1140
|
-
name: 'setAccCash',
|
|
1141
|
-
outputs: [],
|
|
1142
|
-
stateMutability: 'nonpayable',
|
|
1143
|
-
type: 'function',
|
|
1144
|
-
},
|
|
1145
1052
|
{
|
|
1146
1053
|
inputs: [{ internalType: 'int128', name: 'newCritHR', type: 'int128' }],
|
|
1147
1054
|
name: 'setCritHR',
|
|
@@ -2478,23 +2385,6 @@ exports.iRouterAbi = [
|
|
|
2478
2385
|
stateMutability: 'nonpayable',
|
|
2479
2386
|
type: 'function',
|
|
2480
2387
|
},
|
|
2481
|
-
{
|
|
2482
|
-
inputs: [
|
|
2483
|
-
{
|
|
2484
|
-
components: [
|
|
2485
|
-
{ internalType: 'Account', name: 'account', type: 'bytes21' },
|
|
2486
|
-
{ internalType: 'bytes', name: 'data', type: 'bytes' },
|
|
2487
|
-
],
|
|
2488
|
-
internalType: 'struct IMiscModule.ManipulateData[]',
|
|
2489
|
-
name: 'calls',
|
|
2490
|
-
type: 'tuple[]',
|
|
2491
|
-
},
|
|
2492
|
-
],
|
|
2493
|
-
name: 'batchManipulate',
|
|
2494
|
-
outputs: [],
|
|
2495
|
-
stateMutability: 'nonpayable',
|
|
2496
|
-
type: 'function',
|
|
2497
|
-
},
|
|
2498
2388
|
{
|
|
2499
2389
|
inputs: [
|
|
2500
2390
|
{
|
|
@@ -2737,7 +2627,7 @@ exports.iRouterAbi = [
|
|
|
2737
2627
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
2738
2628
|
{ internalType: 'int16', name: 'tick', type: 'int16' },
|
|
2739
2629
|
],
|
|
2740
|
-
internalType: 'struct IRouterEventsAndTypes.
|
|
2630
|
+
internalType: 'struct IRouterEventsAndTypes.OrderReq',
|
|
2741
2631
|
name: 'order',
|
|
2742
2632
|
type: 'tuple',
|
|
2743
2633
|
},
|
|
@@ -3852,13 +3742,6 @@ exports.iMarketAbi = [
|
|
|
3852
3742
|
stateMutability: 'nonpayable',
|
|
3853
3743
|
type: 'function',
|
|
3854
3744
|
},
|
|
3855
|
-
{
|
|
3856
|
-
inputs: [{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' }],
|
|
3857
|
-
name: 'resetDelevLiqNonce',
|
|
3858
|
-
outputs: [],
|
|
3859
|
-
stateMutability: 'nonpayable',
|
|
3860
|
-
type: 'function',
|
|
3861
|
-
},
|
|
3862
3745
|
{
|
|
3863
3746
|
inputs: [
|
|
3864
3747
|
{ internalType: 'uint64', name: 'newTakerFee', type: 'uint64' },
|
|
@@ -4354,7 +4237,7 @@ exports.iMarketOffAbi = [
|
|
|
4354
4237
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
4355
4238
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
4356
4239
|
],
|
|
4357
|
-
internalType: 'struct
|
|
4240
|
+
internalType: 'struct IMarketAllTypes.Order[]',
|
|
4358
4241
|
name: '',
|
|
4359
4242
|
type: 'tuple[]',
|
|
4360
4243
|
},
|
|
@@ -4524,7 +4407,7 @@ exports.iMarketOffAbi = [
|
|
|
4524
4407
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
4525
4408
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
4526
4409
|
],
|
|
4527
|
-
internalType: 'struct
|
|
4410
|
+
internalType: 'struct IMarketAllTypes.Order',
|
|
4528
4411
|
name: 'order',
|
|
4529
4412
|
type: 'tuple',
|
|
4530
4413
|
},
|
|
@@ -4736,13 +4619,6 @@ exports.iMarketOffAbi = [
|
|
|
4736
4619
|
stateMutability: 'nonpayable',
|
|
4737
4620
|
type: 'function',
|
|
4738
4621
|
},
|
|
4739
|
-
{
|
|
4740
|
-
inputs: [{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' }],
|
|
4741
|
-
name: 'resetDelevLiqNonce',
|
|
4742
|
-
outputs: [],
|
|
4743
|
-
stateMutability: 'nonpayable',
|
|
4744
|
-
type: 'function',
|
|
4745
|
-
},
|
|
4746
4622
|
{
|
|
4747
4623
|
inputs: [
|
|
4748
4624
|
{ internalType: 'uint64', name: 'newTakerFee', type: 'uint64' },
|
|
@@ -6273,13 +6149,6 @@ exports.iMarketEntryAbi = [
|
|
|
6273
6149
|
stateMutability: 'nonpayable',
|
|
6274
6150
|
type: 'function',
|
|
6275
6151
|
},
|
|
6276
|
-
{
|
|
6277
|
-
inputs: [{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' }],
|
|
6278
|
-
name: 'resetDelevLiqNonce',
|
|
6279
|
-
outputs: [],
|
|
6280
|
-
stateMutability: 'nonpayable',
|
|
6281
|
-
type: 'function',
|
|
6282
|
-
},
|
|
6283
6152
|
{
|
|
6284
6153
|
inputs: [
|
|
6285
6154
|
{ internalType: 'MarketAcc', name: 'user', type: 'bytes26' },
|
|
@@ -6571,7 +6440,7 @@ exports.iMarketOffViewOnlyAbi = [
|
|
|
6571
6440
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
6572
6441
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
6573
6442
|
],
|
|
6574
|
-
internalType: 'struct
|
|
6443
|
+
internalType: 'struct IMarketAllTypes.Order[]',
|
|
6575
6444
|
name: '',
|
|
6576
6445
|
type: 'tuple[]',
|
|
6577
6446
|
},
|
|
@@ -6674,7 +6543,7 @@ exports.iMarketOffViewOnlyAbi = [
|
|
|
6674
6543
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
6675
6544
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
6676
6545
|
],
|
|
6677
|
-
internalType: 'struct
|
|
6546
|
+
internalType: 'struct IMarketAllTypes.Order',
|
|
6678
6547
|
name: 'order',
|
|
6679
6548
|
type: 'tuple',
|
|
6680
6549
|
},
|
|
@@ -7046,7 +6915,7 @@ exports.iExplorerAbi = [
|
|
|
7046
6915
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
7047
6916
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
7048
6917
|
],
|
|
7049
|
-
internalType: 'struct
|
|
6918
|
+
internalType: 'struct IMarketAllTypes.Order[]',
|
|
7050
6919
|
name: 'orders',
|
|
7051
6920
|
type: 'tuple[]',
|
|
7052
6921
|
},
|
|
@@ -7094,7 +6963,7 @@ exports.iExplorerAbi = [
|
|
|
7094
6963
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
7095
6964
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
7096
6965
|
],
|
|
7097
|
-
internalType: 'struct
|
|
6966
|
+
internalType: 'struct IMarketAllTypes.Order[]',
|
|
7098
6967
|
name: 'orders',
|
|
7099
6968
|
type: 'tuple[]',
|
|
7100
6969
|
},
|
|
@@ -7129,7 +6998,7 @@ exports.iExplorerAbi = [
|
|
|
7129
6998
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
7130
6999
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
7131
7000
|
],
|
|
7132
|
-
internalType: 'struct
|
|
7001
|
+
internalType: 'struct IMarketAllTypes.Order[]',
|
|
7133
7002
|
name: 'orders',
|
|
7134
7003
|
type: 'tuple[]',
|
|
7135
7004
|
},
|
|
@@ -7181,7 +7050,7 @@ exports.iExplorerAbi = [
|
|
|
7181
7050
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
7182
7051
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
7183
7052
|
],
|
|
7184
|
-
internalType: 'struct
|
|
7053
|
+
internalType: 'struct IMarketAllTypes.Order[]',
|
|
7185
7054
|
name: 'orders',
|
|
7186
7055
|
type: 'tuple[]',
|
|
7187
7056
|
},
|
|
@@ -7216,7 +7085,7 @@ exports.iExplorerAbi = [
|
|
|
7216
7085
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
7217
7086
|
{ internalType: 'int256', name: 'rate', type: 'int256' },
|
|
7218
7087
|
],
|
|
7219
|
-
internalType: 'struct
|
|
7088
|
+
internalType: 'struct IMarketAllTypes.Order[]',
|
|
7220
7089
|
name: 'orders',
|
|
7221
7090
|
type: 'tuple[]',
|
|
7222
7091
|
},
|
|
@@ -7533,7 +7402,7 @@ exports.iTradeModuleAbi = [
|
|
|
7533
7402
|
{ internalType: 'uint256', name: 'size', type: 'uint256' },
|
|
7534
7403
|
{ internalType: 'int16', name: 'tick', type: 'int16' },
|
|
7535
7404
|
],
|
|
7536
|
-
internalType: 'struct IRouterEventsAndTypes.
|
|
7405
|
+
internalType: 'struct IRouterEventsAndTypes.OrderReq',
|
|
7537
7406
|
name: 'order',
|
|
7538
7407
|
type: 'tuple',
|
|
7539
7408
|
},
|
|
@@ -8043,7 +7912,7 @@ exports.iFIndexOracleAbi = [
|
|
|
8043
7912
|
{ internalType: 'int112', name: 'floatingIndexDelta', type: 'int112' },
|
|
8044
7913
|
{ internalType: 'uint32', name: 'desiredTimestamp', type: 'uint32' },
|
|
8045
7914
|
],
|
|
8046
|
-
name: '
|
|
7915
|
+
name: 'updateFloatingIndex',
|
|
8047
7916
|
outputs: [],
|
|
8048
7917
|
stateMutability: 'nonpayable',
|
|
8049
7918
|
type: 'function',
|
|
@@ -8428,7 +8297,7 @@ exports.iBOROS20Abi = [
|
|
|
8428
8297
|
type: 'function',
|
|
8429
8298
|
},
|
|
8430
8299
|
];
|
|
8431
|
-
exports.
|
|
8300
|
+
exports.iCLOSetterFacetAbi = [
|
|
8432
8301
|
{
|
|
8433
8302
|
anonymous: false,
|
|
8434
8303
|
inputs: [
|
|
@@ -8439,7 +8308,7 @@ exports.iCLOSetterAbi = [
|
|
|
8439
8308
|
{ internalType: 'uint128', name: 'upperThres', type: 'uint128' },
|
|
8440
8309
|
],
|
|
8441
8310
|
indexed: false,
|
|
8442
|
-
internalType: 'struct
|
|
8311
|
+
internalType: 'struct ICLOSetterFacet.CLOThreshold',
|
|
8443
8312
|
name: 'newThreshold',
|
|
8444
8313
|
type: 'tuple',
|
|
8445
8314
|
},
|
|
@@ -8447,13 +8316,6 @@ exports.iCLOSetterAbi = [
|
|
|
8447
8316
|
name: 'CLOThresholdSet',
|
|
8448
8317
|
type: 'event',
|
|
8449
8318
|
},
|
|
8450
|
-
{
|
|
8451
|
-
inputs: [],
|
|
8452
|
-
name: 'MARKET_HUB',
|
|
8453
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8454
|
-
stateMutability: 'view',
|
|
8455
|
-
type: 'function',
|
|
8456
|
-
},
|
|
8457
8319
|
{
|
|
8458
8320
|
inputs: [{ internalType: 'MarketId', name: 'marketId', type: 'uint24' }],
|
|
8459
8321
|
name: 'getCLOThreshold',
|
|
@@ -8463,7 +8325,7 @@ exports.iCLOSetterAbi = [
|
|
|
8463
8325
|
{ internalType: 'uint128', name: 'lowerThres', type: 'uint128' },
|
|
8464
8326
|
{ internalType: 'uint128', name: 'upperThres', type: 'uint128' },
|
|
8465
8327
|
],
|
|
8466
|
-
internalType: 'struct
|
|
8328
|
+
internalType: 'struct ICLOSetterFacet.CLOThreshold',
|
|
8467
8329
|
name: '',
|
|
8468
8330
|
type: 'tuple',
|
|
8469
8331
|
},
|
|
@@ -8479,7 +8341,7 @@ exports.iCLOSetterAbi = [
|
|
|
8479
8341
|
{ internalType: 'uint128', name: 'lowerThres', type: 'uint128' },
|
|
8480
8342
|
{ internalType: 'uint128', name: 'upperThres', type: 'uint128' },
|
|
8481
8343
|
],
|
|
8482
|
-
internalType: 'struct
|
|
8344
|
+
internalType: 'struct ICLOSetterFacet.CLOThreshold',
|
|
8483
8345
|
name: 'newThreshold',
|
|
8484
8346
|
type: 'tuple',
|
|
8485
8347
|
},
|
|
@@ -8491,33 +8353,19 @@ exports.iCLOSetterAbi = [
|
|
|
8491
8353
|
},
|
|
8492
8354
|
{
|
|
8493
8355
|
inputs: [{ internalType: 'MarketId', name: 'marketId', type: 'uint24' }],
|
|
8494
|
-
name: '
|
|
8495
|
-
outputs: [],
|
|
8496
|
-
stateMutability: 'nonpayable',
|
|
8497
|
-
type: 'function',
|
|
8498
|
-
},
|
|
8499
|
-
{
|
|
8500
|
-
inputs: [{ internalType: 'MarketId', name: 'marketId', type: 'uint24' }],
|
|
8501
|
-
name: 'turnOnCLO',
|
|
8356
|
+
name: 'toggleCLO',
|
|
8502
8357
|
outputs: [],
|
|
8503
8358
|
stateMutability: 'nonpayable',
|
|
8504
8359
|
type: 'function',
|
|
8505
8360
|
},
|
|
8506
8361
|
];
|
|
8507
|
-
exports.
|
|
8362
|
+
exports.iDeleveragerFacetAbi = [
|
|
8508
8363
|
{
|
|
8509
8364
|
anonymous: false,
|
|
8510
8365
|
inputs: [{ indexed: false, internalType: 'int256', name: 'newDeleverageThresHR', type: 'int256' }],
|
|
8511
8366
|
name: 'DeleverageThresHRSet',
|
|
8512
8367
|
type: 'event',
|
|
8513
8368
|
},
|
|
8514
|
-
{
|
|
8515
|
-
inputs: [],
|
|
8516
|
-
name: 'MARKET_HUB',
|
|
8517
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8518
|
-
stateMutability: 'view',
|
|
8519
|
-
type: 'function',
|
|
8520
|
-
},
|
|
8521
8369
|
{
|
|
8522
8370
|
inputs: [
|
|
8523
8371
|
{
|
|
@@ -8530,17 +8378,17 @@ exports.iDeleveragerAbi = [
|
|
|
8530
8378
|
{ internalType: 'MarketAcc[]', name: 'wins', type: 'bytes26[]' },
|
|
8531
8379
|
{ internalType: 'int256[]', name: 'sizesToWin', type: 'int256[]' },
|
|
8532
8380
|
],
|
|
8533
|
-
internalType: 'struct
|
|
8381
|
+
internalType: 'struct IDeleveragerFacet.MarketDeleverageInput[]',
|
|
8534
8382
|
name: 'inputs',
|
|
8535
8383
|
type: 'tuple[]',
|
|
8536
8384
|
},
|
|
8537
8385
|
],
|
|
8538
|
-
internalType: 'struct
|
|
8539
|
-
name: '
|
|
8540
|
-
type: 'tuple
|
|
8386
|
+
internalType: 'struct IDeleveragerFacet.DeleverageRequest',
|
|
8387
|
+
name: 'req',
|
|
8388
|
+
type: 'tuple',
|
|
8541
8389
|
},
|
|
8542
8390
|
],
|
|
8543
|
-
name: '
|
|
8391
|
+
name: 'deleverage',
|
|
8544
8392
|
outputs: [],
|
|
8545
8393
|
stateMutability: 'nonpayable',
|
|
8546
8394
|
type: 'function',
|
|
@@ -8560,7 +8408,7 @@ exports.iDeleveragerAbi = [
|
|
|
8560
8408
|
type: 'function',
|
|
8561
8409
|
},
|
|
8562
8410
|
];
|
|
8563
|
-
exports.
|
|
8411
|
+
exports.iLiquidationExecutorFacetAbi = [
|
|
8564
8412
|
{
|
|
8565
8413
|
anonymous: false,
|
|
8566
8414
|
inputs: [
|
|
@@ -8570,53 +8418,6 @@ exports.iLiquidationExecutorAbi = [
|
|
|
8570
8418
|
name: 'LiquidationExecuted',
|
|
8571
8419
|
type: 'event',
|
|
8572
8420
|
},
|
|
8573
|
-
{
|
|
8574
|
-
inputs: [],
|
|
8575
|
-
name: 'MARKET_HUB',
|
|
8576
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8577
|
-
stateMutability: 'view',
|
|
8578
|
-
type: 'function',
|
|
8579
|
-
},
|
|
8580
|
-
{
|
|
8581
|
-
inputs: [],
|
|
8582
|
-
name: 'ROUTER',
|
|
8583
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8584
|
-
stateMutability: 'view',
|
|
8585
|
-
type: 'function',
|
|
8586
|
-
},
|
|
8587
|
-
{
|
|
8588
|
-
inputs: [
|
|
8589
|
-
{
|
|
8590
|
-
components: [
|
|
8591
|
-
{ internalType: 'MarketId', name: 'marketId', type: 'uint24' },
|
|
8592
|
-
{ internalType: 'AMMId', name: 'ammId', type: 'uint24' },
|
|
8593
|
-
{ internalType: 'MarketAcc', name: 'violator', type: 'bytes26' },
|
|
8594
|
-
{ internalType: 'int256', name: 'maxVioHealthRatio', type: 'int256' },
|
|
8595
|
-
{ internalType: 'uint256', name: 'minProfit', type: 'uint256' },
|
|
8596
|
-
],
|
|
8597
|
-
internalType: 'struct ILiquidationExecutor.LiquidationParams[]',
|
|
8598
|
-
name: 'batch',
|
|
8599
|
-
type: 'tuple[]',
|
|
8600
|
-
},
|
|
8601
|
-
],
|
|
8602
|
-
name: 'batchLiquidate',
|
|
8603
|
-
outputs: [
|
|
8604
|
-
{ internalType: 'bool[]', name: 'success', type: 'bool[]' },
|
|
8605
|
-
{ internalType: 'bytes[]', name: 'results', type: 'bytes[]' },
|
|
8606
|
-
],
|
|
8607
|
-
stateMutability: 'nonpayable',
|
|
8608
|
-
type: 'function',
|
|
8609
|
-
},
|
|
8610
|
-
{
|
|
8611
|
-
inputs: [
|
|
8612
|
-
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8613
|
-
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8614
|
-
],
|
|
8615
|
-
name: 'deposit',
|
|
8616
|
-
outputs: [],
|
|
8617
|
-
stateMutability: 'nonpayable',
|
|
8618
|
-
type: 'function',
|
|
8619
|
-
},
|
|
8620
8421
|
{
|
|
8621
8422
|
inputs: [
|
|
8622
8423
|
{
|
|
@@ -8627,7 +8428,7 @@ exports.iLiquidationExecutorAbi = [
|
|
|
8627
8428
|
{ internalType: 'int256', name: 'maxVioHealthRatio', type: 'int256' },
|
|
8628
8429
|
{ internalType: 'uint256', name: 'minProfit', type: 'uint256' },
|
|
8629
8430
|
],
|
|
8630
|
-
internalType: 'struct
|
|
8431
|
+
internalType: 'struct ILiquidationExecutorFacet.LiquidationParams',
|
|
8631
8432
|
name: 'params',
|
|
8632
8433
|
type: 'tuple',
|
|
8633
8434
|
},
|
|
@@ -8647,49 +8448,14 @@ exports.iLiquidationExecutorAbi = [
|
|
|
8647
8448
|
stateMutability: 'view',
|
|
8648
8449
|
type: 'function',
|
|
8649
8450
|
},
|
|
8650
|
-
{
|
|
8651
|
-
inputs: [{ internalType: 'MarketId', name: 'marketId', type: 'uint24' }],
|
|
8652
|
-
name: 'payMarketEntranceFee',
|
|
8653
|
-
outputs: [],
|
|
8654
|
-
stateMutability: 'nonpayable',
|
|
8655
|
-
type: 'function',
|
|
8656
|
-
},
|
|
8657
|
-
{
|
|
8658
|
-
inputs: [
|
|
8659
|
-
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8660
|
-
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8661
|
-
],
|
|
8662
|
-
name: 'requestWithdrawal',
|
|
8663
|
-
outputs: [],
|
|
8664
|
-
stateMutability: 'nonpayable',
|
|
8665
|
-
type: 'function',
|
|
8666
|
-
},
|
|
8667
|
-
{
|
|
8668
|
-
inputs: [
|
|
8669
|
-
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8670
|
-
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8671
|
-
{ internalType: 'address', name: 'receiver', type: 'address' },
|
|
8672
|
-
],
|
|
8673
|
-
name: 'withdraw',
|
|
8674
|
-
outputs: [],
|
|
8675
|
-
stateMutability: 'nonpayable',
|
|
8676
|
-
type: 'function',
|
|
8677
|
-
},
|
|
8678
8451
|
];
|
|
8679
|
-
exports.
|
|
8452
|
+
exports.iOrderCancellerFacetAbi = [
|
|
8680
8453
|
{
|
|
8681
8454
|
anonymous: false,
|
|
8682
8455
|
inputs: [{ indexed: false, internalType: 'int256', name: 'newCancelThresHR', type: 'int256' }],
|
|
8683
8456
|
name: 'CancelThresHRSet',
|
|
8684
8457
|
type: 'event',
|
|
8685
8458
|
},
|
|
8686
|
-
{
|
|
8687
|
-
inputs: [],
|
|
8688
|
-
name: 'MARKET_HUB',
|
|
8689
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8690
|
-
stateMutability: 'view',
|
|
8691
|
-
type: 'function',
|
|
8692
|
-
},
|
|
8693
8459
|
{
|
|
8694
8460
|
inputs: [],
|
|
8695
8461
|
name: 'cancelThresHR',
|
|
@@ -8708,7 +8474,7 @@ exports.iOrderCancellerAbi = [
|
|
|
8708
8474
|
{ internalType: 'MarketId', name: 'marketId', type: 'uint24' },
|
|
8709
8475
|
{ internalType: 'OrderId[]', name: 'ids', type: 'uint64[]' },
|
|
8710
8476
|
],
|
|
8711
|
-
internalType: 'struct
|
|
8477
|
+
internalType: 'struct IOrderCancellerFacet.HealthJumpProof[]',
|
|
8712
8478
|
name: 'proofs',
|
|
8713
8479
|
type: 'tuple[]',
|
|
8714
8480
|
},
|
|
@@ -8724,7 +8490,7 @@ exports.iOrderCancellerAbi = [
|
|
|
8724
8490
|
{ internalType: 'MarketId', name: 'marketId', type: 'uint24' },
|
|
8725
8491
|
{ internalType: 'OrderId[]', name: 'ids', type: 'uint64[]' },
|
|
8726
8492
|
],
|
|
8727
|
-
internalType: 'struct
|
|
8493
|
+
internalType: 'struct IOrderCancellerFacet.HealthJumpProof[]',
|
|
8728
8494
|
name: 'proofs',
|
|
8729
8495
|
type: 'tuple[]',
|
|
8730
8496
|
},
|
|
@@ -8742,7 +8508,7 @@ exports.iOrderCancellerAbi = [
|
|
|
8742
8508
|
type: 'function',
|
|
8743
8509
|
},
|
|
8744
8510
|
];
|
|
8745
|
-
exports.
|
|
8511
|
+
exports.iPauserFacetAbi = [
|
|
8746
8512
|
{
|
|
8747
8513
|
anonymous: false,
|
|
8748
8514
|
inputs: [
|
|
@@ -8752,13 +8518,6 @@ exports.iPauserAbi = [
|
|
|
8752
8518
|
name: 'MinTotalMMSet',
|
|
8753
8519
|
type: 'event',
|
|
8754
8520
|
},
|
|
8755
|
-
{
|
|
8756
|
-
inputs: [],
|
|
8757
|
-
name: 'MARKET_HUB',
|
|
8758
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8759
|
-
stateMutability: 'view',
|
|
8760
|
-
type: 'function',
|
|
8761
|
-
},
|
|
8762
8521
|
{
|
|
8763
8522
|
inputs: [{ internalType: 'MarketAcc[]', name: 'users', type: 'bytes26[]' }],
|
|
8764
8523
|
name: 'findRiskyUsers',
|
|
@@ -8801,7 +8560,7 @@ exports.iPauserAbi = [
|
|
|
8801
8560
|
type: 'function',
|
|
8802
8561
|
},
|
|
8803
8562
|
];
|
|
8804
|
-
exports.
|
|
8563
|
+
exports.iWithdrawalPoliceFacetAbi = [
|
|
8805
8564
|
{
|
|
8806
8565
|
anonymous: false,
|
|
8807
8566
|
inputs: [{ indexed: false, internalType: 'address', name: 'user', type: 'address' }],
|
|
@@ -8823,13 +8582,6 @@ exports.iWithdrawalPoliceAbi = [
|
|
|
8823
8582
|
name: 'ResetPersonalCooldown',
|
|
8824
8583
|
type: 'event',
|
|
8825
8584
|
},
|
|
8826
|
-
{
|
|
8827
|
-
inputs: [],
|
|
8828
|
-
name: 'MARKET_HUB',
|
|
8829
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8830
|
-
stateMutability: 'view',
|
|
8831
|
-
type: 'function',
|
|
8832
|
-
},
|
|
8833
8585
|
{
|
|
8834
8586
|
inputs: [
|
|
8835
8587
|
{ internalType: 'address', name: 'user', type: 'address' },
|
|
@@ -8872,6 +8624,121 @@ exports.iWithdrawalPoliceAbi = [
|
|
|
8872
8624
|
type: 'function',
|
|
8873
8625
|
},
|
|
8874
8626
|
];
|
|
8627
|
+
exports.iMarkRatePusherAbi = [
|
|
8628
|
+
{
|
|
8629
|
+
anonymous: false,
|
|
8630
|
+
inputs: [{ indexed: false, internalType: 'uint256', name: 'newMaxDelta', type: 'uint256' }],
|
|
8631
|
+
name: 'MaxDeltaSet',
|
|
8632
|
+
type: 'event',
|
|
8633
|
+
},
|
|
8634
|
+
{
|
|
8635
|
+
inputs: [],
|
|
8636
|
+
name: 'MARKET_HUB',
|
|
8637
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8638
|
+
stateMutability: 'view',
|
|
8639
|
+
type: 'function',
|
|
8640
|
+
},
|
|
8641
|
+
{
|
|
8642
|
+
inputs: [],
|
|
8643
|
+
name: 'ROUTER',
|
|
8644
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8645
|
+
stateMutability: 'view',
|
|
8646
|
+
type: 'function',
|
|
8647
|
+
},
|
|
8648
|
+
{
|
|
8649
|
+
inputs: [
|
|
8650
|
+
{ internalType: 'uint256', name: 'index', type: 'uint256' },
|
|
8651
|
+
{ internalType: 'MarketId', name: 'marketId', type: 'uint24' },
|
|
8652
|
+
{ internalType: 'int256', name: 'signedAmount', type: 'int256' },
|
|
8653
|
+
],
|
|
8654
|
+
name: 'cashTransfer',
|
|
8655
|
+
outputs: [],
|
|
8656
|
+
stateMutability: 'nonpayable',
|
|
8657
|
+
type: 'function',
|
|
8658
|
+
},
|
|
8659
|
+
{
|
|
8660
|
+
inputs: [
|
|
8661
|
+
{ internalType: 'uint256', name: 'index', type: 'uint256' },
|
|
8662
|
+
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8663
|
+
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8664
|
+
],
|
|
8665
|
+
name: 'deposit',
|
|
8666
|
+
outputs: [],
|
|
8667
|
+
stateMutability: 'nonpayable',
|
|
8668
|
+
type: 'function',
|
|
8669
|
+
},
|
|
8670
|
+
{
|
|
8671
|
+
inputs: [
|
|
8672
|
+
{ internalType: 'uint256', name: 'index', type: 'uint256' },
|
|
8673
|
+
{ internalType: 'MarketId', name: 'marketId', type: 'uint24' },
|
|
8674
|
+
],
|
|
8675
|
+
name: 'enterMarket',
|
|
8676
|
+
outputs: [],
|
|
8677
|
+
stateMutability: 'nonpayable',
|
|
8678
|
+
type: 'function',
|
|
8679
|
+
},
|
|
8680
|
+
{
|
|
8681
|
+
inputs: [],
|
|
8682
|
+
name: 'forwarder1',
|
|
8683
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8684
|
+
stateMutability: 'view',
|
|
8685
|
+
type: 'function',
|
|
8686
|
+
},
|
|
8687
|
+
{
|
|
8688
|
+
inputs: [],
|
|
8689
|
+
name: 'forwarder2',
|
|
8690
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8691
|
+
stateMutability: 'view',
|
|
8692
|
+
type: 'function',
|
|
8693
|
+
},
|
|
8694
|
+
{
|
|
8695
|
+
inputs: [],
|
|
8696
|
+
name: 'maxDelta',
|
|
8697
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
8698
|
+
stateMutability: 'view',
|
|
8699
|
+
type: 'function',
|
|
8700
|
+
},
|
|
8701
|
+
{
|
|
8702
|
+
inputs: [
|
|
8703
|
+
{ internalType: 'MarketId', name: 'marketId', type: 'uint24' },
|
|
8704
|
+
{ internalType: 'AMMId', name: 'ammId', type: 'uint24' },
|
|
8705
|
+
],
|
|
8706
|
+
name: 'pushMarkRate',
|
|
8707
|
+
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
|
|
8708
|
+
stateMutability: 'nonpayable',
|
|
8709
|
+
type: 'function',
|
|
8710
|
+
},
|
|
8711
|
+
{
|
|
8712
|
+
inputs: [
|
|
8713
|
+
{ internalType: 'uint256', name: 'index', type: 'uint256' },
|
|
8714
|
+
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8715
|
+
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8716
|
+
],
|
|
8717
|
+
name: 'requestWithdrawal',
|
|
8718
|
+
outputs: [],
|
|
8719
|
+
stateMutability: 'nonpayable',
|
|
8720
|
+
type: 'function',
|
|
8721
|
+
},
|
|
8722
|
+
{
|
|
8723
|
+
inputs: [{ internalType: 'uint256', name: 'newMaxDelta', type: 'uint256' }],
|
|
8724
|
+
name: 'setMaxDelta',
|
|
8725
|
+
outputs: [],
|
|
8726
|
+
stateMutability: 'nonpayable',
|
|
8727
|
+
type: 'function',
|
|
8728
|
+
},
|
|
8729
|
+
{
|
|
8730
|
+
inputs: [
|
|
8731
|
+
{ internalType: 'uint256', name: 'index', type: 'uint256' },
|
|
8732
|
+
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8733
|
+
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8734
|
+
{ internalType: 'address', name: 'receiver', type: 'address' },
|
|
8735
|
+
],
|
|
8736
|
+
name: 'withdraw',
|
|
8737
|
+
outputs: [],
|
|
8738
|
+
stateMutability: 'nonpayable',
|
|
8739
|
+
type: 'function',
|
|
8740
|
+
},
|
|
8741
|
+
];
|
|
8875
8742
|
exports.iZoneResponderAbi = [
|
|
8876
8743
|
{
|
|
8877
8744
|
anonymous: false,
|
|
@@ -9044,6 +8911,106 @@ exports.iZoneResponderAbi = [
|
|
|
9044
8911
|
type: 'function',
|
|
9045
8912
|
},
|
|
9046
8913
|
];
|
|
8914
|
+
exports.iBotMiscFacetAbi = [
|
|
8915
|
+
{
|
|
8916
|
+
anonymous: false,
|
|
8917
|
+
inputs: [
|
|
8918
|
+
{ indexed: true, internalType: 'bytes4', name: 'selector', type: 'bytes4' },
|
|
8919
|
+
{ indexed: true, internalType: 'address', name: 'facet', type: 'address' },
|
|
8920
|
+
],
|
|
8921
|
+
name: 'SelectorToFacetSet',
|
|
8922
|
+
type: 'event',
|
|
8923
|
+
},
|
|
8924
|
+
{
|
|
8925
|
+
inputs: [
|
|
8926
|
+
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8927
|
+
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8928
|
+
],
|
|
8929
|
+
name: 'deposit',
|
|
8930
|
+
outputs: [],
|
|
8931
|
+
stateMutability: 'nonpayable',
|
|
8932
|
+
type: 'function',
|
|
8933
|
+
},
|
|
8934
|
+
{
|
|
8935
|
+
inputs: [{ internalType: 'MarketId', name: 'marketId', type: 'uint24' }],
|
|
8936
|
+
name: 'enterMarketIsolated',
|
|
8937
|
+
outputs: [],
|
|
8938
|
+
stateMutability: 'nonpayable',
|
|
8939
|
+
type: 'function',
|
|
8940
|
+
},
|
|
8941
|
+
{
|
|
8942
|
+
inputs: [
|
|
8943
|
+
{
|
|
8944
|
+
components: [
|
|
8945
|
+
{ internalType: 'bool', name: 'allowFailure', type: 'bool' },
|
|
8946
|
+
{ internalType: 'bytes', name: 'callData', type: 'bytes' },
|
|
8947
|
+
],
|
|
8948
|
+
internalType: 'struct IBotMiscFacet.Call[]',
|
|
8949
|
+
name: 'calls',
|
|
8950
|
+
type: 'tuple[]',
|
|
8951
|
+
},
|
|
8952
|
+
],
|
|
8953
|
+
name: 'multicall',
|
|
8954
|
+
outputs: [
|
|
8955
|
+
{
|
|
8956
|
+
components: [
|
|
8957
|
+
{ internalType: 'bool', name: 'success', type: 'bool' },
|
|
8958
|
+
{ internalType: 'bytes', name: 'returnData', type: 'bytes' },
|
|
8959
|
+
],
|
|
8960
|
+
internalType: 'struct IBotMiscFacet.Result[]',
|
|
8961
|
+
name: 'results',
|
|
8962
|
+
type: 'tuple[]',
|
|
8963
|
+
},
|
|
8964
|
+
],
|
|
8965
|
+
stateMutability: 'nonpayable',
|
|
8966
|
+
type: 'function',
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
inputs: [
|
|
8970
|
+
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
8971
|
+
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
8972
|
+
],
|
|
8973
|
+
name: 'requestWithdrawal',
|
|
8974
|
+
outputs: [],
|
|
8975
|
+
stateMutability: 'nonpayable',
|
|
8976
|
+
type: 'function',
|
|
8977
|
+
},
|
|
8978
|
+
{
|
|
8979
|
+
inputs: [{ internalType: 'bytes4', name: 'selector', type: 'bytes4' }],
|
|
8980
|
+
name: 'selectorToFacet',
|
|
8981
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
8982
|
+
stateMutability: 'view',
|
|
8983
|
+
type: 'function',
|
|
8984
|
+
},
|
|
8985
|
+
{
|
|
8986
|
+
inputs: [
|
|
8987
|
+
{
|
|
8988
|
+
components: [
|
|
8989
|
+
{ internalType: 'address', name: 'facet', type: 'address' },
|
|
8990
|
+
{ internalType: 'bytes4[]', name: 'selectors', type: 'bytes4[]' },
|
|
8991
|
+
],
|
|
8992
|
+
internalType: 'struct IBotMiscFacet.SelectorsToFacet[]',
|
|
8993
|
+
name: 'arr',
|
|
8994
|
+
type: 'tuple[]',
|
|
8995
|
+
},
|
|
8996
|
+
],
|
|
8997
|
+
name: 'setSelectorToFacets',
|
|
8998
|
+
outputs: [],
|
|
8999
|
+
stateMutability: 'nonpayable',
|
|
9000
|
+
type: 'function',
|
|
9001
|
+
},
|
|
9002
|
+
{
|
|
9003
|
+
inputs: [
|
|
9004
|
+
{ internalType: 'TokenId', name: 'tokenId', type: 'uint16' },
|
|
9005
|
+
{ internalType: 'uint256', name: 'amount', type: 'uint256' },
|
|
9006
|
+
{ internalType: 'address', name: 'receiver', type: 'address' },
|
|
9007
|
+
],
|
|
9008
|
+
name: 'withdraw',
|
|
9009
|
+
outputs: [],
|
|
9010
|
+
stateMutability: 'nonpayable',
|
|
9011
|
+
type: 'function',
|
|
9012
|
+
},
|
|
9013
|
+
];
|
|
9047
9014
|
exports.iMultiTokenMerkleDistributorAbi = [
|
|
9048
9015
|
{ inputs: [], name: 'InvalidMerkleProof', type: 'error' },
|
|
9049
9016
|
{
|