@super-protocol/sdk-js 2.2.0-beta.115 → 2.2.0-beta.117
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/contracts/abi.d.ts +55 -10
- package/dist/cjs/contracts/abi.js +69 -12
- package/dist/cjs/models/Offer.js +6 -3
- package/dist/cjs/staticModels/Offers.js +3 -3
- package/dist/cjs/tee/TeeCertificateService.d.ts +1 -0
- package/dist/cjs/tee/TeeCertificateService.js +5 -1
- package/dist/mjs/contracts/abi.d.ts +55 -10
- package/dist/mjs/contracts/abi.js +67 -10
- package/dist/mjs/models/Offer.js +6 -3
- package/dist/mjs/staticModels/Offers.js +3 -3
- package/dist/mjs/tee/TeeCertificateService.d.ts +1 -0
- package/dist/mjs/tee/TeeCertificateService.js +5 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export declare const DepositWithdrawn: "DepositWithdrawn";
|
|
|
12
12
|
export declare const OfferCreated: "OfferCreated";
|
|
13
13
|
export declare const OfferDisabled: "OfferDisabled";
|
|
14
14
|
export declare const OfferEnabled: "OfferEnabled";
|
|
15
|
+
export declare const SetValueOfferRestrictions: "SetValueOfferRestrictions";
|
|
15
16
|
export declare const TeeOfferCreated: "TeeOfferCreated";
|
|
16
17
|
export declare const TeeOfferViolationRateChanged: "TeeOfferViolationRateChanged";
|
|
17
18
|
export declare const OrdersGroupCreated: "OrdersGroupCreated";
|
|
@@ -54,7 +55,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
54
55
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
55
56
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
56
57
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
57
|
-
export type AbiEvent = typeof Approval | typeof Transfer | typeof RewardsClaimed | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | 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 ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | 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;
|
|
58
|
+
export type AbiEvent = typeof Approval | typeof Transfer | typeof RewardsClaimed | 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 ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | 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;
|
|
58
59
|
export declare const abi: readonly [{
|
|
59
60
|
readonly anonymous: false;
|
|
60
61
|
readonly inputs: readonly [{
|
|
@@ -1453,6 +1454,34 @@ export declare const abi: readonly [{
|
|
|
1453
1454
|
}];
|
|
1454
1455
|
readonly name: "OfferEnabled";
|
|
1455
1456
|
readonly type: "event";
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly anonymous: false;
|
|
1459
|
+
readonly inputs: readonly [{
|
|
1460
|
+
readonly indexed: true;
|
|
1461
|
+
readonly internalType: "uint256";
|
|
1462
|
+
readonly name: "orderId";
|
|
1463
|
+
readonly type: "uint256";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly components: readonly [{
|
|
1466
|
+
readonly internalType: "uint256[]";
|
|
1467
|
+
readonly name: "offers";
|
|
1468
|
+
readonly type: "uint256[]";
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly internalType: "enum OfferType[]";
|
|
1471
|
+
readonly name: "types";
|
|
1472
|
+
readonly type: "uint8[]";
|
|
1473
|
+
}, {
|
|
1474
|
+
readonly internalType: "uint64[]";
|
|
1475
|
+
readonly name: "versions";
|
|
1476
|
+
readonly type: "uint64[]";
|
|
1477
|
+
}];
|
|
1478
|
+
readonly indexed: false;
|
|
1479
|
+
readonly internalType: "struct ValueOfferRestrictionsSpecification";
|
|
1480
|
+
readonly name: "specification";
|
|
1481
|
+
readonly type: "tuple";
|
|
1482
|
+
}];
|
|
1483
|
+
readonly name: "SetValueOfferRestrictions";
|
|
1484
|
+
readonly type: "event";
|
|
1456
1485
|
}, {
|
|
1457
1486
|
readonly anonymous: false;
|
|
1458
1487
|
readonly inputs: readonly [{
|
|
@@ -1583,6 +1612,10 @@ export declare const abi: readonly [{
|
|
|
1583
1612
|
readonly internalType: "address";
|
|
1584
1613
|
readonly name: "providerAuth";
|
|
1585
1614
|
readonly type: "address";
|
|
1615
|
+
}, {
|
|
1616
|
+
readonly internalType: "enum OfferType";
|
|
1617
|
+
readonly name: "offerType";
|
|
1618
|
+
readonly type: "uint8";
|
|
1586
1619
|
}, {
|
|
1587
1620
|
readonly components: readonly [{
|
|
1588
1621
|
readonly internalType: "string";
|
|
@@ -1590,11 +1623,11 @@ export declare const abi: readonly [{
|
|
|
1590
1623
|
readonly type: "string";
|
|
1591
1624
|
}, {
|
|
1592
1625
|
readonly internalType: "enum OfferGroup";
|
|
1593
|
-
readonly name: "
|
|
1626
|
+
readonly name: "group_DEPRECATED";
|
|
1594
1627
|
readonly type: "uint8";
|
|
1595
1628
|
}, {
|
|
1596
1629
|
readonly internalType: "enum OfferType";
|
|
1597
|
-
readonly name: "
|
|
1630
|
+
readonly name: "offerType_DEPRECATED";
|
|
1598
1631
|
readonly type: "uint8";
|
|
1599
1632
|
}, {
|
|
1600
1633
|
readonly internalType: "bool";
|
|
@@ -1898,11 +1931,11 @@ export declare const abi: readonly [{
|
|
|
1898
1931
|
readonly type: "string";
|
|
1899
1932
|
}, {
|
|
1900
1933
|
readonly internalType: "enum OfferGroup";
|
|
1901
|
-
readonly name: "
|
|
1934
|
+
readonly name: "group_DEPRECATED";
|
|
1902
1935
|
readonly type: "uint8";
|
|
1903
1936
|
}, {
|
|
1904
1937
|
readonly internalType: "enum OfferType";
|
|
1905
|
-
readonly name: "
|
|
1938
|
+
readonly name: "offerType_DEPRECATED";
|
|
1906
1939
|
readonly type: "uint8";
|
|
1907
1940
|
}, {
|
|
1908
1941
|
readonly internalType: "bool";
|
|
@@ -2094,6 +2127,10 @@ export declare const abi: readonly [{
|
|
|
2094
2127
|
readonly internalType: "address";
|
|
2095
2128
|
readonly name: "providerAuth";
|
|
2096
2129
|
readonly type: "address";
|
|
2130
|
+
}, {
|
|
2131
|
+
readonly internalType: "enum OfferType";
|
|
2132
|
+
readonly name: "offerType";
|
|
2133
|
+
readonly type: "uint8";
|
|
2097
2134
|
}, {
|
|
2098
2135
|
readonly components: readonly [{
|
|
2099
2136
|
readonly internalType: "string";
|
|
@@ -2101,11 +2138,11 @@ export declare const abi: readonly [{
|
|
|
2101
2138
|
readonly type: "string";
|
|
2102
2139
|
}, {
|
|
2103
2140
|
readonly internalType: "enum OfferGroup";
|
|
2104
|
-
readonly name: "
|
|
2141
|
+
readonly name: "group_DEPRECATED";
|
|
2105
2142
|
readonly type: "uint8";
|
|
2106
2143
|
}, {
|
|
2107
2144
|
readonly internalType: "enum OfferType";
|
|
2108
|
-
readonly name: "
|
|
2145
|
+
readonly name: "offerType_DEPRECATED";
|
|
2109
2146
|
readonly type: "uint8";
|
|
2110
2147
|
}, {
|
|
2111
2148
|
readonly internalType: "bool";
|
|
@@ -2299,7 +2336,7 @@ export declare const abi: readonly [{
|
|
|
2299
2336
|
readonly type: "uint64[]";
|
|
2300
2337
|
}];
|
|
2301
2338
|
readonly internalType: "struct ValueOfferRestrictionsSpecification";
|
|
2302
|
-
readonly name: "";
|
|
2339
|
+
readonly name: "ret";
|
|
2303
2340
|
readonly type: "tuple";
|
|
2304
2341
|
}];
|
|
2305
2342
|
readonly stateMutability: "view";
|
|
@@ -2530,6 +2567,10 @@ export declare const abi: readonly [{
|
|
|
2530
2567
|
readonly internalType: "address";
|
|
2531
2568
|
readonly name: "providerAuth";
|
|
2532
2569
|
readonly type: "address";
|
|
2570
|
+
}, {
|
|
2571
|
+
readonly internalType: "enum OfferType";
|
|
2572
|
+
readonly name: "offerType";
|
|
2573
|
+
readonly type: "uint8";
|
|
2533
2574
|
}, {
|
|
2534
2575
|
readonly components: readonly [{
|
|
2535
2576
|
readonly internalType: "string";
|
|
@@ -2537,11 +2578,11 @@ export declare const abi: readonly [{
|
|
|
2537
2578
|
readonly type: "string";
|
|
2538
2579
|
}, {
|
|
2539
2580
|
readonly internalType: "enum OfferGroup";
|
|
2540
|
-
readonly name: "
|
|
2581
|
+
readonly name: "group_DEPRECATED";
|
|
2541
2582
|
readonly type: "uint8";
|
|
2542
2583
|
}, {
|
|
2543
2584
|
readonly internalType: "enum OfferType";
|
|
2544
|
-
readonly name: "
|
|
2585
|
+
readonly name: "offerType_DEPRECATED";
|
|
2545
2586
|
readonly type: "uint8";
|
|
2546
2587
|
}, {
|
|
2547
2588
|
readonly internalType: "bool";
|
|
@@ -4913,6 +4954,10 @@ export declare const abi: readonly [{
|
|
|
4913
4954
|
readonly internalType: "enum OfferType";
|
|
4914
4955
|
readonly name: "offerType";
|
|
4915
4956
|
readonly type: "uint8";
|
|
4957
|
+
}, {
|
|
4958
|
+
readonly internalType: "bool";
|
|
4959
|
+
readonly name: "enabled";
|
|
4960
|
+
readonly type: "bool";
|
|
4916
4961
|
}];
|
|
4917
4962
|
readonly name: "addProviderOffer";
|
|
4918
4963
|
readonly outputs: readonly [];
|