@super-protocol/sdk-js 3.0.4 → 3.0.5-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 +6 -0
- package/dist/cjs/connectors/BaseConnector.js +10 -1
- package/dist/cjs/connectors/BlockchainConnector.js +4 -2
- package/dist/cjs/connectors/BlockchainEventsListener.js +3 -2
- package/dist/cjs/contracts/abi.d.ts +613 -146
- package/dist/cjs/contracts/abi.js +775 -173
- package/dist/cjs/models/Offer.js +5 -3
- package/dist/cjs/models/Order.js +4 -1
- package/dist/cjs/models/Provider.d.ts +1 -1
- package/dist/cjs/models/Provider.js +8 -3
- package/dist/cjs/staticModels/Consensus.d.ts +3 -3
- package/dist/cjs/staticModels/Consensus.js +4 -4
- package/dist/cjs/staticModels/Deposits.d.ts +10 -9
- package/dist/cjs/staticModels/Deposits.js +21 -18
- package/dist/cjs/staticModels/Offers.js +7 -2
- package/dist/cjs/staticModels/OffersStorageRequests.js +4 -1
- package/dist/cjs/staticModels/Orders.d.ts +2 -1
- package/dist/cjs/staticModels/Orders.js +14 -2
- package/dist/cjs/staticModels/ProviderRegistry.d.ts +15 -6
- package/dist/cjs/staticModels/ProviderRegistry.js +43 -11
- package/dist/cjs/staticModels/ProviderRewards.js +16 -1
- package/dist/cjs/staticModels/Superpro.d.ts +5 -7
- package/dist/cjs/staticModels/Superpro.js +13 -45
- package/dist/cjs/staticModels/TeeOffers.js +7 -2
- package/dist/cjs/types/DistributedSecretStorage.d.ts +1 -0
- package/dist/cjs/types/Offer.d.ts +5 -0
- package/dist/cjs/types/Order.d.ts +2 -0
- package/dist/cjs/types/Order.js +3 -1
- package/dist/cjs/types/TokenInfo.d.ts +6 -1
- package/dist/mjs/connectors/BaseConnector.d.ts +6 -0
- package/dist/mjs/connectors/BaseConnector.js +10 -1
- package/dist/mjs/connectors/BlockchainConnector.js +4 -2
- package/dist/mjs/connectors/BlockchainEventsListener.js +3 -2
- package/dist/mjs/contracts/abi.d.ts +613 -146
- package/dist/mjs/contracts/abi.js +773 -171
- package/dist/mjs/models/Offer.js +5 -3
- package/dist/mjs/models/Order.js +4 -1
- package/dist/mjs/models/Provider.d.ts +1 -1
- package/dist/mjs/models/Provider.js +8 -3
- package/dist/mjs/staticModels/Consensus.d.ts +3 -3
- package/dist/mjs/staticModels/Consensus.js +4 -4
- package/dist/mjs/staticModels/Deposits.d.ts +10 -9
- package/dist/mjs/staticModels/Deposits.js +21 -18
- package/dist/mjs/staticModels/Offers.js +7 -2
- package/dist/mjs/staticModels/OffersStorageRequests.js +4 -1
- package/dist/mjs/staticModels/Orders.d.ts +2 -1
- package/dist/mjs/staticModels/Orders.js +14 -2
- package/dist/mjs/staticModels/ProviderRegistry.d.ts +15 -6
- package/dist/mjs/staticModels/ProviderRegistry.js +43 -11
- package/dist/mjs/staticModels/ProviderRewards.js +17 -2
- package/dist/mjs/staticModels/Superpro.d.ts +5 -7
- package/dist/mjs/staticModels/Superpro.js +13 -42
- package/dist/mjs/staticModels/TeeOffers.js +7 -2
- package/dist/mjs/types/DistributedSecretStorage.d.ts +1 -0
- package/dist/mjs/types/Offer.d.ts +5 -0
- package/dist/mjs/types/Order.d.ts +2 -0
- package/dist/mjs/types/Order.js +3 -1
- package/dist/mjs/types/TokenInfo.d.ts +6 -1
- package/package.json +1 -1
|
@@ -30,12 +30,18 @@ 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";
|
|
33
34
|
export declare const ProviderModified: "ProviderModified";
|
|
34
35
|
export declare const ProviderRegistered: "ProviderRegistered";
|
|
35
36
|
export declare const ProviderSecurityDepoRefilled: "ProviderSecurityDepoRefilled";
|
|
36
37
|
export declare const ProviderSecurityDepoUnlocked: "ProviderSecurityDepoUnlocked";
|
|
37
38
|
export declare const ProviderViolationRateIncremented: "ProviderViolationRateIncremented";
|
|
39
|
+
export declare const DepositConfiscated: "DepositConfiscated";
|
|
40
|
+
export declare const RewardConfiscated: "RewardConfiscated";
|
|
41
|
+
export declare const PrimaryTokenStatusChanged: "PrimaryTokenStatusChanged";
|
|
38
42
|
export declare const RewardTokenChanged: "RewardTokenChanged";
|
|
43
|
+
export declare const TokenInfoUpdated: "TokenInfoUpdated";
|
|
44
|
+
export declare const TokenRemoved: "TokenRemoved";
|
|
39
45
|
export declare const OptionAdded: "OptionAdded";
|
|
40
46
|
export declare const OptionDeleted: "OptionDeleted";
|
|
41
47
|
export declare const OptionUpdated: "OptionUpdated";
|
|
@@ -56,7 +62,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
56
62
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
57
63
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
58
64
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
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;
|
|
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 ProviderDepositTokenUpdated | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof DepositConfiscated | typeof RewardConfiscated | typeof PrimaryTokenStatusChanged | typeof RewardTokenChanged | typeof TokenInfoUpdated | typeof TokenRemoved | 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;
|
|
60
66
|
export declare const abi: readonly [{
|
|
61
67
|
readonly anonymous: false;
|
|
62
68
|
readonly inputs: readonly [{
|
|
@@ -465,7 +471,7 @@ export declare const abi: readonly [{
|
|
|
465
471
|
}, {
|
|
466
472
|
readonly indexed: true;
|
|
467
473
|
readonly internalType: "address";
|
|
468
|
-
readonly name: "
|
|
474
|
+
readonly name: "action";
|
|
469
475
|
readonly type: "address";
|
|
470
476
|
}];
|
|
471
477
|
readonly name: "TcbBenchmarkChanged";
|
|
@@ -480,7 +486,7 @@ export declare const abi: readonly [{
|
|
|
480
486
|
}, {
|
|
481
487
|
readonly indexed: true;
|
|
482
488
|
readonly internalType: "address";
|
|
483
|
-
readonly name: "
|
|
489
|
+
readonly name: "action";
|
|
484
490
|
readonly type: "address";
|
|
485
491
|
}];
|
|
486
492
|
readonly name: "TcbCompleted";
|
|
@@ -495,7 +501,7 @@ export declare const abi: readonly [{
|
|
|
495
501
|
}, {
|
|
496
502
|
readonly indexed: true;
|
|
497
503
|
readonly internalType: "address";
|
|
498
|
-
readonly name: "
|
|
504
|
+
readonly name: "action";
|
|
499
505
|
readonly type: "address";
|
|
500
506
|
}];
|
|
501
507
|
readonly name: "TcbInitialized";
|
|
@@ -1105,6 +1111,11 @@ export declare const abi: readonly [{
|
|
|
1105
1111
|
}, {
|
|
1106
1112
|
readonly anonymous: false;
|
|
1107
1113
|
readonly inputs: readonly [{
|
|
1114
|
+
readonly indexed: true;
|
|
1115
|
+
readonly internalType: "address";
|
|
1116
|
+
readonly name: "token";
|
|
1117
|
+
readonly type: "address";
|
|
1118
|
+
}, {
|
|
1108
1119
|
readonly indexed: true;
|
|
1109
1120
|
readonly internalType: "address";
|
|
1110
1121
|
readonly name: "owner";
|
|
@@ -1125,6 +1136,11 @@ export declare const abi: readonly [{
|
|
|
1125
1136
|
}, {
|
|
1126
1137
|
readonly anonymous: false;
|
|
1127
1138
|
readonly inputs: readonly [{
|
|
1139
|
+
readonly indexed: true;
|
|
1140
|
+
readonly internalType: "address";
|
|
1141
|
+
readonly name: "token";
|
|
1142
|
+
readonly type: "address";
|
|
1143
|
+
}, {
|
|
1128
1144
|
readonly indexed: true;
|
|
1129
1145
|
readonly internalType: "address";
|
|
1130
1146
|
readonly name: "owner";
|
|
@@ -1145,6 +1161,11 @@ export declare const abi: readonly [{
|
|
|
1145
1161
|
}, {
|
|
1146
1162
|
readonly anonymous: false;
|
|
1147
1163
|
readonly inputs: readonly [{
|
|
1164
|
+
readonly indexed: true;
|
|
1165
|
+
readonly internalType: "address";
|
|
1166
|
+
readonly name: "token";
|
|
1167
|
+
readonly type: "address";
|
|
1168
|
+
}, {
|
|
1148
1169
|
readonly indexed: true;
|
|
1149
1170
|
readonly internalType: "address";
|
|
1150
1171
|
readonly name: "owner";
|
|
@@ -1165,6 +1186,11 @@ export declare const abi: readonly [{
|
|
|
1165
1186
|
}, {
|
|
1166
1187
|
readonly anonymous: false;
|
|
1167
1188
|
readonly inputs: readonly [{
|
|
1189
|
+
readonly indexed: true;
|
|
1190
|
+
readonly internalType: "address";
|
|
1191
|
+
readonly name: "token";
|
|
1192
|
+
readonly type: "address";
|
|
1193
|
+
}, {
|
|
1168
1194
|
readonly indexed: true;
|
|
1169
1195
|
readonly internalType: "address";
|
|
1170
1196
|
readonly name: "owner";
|
|
@@ -1184,6 +1210,10 @@ export declare const abi: readonly [{
|
|
|
1184
1210
|
readonly type: "event";
|
|
1185
1211
|
}, {
|
|
1186
1212
|
readonly inputs: readonly [{
|
|
1213
|
+
readonly internalType: "address";
|
|
1214
|
+
readonly name: "tokenAddress";
|
|
1215
|
+
readonly type: "address";
|
|
1216
|
+
}, {
|
|
1187
1217
|
readonly internalType: "address";
|
|
1188
1218
|
readonly name: "depositOwner";
|
|
1189
1219
|
readonly type: "address";
|
|
@@ -1198,6 +1228,10 @@ export declare const abi: readonly [{
|
|
|
1198
1228
|
readonly type: "function";
|
|
1199
1229
|
}, {
|
|
1200
1230
|
readonly inputs: readonly [{
|
|
1231
|
+
readonly internalType: "address";
|
|
1232
|
+
readonly name: "tokenAddress";
|
|
1233
|
+
readonly type: "address";
|
|
1234
|
+
}, {
|
|
1201
1235
|
readonly internalType: "uint256";
|
|
1202
1236
|
readonly name: "profit";
|
|
1203
1237
|
readonly type: "uint256";
|
|
@@ -1213,19 +1247,9 @@ export declare const abi: readonly [{
|
|
|
1213
1247
|
}, {
|
|
1214
1248
|
readonly inputs: readonly [{
|
|
1215
1249
|
readonly internalType: "address";
|
|
1216
|
-
readonly name: "
|
|
1250
|
+
readonly name: "tokenAddress";
|
|
1217
1251
|
readonly type: "address";
|
|
1218
1252
|
}, {
|
|
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 [{
|
|
1229
1253
|
readonly internalType: "address";
|
|
1230
1254
|
readonly name: "depositOwner";
|
|
1231
1255
|
readonly type: "address";
|
|
@@ -1253,6 +1277,10 @@ export declare const abi: readonly [{
|
|
|
1253
1277
|
readonly type: "function";
|
|
1254
1278
|
}, {
|
|
1255
1279
|
readonly inputs: readonly [{
|
|
1280
|
+
readonly internalType: "address";
|
|
1281
|
+
readonly name: "tokenAddress";
|
|
1282
|
+
readonly type: "address";
|
|
1283
|
+
}, {
|
|
1256
1284
|
readonly internalType: "address";
|
|
1257
1285
|
readonly name: "depositOwner";
|
|
1258
1286
|
readonly type: "address";
|
|
@@ -1267,6 +1295,10 @@ export declare const abi: readonly [{
|
|
|
1267
1295
|
readonly type: "function";
|
|
1268
1296
|
}, {
|
|
1269
1297
|
readonly inputs: readonly [{
|
|
1298
|
+
readonly internalType: "address";
|
|
1299
|
+
readonly name: "tokenAddress";
|
|
1300
|
+
readonly type: "address";
|
|
1301
|
+
}, {
|
|
1270
1302
|
readonly internalType: "address";
|
|
1271
1303
|
readonly name: "beneficiary";
|
|
1272
1304
|
readonly type: "address";
|
|
@@ -1281,6 +1313,10 @@ export declare const abi: readonly [{
|
|
|
1281
1313
|
readonly type: "function";
|
|
1282
1314
|
}, {
|
|
1283
1315
|
readonly inputs: readonly [{
|
|
1316
|
+
readonly internalType: "address";
|
|
1317
|
+
readonly name: "tokenAddress";
|
|
1318
|
+
readonly type: "address";
|
|
1319
|
+
}, {
|
|
1284
1320
|
readonly internalType: "address";
|
|
1285
1321
|
readonly name: "depositOwner";
|
|
1286
1322
|
readonly type: "address";
|
|
@@ -1295,6 +1331,10 @@ export declare const abi: readonly [{
|
|
|
1295
1331
|
readonly type: "function";
|
|
1296
1332
|
}, {
|
|
1297
1333
|
readonly inputs: readonly [{
|
|
1334
|
+
readonly internalType: "address";
|
|
1335
|
+
readonly name: "tokenAddress";
|
|
1336
|
+
readonly type: "address";
|
|
1337
|
+
}, {
|
|
1298
1338
|
readonly internalType: "uint256";
|
|
1299
1339
|
readonly name: "amount";
|
|
1300
1340
|
readonly type: "uint256";
|
|
@@ -1305,6 +1345,10 @@ export declare const abi: readonly [{
|
|
|
1305
1345
|
readonly type: "function";
|
|
1306
1346
|
}, {
|
|
1307
1347
|
readonly inputs: readonly [{
|
|
1348
|
+
readonly internalType: "address";
|
|
1349
|
+
readonly name: "tokenAddress";
|
|
1350
|
+
readonly type: "address";
|
|
1351
|
+
}, {
|
|
1308
1352
|
readonly internalType: "address";
|
|
1309
1353
|
readonly name: "beneficiary";
|
|
1310
1354
|
readonly type: "address";
|
|
@@ -1319,6 +1363,10 @@ export declare const abi: readonly [{
|
|
|
1319
1363
|
readonly type: "function";
|
|
1320
1364
|
}, {
|
|
1321
1365
|
readonly inputs: readonly [{
|
|
1366
|
+
readonly internalType: "address";
|
|
1367
|
+
readonly name: "tokenAddress";
|
|
1368
|
+
readonly type: "address";
|
|
1369
|
+
}, {
|
|
1322
1370
|
readonly internalType: "address";
|
|
1323
1371
|
readonly name: "funder";
|
|
1324
1372
|
readonly type: "address";
|
|
@@ -1337,6 +1385,10 @@ export declare const abi: readonly [{
|
|
|
1337
1385
|
readonly type: "function";
|
|
1338
1386
|
}, {
|
|
1339
1387
|
readonly inputs: readonly [{
|
|
1388
|
+
readonly internalType: "address";
|
|
1389
|
+
readonly name: "tokenAddress";
|
|
1390
|
+
readonly type: "address";
|
|
1391
|
+
}, {
|
|
1340
1392
|
readonly internalType: "address";
|
|
1341
1393
|
readonly name: "depositOwner";
|
|
1342
1394
|
readonly type: "address";
|
|
@@ -1351,6 +1403,10 @@ export declare const abi: readonly [{
|
|
|
1351
1403
|
readonly type: "function";
|
|
1352
1404
|
}, {
|
|
1353
1405
|
readonly inputs: readonly [{
|
|
1406
|
+
readonly internalType: "address";
|
|
1407
|
+
readonly name: "tokenAddress";
|
|
1408
|
+
readonly type: "address";
|
|
1409
|
+
}, {
|
|
1354
1410
|
readonly internalType: "uint256";
|
|
1355
1411
|
readonly name: "amount";
|
|
1356
1412
|
readonly type: "uint256";
|
|
@@ -1540,9 +1596,22 @@ export declare const abi: readonly [{
|
|
|
1540
1596
|
readonly type: "event";
|
|
1541
1597
|
}, {
|
|
1542
1598
|
readonly inputs: readonly [{
|
|
1543
|
-
readonly
|
|
1544
|
-
|
|
1545
|
-
|
|
1599
|
+
readonly components: readonly [{
|
|
1600
|
+
readonly internalType: "enum OfferType";
|
|
1601
|
+
readonly name: "offerType";
|
|
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";
|
|
1546
1615
|
}, {
|
|
1547
1616
|
readonly components: readonly [{
|
|
1548
1617
|
readonly internalType: "string";
|
|
@@ -1614,10 +1683,6 @@ export declare const abi: readonly [{
|
|
|
1614
1683
|
readonly internalType: "bytes32";
|
|
1615
1684
|
readonly name: "externalId";
|
|
1616
1685
|
readonly type: "bytes32";
|
|
1617
|
-
}, {
|
|
1618
|
-
readonly internalType: "bool";
|
|
1619
|
-
readonly name: "enabled";
|
|
1620
|
-
readonly type: "bool";
|
|
1621
1686
|
}];
|
|
1622
1687
|
readonly name: "createTeeOffer";
|
|
1623
1688
|
readonly outputs: readonly [];
|
|
@@ -1625,13 +1690,22 @@ export declare const abi: readonly [{
|
|
|
1625
1690
|
readonly type: "function";
|
|
1626
1691
|
}, {
|
|
1627
1692
|
readonly inputs: readonly [{
|
|
1628
|
-
readonly
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1693
|
+
readonly components: readonly [{
|
|
1694
|
+
readonly internalType: "enum OfferType";
|
|
1695
|
+
readonly name: "offerType";
|
|
1696
|
+
readonly type: "uint8";
|
|
1697
|
+
}, {
|
|
1698
|
+
readonly internalType: "address";
|
|
1699
|
+
readonly name: "providerAuth";
|
|
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";
|
|
1635
1709
|
}, {
|
|
1636
1710
|
readonly components: readonly [{
|
|
1637
1711
|
readonly internalType: "string";
|
|
@@ -1726,10 +1800,6 @@ export declare const abi: readonly [{
|
|
|
1726
1800
|
readonly internalType: "bytes32";
|
|
1727
1801
|
readonly name: "externalId";
|
|
1728
1802
|
readonly type: "bytes32";
|
|
1729
|
-
}, {
|
|
1730
|
-
readonly internalType: "bool";
|
|
1731
|
-
readonly name: "enabled";
|
|
1732
|
-
readonly type: "bool";
|
|
1733
1803
|
}];
|
|
1734
1804
|
readonly name: "createValueOffer";
|
|
1735
1805
|
readonly outputs: readonly [];
|
|
@@ -2080,9 +2150,22 @@ export declare const abi: readonly [{
|
|
|
2080
2150
|
readonly name: "id";
|
|
2081
2151
|
readonly type: "uint256";
|
|
2082
2152
|
}, {
|
|
2083
|
-
readonly
|
|
2084
|
-
|
|
2085
|
-
|
|
2153
|
+
readonly components: readonly [{
|
|
2154
|
+
readonly internalType: "enum OfferType";
|
|
2155
|
+
readonly name: "offerType";
|
|
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";
|
|
2086
2169
|
}, {
|
|
2087
2170
|
readonly components: readonly [{
|
|
2088
2171
|
readonly internalType: "string";
|
|
@@ -2116,10 +2199,6 @@ export declare const abi: readonly [{
|
|
|
2116
2199
|
readonly internalType: "struct TeeOfferInfo";
|
|
2117
2200
|
readonly name: "info";
|
|
2118
2201
|
readonly type: "tuple";
|
|
2119
|
-
}, {
|
|
2120
|
-
readonly internalType: "bool";
|
|
2121
|
-
readonly name: "enabled";
|
|
2122
|
-
readonly type: "bool";
|
|
2123
2202
|
}];
|
|
2124
2203
|
readonly internalType: "struct TeeOfferData[]";
|
|
2125
2204
|
readonly name: "";
|
|
@@ -2148,13 +2227,22 @@ export declare const abi: readonly [{
|
|
|
2148
2227
|
readonly name: "id";
|
|
2149
2228
|
readonly type: "uint256";
|
|
2150
2229
|
}, {
|
|
2151
|
-
readonly
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2230
|
+
readonly components: readonly [{
|
|
2231
|
+
readonly internalType: "enum OfferType";
|
|
2232
|
+
readonly name: "offerType";
|
|
2233
|
+
readonly type: "uint8";
|
|
2234
|
+
}, {
|
|
2235
|
+
readonly internalType: "address";
|
|
2236
|
+
readonly name: "providerAuth";
|
|
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";
|
|
2158
2246
|
}, {
|
|
2159
2247
|
readonly components: readonly [{
|
|
2160
2248
|
readonly internalType: "string";
|
|
@@ -2228,10 +2316,6 @@ export declare const abi: readonly [{
|
|
|
2228
2316
|
readonly internalType: "struct ValueOfferInfo";
|
|
2229
2317
|
readonly name: "info";
|
|
2230
2318
|
readonly type: "tuple";
|
|
2231
|
-
}, {
|
|
2232
|
-
readonly internalType: "bool";
|
|
2233
|
-
readonly name: "enabled";
|
|
2234
|
-
readonly type: "bool";
|
|
2235
2319
|
}];
|
|
2236
2320
|
readonly internalType: "struct ValueOfferData[]";
|
|
2237
2321
|
readonly name: "";
|
|
@@ -2474,9 +2558,22 @@ export declare const abi: readonly [{
|
|
|
2474
2558
|
readonly name: "id";
|
|
2475
2559
|
readonly type: "uint256";
|
|
2476
2560
|
}, {
|
|
2477
|
-
readonly
|
|
2478
|
-
|
|
2479
|
-
|
|
2561
|
+
readonly components: readonly [{
|
|
2562
|
+
readonly internalType: "enum OfferType";
|
|
2563
|
+
readonly name: "offerType";
|
|
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";
|
|
2480
2577
|
}, {
|
|
2481
2578
|
readonly components: readonly [{
|
|
2482
2579
|
readonly internalType: "string";
|
|
@@ -2510,10 +2607,6 @@ export declare const abi: readonly [{
|
|
|
2510
2607
|
readonly internalType: "struct TeeOfferInfo";
|
|
2511
2608
|
readonly name: "info";
|
|
2512
2609
|
readonly type: "tuple";
|
|
2513
|
-
}, {
|
|
2514
|
-
readonly internalType: "bool";
|
|
2515
|
-
readonly name: "enabled";
|
|
2516
|
-
readonly type: "bool";
|
|
2517
2610
|
}];
|
|
2518
2611
|
readonly internalType: "struct TeeOfferData";
|
|
2519
2612
|
readonly name: "ret";
|
|
@@ -2597,13 +2690,22 @@ export declare const abi: readonly [{
|
|
|
2597
2690
|
readonly name: "id";
|
|
2598
2691
|
readonly type: "uint256";
|
|
2599
2692
|
}, {
|
|
2600
|
-
readonly
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2693
|
+
readonly components: readonly [{
|
|
2694
|
+
readonly internalType: "enum OfferType";
|
|
2695
|
+
readonly name: "offerType";
|
|
2696
|
+
readonly type: "uint8";
|
|
2697
|
+
}, {
|
|
2698
|
+
readonly internalType: "address";
|
|
2699
|
+
readonly name: "providerAuth";
|
|
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";
|
|
2607
2709
|
}, {
|
|
2608
2710
|
readonly components: readonly [{
|
|
2609
2711
|
readonly internalType: "string";
|
|
@@ -2677,10 +2779,6 @@ export declare const abi: readonly [{
|
|
|
2677
2779
|
readonly internalType: "struct ValueOfferInfo";
|
|
2678
2780
|
readonly name: "info";
|
|
2679
2781
|
readonly type: "tuple";
|
|
2680
|
-
}, {
|
|
2681
|
-
readonly internalType: "bool";
|
|
2682
|
-
readonly name: "enabled";
|
|
2683
|
-
readonly type: "bool";
|
|
2684
2782
|
}];
|
|
2685
2783
|
readonly internalType: "struct ValueOfferData";
|
|
2686
2784
|
readonly name: "ret";
|
|
@@ -2986,6 +3084,11 @@ export declare const abi: readonly [{
|
|
|
2986
3084
|
readonly internalType: "uint256";
|
|
2987
3085
|
readonly name: "orderId";
|
|
2988
3086
|
readonly type: "uint256";
|
|
3087
|
+
}, {
|
|
3088
|
+
readonly indexed: false;
|
|
3089
|
+
readonly internalType: "address";
|
|
3090
|
+
readonly name: "tokenAddress";
|
|
3091
|
+
readonly type: "address";
|
|
2989
3092
|
}, {
|
|
2990
3093
|
readonly indexed: false;
|
|
2991
3094
|
readonly internalType: "uint256";
|
|
@@ -3016,6 +3119,10 @@ export declare const abi: readonly [{
|
|
|
3016
3119
|
readonly type: "event";
|
|
3017
3120
|
}, {
|
|
3018
3121
|
readonly inputs: readonly [{
|
|
3122
|
+
readonly internalType: "address";
|
|
3123
|
+
readonly name: "tokenAddress";
|
|
3124
|
+
readonly type: "address";
|
|
3125
|
+
}, {
|
|
3019
3126
|
readonly internalType: "address";
|
|
3020
3127
|
readonly name: "consumer";
|
|
3021
3128
|
readonly type: "address";
|
|
@@ -3070,6 +3177,10 @@ export declare const abi: readonly [{
|
|
|
3070
3177
|
readonly internalType: "uint64";
|
|
3071
3178
|
readonly name: "offerVersion";
|
|
3072
3179
|
readonly type: "uint64";
|
|
3180
|
+
}, {
|
|
3181
|
+
readonly internalType: "address";
|
|
3182
|
+
readonly name: "tokenAddress";
|
|
3183
|
+
readonly type: "address";
|
|
3073
3184
|
}];
|
|
3074
3185
|
readonly internalType: "struct OrderInfo";
|
|
3075
3186
|
readonly name: "info";
|
|
@@ -3175,6 +3286,10 @@ export declare const abi: readonly [{
|
|
|
3175
3286
|
readonly internalType: "uint64";
|
|
3176
3287
|
readonly name: "offerVersion";
|
|
3177
3288
|
readonly type: "uint64";
|
|
3289
|
+
}, {
|
|
3290
|
+
readonly internalType: "address";
|
|
3291
|
+
readonly name: "tokenAddress";
|
|
3292
|
+
readonly type: "address";
|
|
3178
3293
|
}];
|
|
3179
3294
|
readonly internalType: "struct OrderInfo";
|
|
3180
3295
|
readonly name: "info";
|
|
@@ -3280,6 +3395,10 @@ export declare const abi: readonly [{
|
|
|
3280
3395
|
readonly internalType: "uint64";
|
|
3281
3396
|
readonly name: "offerVersion";
|
|
3282
3397
|
readonly type: "uint64";
|
|
3398
|
+
}, {
|
|
3399
|
+
readonly internalType: "address";
|
|
3400
|
+
readonly name: "tokenAddress";
|
|
3401
|
+
readonly type: "address";
|
|
3283
3402
|
}];
|
|
3284
3403
|
readonly internalType: "struct OrderInfo";
|
|
3285
3404
|
readonly name: "suborderInfo";
|
|
@@ -3390,6 +3509,10 @@ export declare const abi: readonly [{
|
|
|
3390
3509
|
readonly internalType: "uint64";
|
|
3391
3510
|
readonly name: "offerVersion";
|
|
3392
3511
|
readonly type: "uint64";
|
|
3512
|
+
}, {
|
|
3513
|
+
readonly internalType: "address";
|
|
3514
|
+
readonly name: "tokenAddress";
|
|
3515
|
+
readonly type: "address";
|
|
3393
3516
|
}];
|
|
3394
3517
|
readonly internalType: "struct OrderInfo";
|
|
3395
3518
|
readonly name: "suborderInfo";
|
|
@@ -3751,37 +3874,33 @@ export declare const abi: readonly [{
|
|
|
3751
3874
|
readonly type: "function";
|
|
3752
3875
|
}, {
|
|
3753
3876
|
readonly inputs: readonly [{
|
|
3877
|
+
readonly internalType: "address";
|
|
3878
|
+
readonly name: "consumer";
|
|
3879
|
+
readonly type: "address";
|
|
3880
|
+
}, {
|
|
3754
3881
|
readonly internalType: "uint256";
|
|
3755
3882
|
readonly name: "orderId";
|
|
3756
3883
|
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";
|
|
3765
3884
|
}];
|
|
3766
|
-
readonly name: "
|
|
3885
|
+
readonly name: "completeAutocompleteOrder";
|
|
3767
3886
|
readonly outputs: readonly [];
|
|
3768
3887
|
readonly stateMutability: "nonpayable";
|
|
3769
3888
|
readonly type: "function";
|
|
3770
3889
|
}, {
|
|
3771
3890
|
readonly inputs: readonly [{
|
|
3772
|
-
readonly internalType: "address";
|
|
3773
|
-
readonly name: "sender";
|
|
3774
|
-
readonly type: "address";
|
|
3775
|
-
}, {
|
|
3776
3891
|
readonly internalType: "uint256";
|
|
3777
3892
|
readonly name: "orderId";
|
|
3778
3893
|
readonly type: "uint256";
|
|
3779
3894
|
}, {
|
|
3780
|
-
readonly internalType: "
|
|
3781
|
-
readonly name: "
|
|
3782
|
-
readonly type: "
|
|
3895
|
+
readonly internalType: "enum OrderStatus";
|
|
3896
|
+
readonly name: "status";
|
|
3897
|
+
readonly type: "uint8";
|
|
3898
|
+
}, {
|
|
3899
|
+
readonly internalType: "string";
|
|
3900
|
+
readonly name: "encryptedResult";
|
|
3901
|
+
readonly type: "string";
|
|
3783
3902
|
}];
|
|
3784
|
-
readonly name: "
|
|
3903
|
+
readonly name: "completeOrder";
|
|
3785
3904
|
readonly outputs: readonly [];
|
|
3786
3905
|
readonly stateMutability: "nonpayable";
|
|
3787
3906
|
readonly type: "function";
|
|
@@ -4181,6 +4300,10 @@ export declare const abi: readonly [{
|
|
|
4181
4300
|
readonly internalType: "uint64";
|
|
4182
4301
|
readonly name: "offerVersion";
|
|
4183
4302
|
readonly type: "uint64";
|
|
4303
|
+
}, {
|
|
4304
|
+
readonly internalType: "address";
|
|
4305
|
+
readonly name: "tokenAddress";
|
|
4306
|
+
readonly type: "address";
|
|
4184
4307
|
}];
|
|
4185
4308
|
readonly internalType: "struct OrderInfo";
|
|
4186
4309
|
readonly name: "info";
|
|
@@ -4474,6 +4597,20 @@ export declare const abi: readonly [{
|
|
|
4474
4597
|
}];
|
|
4475
4598
|
readonly stateMutability: "view";
|
|
4476
4599
|
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";
|
|
4477
4614
|
}, {
|
|
4478
4615
|
readonly inputs: readonly [];
|
|
4479
4616
|
readonly name: "getOrdersCount";
|
|
@@ -4600,11 +4737,7 @@ export declare const abi: readonly [{
|
|
|
4600
4737
|
readonly type: "uint256";
|
|
4601
4738
|
}];
|
|
4602
4739
|
readonly name: "addEpochDamage";
|
|
4603
|
-
readonly outputs: readonly [
|
|
4604
|
-
readonly internalType: "uint256";
|
|
4605
|
-
readonly name: "intruderTcbReward";
|
|
4606
|
-
readonly type: "uint256";
|
|
4607
|
-
}];
|
|
4740
|
+
readonly outputs: readonly [];
|
|
4608
4741
|
readonly stateMutability: "nonpayable";
|
|
4609
4742
|
readonly type: "function";
|
|
4610
4743
|
}, {
|
|
@@ -5371,24 +5504,38 @@ export declare const abi: readonly [{
|
|
|
5371
5504
|
}, {
|
|
5372
5505
|
readonly inputs: readonly [{
|
|
5373
5506
|
readonly internalType: "uint256";
|
|
5374
|
-
readonly name: "
|
|
5507
|
+
readonly name: "tcbReward";
|
|
5375
5508
|
readonly type: "uint256";
|
|
5376
5509
|
}];
|
|
5377
|
-
readonly name: "
|
|
5510
|
+
readonly name: "increaseClaimedByUnlockTcbReward";
|
|
5378
5511
|
readonly outputs: readonly [];
|
|
5379
5512
|
readonly stateMutability: "nonpayable";
|
|
5380
5513
|
readonly type: "function";
|
|
5381
5514
|
}, {
|
|
5382
5515
|
readonly inputs: readonly [{
|
|
5383
5516
|
readonly internalType: "uint256";
|
|
5384
|
-
readonly name: "
|
|
5517
|
+
readonly name: "compensation";
|
|
5385
5518
|
readonly type: "uint256";
|
|
5386
5519
|
}, {
|
|
5387
|
-
readonly internalType: "
|
|
5388
|
-
readonly name: "
|
|
5389
|
-
readonly type: "
|
|
5520
|
+
readonly internalType: "bool";
|
|
5521
|
+
readonly name: "updateRewardAccounting";
|
|
5522
|
+
readonly type: "bool";
|
|
5390
5523
|
}];
|
|
5391
|
-
readonly name: "
|
|
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";
|
|
5537
|
+
}];
|
|
5538
|
+
readonly name: "increaseValueRemainReward";
|
|
5392
5539
|
readonly outputs: readonly [];
|
|
5393
5540
|
readonly stateMutability: "nonpayable";
|
|
5394
5541
|
readonly type: "function";
|
|
@@ -5526,6 +5673,21 @@ export declare const abi: readonly [{
|
|
|
5526
5673
|
readonly outputs: readonly [];
|
|
5527
5674
|
readonly stateMutability: "nonpayable";
|
|
5528
5675
|
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";
|
|
5529
5691
|
}, {
|
|
5530
5692
|
readonly anonymous: false;
|
|
5531
5693
|
readonly inputs: readonly [{
|
|
@@ -5553,6 +5715,11 @@ export declare const abi: readonly [{
|
|
|
5553
5715
|
readonly internalType: "address";
|
|
5554
5716
|
readonly name: "auth";
|
|
5555
5717
|
readonly type: "address";
|
|
5718
|
+
}, {
|
|
5719
|
+
readonly indexed: true;
|
|
5720
|
+
readonly internalType: "address";
|
|
5721
|
+
readonly name: "providerDepositToken";
|
|
5722
|
+
readonly type: "address";
|
|
5556
5723
|
}, {
|
|
5557
5724
|
readonly indexed: false;
|
|
5558
5725
|
readonly internalType: "uint256";
|
|
@@ -5568,6 +5735,11 @@ export declare const abi: readonly [{
|
|
|
5568
5735
|
readonly internalType: "address";
|
|
5569
5736
|
readonly name: "auth";
|
|
5570
5737
|
readonly type: "address";
|
|
5738
|
+
}, {
|
|
5739
|
+
readonly indexed: true;
|
|
5740
|
+
readonly internalType: "address";
|
|
5741
|
+
readonly name: "tokenAddress";
|
|
5742
|
+
readonly type: "address";
|
|
5571
5743
|
}, {
|
|
5572
5744
|
readonly indexed: false;
|
|
5573
5745
|
readonly internalType: "uint256";
|
|
@@ -5591,6 +5763,16 @@ export declare const abi: readonly [{
|
|
|
5591
5763
|
}];
|
|
5592
5764
|
readonly name: "ProviderViolationRateIncremented";
|
|
5593
5765
|
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";
|
|
5594
5776
|
}, {
|
|
5595
5777
|
readonly inputs: readonly [{
|
|
5596
5778
|
readonly internalType: "address";
|
|
@@ -5605,6 +5787,20 @@ export declare const abi: readonly [{
|
|
|
5605
5787
|
}];
|
|
5606
5788
|
readonly stateMutability: "view";
|
|
5607
5789
|
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";
|
|
5608
5804
|
}, {
|
|
5609
5805
|
readonly inputs: readonly [{
|
|
5610
5806
|
readonly internalType: "address";
|
|
@@ -5676,6 +5872,10 @@ export declare const abi: readonly [{
|
|
|
5676
5872
|
readonly internalType: "address";
|
|
5677
5873
|
readonly name: "providerAuth";
|
|
5678
5874
|
readonly type: "address";
|
|
5875
|
+
}, {
|
|
5876
|
+
readonly internalType: "address";
|
|
5877
|
+
readonly name: "providerDepositToken";
|
|
5878
|
+
readonly type: "address";
|
|
5679
5879
|
}];
|
|
5680
5880
|
readonly name: "getProviderSecurityDeposit";
|
|
5681
5881
|
readonly outputs: readonly [{
|
|
@@ -5790,6 +5990,10 @@ export declare const abi: readonly [{
|
|
|
5790
5990
|
readonly type: "function";
|
|
5791
5991
|
}, {
|
|
5792
5992
|
readonly inputs: readonly [{
|
|
5993
|
+
readonly internalType: "address";
|
|
5994
|
+
readonly name: "providerDepositToken";
|
|
5995
|
+
readonly type: "address";
|
|
5996
|
+
}, {
|
|
5793
5997
|
readonly internalType: "uint256";
|
|
5794
5998
|
readonly name: "amount";
|
|
5795
5999
|
readonly type: "uint256";
|
|
@@ -5803,6 +6007,10 @@ export declare const abi: readonly [{
|
|
|
5803
6007
|
readonly internalType: "address";
|
|
5804
6008
|
readonly name: "providerAuth";
|
|
5805
6009
|
readonly type: "address";
|
|
6010
|
+
}, {
|
|
6011
|
+
readonly internalType: "address";
|
|
6012
|
+
readonly name: "providerDepositToken";
|
|
6013
|
+
readonly type: "address";
|
|
5806
6014
|
}, {
|
|
5807
6015
|
readonly internalType: "uint256";
|
|
5808
6016
|
readonly name: "amount";
|
|
@@ -5838,6 +6046,10 @@ export declare const abi: readonly [{
|
|
|
5838
6046
|
readonly internalType: "struct ProviderInfo";
|
|
5839
6047
|
readonly name: "info";
|
|
5840
6048
|
readonly type: "tuple";
|
|
6049
|
+
}, {
|
|
6050
|
+
readonly internalType: "address";
|
|
6051
|
+
readonly name: "providerDepositToken";
|
|
6052
|
+
readonly type: "address";
|
|
5841
6053
|
}];
|
|
5842
6054
|
readonly name: "registerProvider";
|
|
5843
6055
|
readonly outputs: readonly [];
|
|
@@ -5845,6 +6057,10 @@ export declare const abi: readonly [{
|
|
|
5845
6057
|
readonly type: "function";
|
|
5846
6058
|
}, {
|
|
5847
6059
|
readonly inputs: readonly [{
|
|
6060
|
+
readonly internalType: "address";
|
|
6061
|
+
readonly name: "tokenAddress";
|
|
6062
|
+
readonly type: "address";
|
|
6063
|
+
}, {
|
|
5848
6064
|
readonly internalType: "uint256";
|
|
5849
6065
|
readonly name: "amount";
|
|
5850
6066
|
readonly type: "uint256";
|
|
@@ -5978,10 +6194,6 @@ export declare const abi: readonly [{
|
|
|
5978
6194
|
readonly internalType: "enum OfferType";
|
|
5979
6195
|
readonly name: "offerType";
|
|
5980
6196
|
readonly type: "uint8";
|
|
5981
|
-
}, {
|
|
5982
|
-
readonly internalType: "bool";
|
|
5983
|
-
readonly name: "enabled";
|
|
5984
|
-
readonly type: "bool";
|
|
5985
6197
|
}];
|
|
5986
6198
|
readonly name: "addProviderOffer";
|
|
5987
6199
|
readonly outputs: readonly [];
|
|
@@ -6120,6 +6332,107 @@ export declare const abi: readonly [{
|
|
|
6120
6332
|
readonly outputs: readonly [];
|
|
6121
6333
|
readonly stateMutability: "nonpayable";
|
|
6122
6334
|
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";
|
|
6123
6436
|
}, {
|
|
6124
6437
|
readonly anonymous: false;
|
|
6125
6438
|
readonly inputs: readonly [{
|
|
@@ -6136,24 +6449,40 @@ export declare const abi: readonly [{
|
|
|
6136
6449
|
readonly name: "RewardTokenChanged";
|
|
6137
6450
|
readonly type: "event";
|
|
6138
6451
|
}, {
|
|
6452
|
+
readonly anonymous: false;
|
|
6139
6453
|
readonly inputs: readonly [{
|
|
6140
|
-
readonly
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
readonly
|
|
6151
|
-
readonly
|
|
6454
|
+
readonly indexed: true;
|
|
6455
|
+
readonly internalType: "address";
|
|
6456
|
+
readonly name: "tokenAddress";
|
|
6457
|
+
readonly type: "address";
|
|
6458
|
+
}, {
|
|
6459
|
+
readonly indexed: false;
|
|
6460
|
+
readonly internalType: "uint32";
|
|
6461
|
+
readonly name: "protocolCommissionPercent";
|
|
6462
|
+
readonly type: "uint32";
|
|
6463
|
+
}, {
|
|
6464
|
+
readonly indexed: false;
|
|
6465
|
+
readonly internalType: "bool";
|
|
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";
|
|
6152
6473
|
}];
|
|
6153
|
-
readonly name: "
|
|
6154
|
-
readonly
|
|
6155
|
-
|
|
6156
|
-
readonly
|
|
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";
|
|
6483
|
+
}];
|
|
6484
|
+
readonly name: "TokenRemoved";
|
|
6485
|
+
readonly type: "event";
|
|
6157
6486
|
}, {
|
|
6158
6487
|
readonly inputs: readonly [{
|
|
6159
6488
|
readonly internalType: "enum ParamName";
|
|
@@ -6199,6 +6528,52 @@ export declare const abi: readonly [{
|
|
|
6199
6528
|
}];
|
|
6200
6529
|
readonly stateMutability: "view";
|
|
6201
6530
|
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";
|
|
6202
6577
|
}, {
|
|
6203
6578
|
readonly inputs: readonly [];
|
|
6204
6579
|
readonly name: "getProtocolCommissionDenominator";
|
|
@@ -6230,23 +6605,23 @@ export declare const abi: readonly [{
|
|
|
6230
6605
|
readonly type: "function";
|
|
6231
6606
|
}, {
|
|
6232
6607
|
readonly inputs: readonly [];
|
|
6233
|
-
readonly name: "
|
|
6608
|
+
readonly name: "getProtocolTotalIncomeDistributionRatio";
|
|
6234
6609
|
readonly outputs: readonly [{
|
|
6235
6610
|
readonly internalType: "uint32";
|
|
6236
6611
|
readonly name: "";
|
|
6237
6612
|
readonly type: "uint32";
|
|
6238
6613
|
}];
|
|
6239
|
-
readonly stateMutability: "
|
|
6614
|
+
readonly stateMutability: "pure";
|
|
6240
6615
|
readonly type: "function";
|
|
6241
6616
|
}, {
|
|
6242
6617
|
readonly inputs: readonly [];
|
|
6243
|
-
readonly name: "
|
|
6618
|
+
readonly name: "getRewardTokenAddress";
|
|
6244
6619
|
readonly outputs: readonly [{
|
|
6245
|
-
readonly internalType: "
|
|
6620
|
+
readonly internalType: "address";
|
|
6246
6621
|
readonly name: "";
|
|
6247
|
-
readonly type: "
|
|
6622
|
+
readonly type: "address";
|
|
6248
6623
|
}];
|
|
6249
|
-
readonly stateMutability: "
|
|
6624
|
+
readonly stateMutability: "view";
|
|
6250
6625
|
readonly type: "function";
|
|
6251
6626
|
}, {
|
|
6252
6627
|
readonly inputs: readonly [];
|
|
@@ -6259,10 +6634,14 @@ export declare const abi: readonly [{
|
|
|
6259
6634
|
readonly stateMutability: "view";
|
|
6260
6635
|
readonly type: "function";
|
|
6261
6636
|
}, {
|
|
6262
|
-
readonly inputs: readonly [
|
|
6637
|
+
readonly inputs: readonly [{
|
|
6638
|
+
readonly internalType: "address";
|
|
6639
|
+
readonly name: "tokenAddress";
|
|
6640
|
+
readonly type: "address";
|
|
6641
|
+
}];
|
|
6263
6642
|
readonly name: "getToken";
|
|
6264
6643
|
readonly outputs: readonly [{
|
|
6265
|
-
readonly internalType: "contract
|
|
6644
|
+
readonly internalType: "contract IERC20";
|
|
6266
6645
|
readonly name: "";
|
|
6267
6646
|
readonly type: "address";
|
|
6268
6647
|
}];
|
|
@@ -6273,16 +6652,29 @@ export declare const abi: readonly [{
|
|
|
6273
6652
|
readonly name: "getTokens";
|
|
6274
6653
|
readonly outputs: readonly [{
|
|
6275
6654
|
readonly components: readonly [{
|
|
6276
|
-
readonly internalType: "
|
|
6277
|
-
readonly name: "
|
|
6278
|
-
readonly type: "
|
|
6655
|
+
readonly internalType: "uint256";
|
|
6656
|
+
readonly name: "index";
|
|
6657
|
+
readonly type: "uint256";
|
|
6279
6658
|
}, {
|
|
6280
|
-
readonly
|
|
6281
|
-
|
|
6282
|
-
|
|
6659
|
+
readonly components: readonly [{
|
|
6660
|
+
readonly internalType: "bool";
|
|
6661
|
+
readonly name: "isPrimary";
|
|
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";
|
|
6283
6675
|
}];
|
|
6284
|
-
readonly internalType: "struct
|
|
6285
|
-
readonly name: "";
|
|
6676
|
+
readonly internalType: "struct SuperproStorageAccessor.TokenInfoWithServiceParams[]";
|
|
6677
|
+
readonly name: "result";
|
|
6286
6678
|
readonly type: "tuple[]";
|
|
6287
6679
|
}];
|
|
6288
6680
|
readonly stateMutability: "view";
|
|
@@ -6300,7 +6692,21 @@ export declare const abi: readonly [{
|
|
|
6300
6692
|
}, {
|
|
6301
6693
|
readonly inputs: readonly [{
|
|
6302
6694
|
readonly internalType: "address";
|
|
6303
|
-
readonly name: "
|
|
6695
|
+
readonly name: "tokenAddress";
|
|
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";
|
|
6304
6710
|
readonly type: "address";
|
|
6305
6711
|
}];
|
|
6306
6712
|
readonly name: "isTokenExists";
|
|
@@ -6339,7 +6745,7 @@ export declare const abi: readonly [{
|
|
|
6339
6745
|
readonly inputs: readonly [{
|
|
6340
6746
|
readonly components: readonly [{
|
|
6341
6747
|
readonly internalType: "address";
|
|
6342
|
-
readonly name: "
|
|
6748
|
+
readonly name: "rewardToken";
|
|
6343
6749
|
readonly type: "address";
|
|
6344
6750
|
}, {
|
|
6345
6751
|
readonly internalType: "uint256";
|
|
@@ -6444,21 +6850,34 @@ export declare const abi: readonly [{
|
|
|
6444
6850
|
readonly type: "function";
|
|
6445
6851
|
}, {
|
|
6446
6852
|
readonly inputs: readonly [{
|
|
6447
|
-
readonly internalType: "
|
|
6448
|
-
readonly name: "
|
|
6449
|
-
readonly type: "
|
|
6853
|
+
readonly internalType: "address";
|
|
6854
|
+
readonly name: "token";
|
|
6855
|
+
readonly type: "address";
|
|
6450
6856
|
}];
|
|
6451
|
-
readonly name: "
|
|
6857
|
+
readonly name: "setRewardToken";
|
|
6452
6858
|
readonly outputs: readonly [];
|
|
6453
6859
|
readonly stateMutability: "nonpayable";
|
|
6454
6860
|
readonly type: "function";
|
|
6455
6861
|
}, {
|
|
6456
6862
|
readonly inputs: readonly [{
|
|
6457
|
-
readonly
|
|
6458
|
-
|
|
6459
|
-
|
|
6863
|
+
readonly components: readonly [{
|
|
6864
|
+
readonly internalType: "bool";
|
|
6865
|
+
readonly name: "isPrimary";
|
|
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[]";
|
|
6460
6879
|
}];
|
|
6461
|
-
readonly name: "
|
|
6880
|
+
readonly name: "setTokenInfos";
|
|
6462
6881
|
readonly outputs: readonly [];
|
|
6463
6882
|
readonly stateMutability: "nonpayable";
|
|
6464
6883
|
readonly type: "function";
|
|
@@ -7177,7 +7596,7 @@ export declare const abi: readonly [{
|
|
|
7177
7596
|
}, {
|
|
7178
7597
|
readonly anonymous: false;
|
|
7179
7598
|
readonly inputs: readonly [{
|
|
7180
|
-
readonly indexed:
|
|
7599
|
+
readonly indexed: true;
|
|
7181
7600
|
readonly internalType: "uint256";
|
|
7182
7601
|
readonly name: "tcbId";
|
|
7183
7602
|
readonly type: "uint256";
|
|
@@ -7192,7 +7611,7 @@ export declare const abi: readonly [{
|
|
|
7192
7611
|
}, {
|
|
7193
7612
|
readonly anonymous: false;
|
|
7194
7613
|
readonly inputs: readonly [{
|
|
7195
|
-
readonly indexed:
|
|
7614
|
+
readonly indexed: true;
|
|
7196
7615
|
readonly internalType: "uint256";
|
|
7197
7616
|
readonly name: "teeOfferId";
|
|
7198
7617
|
readonly type: "uint256";
|
|
@@ -7242,6 +7661,20 @@ export declare const abi: readonly [{
|
|
|
7242
7661
|
readonly outputs: readonly [];
|
|
7243
7662
|
readonly stateMutability: "nonpayable";
|
|
7244
7663
|
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";
|
|
7245
7678
|
}, {
|
|
7246
7679
|
readonly inputs: readonly [{
|
|
7247
7680
|
readonly internalType: "bytes32";
|
|
@@ -7325,6 +7758,20 @@ export declare const abi: readonly [{
|
|
|
7325
7758
|
}];
|
|
7326
7759
|
readonly stateMutability: "view";
|
|
7327
7760
|
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";
|
|
7328
7775
|
}, {
|
|
7329
7776
|
readonly inputs: readonly [{
|
|
7330
7777
|
readonly internalType: "uint256";
|
|
@@ -7963,6 +8410,10 @@ export declare const abi: readonly [{
|
|
|
7963
8410
|
readonly internalType: "uint64";
|
|
7964
8411
|
readonly name: "offerVersion";
|
|
7965
8412
|
readonly type: "uint64";
|
|
8413
|
+
}, {
|
|
8414
|
+
readonly internalType: "address";
|
|
8415
|
+
readonly name: "tokenAddress";
|
|
8416
|
+
readonly type: "address";
|
|
7966
8417
|
}];
|
|
7967
8418
|
readonly internalType: "struct OrderInfo";
|
|
7968
8419
|
readonly name: "parentOrderInfo";
|
|
@@ -8050,6 +8501,10 @@ export declare const abi: readonly [{
|
|
|
8050
8501
|
readonly internalType: "uint64";
|
|
8051
8502
|
readonly name: "offerVersion";
|
|
8052
8503
|
readonly type: "uint64";
|
|
8504
|
+
}, {
|
|
8505
|
+
readonly internalType: "address";
|
|
8506
|
+
readonly name: "tokenAddress";
|
|
8507
|
+
readonly type: "address";
|
|
8053
8508
|
}];
|
|
8054
8509
|
readonly internalType: "struct OrderInfo[]";
|
|
8055
8510
|
readonly name: "subOrdersInfos";
|
|
@@ -9528,6 +9983,10 @@ export declare const abi: readonly [{
|
|
|
9528
9983
|
readonly internalType: "bool";
|
|
9529
9984
|
readonly name: "copyPreviousData";
|
|
9530
9985
|
readonly type: "bool";
|
|
9986
|
+
}, {
|
|
9987
|
+
readonly internalType: "address";
|
|
9988
|
+
readonly name: "tokenAddress";
|
|
9989
|
+
readonly type: "address";
|
|
9531
9990
|
}];
|
|
9532
9991
|
readonly internalType: "struct OfferStorageRequest[]";
|
|
9533
9992
|
readonly name: "";
|
|
@@ -9587,6 +10046,10 @@ export declare const abi: readonly [{
|
|
|
9587
10046
|
readonly internalType: "bool";
|
|
9588
10047
|
readonly name: "copyPreviousData";
|
|
9589
10048
|
readonly type: "bool";
|
|
10049
|
+
}, {
|
|
10050
|
+
readonly internalType: "address";
|
|
10051
|
+
readonly name: "tokenAddress";
|
|
10052
|
+
readonly type: "address";
|
|
9590
10053
|
}];
|
|
9591
10054
|
readonly internalType: "struct OfferStorageRequest";
|
|
9592
10055
|
readonly name: "";
|
|
@@ -9636,6 +10099,10 @@ export declare const abi: readonly [{
|
|
|
9636
10099
|
readonly internalType: "bool";
|
|
9637
10100
|
readonly name: "copyPreviousData";
|
|
9638
10101
|
readonly type: "bool";
|
|
10102
|
+
}, {
|
|
10103
|
+
readonly internalType: "address";
|
|
10104
|
+
readonly name: "tokenAddress";
|
|
10105
|
+
readonly type: "address";
|
|
9639
10106
|
}];
|
|
9640
10107
|
readonly internalType: "struct OfferStorageRequest";
|
|
9641
10108
|
readonly name: "request";
|