@super-protocol/sdk-js 3.0.5-beta.0 → 3.1.0-beta.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/dist/cjs/connectors/BaseConnector.d.ts +0 -6
- package/dist/cjs/connectors/BaseConnector.js +1 -10
- package/dist/cjs/connectors/BlockchainConnector.js +2 -4
- package/dist/cjs/connectors/BlockchainEventsListener.js +2 -3
- package/dist/cjs/constants.d.ts +1 -0
- package/dist/cjs/constants.js +3 -2
- package/dist/cjs/contracts/abi.d.ts +145 -612
- package/dist/cjs/contracts/abi.js +173 -775
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/models/Offer.js +3 -5
- package/dist/cjs/models/Order.js +1 -4
- package/dist/cjs/models/Provider.d.ts +1 -1
- package/dist/cjs/models/Provider.js +3 -8
- package/dist/cjs/staticModels/Consensus.d.ts +3 -3
- package/dist/cjs/staticModels/Consensus.js +4 -4
- package/dist/cjs/staticModels/Deposits.d.ts +9 -10
- package/dist/cjs/staticModels/Deposits.js +18 -21
- package/dist/cjs/staticModels/Offers.js +2 -7
- package/dist/cjs/staticModels/OffersStorageRequests.js +1 -4
- package/dist/cjs/staticModels/Orders.d.ts +1 -2
- package/dist/cjs/staticModels/Orders.js +2 -14
- package/dist/cjs/staticModels/ProviderRegistry.d.ts +6 -15
- package/dist/cjs/staticModels/ProviderRegistry.js +11 -43
- package/dist/cjs/staticModels/ProviderRewards.js +1 -16
- package/dist/cjs/staticModels/Superpro.d.ts +7 -5
- package/dist/cjs/staticModels/Superpro.js +45 -13
- package/dist/cjs/staticModels/TeeOffers.js +2 -7
- package/dist/cjs/types/DistributedSecretStorage.d.ts +0 -1
- package/dist/cjs/types/Offer.d.ts +0 -5
- package/dist/cjs/types/Order.d.ts +0 -2
- package/dist/cjs/types/Order.js +1 -3
- package/dist/cjs/types/TokenInfo.d.ts +1 -6
- package/dist/cjs/utils/order/index.d.ts +2 -0
- package/dist/cjs/utils/order/index.js +19 -0
- package/dist/cjs/utils/order/types.d.ts +22 -0
- package/dist/cjs/utils/order/types.js +3 -0
- package/dist/cjs/utils/order/validate-order.d.ts +2 -0
- package/dist/cjs/utils/order/validate-order.js +67 -0
- package/dist/mjs/connectors/BaseConnector.d.ts +0 -6
- package/dist/mjs/connectors/BaseConnector.js +1 -10
- package/dist/mjs/connectors/BlockchainConnector.js +2 -4
- package/dist/mjs/connectors/BlockchainEventsListener.js +2 -3
- package/dist/mjs/constants.d.ts +1 -0
- package/dist/mjs/constants.js +2 -1
- package/dist/mjs/contracts/abi.d.ts +145 -612
- package/dist/mjs/contracts/abi.js +171 -773
- package/dist/mjs/index.d.ts +1 -0
- package/dist/mjs/index.js +2 -1
- package/dist/mjs/models/Offer.js +3 -5
- package/dist/mjs/models/Order.js +1 -4
- package/dist/mjs/models/Provider.d.ts +1 -1
- package/dist/mjs/models/Provider.js +3 -8
- package/dist/mjs/staticModels/Consensus.d.ts +3 -3
- package/dist/mjs/staticModels/Consensus.js +4 -4
- package/dist/mjs/staticModels/Deposits.d.ts +9 -10
- package/dist/mjs/staticModels/Deposits.js +18 -21
- package/dist/mjs/staticModels/Offers.js +2 -7
- package/dist/mjs/staticModels/OffersStorageRequests.js +1 -4
- package/dist/mjs/staticModels/Orders.d.ts +1 -2
- package/dist/mjs/staticModels/Orders.js +2 -14
- package/dist/mjs/staticModels/ProviderRegistry.d.ts +6 -15
- package/dist/mjs/staticModels/ProviderRegistry.js +11 -43
- package/dist/mjs/staticModels/ProviderRewards.js +2 -17
- package/dist/mjs/staticModels/Superpro.d.ts +7 -5
- package/dist/mjs/staticModels/Superpro.js +42 -13
- package/dist/mjs/staticModels/TeeOffers.js +2 -7
- package/dist/mjs/types/DistributedSecretStorage.d.ts +0 -1
- package/dist/mjs/types/Offer.d.ts +0 -5
- package/dist/mjs/types/Order.d.ts +0 -2
- package/dist/mjs/types/Order.js +1 -3
- package/dist/mjs/types/TokenInfo.d.ts +1 -6
- package/dist/mjs/utils/order/index.d.ts +2 -0
- package/dist/mjs/utils/order/index.js +3 -0
- package/dist/mjs/utils/order/types.d.ts +22 -0
- package/dist/mjs/utils/order/types.js +2 -0
- package/dist/mjs/utils/order/validate-order.d.ts +2 -0
- package/dist/mjs/utils/order/validate-order.js +60 -0
- package/package.json +1 -1
|
@@ -30,18 +30,12 @@ export declare const OrderOptionsChanged: "OrderOptionsChanged";
|
|
|
30
30
|
export declare const OrderSlotCountUpdateRequested: "OrderSlotCountUpdateRequested";
|
|
31
31
|
export declare const OrderSlotCountUpdated: "OrderSlotCountUpdated";
|
|
32
32
|
export declare const RewardsClaimed: "RewardsClaimed";
|
|
33
|
-
export declare const ProviderDepositTokenUpdated: "ProviderDepositTokenUpdated";
|
|
34
33
|
export declare const ProviderModified: "ProviderModified";
|
|
35
34
|
export declare const ProviderRegistered: "ProviderRegistered";
|
|
36
35
|
export declare const ProviderSecurityDepoRefilled: "ProviderSecurityDepoRefilled";
|
|
37
36
|
export declare const ProviderSecurityDepoUnlocked: "ProviderSecurityDepoUnlocked";
|
|
38
37
|
export declare const ProviderViolationRateIncremented: "ProviderViolationRateIncremented";
|
|
39
|
-
export declare const DepositConfiscated: "DepositConfiscated";
|
|
40
|
-
export declare const RewardConfiscated: "RewardConfiscated";
|
|
41
|
-
export declare const PrimaryTokenStatusChanged: "PrimaryTokenStatusChanged";
|
|
42
38
|
export declare const RewardTokenChanged: "RewardTokenChanged";
|
|
43
|
-
export declare const TokenInfoUpdated: "TokenInfoUpdated";
|
|
44
|
-
export declare const TokenRemoved: "TokenRemoved";
|
|
45
39
|
export declare const OptionAdded: "OptionAdded";
|
|
46
40
|
export declare const OptionDeleted: "OptionDeleted";
|
|
47
41
|
export declare const OptionUpdated: "OptionUpdated";
|
|
@@ -62,7 +56,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
62
56
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
63
57
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
64
58
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
65
|
-
export type AbiEvent = typeof Approval | typeof Transfer | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderDepositRefilled | typeof OrderOptionsDepositSpentChanged | typeof OrderProfitUnlocked | typeof OrderChangeWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderProfitWithdrawn | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof RewardsClaimed | typeof
|
|
59
|
+
export type AbiEvent = typeof Approval | typeof Transfer | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderDepositRefilled | typeof OrderOptionsDepositSpentChanged | typeof OrderProfitUnlocked | typeof OrderChangeWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderProfitWithdrawn | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof RewardsClaimed | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof RewardTokenChanged | typeof OptionAdded | typeof OptionDeleted | typeof OptionUpdated | typeof TeeSlotAdded | typeof TeeSlotDeleted | typeof TeeSlotUpdated | typeof TcbRewardUnlocked | typeof WarningMessage | typeof ValueSlotAdded | typeof ValueSlotDeleted | typeof ValueSlotUpdated | typeof DiamondCut | typeof OwnershipTransferred | typeof LoaderSecretPublicKeySessionUpdated | typeof LoaderSessionKeyUpdated | typeof OfferResourceCreated | typeof OrderResourceCreated | typeof OfferStorageRequestCanceled | typeof OfferStorageRequestCreated | typeof SecretRequestCreated;
|
|
66
60
|
export declare const abi: readonly [{
|
|
67
61
|
readonly anonymous: false;
|
|
68
62
|
readonly inputs: readonly [{
|
|
@@ -471,7 +465,7 @@ export declare const abi: readonly [{
|
|
|
471
465
|
}, {
|
|
472
466
|
readonly indexed: true;
|
|
473
467
|
readonly internalType: "address";
|
|
474
|
-
readonly name: "
|
|
468
|
+
readonly name: "provider";
|
|
475
469
|
readonly type: "address";
|
|
476
470
|
}];
|
|
477
471
|
readonly name: "TcbBenchmarkChanged";
|
|
@@ -486,7 +480,7 @@ export declare const abi: readonly [{
|
|
|
486
480
|
}, {
|
|
487
481
|
readonly indexed: true;
|
|
488
482
|
readonly internalType: "address";
|
|
489
|
-
readonly name: "
|
|
483
|
+
readonly name: "provider";
|
|
490
484
|
readonly type: "address";
|
|
491
485
|
}];
|
|
492
486
|
readonly name: "TcbCompleted";
|
|
@@ -501,7 +495,7 @@ export declare const abi: readonly [{
|
|
|
501
495
|
}, {
|
|
502
496
|
readonly indexed: true;
|
|
503
497
|
readonly internalType: "address";
|
|
504
|
-
readonly name: "
|
|
498
|
+
readonly name: "provider";
|
|
505
499
|
readonly type: "address";
|
|
506
500
|
}];
|
|
507
501
|
readonly name: "TcbInitialized";
|
|
@@ -1111,11 +1105,6 @@ export declare const abi: readonly [{
|
|
|
1111
1105
|
}, {
|
|
1112
1106
|
readonly anonymous: false;
|
|
1113
1107
|
readonly inputs: readonly [{
|
|
1114
|
-
readonly indexed: true;
|
|
1115
|
-
readonly internalType: "address";
|
|
1116
|
-
readonly name: "token";
|
|
1117
|
-
readonly type: "address";
|
|
1118
|
-
}, {
|
|
1119
1108
|
readonly indexed: true;
|
|
1120
1109
|
readonly internalType: "address";
|
|
1121
1110
|
readonly name: "owner";
|
|
@@ -1136,11 +1125,6 @@ export declare const abi: readonly [{
|
|
|
1136
1125
|
}, {
|
|
1137
1126
|
readonly anonymous: false;
|
|
1138
1127
|
readonly inputs: readonly [{
|
|
1139
|
-
readonly indexed: true;
|
|
1140
|
-
readonly internalType: "address";
|
|
1141
|
-
readonly name: "token";
|
|
1142
|
-
readonly type: "address";
|
|
1143
|
-
}, {
|
|
1144
1128
|
readonly indexed: true;
|
|
1145
1129
|
readonly internalType: "address";
|
|
1146
1130
|
readonly name: "owner";
|
|
@@ -1161,11 +1145,6 @@ export declare const abi: readonly [{
|
|
|
1161
1145
|
}, {
|
|
1162
1146
|
readonly anonymous: false;
|
|
1163
1147
|
readonly inputs: readonly [{
|
|
1164
|
-
readonly indexed: true;
|
|
1165
|
-
readonly internalType: "address";
|
|
1166
|
-
readonly name: "token";
|
|
1167
|
-
readonly type: "address";
|
|
1168
|
-
}, {
|
|
1169
1148
|
readonly indexed: true;
|
|
1170
1149
|
readonly internalType: "address";
|
|
1171
1150
|
readonly name: "owner";
|
|
@@ -1186,11 +1165,6 @@ export declare const abi: readonly [{
|
|
|
1186
1165
|
}, {
|
|
1187
1166
|
readonly anonymous: false;
|
|
1188
1167
|
readonly inputs: readonly [{
|
|
1189
|
-
readonly indexed: true;
|
|
1190
|
-
readonly internalType: "address";
|
|
1191
|
-
readonly name: "token";
|
|
1192
|
-
readonly type: "address";
|
|
1193
|
-
}, {
|
|
1194
1168
|
readonly indexed: true;
|
|
1195
1169
|
readonly internalType: "address";
|
|
1196
1170
|
readonly name: "owner";
|
|
@@ -1210,10 +1184,6 @@ export declare const abi: readonly [{
|
|
|
1210
1184
|
readonly type: "event";
|
|
1211
1185
|
}, {
|
|
1212
1186
|
readonly inputs: readonly [{
|
|
1213
|
-
readonly internalType: "address";
|
|
1214
|
-
readonly name: "tokenAddress";
|
|
1215
|
-
readonly type: "address";
|
|
1216
|
-
}, {
|
|
1217
1187
|
readonly internalType: "address";
|
|
1218
1188
|
readonly name: "depositOwner";
|
|
1219
1189
|
readonly type: "address";
|
|
@@ -1228,10 +1198,6 @@ export declare const abi: readonly [{
|
|
|
1228
1198
|
readonly type: "function";
|
|
1229
1199
|
}, {
|
|
1230
1200
|
readonly inputs: readonly [{
|
|
1231
|
-
readonly internalType: "address";
|
|
1232
|
-
readonly name: "tokenAddress";
|
|
1233
|
-
readonly type: "address";
|
|
1234
|
-
}, {
|
|
1235
1201
|
readonly internalType: "uint256";
|
|
1236
1202
|
readonly name: "profit";
|
|
1237
1203
|
readonly type: "uint256";
|
|
@@ -1247,9 +1213,19 @@ export declare const abi: readonly [{
|
|
|
1247
1213
|
}, {
|
|
1248
1214
|
readonly inputs: readonly [{
|
|
1249
1215
|
readonly internalType: "address";
|
|
1250
|
-
readonly name: "
|
|
1216
|
+
readonly name: "depositOwner";
|
|
1251
1217
|
readonly type: "address";
|
|
1252
1218
|
}, {
|
|
1219
|
+
readonly internalType: "uint256";
|
|
1220
|
+
readonly name: "amount";
|
|
1221
|
+
readonly type: "uint256";
|
|
1222
|
+
}];
|
|
1223
|
+
readonly name: "confiscateTokensFrom";
|
|
1224
|
+
readonly outputs: readonly [];
|
|
1225
|
+
readonly stateMutability: "nonpayable";
|
|
1226
|
+
readonly type: "function";
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly inputs: readonly [{
|
|
1253
1229
|
readonly internalType: "address";
|
|
1254
1230
|
readonly name: "depositOwner";
|
|
1255
1231
|
readonly type: "address";
|
|
@@ -1277,10 +1253,6 @@ export declare const abi: readonly [{
|
|
|
1277
1253
|
readonly type: "function";
|
|
1278
1254
|
}, {
|
|
1279
1255
|
readonly inputs: readonly [{
|
|
1280
|
-
readonly internalType: "address";
|
|
1281
|
-
readonly name: "tokenAddress";
|
|
1282
|
-
readonly type: "address";
|
|
1283
|
-
}, {
|
|
1284
1256
|
readonly internalType: "address";
|
|
1285
1257
|
readonly name: "depositOwner";
|
|
1286
1258
|
readonly type: "address";
|
|
@@ -1295,10 +1267,6 @@ export declare const abi: readonly [{
|
|
|
1295
1267
|
readonly type: "function";
|
|
1296
1268
|
}, {
|
|
1297
1269
|
readonly inputs: readonly [{
|
|
1298
|
-
readonly internalType: "address";
|
|
1299
|
-
readonly name: "tokenAddress";
|
|
1300
|
-
readonly type: "address";
|
|
1301
|
-
}, {
|
|
1302
1270
|
readonly internalType: "address";
|
|
1303
1271
|
readonly name: "beneficiary";
|
|
1304
1272
|
readonly type: "address";
|
|
@@ -1313,10 +1281,6 @@ export declare const abi: readonly [{
|
|
|
1313
1281
|
readonly type: "function";
|
|
1314
1282
|
}, {
|
|
1315
1283
|
readonly inputs: readonly [{
|
|
1316
|
-
readonly internalType: "address";
|
|
1317
|
-
readonly name: "tokenAddress";
|
|
1318
|
-
readonly type: "address";
|
|
1319
|
-
}, {
|
|
1320
1284
|
readonly internalType: "address";
|
|
1321
1285
|
readonly name: "depositOwner";
|
|
1322
1286
|
readonly type: "address";
|
|
@@ -1331,10 +1295,6 @@ export declare const abi: readonly [{
|
|
|
1331
1295
|
readonly type: "function";
|
|
1332
1296
|
}, {
|
|
1333
1297
|
readonly inputs: readonly [{
|
|
1334
|
-
readonly internalType: "address";
|
|
1335
|
-
readonly name: "tokenAddress";
|
|
1336
|
-
readonly type: "address";
|
|
1337
|
-
}, {
|
|
1338
1298
|
readonly internalType: "uint256";
|
|
1339
1299
|
readonly name: "amount";
|
|
1340
1300
|
readonly type: "uint256";
|
|
@@ -1345,10 +1305,6 @@ export declare const abi: readonly [{
|
|
|
1345
1305
|
readonly type: "function";
|
|
1346
1306
|
}, {
|
|
1347
1307
|
readonly inputs: readonly [{
|
|
1348
|
-
readonly internalType: "address";
|
|
1349
|
-
readonly name: "tokenAddress";
|
|
1350
|
-
readonly type: "address";
|
|
1351
|
-
}, {
|
|
1352
1308
|
readonly internalType: "address";
|
|
1353
1309
|
readonly name: "beneficiary";
|
|
1354
1310
|
readonly type: "address";
|
|
@@ -1363,10 +1319,6 @@ export declare const abi: readonly [{
|
|
|
1363
1319
|
readonly type: "function";
|
|
1364
1320
|
}, {
|
|
1365
1321
|
readonly inputs: readonly [{
|
|
1366
|
-
readonly internalType: "address";
|
|
1367
|
-
readonly name: "tokenAddress";
|
|
1368
|
-
readonly type: "address";
|
|
1369
|
-
}, {
|
|
1370
1322
|
readonly internalType: "address";
|
|
1371
1323
|
readonly name: "funder";
|
|
1372
1324
|
readonly type: "address";
|
|
@@ -1385,10 +1337,6 @@ export declare const abi: readonly [{
|
|
|
1385
1337
|
readonly type: "function";
|
|
1386
1338
|
}, {
|
|
1387
1339
|
readonly inputs: readonly [{
|
|
1388
|
-
readonly internalType: "address";
|
|
1389
|
-
readonly name: "tokenAddress";
|
|
1390
|
-
readonly type: "address";
|
|
1391
|
-
}, {
|
|
1392
1340
|
readonly internalType: "address";
|
|
1393
1341
|
readonly name: "depositOwner";
|
|
1394
1342
|
readonly type: "address";
|
|
@@ -1403,10 +1351,6 @@ export declare const abi: readonly [{
|
|
|
1403
1351
|
readonly type: "function";
|
|
1404
1352
|
}, {
|
|
1405
1353
|
readonly inputs: readonly [{
|
|
1406
|
-
readonly internalType: "address";
|
|
1407
|
-
readonly name: "tokenAddress";
|
|
1408
|
-
readonly type: "address";
|
|
1409
|
-
}, {
|
|
1410
1354
|
readonly internalType: "uint256";
|
|
1411
1355
|
readonly name: "amount";
|
|
1412
1356
|
readonly type: "uint256";
|
|
@@ -1596,22 +1540,9 @@ export declare const abi: readonly [{
|
|
|
1596
1540
|
readonly type: "event";
|
|
1597
1541
|
}, {
|
|
1598
1542
|
readonly inputs: readonly [{
|
|
1599
|
-
readonly
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
readonly type: "uint8";
|
|
1603
|
-
}, {
|
|
1604
|
-
readonly internalType: "address";
|
|
1605
|
-
readonly name: "providerAuth";
|
|
1606
|
-
readonly type: "address";
|
|
1607
|
-
}, {
|
|
1608
|
-
readonly internalType: "bool";
|
|
1609
|
-
readonly name: "enabled";
|
|
1610
|
-
readonly type: "bool";
|
|
1611
|
-
}];
|
|
1612
|
-
readonly internalType: "struct Offer";
|
|
1613
|
-
readonly name: "offer";
|
|
1614
|
-
readonly type: "tuple";
|
|
1543
|
+
readonly internalType: "address";
|
|
1544
|
+
readonly name: "providerAuth";
|
|
1545
|
+
readonly type: "address";
|
|
1615
1546
|
}, {
|
|
1616
1547
|
readonly components: readonly [{
|
|
1617
1548
|
readonly internalType: "string";
|
|
@@ -1683,6 +1614,10 @@ export declare const abi: readonly [{
|
|
|
1683
1614
|
readonly internalType: "bytes32";
|
|
1684
1615
|
readonly name: "externalId";
|
|
1685
1616
|
readonly type: "bytes32";
|
|
1617
|
+
}, {
|
|
1618
|
+
readonly internalType: "bool";
|
|
1619
|
+
readonly name: "enabled";
|
|
1620
|
+
readonly type: "bool";
|
|
1686
1621
|
}];
|
|
1687
1622
|
readonly name: "createTeeOffer";
|
|
1688
1623
|
readonly outputs: readonly [];
|
|
@@ -1690,22 +1625,13 @@ export declare const abi: readonly [{
|
|
|
1690
1625
|
readonly type: "function";
|
|
1691
1626
|
}, {
|
|
1692
1627
|
readonly inputs: readonly [{
|
|
1693
|
-
readonly
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
readonly type: "address";
|
|
1701
|
-
}, {
|
|
1702
|
-
readonly internalType: "bool";
|
|
1703
|
-
readonly name: "enabled";
|
|
1704
|
-
readonly type: "bool";
|
|
1705
|
-
}];
|
|
1706
|
-
readonly internalType: "struct Offer";
|
|
1707
|
-
readonly name: "offer";
|
|
1708
|
-
readonly type: "tuple";
|
|
1628
|
+
readonly internalType: "address";
|
|
1629
|
+
readonly name: "providerAuth";
|
|
1630
|
+
readonly type: "address";
|
|
1631
|
+
}, {
|
|
1632
|
+
readonly internalType: "enum OfferType";
|
|
1633
|
+
readonly name: "offerType";
|
|
1634
|
+
readonly type: "uint8";
|
|
1709
1635
|
}, {
|
|
1710
1636
|
readonly components: readonly [{
|
|
1711
1637
|
readonly internalType: "string";
|
|
@@ -1800,6 +1726,10 @@ export declare const abi: readonly [{
|
|
|
1800
1726
|
readonly internalType: "bytes32";
|
|
1801
1727
|
readonly name: "externalId";
|
|
1802
1728
|
readonly type: "bytes32";
|
|
1729
|
+
}, {
|
|
1730
|
+
readonly internalType: "bool";
|
|
1731
|
+
readonly name: "enabled";
|
|
1732
|
+
readonly type: "bool";
|
|
1803
1733
|
}];
|
|
1804
1734
|
readonly name: "createValueOffer";
|
|
1805
1735
|
readonly outputs: readonly [];
|
|
@@ -2150,22 +2080,9 @@ export declare const abi: readonly [{
|
|
|
2150
2080
|
readonly name: "id";
|
|
2151
2081
|
readonly type: "uint256";
|
|
2152
2082
|
}, {
|
|
2153
|
-
readonly
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
readonly type: "uint8";
|
|
2157
|
-
}, {
|
|
2158
|
-
readonly internalType: "address";
|
|
2159
|
-
readonly name: "providerAuth";
|
|
2160
|
-
readonly type: "address";
|
|
2161
|
-
}, {
|
|
2162
|
-
readonly internalType: "bool";
|
|
2163
|
-
readonly name: "enabled";
|
|
2164
|
-
readonly type: "bool";
|
|
2165
|
-
}];
|
|
2166
|
-
readonly internalType: "struct Offer";
|
|
2167
|
-
readonly name: "offer";
|
|
2168
|
-
readonly type: "tuple";
|
|
2083
|
+
readonly internalType: "address";
|
|
2084
|
+
readonly name: "providerAuth";
|
|
2085
|
+
readonly type: "address";
|
|
2169
2086
|
}, {
|
|
2170
2087
|
readonly components: readonly [{
|
|
2171
2088
|
readonly internalType: "string";
|
|
@@ -2199,6 +2116,10 @@ export declare const abi: readonly [{
|
|
|
2199
2116
|
readonly internalType: "struct TeeOfferInfo";
|
|
2200
2117
|
readonly name: "info";
|
|
2201
2118
|
readonly type: "tuple";
|
|
2119
|
+
}, {
|
|
2120
|
+
readonly internalType: "bool";
|
|
2121
|
+
readonly name: "enabled";
|
|
2122
|
+
readonly type: "bool";
|
|
2202
2123
|
}];
|
|
2203
2124
|
readonly internalType: "struct TeeOfferData[]";
|
|
2204
2125
|
readonly name: "";
|
|
@@ -2227,22 +2148,13 @@ export declare const abi: readonly [{
|
|
|
2227
2148
|
readonly name: "id";
|
|
2228
2149
|
readonly type: "uint256";
|
|
2229
2150
|
}, {
|
|
2230
|
-
readonly
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
readonly type: "address";
|
|
2238
|
-
}, {
|
|
2239
|
-
readonly internalType: "bool";
|
|
2240
|
-
readonly name: "enabled";
|
|
2241
|
-
readonly type: "bool";
|
|
2242
|
-
}];
|
|
2243
|
-
readonly internalType: "struct Offer";
|
|
2244
|
-
readonly name: "offer";
|
|
2245
|
-
readonly type: "tuple";
|
|
2151
|
+
readonly internalType: "address";
|
|
2152
|
+
readonly name: "providerAuth";
|
|
2153
|
+
readonly type: "address";
|
|
2154
|
+
}, {
|
|
2155
|
+
readonly internalType: "enum OfferType";
|
|
2156
|
+
readonly name: "offerType";
|
|
2157
|
+
readonly type: "uint8";
|
|
2246
2158
|
}, {
|
|
2247
2159
|
readonly components: readonly [{
|
|
2248
2160
|
readonly internalType: "string";
|
|
@@ -2316,6 +2228,10 @@ export declare const abi: readonly [{
|
|
|
2316
2228
|
readonly internalType: "struct ValueOfferInfo";
|
|
2317
2229
|
readonly name: "info";
|
|
2318
2230
|
readonly type: "tuple";
|
|
2231
|
+
}, {
|
|
2232
|
+
readonly internalType: "bool";
|
|
2233
|
+
readonly name: "enabled";
|
|
2234
|
+
readonly type: "bool";
|
|
2319
2235
|
}];
|
|
2320
2236
|
readonly internalType: "struct ValueOfferData[]";
|
|
2321
2237
|
readonly name: "";
|
|
@@ -2558,22 +2474,9 @@ export declare const abi: readonly [{
|
|
|
2558
2474
|
readonly name: "id";
|
|
2559
2475
|
readonly type: "uint256";
|
|
2560
2476
|
}, {
|
|
2561
|
-
readonly
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
readonly type: "uint8";
|
|
2565
|
-
}, {
|
|
2566
|
-
readonly internalType: "address";
|
|
2567
|
-
readonly name: "providerAuth";
|
|
2568
|
-
readonly type: "address";
|
|
2569
|
-
}, {
|
|
2570
|
-
readonly internalType: "bool";
|
|
2571
|
-
readonly name: "enabled";
|
|
2572
|
-
readonly type: "bool";
|
|
2573
|
-
}];
|
|
2574
|
-
readonly internalType: "struct Offer";
|
|
2575
|
-
readonly name: "offer";
|
|
2576
|
-
readonly type: "tuple";
|
|
2477
|
+
readonly internalType: "address";
|
|
2478
|
+
readonly name: "providerAuth";
|
|
2479
|
+
readonly type: "address";
|
|
2577
2480
|
}, {
|
|
2578
2481
|
readonly components: readonly [{
|
|
2579
2482
|
readonly internalType: "string";
|
|
@@ -2607,6 +2510,10 @@ export declare const abi: readonly [{
|
|
|
2607
2510
|
readonly internalType: "struct TeeOfferInfo";
|
|
2608
2511
|
readonly name: "info";
|
|
2609
2512
|
readonly type: "tuple";
|
|
2513
|
+
}, {
|
|
2514
|
+
readonly internalType: "bool";
|
|
2515
|
+
readonly name: "enabled";
|
|
2516
|
+
readonly type: "bool";
|
|
2610
2517
|
}];
|
|
2611
2518
|
readonly internalType: "struct TeeOfferData";
|
|
2612
2519
|
readonly name: "ret";
|
|
@@ -2690,22 +2597,13 @@ export declare const abi: readonly [{
|
|
|
2690
2597
|
readonly name: "id";
|
|
2691
2598
|
readonly type: "uint256";
|
|
2692
2599
|
}, {
|
|
2693
|
-
readonly
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
readonly type: "address";
|
|
2701
|
-
}, {
|
|
2702
|
-
readonly internalType: "bool";
|
|
2703
|
-
readonly name: "enabled";
|
|
2704
|
-
readonly type: "bool";
|
|
2705
|
-
}];
|
|
2706
|
-
readonly internalType: "struct Offer";
|
|
2707
|
-
readonly name: "offer";
|
|
2708
|
-
readonly type: "tuple";
|
|
2600
|
+
readonly internalType: "address";
|
|
2601
|
+
readonly name: "providerAuth";
|
|
2602
|
+
readonly type: "address";
|
|
2603
|
+
}, {
|
|
2604
|
+
readonly internalType: "enum OfferType";
|
|
2605
|
+
readonly name: "offerType";
|
|
2606
|
+
readonly type: "uint8";
|
|
2709
2607
|
}, {
|
|
2710
2608
|
readonly components: readonly [{
|
|
2711
2609
|
readonly internalType: "string";
|
|
@@ -2779,6 +2677,10 @@ export declare const abi: readonly [{
|
|
|
2779
2677
|
readonly internalType: "struct ValueOfferInfo";
|
|
2780
2678
|
readonly name: "info";
|
|
2781
2679
|
readonly type: "tuple";
|
|
2680
|
+
}, {
|
|
2681
|
+
readonly internalType: "bool";
|
|
2682
|
+
readonly name: "enabled";
|
|
2683
|
+
readonly type: "bool";
|
|
2782
2684
|
}];
|
|
2783
2685
|
readonly internalType: "struct ValueOfferData";
|
|
2784
2686
|
readonly name: "ret";
|
|
@@ -3084,11 +2986,6 @@ export declare const abi: readonly [{
|
|
|
3084
2986
|
readonly internalType: "uint256";
|
|
3085
2987
|
readonly name: "orderId";
|
|
3086
2988
|
readonly type: "uint256";
|
|
3087
|
-
}, {
|
|
3088
|
-
readonly indexed: false;
|
|
3089
|
-
readonly internalType: "address";
|
|
3090
|
-
readonly name: "tokenAddress";
|
|
3091
|
-
readonly type: "address";
|
|
3092
2989
|
}, {
|
|
3093
2990
|
readonly indexed: false;
|
|
3094
2991
|
readonly internalType: "uint256";
|
|
@@ -3119,10 +3016,6 @@ export declare const abi: readonly [{
|
|
|
3119
3016
|
readonly type: "event";
|
|
3120
3017
|
}, {
|
|
3121
3018
|
readonly inputs: readonly [{
|
|
3122
|
-
readonly internalType: "address";
|
|
3123
|
-
readonly name: "tokenAddress";
|
|
3124
|
-
readonly type: "address";
|
|
3125
|
-
}, {
|
|
3126
3019
|
readonly internalType: "address";
|
|
3127
3020
|
readonly name: "consumer";
|
|
3128
3021
|
readonly type: "address";
|
|
@@ -3177,10 +3070,6 @@ export declare const abi: readonly [{
|
|
|
3177
3070
|
readonly internalType: "uint64";
|
|
3178
3071
|
readonly name: "offerVersion";
|
|
3179
3072
|
readonly type: "uint64";
|
|
3180
|
-
}, {
|
|
3181
|
-
readonly internalType: "address";
|
|
3182
|
-
readonly name: "tokenAddress";
|
|
3183
|
-
readonly type: "address";
|
|
3184
3073
|
}];
|
|
3185
3074
|
readonly internalType: "struct OrderInfo";
|
|
3186
3075
|
readonly name: "info";
|
|
@@ -3286,10 +3175,6 @@ export declare const abi: readonly [{
|
|
|
3286
3175
|
readonly internalType: "uint64";
|
|
3287
3176
|
readonly name: "offerVersion";
|
|
3288
3177
|
readonly type: "uint64";
|
|
3289
|
-
}, {
|
|
3290
|
-
readonly internalType: "address";
|
|
3291
|
-
readonly name: "tokenAddress";
|
|
3292
|
-
readonly type: "address";
|
|
3293
3178
|
}];
|
|
3294
3179
|
readonly internalType: "struct OrderInfo";
|
|
3295
3180
|
readonly name: "info";
|
|
@@ -3395,10 +3280,6 @@ export declare const abi: readonly [{
|
|
|
3395
3280
|
readonly internalType: "uint64";
|
|
3396
3281
|
readonly name: "offerVersion";
|
|
3397
3282
|
readonly type: "uint64";
|
|
3398
|
-
}, {
|
|
3399
|
-
readonly internalType: "address";
|
|
3400
|
-
readonly name: "tokenAddress";
|
|
3401
|
-
readonly type: "address";
|
|
3402
3283
|
}];
|
|
3403
3284
|
readonly internalType: "struct OrderInfo";
|
|
3404
3285
|
readonly name: "suborderInfo";
|
|
@@ -3509,10 +3390,6 @@ export declare const abi: readonly [{
|
|
|
3509
3390
|
readonly internalType: "uint64";
|
|
3510
3391
|
readonly name: "offerVersion";
|
|
3511
3392
|
readonly type: "uint64";
|
|
3512
|
-
}, {
|
|
3513
|
-
readonly internalType: "address";
|
|
3514
|
-
readonly name: "tokenAddress";
|
|
3515
|
-
readonly type: "address";
|
|
3516
3393
|
}];
|
|
3517
3394
|
readonly internalType: "struct OrderInfo";
|
|
3518
3395
|
readonly name: "suborderInfo";
|
|
@@ -3874,33 +3751,37 @@ export declare const abi: readonly [{
|
|
|
3874
3751
|
readonly type: "function";
|
|
3875
3752
|
}, {
|
|
3876
3753
|
readonly inputs: readonly [{
|
|
3877
|
-
readonly internalType: "address";
|
|
3878
|
-
readonly name: "consumer";
|
|
3879
|
-
readonly type: "address";
|
|
3880
|
-
}, {
|
|
3881
3754
|
readonly internalType: "uint256";
|
|
3882
3755
|
readonly name: "orderId";
|
|
3883
3756
|
readonly type: "uint256";
|
|
3757
|
+
}, {
|
|
3758
|
+
readonly internalType: "enum OrderStatus";
|
|
3759
|
+
readonly name: "status";
|
|
3760
|
+
readonly type: "uint8";
|
|
3761
|
+
}, {
|
|
3762
|
+
readonly internalType: "string";
|
|
3763
|
+
readonly name: "encryptedResult";
|
|
3764
|
+
readonly type: "string";
|
|
3884
3765
|
}];
|
|
3885
|
-
readonly name: "
|
|
3766
|
+
readonly name: "completeOrder";
|
|
3886
3767
|
readonly outputs: readonly [];
|
|
3887
3768
|
readonly stateMutability: "nonpayable";
|
|
3888
3769
|
readonly type: "function";
|
|
3889
3770
|
}, {
|
|
3890
3771
|
readonly inputs: readonly [{
|
|
3772
|
+
readonly internalType: "address";
|
|
3773
|
+
readonly name: "sender";
|
|
3774
|
+
readonly type: "address";
|
|
3775
|
+
}, {
|
|
3891
3776
|
readonly internalType: "uint256";
|
|
3892
3777
|
readonly name: "orderId";
|
|
3893
3778
|
readonly type: "uint256";
|
|
3894
3779
|
}, {
|
|
3895
|
-
readonly internalType: "
|
|
3896
|
-
readonly name: "
|
|
3897
|
-
readonly type: "
|
|
3898
|
-
}, {
|
|
3899
|
-
readonly internalType: "string";
|
|
3900
|
-
readonly name: "encryptedResult";
|
|
3901
|
-
readonly type: "string";
|
|
3780
|
+
readonly internalType: "bool";
|
|
3781
|
+
readonly name: "errorOrCancelled";
|
|
3782
|
+
readonly type: "bool";
|
|
3902
3783
|
}];
|
|
3903
|
-
readonly name: "
|
|
3784
|
+
readonly name: "onParentOrderCompletedByApp";
|
|
3904
3785
|
readonly outputs: readonly [];
|
|
3905
3786
|
readonly stateMutability: "nonpayable";
|
|
3906
3787
|
readonly type: "function";
|
|
@@ -4300,10 +4181,6 @@ export declare const abi: readonly [{
|
|
|
4300
4181
|
readonly internalType: "uint64";
|
|
4301
4182
|
readonly name: "offerVersion";
|
|
4302
4183
|
readonly type: "uint64";
|
|
4303
|
-
}, {
|
|
4304
|
-
readonly internalType: "address";
|
|
4305
|
-
readonly name: "tokenAddress";
|
|
4306
|
-
readonly type: "address";
|
|
4307
4184
|
}];
|
|
4308
4185
|
readonly internalType: "struct OrderInfo";
|
|
4309
4186
|
readonly name: "info";
|
|
@@ -4597,20 +4474,6 @@ export declare const abi: readonly [{
|
|
|
4597
4474
|
}];
|
|
4598
4475
|
readonly stateMutability: "view";
|
|
4599
4476
|
readonly type: "function";
|
|
4600
|
-
}, {
|
|
4601
|
-
readonly inputs: readonly [{
|
|
4602
|
-
readonly internalType: "uint256";
|
|
4603
|
-
readonly name: "orderId";
|
|
4604
|
-
readonly type: "uint256";
|
|
4605
|
-
}];
|
|
4606
|
-
readonly name: "getOrderTokenAddress";
|
|
4607
|
-
readonly outputs: readonly [{
|
|
4608
|
-
readonly internalType: "address";
|
|
4609
|
-
readonly name: "";
|
|
4610
|
-
readonly type: "address";
|
|
4611
|
-
}];
|
|
4612
|
-
readonly stateMutability: "view";
|
|
4613
|
-
readonly type: "function";
|
|
4614
4477
|
}, {
|
|
4615
4478
|
readonly inputs: readonly [];
|
|
4616
4479
|
readonly name: "getOrdersCount";
|
|
@@ -4737,7 +4600,11 @@ export declare const abi: readonly [{
|
|
|
4737
4600
|
readonly type: "uint256";
|
|
4738
4601
|
}];
|
|
4739
4602
|
readonly name: "addEpochDamage";
|
|
4740
|
-
readonly outputs: readonly [
|
|
4603
|
+
readonly outputs: readonly [{
|
|
4604
|
+
readonly internalType: "uint256";
|
|
4605
|
+
readonly name: "intruderTcbReward";
|
|
4606
|
+
readonly type: "uint256";
|
|
4607
|
+
}];
|
|
4741
4608
|
readonly stateMutability: "nonpayable";
|
|
4742
4609
|
readonly type: "function";
|
|
4743
4610
|
}, {
|
|
@@ -5504,36 +5371,22 @@ export declare const abi: readonly [{
|
|
|
5504
5371
|
}, {
|
|
5505
5372
|
readonly inputs: readonly [{
|
|
5506
5373
|
readonly internalType: "uint256";
|
|
5507
|
-
readonly name: "
|
|
5374
|
+
readonly name: "compensation";
|
|
5508
5375
|
readonly type: "uint256";
|
|
5509
5376
|
}];
|
|
5510
|
-
readonly name: "
|
|
5377
|
+
readonly name: "increaseNextEpochCompensation";
|
|
5511
5378
|
readonly outputs: readonly [];
|
|
5512
5379
|
readonly stateMutability: "nonpayable";
|
|
5513
5380
|
readonly type: "function";
|
|
5514
5381
|
}, {
|
|
5515
5382
|
readonly inputs: readonly [{
|
|
5516
5383
|
readonly internalType: "uint256";
|
|
5517
|
-
readonly name: "
|
|
5384
|
+
readonly name: "valueOfferId";
|
|
5518
5385
|
readonly type: "uint256";
|
|
5519
5386
|
}, {
|
|
5520
|
-
readonly internalType: "
|
|
5521
|
-
readonly name: "
|
|
5522
|
-
readonly type: "
|
|
5523
|
-
}];
|
|
5524
|
-
readonly name: "increaseNextEpochCompensation";
|
|
5525
|
-
readonly outputs: readonly [];
|
|
5526
|
-
readonly stateMutability: "nonpayable";
|
|
5527
|
-
readonly type: "function";
|
|
5528
|
-
}, {
|
|
5529
|
-
readonly inputs: readonly [{
|
|
5530
|
-
readonly internalType: "uint256";
|
|
5531
|
-
readonly name: "valueOfferId";
|
|
5532
|
-
readonly type: "uint256";
|
|
5533
|
-
}, {
|
|
5534
|
-
readonly internalType: "uint256";
|
|
5535
|
-
readonly name: "amount";
|
|
5536
|
-
readonly type: "uint256";
|
|
5387
|
+
readonly internalType: "uint256";
|
|
5388
|
+
readonly name: "amount";
|
|
5389
|
+
readonly type: "uint256";
|
|
5537
5390
|
}];
|
|
5538
5391
|
readonly name: "increaseValueRemainReward";
|
|
5539
5392
|
readonly outputs: readonly [];
|
|
@@ -5673,21 +5526,6 @@ export declare const abi: readonly [{
|
|
|
5673
5526
|
readonly outputs: readonly [];
|
|
5674
5527
|
readonly stateMutability: "nonpayable";
|
|
5675
5528
|
readonly type: "function";
|
|
5676
|
-
}, {
|
|
5677
|
-
readonly anonymous: false;
|
|
5678
|
-
readonly inputs: readonly [{
|
|
5679
|
-
readonly indexed: true;
|
|
5680
|
-
readonly internalType: "address";
|
|
5681
|
-
readonly name: "auth";
|
|
5682
|
-
readonly type: "address";
|
|
5683
|
-
}, {
|
|
5684
|
-
readonly indexed: true;
|
|
5685
|
-
readonly internalType: "address";
|
|
5686
|
-
readonly name: "newProviderDepositToken";
|
|
5687
|
-
readonly type: "address";
|
|
5688
|
-
}];
|
|
5689
|
-
readonly name: "ProviderDepositTokenUpdated";
|
|
5690
|
-
readonly type: "event";
|
|
5691
5529
|
}, {
|
|
5692
5530
|
readonly anonymous: false;
|
|
5693
5531
|
readonly inputs: readonly [{
|
|
@@ -5715,11 +5553,6 @@ export declare const abi: readonly [{
|
|
|
5715
5553
|
readonly internalType: "address";
|
|
5716
5554
|
readonly name: "auth";
|
|
5717
5555
|
readonly type: "address";
|
|
5718
|
-
}, {
|
|
5719
|
-
readonly indexed: true;
|
|
5720
|
-
readonly internalType: "address";
|
|
5721
|
-
readonly name: "providerDepositToken";
|
|
5722
|
-
readonly type: "address";
|
|
5723
5556
|
}, {
|
|
5724
5557
|
readonly indexed: false;
|
|
5725
5558
|
readonly internalType: "uint256";
|
|
@@ -5735,11 +5568,6 @@ export declare const abi: readonly [{
|
|
|
5735
5568
|
readonly internalType: "address";
|
|
5736
5569
|
readonly name: "auth";
|
|
5737
5570
|
readonly type: "address";
|
|
5738
|
-
}, {
|
|
5739
|
-
readonly indexed: true;
|
|
5740
|
-
readonly internalType: "address";
|
|
5741
|
-
readonly name: "tokenAddress";
|
|
5742
|
-
readonly type: "address";
|
|
5743
5571
|
}, {
|
|
5744
5572
|
readonly indexed: false;
|
|
5745
5573
|
readonly internalType: "uint256";
|
|
@@ -5763,16 +5591,6 @@ export declare const abi: readonly [{
|
|
|
5763
5591
|
}];
|
|
5764
5592
|
readonly name: "ProviderViolationRateIncremented";
|
|
5765
5593
|
readonly type: "event";
|
|
5766
|
-
}, {
|
|
5767
|
-
readonly inputs: readonly [{
|
|
5768
|
-
readonly internalType: "address";
|
|
5769
|
-
readonly name: "providerDepositToken";
|
|
5770
|
-
readonly type: "address";
|
|
5771
|
-
}];
|
|
5772
|
-
readonly name: "changeProviderDepositToken";
|
|
5773
|
-
readonly outputs: readonly [];
|
|
5774
|
-
readonly stateMutability: "nonpayable";
|
|
5775
|
-
readonly type: "function";
|
|
5776
5594
|
}, {
|
|
5777
5595
|
readonly inputs: readonly [{
|
|
5778
5596
|
readonly internalType: "address";
|
|
@@ -5787,20 +5605,6 @@ export declare const abi: readonly [{
|
|
|
5787
5605
|
}];
|
|
5788
5606
|
readonly stateMutability: "view";
|
|
5789
5607
|
readonly type: "function";
|
|
5790
|
-
}, {
|
|
5791
|
-
readonly inputs: readonly [{
|
|
5792
|
-
readonly internalType: "address";
|
|
5793
|
-
readonly name: "providerAuth";
|
|
5794
|
-
readonly type: "address";
|
|
5795
|
-
}];
|
|
5796
|
-
readonly name: "getProviderDepositToken";
|
|
5797
|
-
readonly outputs: readonly [{
|
|
5798
|
-
readonly internalType: "address";
|
|
5799
|
-
readonly name: "";
|
|
5800
|
-
readonly type: "address";
|
|
5801
|
-
}];
|
|
5802
|
-
readonly stateMutability: "view";
|
|
5803
|
-
readonly type: "function";
|
|
5804
5608
|
}, {
|
|
5805
5609
|
readonly inputs: readonly [{
|
|
5806
5610
|
readonly internalType: "address";
|
|
@@ -5872,10 +5676,6 @@ export declare const abi: readonly [{
|
|
|
5872
5676
|
readonly internalType: "address";
|
|
5873
5677
|
readonly name: "providerAuth";
|
|
5874
5678
|
readonly type: "address";
|
|
5875
|
-
}, {
|
|
5876
|
-
readonly internalType: "address";
|
|
5877
|
-
readonly name: "providerDepositToken";
|
|
5878
|
-
readonly type: "address";
|
|
5879
5679
|
}];
|
|
5880
5680
|
readonly name: "getProviderSecurityDeposit";
|
|
5881
5681
|
readonly outputs: readonly [{
|
|
@@ -5990,10 +5790,6 @@ export declare const abi: readonly [{
|
|
|
5990
5790
|
readonly type: "function";
|
|
5991
5791
|
}, {
|
|
5992
5792
|
readonly inputs: readonly [{
|
|
5993
|
-
readonly internalType: "address";
|
|
5994
|
-
readonly name: "providerDepositToken";
|
|
5995
|
-
readonly type: "address";
|
|
5996
|
-
}, {
|
|
5997
5793
|
readonly internalType: "uint256";
|
|
5998
5794
|
readonly name: "amount";
|
|
5999
5795
|
readonly type: "uint256";
|
|
@@ -6007,10 +5803,6 @@ export declare const abi: readonly [{
|
|
|
6007
5803
|
readonly internalType: "address";
|
|
6008
5804
|
readonly name: "providerAuth";
|
|
6009
5805
|
readonly type: "address";
|
|
6010
|
-
}, {
|
|
6011
|
-
readonly internalType: "address";
|
|
6012
|
-
readonly name: "providerDepositToken";
|
|
6013
|
-
readonly type: "address";
|
|
6014
5806
|
}, {
|
|
6015
5807
|
readonly internalType: "uint256";
|
|
6016
5808
|
readonly name: "amount";
|
|
@@ -6046,10 +5838,6 @@ export declare const abi: readonly [{
|
|
|
6046
5838
|
readonly internalType: "struct ProviderInfo";
|
|
6047
5839
|
readonly name: "info";
|
|
6048
5840
|
readonly type: "tuple";
|
|
6049
|
-
}, {
|
|
6050
|
-
readonly internalType: "address";
|
|
6051
|
-
readonly name: "providerDepositToken";
|
|
6052
|
-
readonly type: "address";
|
|
6053
5841
|
}];
|
|
6054
5842
|
readonly name: "registerProvider";
|
|
6055
5843
|
readonly outputs: readonly [];
|
|
@@ -6057,10 +5845,6 @@ export declare const abi: readonly [{
|
|
|
6057
5845
|
readonly type: "function";
|
|
6058
5846
|
}, {
|
|
6059
5847
|
readonly inputs: readonly [{
|
|
6060
|
-
readonly internalType: "address";
|
|
6061
|
-
readonly name: "tokenAddress";
|
|
6062
|
-
readonly type: "address";
|
|
6063
|
-
}, {
|
|
6064
5848
|
readonly internalType: "uint256";
|
|
6065
5849
|
readonly name: "amount";
|
|
6066
5850
|
readonly type: "uint256";
|
|
@@ -6194,6 +5978,10 @@ export declare const abi: readonly [{
|
|
|
6194
5978
|
readonly internalType: "enum OfferType";
|
|
6195
5979
|
readonly name: "offerType";
|
|
6196
5980
|
readonly type: "uint8";
|
|
5981
|
+
}, {
|
|
5982
|
+
readonly internalType: "bool";
|
|
5983
|
+
readonly name: "enabled";
|
|
5984
|
+
readonly type: "bool";
|
|
6197
5985
|
}];
|
|
6198
5986
|
readonly name: "addProviderOffer";
|
|
6199
5987
|
readonly outputs: readonly [];
|
|
@@ -6332,107 +6120,6 @@ export declare const abi: readonly [{
|
|
|
6332
6120
|
readonly outputs: readonly [];
|
|
6333
6121
|
readonly stateMutability: "nonpayable";
|
|
6334
6122
|
readonly type: "function";
|
|
6335
|
-
}, {
|
|
6336
|
-
readonly anonymous: false;
|
|
6337
|
-
readonly inputs: readonly [{
|
|
6338
|
-
readonly indexed: true;
|
|
6339
|
-
readonly internalType: "address";
|
|
6340
|
-
readonly name: "tokenAddress";
|
|
6341
|
-
readonly type: "address";
|
|
6342
|
-
}, {
|
|
6343
|
-
readonly indexed: true;
|
|
6344
|
-
readonly internalType: "address";
|
|
6345
|
-
readonly name: "depositOwner";
|
|
6346
|
-
readonly type: "address";
|
|
6347
|
-
}, {
|
|
6348
|
-
readonly indexed: false;
|
|
6349
|
-
readonly internalType: "uint256";
|
|
6350
|
-
readonly name: "amount";
|
|
6351
|
-
readonly type: "uint256";
|
|
6352
|
-
}];
|
|
6353
|
-
readonly name: "DepositConfiscated";
|
|
6354
|
-
readonly type: "event";
|
|
6355
|
-
}, {
|
|
6356
|
-
readonly anonymous: false;
|
|
6357
|
-
readonly inputs: readonly [{
|
|
6358
|
-
readonly indexed: true;
|
|
6359
|
-
readonly internalType: "uint256";
|
|
6360
|
-
readonly name: "teeOfferId";
|
|
6361
|
-
readonly type: "uint256";
|
|
6362
|
-
}, {
|
|
6363
|
-
readonly indexed: true;
|
|
6364
|
-
readonly internalType: "uint256";
|
|
6365
|
-
readonly name: "intruderTcbId";
|
|
6366
|
-
readonly type: "uint256";
|
|
6367
|
-
}, {
|
|
6368
|
-
readonly indexed: false;
|
|
6369
|
-
readonly internalType: "uint256";
|
|
6370
|
-
readonly name: "amount";
|
|
6371
|
-
readonly type: "uint256";
|
|
6372
|
-
}];
|
|
6373
|
-
readonly name: "RewardConfiscated";
|
|
6374
|
-
readonly type: "event";
|
|
6375
|
-
}, {
|
|
6376
|
-
readonly inputs: readonly [{
|
|
6377
|
-
readonly internalType: "uint256";
|
|
6378
|
-
readonly name: "teeOfferId";
|
|
6379
|
-
readonly type: "uint256";
|
|
6380
|
-
}];
|
|
6381
|
-
readonly name: "confiscateAllTeeOfferReward";
|
|
6382
|
-
readonly outputs: readonly [{
|
|
6383
|
-
readonly internalType: "uint256";
|
|
6384
|
-
readonly name: "confiscatedAmount";
|
|
6385
|
-
readonly type: "uint256";
|
|
6386
|
-
}];
|
|
6387
|
-
readonly stateMutability: "nonpayable";
|
|
6388
|
-
readonly type: "function";
|
|
6389
|
-
}, {
|
|
6390
|
-
readonly inputs: readonly [{
|
|
6391
|
-
readonly internalType: "address";
|
|
6392
|
-
readonly name: "tokenAddress";
|
|
6393
|
-
readonly type: "address";
|
|
6394
|
-
}, {
|
|
6395
|
-
readonly internalType: "address";
|
|
6396
|
-
readonly name: "depositOwner";
|
|
6397
|
-
readonly type: "address";
|
|
6398
|
-
}, {
|
|
6399
|
-
readonly internalType: "uint256";
|
|
6400
|
-
readonly name: "amount";
|
|
6401
|
-
readonly type: "uint256";
|
|
6402
|
-
}];
|
|
6403
|
-
readonly name: "confiscateDeposit";
|
|
6404
|
-
readonly outputs: readonly [];
|
|
6405
|
-
readonly stateMutability: "nonpayable";
|
|
6406
|
-
readonly type: "function";
|
|
6407
|
-
}, {
|
|
6408
|
-
readonly inputs: readonly [{
|
|
6409
|
-
readonly internalType: "uint256";
|
|
6410
|
-
readonly name: "intruderTcbId";
|
|
6411
|
-
readonly type: "uint256";
|
|
6412
|
-
}];
|
|
6413
|
-
readonly name: "confiscateRewardByTcb";
|
|
6414
|
-
readonly outputs: readonly [{
|
|
6415
|
-
readonly internalType: "uint256";
|
|
6416
|
-
readonly name: "confiscatedAmount";
|
|
6417
|
-
readonly type: "uint256";
|
|
6418
|
-
}];
|
|
6419
|
-
readonly stateMutability: "nonpayable";
|
|
6420
|
-
readonly type: "function";
|
|
6421
|
-
}, {
|
|
6422
|
-
readonly anonymous: false;
|
|
6423
|
-
readonly inputs: readonly [{
|
|
6424
|
-
readonly indexed: true;
|
|
6425
|
-
readonly internalType: "address";
|
|
6426
|
-
readonly name: "tokenAddress";
|
|
6427
|
-
readonly type: "address";
|
|
6428
|
-
}, {
|
|
6429
|
-
readonly indexed: false;
|
|
6430
|
-
readonly internalType: "bool";
|
|
6431
|
-
readonly name: "enable";
|
|
6432
|
-
readonly type: "bool";
|
|
6433
|
-
}];
|
|
6434
|
-
readonly name: "PrimaryTokenStatusChanged";
|
|
6435
|
-
readonly type: "event";
|
|
6436
6123
|
}, {
|
|
6437
6124
|
readonly anonymous: false;
|
|
6438
6125
|
readonly inputs: readonly [{
|
|
@@ -6449,40 +6136,24 @@ export declare const abi: readonly [{
|
|
|
6449
6136
|
readonly name: "RewardTokenChanged";
|
|
6450
6137
|
readonly type: "event";
|
|
6451
6138
|
}, {
|
|
6452
|
-
readonly anonymous: false;
|
|
6453
6139
|
readonly inputs: readonly [{
|
|
6454
|
-
readonly
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
readonly
|
|
6465
|
-
readonly
|
|
6466
|
-
readonly name: "isPrimary";
|
|
6467
|
-
readonly type: "bool";
|
|
6468
|
-
}, {
|
|
6469
|
-
readonly indexed: false;
|
|
6470
|
-
readonly internalType: "bool";
|
|
6471
|
-
readonly name: "isNew";
|
|
6472
|
-
readonly type: "bool";
|
|
6473
|
-
}];
|
|
6474
|
-
readonly name: "TokenInfoUpdated";
|
|
6475
|
-
readonly type: "event";
|
|
6476
|
-
}, {
|
|
6477
|
-
readonly anonymous: false;
|
|
6478
|
-
readonly inputs: readonly [{
|
|
6479
|
-
readonly indexed: true;
|
|
6480
|
-
readonly internalType: "address";
|
|
6481
|
-
readonly name: "tokenAddress";
|
|
6482
|
-
readonly type: "address";
|
|
6140
|
+
readonly components: readonly [{
|
|
6141
|
+
readonly internalType: "address";
|
|
6142
|
+
readonly name: "tokenContractAddress";
|
|
6143
|
+
readonly type: "address";
|
|
6144
|
+
}, {
|
|
6145
|
+
readonly internalType: "uint32";
|
|
6146
|
+
readonly name: "protocolCommissionPercent";
|
|
6147
|
+
readonly type: "uint32";
|
|
6148
|
+
}];
|
|
6149
|
+
readonly internalType: "struct TokenInfo[]";
|
|
6150
|
+
readonly name: "newTokens";
|
|
6151
|
+
readonly type: "tuple[]";
|
|
6483
6152
|
}];
|
|
6484
|
-
readonly name: "
|
|
6485
|
-
readonly
|
|
6153
|
+
readonly name: "addTokens";
|
|
6154
|
+
readonly outputs: readonly [];
|
|
6155
|
+
readonly stateMutability: "nonpayable";
|
|
6156
|
+
readonly type: "function";
|
|
6486
6157
|
}, {
|
|
6487
6158
|
readonly inputs: readonly [{
|
|
6488
6159
|
readonly internalType: "enum ParamName";
|
|
@@ -6528,52 +6199,6 @@ export declare const abi: readonly [{
|
|
|
6528
6199
|
}];
|
|
6529
6200
|
readonly stateMutability: "view";
|
|
6530
6201
|
readonly type: "function";
|
|
6531
|
-
}, {
|
|
6532
|
-
readonly inputs: readonly [{
|
|
6533
|
-
readonly internalType: "address";
|
|
6534
|
-
readonly name: "tokenAddress";
|
|
6535
|
-
readonly type: "address";
|
|
6536
|
-
}];
|
|
6537
|
-
readonly name: "getOrderTokenInfo";
|
|
6538
|
-
readonly outputs: readonly [{
|
|
6539
|
-
readonly components: readonly [{
|
|
6540
|
-
readonly internalType: "address";
|
|
6541
|
-
readonly name: "tokenAddress";
|
|
6542
|
-
readonly type: "address";
|
|
6543
|
-
}, {
|
|
6544
|
-
readonly internalType: "uint32";
|
|
6545
|
-
readonly name: "protocolCommissionPercent";
|
|
6546
|
-
readonly type: "uint32";
|
|
6547
|
-
}];
|
|
6548
|
-
readonly internalType: "struct OrderTokenInfo";
|
|
6549
|
-
readonly name: "";
|
|
6550
|
-
readonly type: "tuple";
|
|
6551
|
-
}];
|
|
6552
|
-
readonly stateMutability: "view";
|
|
6553
|
-
readonly type: "function";
|
|
6554
|
-
}, {
|
|
6555
|
-
readonly inputs: readonly [{
|
|
6556
|
-
readonly internalType: "address";
|
|
6557
|
-
readonly name: "tokenAddress";
|
|
6558
|
-
readonly type: "address";
|
|
6559
|
-
}];
|
|
6560
|
-
readonly name: "getOrderTokenInfoWithoutCheck";
|
|
6561
|
-
readonly outputs: readonly [{
|
|
6562
|
-
readonly components: readonly [{
|
|
6563
|
-
readonly internalType: "address";
|
|
6564
|
-
readonly name: "tokenAddress";
|
|
6565
|
-
readonly type: "address";
|
|
6566
|
-
}, {
|
|
6567
|
-
readonly internalType: "uint32";
|
|
6568
|
-
readonly name: "protocolCommissionPercent";
|
|
6569
|
-
readonly type: "uint32";
|
|
6570
|
-
}];
|
|
6571
|
-
readonly internalType: "struct OrderTokenInfo";
|
|
6572
|
-
readonly name: "";
|
|
6573
|
-
readonly type: "tuple";
|
|
6574
|
-
}];
|
|
6575
|
-
readonly stateMutability: "view";
|
|
6576
|
-
readonly type: "function";
|
|
6577
6202
|
}, {
|
|
6578
6203
|
readonly inputs: readonly [];
|
|
6579
6204
|
readonly name: "getProtocolCommissionDenominator";
|
|
@@ -6605,23 +6230,23 @@ export declare const abi: readonly [{
|
|
|
6605
6230
|
readonly type: "function";
|
|
6606
6231
|
}, {
|
|
6607
6232
|
readonly inputs: readonly [];
|
|
6608
|
-
readonly name: "
|
|
6233
|
+
readonly name: "getProtocolIncomePercent";
|
|
6609
6234
|
readonly outputs: readonly [{
|
|
6610
6235
|
readonly internalType: "uint32";
|
|
6611
6236
|
readonly name: "";
|
|
6612
6237
|
readonly type: "uint32";
|
|
6613
6238
|
}];
|
|
6614
|
-
readonly stateMutability: "
|
|
6239
|
+
readonly stateMutability: "view";
|
|
6615
6240
|
readonly type: "function";
|
|
6616
6241
|
}, {
|
|
6617
6242
|
readonly inputs: readonly [];
|
|
6618
|
-
readonly name: "
|
|
6243
|
+
readonly name: "getProtocolTotalIncomeDistributionRatio";
|
|
6619
6244
|
readonly outputs: readonly [{
|
|
6620
|
-
readonly internalType: "
|
|
6245
|
+
readonly internalType: "uint32";
|
|
6621
6246
|
readonly name: "";
|
|
6622
|
-
readonly type: "
|
|
6247
|
+
readonly type: "uint32";
|
|
6623
6248
|
}];
|
|
6624
|
-
readonly stateMutability: "
|
|
6249
|
+
readonly stateMutability: "pure";
|
|
6625
6250
|
readonly type: "function";
|
|
6626
6251
|
}, {
|
|
6627
6252
|
readonly inputs: readonly [];
|
|
@@ -6634,14 +6259,10 @@ export declare const abi: readonly [{
|
|
|
6634
6259
|
readonly stateMutability: "view";
|
|
6635
6260
|
readonly type: "function";
|
|
6636
6261
|
}, {
|
|
6637
|
-
readonly inputs: readonly [
|
|
6638
|
-
readonly internalType: "address";
|
|
6639
|
-
readonly name: "tokenAddress";
|
|
6640
|
-
readonly type: "address";
|
|
6641
|
-
}];
|
|
6262
|
+
readonly inputs: readonly [];
|
|
6642
6263
|
readonly name: "getToken";
|
|
6643
6264
|
readonly outputs: readonly [{
|
|
6644
|
-
readonly internalType: "contract
|
|
6265
|
+
readonly internalType: "contract ISuperproToken";
|
|
6645
6266
|
readonly name: "";
|
|
6646
6267
|
readonly type: "address";
|
|
6647
6268
|
}];
|
|
@@ -6652,29 +6273,16 @@ export declare const abi: readonly [{
|
|
|
6652
6273
|
readonly name: "getTokens";
|
|
6653
6274
|
readonly outputs: readonly [{
|
|
6654
6275
|
readonly components: readonly [{
|
|
6655
|
-
readonly internalType: "
|
|
6656
|
-
readonly name: "
|
|
6657
|
-
readonly type: "
|
|
6276
|
+
readonly internalType: "address";
|
|
6277
|
+
readonly name: "tokenContractAddress";
|
|
6278
|
+
readonly type: "address";
|
|
6658
6279
|
}, {
|
|
6659
|
-
readonly
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
readonly type: "bool";
|
|
6663
|
-
}, {
|
|
6664
|
-
readonly internalType: "address";
|
|
6665
|
-
readonly name: "tokenAddress";
|
|
6666
|
-
readonly type: "address";
|
|
6667
|
-
}, {
|
|
6668
|
-
readonly internalType: "uint32";
|
|
6669
|
-
readonly name: "protocolCommissionPercent";
|
|
6670
|
-
readonly type: "uint32";
|
|
6671
|
-
}];
|
|
6672
|
-
readonly internalType: "struct SuperproStorageAccessor.TokenInfo";
|
|
6673
|
-
readonly name: "tokenInfo";
|
|
6674
|
-
readonly type: "tuple";
|
|
6280
|
+
readonly internalType: "uint32";
|
|
6281
|
+
readonly name: "protocolCommissionPercent";
|
|
6282
|
+
readonly type: "uint32";
|
|
6675
6283
|
}];
|
|
6676
|
-
readonly internalType: "struct
|
|
6677
|
-
readonly name: "
|
|
6284
|
+
readonly internalType: "struct TokenInfo[]";
|
|
6285
|
+
readonly name: "";
|
|
6678
6286
|
readonly type: "tuple[]";
|
|
6679
6287
|
}];
|
|
6680
6288
|
readonly stateMutability: "view";
|
|
@@ -6692,21 +6300,7 @@ export declare const abi: readonly [{
|
|
|
6692
6300
|
}, {
|
|
6693
6301
|
readonly inputs: readonly [{
|
|
6694
6302
|
readonly internalType: "address";
|
|
6695
|
-
readonly name: "
|
|
6696
|
-
readonly type: "address";
|
|
6697
|
-
}];
|
|
6698
|
-
readonly name: "isPrimaryToken";
|
|
6699
|
-
readonly outputs: readonly [{
|
|
6700
|
-
readonly internalType: "bool";
|
|
6701
|
-
readonly name: "";
|
|
6702
|
-
readonly type: "bool";
|
|
6703
|
-
}];
|
|
6704
|
-
readonly stateMutability: "view";
|
|
6705
|
-
readonly type: "function";
|
|
6706
|
-
}, {
|
|
6707
|
-
readonly inputs: readonly [{
|
|
6708
|
-
readonly internalType: "address";
|
|
6709
|
-
readonly name: "tokenAddress";
|
|
6303
|
+
readonly name: "tokenContractAddress";
|
|
6710
6304
|
readonly type: "address";
|
|
6711
6305
|
}];
|
|
6712
6306
|
readonly name: "isTokenExists";
|
|
@@ -6745,7 +6339,7 @@ export declare const abi: readonly [{
|
|
|
6745
6339
|
readonly inputs: readonly [{
|
|
6746
6340
|
readonly components: readonly [{
|
|
6747
6341
|
readonly internalType: "address";
|
|
6748
|
-
readonly name: "
|
|
6342
|
+
readonly name: "token";
|
|
6749
6343
|
readonly type: "address";
|
|
6750
6344
|
}, {
|
|
6751
6345
|
readonly internalType: "uint256";
|
|
@@ -6850,34 +6444,21 @@ export declare const abi: readonly [{
|
|
|
6850
6444
|
readonly type: "function";
|
|
6851
6445
|
}, {
|
|
6852
6446
|
readonly inputs: readonly [{
|
|
6853
|
-
readonly internalType: "
|
|
6854
|
-
readonly name: "
|
|
6855
|
-
readonly type: "
|
|
6447
|
+
readonly internalType: "uint32";
|
|
6448
|
+
readonly name: "percent";
|
|
6449
|
+
readonly type: "uint32";
|
|
6856
6450
|
}];
|
|
6857
|
-
readonly name: "
|
|
6451
|
+
readonly name: "setProtocolIncomePercent";
|
|
6858
6452
|
readonly outputs: readonly [];
|
|
6859
6453
|
readonly stateMutability: "nonpayable";
|
|
6860
6454
|
readonly type: "function";
|
|
6861
6455
|
}, {
|
|
6862
6456
|
readonly inputs: readonly [{
|
|
6863
|
-
readonly
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
readonly type: "bool";
|
|
6867
|
-
}, {
|
|
6868
|
-
readonly internalType: "address";
|
|
6869
|
-
readonly name: "tokenAddress";
|
|
6870
|
-
readonly type: "address";
|
|
6871
|
-
}, {
|
|
6872
|
-
readonly internalType: "uint32";
|
|
6873
|
-
readonly name: "protocolCommissionPercent";
|
|
6874
|
-
readonly type: "uint32";
|
|
6875
|
-
}];
|
|
6876
|
-
readonly internalType: "struct SuperproStorageAccessor.TokenInfo[]";
|
|
6877
|
-
readonly name: "tokens";
|
|
6878
|
-
readonly type: "tuple[]";
|
|
6457
|
+
readonly internalType: "address";
|
|
6458
|
+
readonly name: "token";
|
|
6459
|
+
readonly type: "address";
|
|
6879
6460
|
}];
|
|
6880
|
-
readonly name: "
|
|
6461
|
+
readonly name: "setRewardToken";
|
|
6881
6462
|
readonly outputs: readonly [];
|
|
6882
6463
|
readonly stateMutability: "nonpayable";
|
|
6883
6464
|
readonly type: "function";
|
|
@@ -7596,7 +7177,7 @@ export declare const abi: readonly [{
|
|
|
7596
7177
|
}, {
|
|
7597
7178
|
readonly anonymous: false;
|
|
7598
7179
|
readonly inputs: readonly [{
|
|
7599
|
-
readonly indexed:
|
|
7180
|
+
readonly indexed: false;
|
|
7600
7181
|
readonly internalType: "uint256";
|
|
7601
7182
|
readonly name: "tcbId";
|
|
7602
7183
|
readonly type: "uint256";
|
|
@@ -7611,7 +7192,7 @@ export declare const abi: readonly [{
|
|
|
7611
7192
|
}, {
|
|
7612
7193
|
readonly anonymous: false;
|
|
7613
7194
|
readonly inputs: readonly [{
|
|
7614
|
-
readonly indexed:
|
|
7195
|
+
readonly indexed: false;
|
|
7615
7196
|
readonly internalType: "uint256";
|
|
7616
7197
|
readonly name: "teeOfferId";
|
|
7617
7198
|
readonly type: "uint256";
|
|
@@ -7661,20 +7242,6 @@ export declare const abi: readonly [{
|
|
|
7661
7242
|
readonly outputs: readonly [];
|
|
7662
7243
|
readonly stateMutability: "nonpayable";
|
|
7663
7244
|
readonly type: "function";
|
|
7664
|
-
}, {
|
|
7665
|
-
readonly inputs: readonly [{
|
|
7666
|
-
readonly internalType: "uint256";
|
|
7667
|
-
readonly name: "tcbId";
|
|
7668
|
-
readonly type: "uint256";
|
|
7669
|
-
}];
|
|
7670
|
-
readonly name: "getLockedInTcbAmount";
|
|
7671
|
-
readonly outputs: readonly [{
|
|
7672
|
-
readonly internalType: "uint256";
|
|
7673
|
-
readonly name: "";
|
|
7674
|
-
readonly type: "uint256";
|
|
7675
|
-
}];
|
|
7676
|
-
readonly stateMutability: "view";
|
|
7677
|
-
readonly type: "function";
|
|
7678
7245
|
}, {
|
|
7679
7246
|
readonly inputs: readonly [{
|
|
7680
7247
|
readonly internalType: "bytes32";
|
|
@@ -7758,20 +7325,6 @@ export declare const abi: readonly [{
|
|
|
7758
7325
|
}];
|
|
7759
7326
|
readonly stateMutability: "view";
|
|
7760
7327
|
readonly type: "function";
|
|
7761
|
-
}, {
|
|
7762
|
-
readonly inputs: readonly [{
|
|
7763
|
-
readonly internalType: "uint256";
|
|
7764
|
-
readonly name: "teeOfferId";
|
|
7765
|
-
readonly type: "uint256";
|
|
7766
|
-
}];
|
|
7767
|
-
readonly name: "getTotalLockedOfferAmount";
|
|
7768
|
-
readonly outputs: readonly [{
|
|
7769
|
-
readonly internalType: "uint256";
|
|
7770
|
-
readonly name: "";
|
|
7771
|
-
readonly type: "uint256";
|
|
7772
|
-
}];
|
|
7773
|
-
readonly stateMutability: "view";
|
|
7774
|
-
readonly type: "function";
|
|
7775
7328
|
}, {
|
|
7776
7329
|
readonly inputs: readonly [{
|
|
7777
7330
|
readonly internalType: "uint256";
|
|
@@ -8410,10 +7963,6 @@ export declare const abi: readonly [{
|
|
|
8410
7963
|
readonly internalType: "uint64";
|
|
8411
7964
|
readonly name: "offerVersion";
|
|
8412
7965
|
readonly type: "uint64";
|
|
8413
|
-
}, {
|
|
8414
|
-
readonly internalType: "address";
|
|
8415
|
-
readonly name: "tokenAddress";
|
|
8416
|
-
readonly type: "address";
|
|
8417
7966
|
}];
|
|
8418
7967
|
readonly internalType: "struct OrderInfo";
|
|
8419
7968
|
readonly name: "parentOrderInfo";
|
|
@@ -8501,10 +8050,6 @@ export declare const abi: readonly [{
|
|
|
8501
8050
|
readonly internalType: "uint64";
|
|
8502
8051
|
readonly name: "offerVersion";
|
|
8503
8052
|
readonly type: "uint64";
|
|
8504
|
-
}, {
|
|
8505
|
-
readonly internalType: "address";
|
|
8506
|
-
readonly name: "tokenAddress";
|
|
8507
|
-
readonly type: "address";
|
|
8508
8053
|
}];
|
|
8509
8054
|
readonly internalType: "struct OrderInfo[]";
|
|
8510
8055
|
readonly name: "subOrdersInfos";
|
|
@@ -9983,10 +9528,6 @@ export declare const abi: readonly [{
|
|
|
9983
9528
|
readonly internalType: "bool";
|
|
9984
9529
|
readonly name: "copyPreviousData";
|
|
9985
9530
|
readonly type: "bool";
|
|
9986
|
-
}, {
|
|
9987
|
-
readonly internalType: "address";
|
|
9988
|
-
readonly name: "tokenAddress";
|
|
9989
|
-
readonly type: "address";
|
|
9990
9531
|
}];
|
|
9991
9532
|
readonly internalType: "struct OfferStorageRequest[]";
|
|
9992
9533
|
readonly name: "";
|
|
@@ -10046,10 +9587,6 @@ export declare const abi: readonly [{
|
|
|
10046
9587
|
readonly internalType: "bool";
|
|
10047
9588
|
readonly name: "copyPreviousData";
|
|
10048
9589
|
readonly type: "bool";
|
|
10049
|
-
}, {
|
|
10050
|
-
readonly internalType: "address";
|
|
10051
|
-
readonly name: "tokenAddress";
|
|
10052
|
-
readonly type: "address";
|
|
10053
9590
|
}];
|
|
10054
9591
|
readonly internalType: "struct OfferStorageRequest";
|
|
10055
9592
|
readonly name: "";
|
|
@@ -10099,10 +9636,6 @@ export declare const abi: readonly [{
|
|
|
10099
9636
|
readonly internalType: "bool";
|
|
10100
9637
|
readonly name: "copyPreviousData";
|
|
10101
9638
|
readonly type: "bool";
|
|
10102
|
-
}, {
|
|
10103
|
-
readonly internalType: "address";
|
|
10104
|
-
readonly name: "tokenAddress";
|
|
10105
|
-
readonly type: "address";
|
|
10106
9639
|
}];
|
|
10107
9640
|
readonly internalType: "struct OfferStorageRequest";
|
|
10108
9641
|
readonly name: "request";
|