@super-protocol/sdk-js 2.2.0-beta.11 → 2.2.0-beta.110

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.
Files changed (232) hide show
  1. package/dist/cjs/RIGenerator.d.ts +2 -0
  2. package/dist/cjs/RIGenerator.js +6 -4
  3. package/dist/cjs/TIIGenerator.d.ts +2 -1
  4. package/dist/cjs/TIIGenerator.js +13 -3
  5. package/dist/cjs/TeeInputGeneratorBase.d.ts +1 -1
  6. package/dist/cjs/TeeInputGeneratorBase.js +20 -32
  7. package/dist/cjs/analytics/eventProviders/BrowserEventProvider.d.ts +1 -0
  8. package/dist/cjs/analytics/eventProviders/BrowserEventProvider.js +3 -3
  9. package/dist/cjs/analytics/transports/AxiosTransport.js +1 -1
  10. package/dist/cjs/config.d.ts +0 -1
  11. package/dist/cjs/config.js +1 -2
  12. package/dist/cjs/constants.d.ts +5 -4
  13. package/dist/cjs/constants.js +31 -7
  14. package/dist/cjs/contracts/abi.d.ts +851 -105
  15. package/dist/cjs/contracts/abi.js +1135 -178
  16. package/dist/cjs/crypto/index.d.ts +1 -0
  17. package/dist/cjs/crypto/index.js +16 -1
  18. package/dist/cjs/errors/base.error.d.ts +3 -0
  19. package/dist/cjs/errors/base.error.js +19 -0
  20. package/dist/cjs/errors/index.d.ts +2 -0
  21. package/dist/cjs/errors/index.js +8 -0
  22. package/dist/cjs/errors/not-found.error.d.ts +3 -0
  23. package/dist/cjs/errors/not-found.error.js +8 -0
  24. package/dist/cjs/errors/utils.d.ts +1 -0
  25. package/dist/cjs/errors/utils.js +25 -0
  26. package/dist/cjs/index.d.ts +10 -1
  27. package/dist/cjs/index.js +17 -2
  28. package/dist/cjs/models/Offer.d.ts +48 -6
  29. package/dist/cjs/models/Offer.js +152 -15
  30. package/dist/cjs/models/Order.d.ts +2 -90
  31. package/dist/cjs/models/Order.js +20 -91
  32. package/dist/cjs/models/Provider.js +1 -1
  33. package/dist/cjs/models/TCB.js +13 -5
  34. package/dist/cjs/models/TeeOffer.d.ts +35 -13
  35. package/dist/cjs/models/TeeOffer.js +119 -44
  36. package/dist/cjs/proto/Compression.d.ts +1 -1
  37. package/dist/cjs/proto/TRI.d.ts +41 -6
  38. package/dist/cjs/proto/TRI.js +18 -1
  39. package/dist/cjs/proto/TeeProperties.d.ts +5 -5
  40. package/dist/cjs/providers/storage/IStorageProvider.d.ts +1 -1
  41. package/dist/cjs/providers/storage/S3StorageProvider.d.ts +8 -7
  42. package/dist/cjs/providers/storage/S3StorageProvider.js +77 -38
  43. package/dist/cjs/providers/storage/StorageAdapter.d.ts +9 -7
  44. package/dist/cjs/providers/storage/StorageAdapter.js +27 -29
  45. package/dist/cjs/providers/storage/StorageContentWriter.d.ts +2 -2
  46. package/dist/cjs/providers/storage/StorageContentWriter.js +5 -5
  47. package/dist/cjs/providers/storage/StorageKeyValueAdapter.d.ts +8 -5
  48. package/dist/cjs/providers/storage/StorageKeyValueAdapter.js +30 -16
  49. package/dist/cjs/providers/storage/StorjAdapter.d.ts +5 -4
  50. package/dist/cjs/providers/storage/StorjAdapter.js +15 -9
  51. package/dist/cjs/providers/storage/StorjCredentialsManager.d.ts +24 -0
  52. package/dist/cjs/providers/storage/StorjCredentialsManager.js +109 -0
  53. package/dist/cjs/providers/storage/StorjStorageProvider.js +26 -3
  54. package/dist/cjs/providers/storage/fs-storage-provider.d.ts +19 -0
  55. package/dist/cjs/providers/storage/fs-storage-provider.js +143 -0
  56. package/dist/cjs/providers/storage/getStorageProvider.js +4 -1
  57. package/dist/cjs/providers/storage/parseStorageCredentials.d.ts +5 -0
  58. package/dist/cjs/providers/storage/parseStorageCredentials.js +21 -0
  59. package/dist/cjs/providers/storage/types.d.ts +22 -0
  60. package/dist/cjs/staticModels/Consensus.d.ts +3 -2
  61. package/dist/cjs/staticModels/Consensus.js +22 -11
  62. package/dist/cjs/staticModels/LoaderSecretsPublicKeys.js +3 -3
  63. package/dist/cjs/staticModels/LoaderSessions.d.ts +2 -2
  64. package/dist/cjs/staticModels/LoaderSessions.js +5 -5
  65. package/dist/cjs/staticModels/OfferResources.d.ts +3 -1
  66. package/dist/cjs/staticModels/OfferResources.js +33 -8
  67. package/dist/cjs/staticModels/Offers.js +7 -2
  68. package/dist/cjs/staticModels/OffersStorageAllocated.d.ts +1 -2
  69. package/dist/cjs/staticModels/OffersStorageAllocated.js +10 -10
  70. package/dist/cjs/staticModels/OffersStorageRequests.js +4 -3
  71. package/dist/cjs/staticModels/Orders.d.ts +5 -4
  72. package/dist/cjs/staticModels/Orders.js +7 -6
  73. package/dist/cjs/staticModels/SecretRequests.d.ts +1 -1
  74. package/dist/cjs/staticModels/SecretRequests.js +14 -7
  75. package/dist/cjs/staticModels/TeeOffers.d.ts +0 -2
  76. package/dist/cjs/staticModels/TeeOffers.js +5 -38
  77. package/dist/cjs/tee/QuoteParser.d.ts +61 -6
  78. package/dist/cjs/tee/QuoteParser.js +250 -29
  79. package/dist/cjs/tee/QuoteValidator.d.ts +11 -0
  80. package/dist/cjs/tee/QuoteValidator.js +128 -34
  81. package/dist/cjs/tee/TeeBlockVerifier.d.ts +3 -4
  82. package/dist/cjs/tee/TeeBlockVerifier.js +2 -8
  83. package/dist/cjs/tee/errors.d.ts +6 -3
  84. package/dist/cjs/tee/errors.js +9 -5
  85. package/dist/cjs/tee/types.d.ts +50 -9
  86. package/dist/cjs/tee/types.js +32 -1
  87. package/dist/cjs/types/DistributedSecretStorage.d.ts +7 -0
  88. package/dist/cjs/types/Offer.d.ts +27 -5
  89. package/dist/cjs/types/Offer.js +17 -2
  90. package/dist/cjs/types/OfferVersion.d.ts +13 -0
  91. package/dist/cjs/types/OfferVersion.js +9 -0
  92. package/dist/cjs/types/Order.d.ts +8 -2
  93. package/dist/cjs/types/Order.js +3 -1
  94. package/dist/cjs/types/SlotInfo.d.ts +1 -0
  95. package/dist/cjs/types/Superpro.d.ts +2 -1
  96. package/dist/cjs/types/Superpro.js +2 -1
  97. package/dist/cjs/types/TeeOfferInfo.d.ts +2 -1
  98. package/dist/cjs/types/index.d.ts +1 -0
  99. package/dist/cjs/types/index.js +2 -1
  100. package/dist/cjs/types/storage/StorageAccess.d.ts +3 -3
  101. package/dist/cjs/utils/CryptoKeysTransformer.d.ts +6 -1
  102. package/dist/cjs/utils/CryptoKeysTransformer.js +55 -7
  103. package/dist/cjs/utils/NonceTracker.js +1 -1
  104. package/dist/cjs/utils/helper.d.ts +7 -1
  105. package/dist/cjs/utils/helper.js +87 -2
  106. package/dist/cjs/utils/helpers/OrderArgsHelper.d.ts +17 -0
  107. package/dist/cjs/utils/helpers/OrderArgsHelper.js +87 -0
  108. package/dist/cjs/utils/helpers/index.d.ts +2 -0
  109. package/dist/cjs/utils/helpers/index.js +3 -1
  110. package/dist/cjs/utils/helpers/uploadObjectToStorage.d.ts +13 -0
  111. package/dist/cjs/utils/helpers/uploadObjectToStorage.js +55 -0
  112. package/dist/cjs/utils/schema-validators/index.d.ts +1 -0
  113. package/dist/cjs/utils/schema-validators/index.js +6 -0
  114. package/dist/cjs/utils/schema-validators/validator.d.ts +7 -0
  115. package/dist/cjs/utils/schema-validators/validator.js +49 -0
  116. package/dist/mjs/RIGenerator.d.ts +2 -0
  117. package/dist/mjs/RIGenerator.js +6 -4
  118. package/dist/mjs/TIIGenerator.d.ts +2 -1
  119. package/dist/mjs/TIIGenerator.js +13 -3
  120. package/dist/mjs/TeeInputGeneratorBase.d.ts +1 -1
  121. package/dist/mjs/TeeInputGeneratorBase.js +20 -32
  122. package/dist/mjs/analytics/eventProviders/BrowserEventProvider.d.ts +1 -0
  123. package/dist/mjs/analytics/eventProviders/BrowserEventProvider.js +3 -3
  124. package/dist/mjs/analytics/transports/AxiosTransport.js +1 -1
  125. package/dist/mjs/config.d.ts +0 -1
  126. package/dist/mjs/config.js +1 -2
  127. package/dist/mjs/constants.d.ts +5 -4
  128. package/dist/mjs/constants.js +30 -6
  129. package/dist/mjs/contracts/abi.d.ts +851 -105
  130. package/dist/mjs/contracts/abi.js +1135 -178
  131. package/dist/mjs/crypto/index.d.ts +1 -0
  132. package/dist/mjs/crypto/index.js +2 -1
  133. package/dist/mjs/errors/base.error.d.ts +3 -0
  134. package/dist/mjs/errors/base.error.js +15 -0
  135. package/dist/mjs/errors/index.d.ts +2 -0
  136. package/dist/mjs/errors/index.js +3 -0
  137. package/dist/mjs/errors/not-found.error.d.ts +3 -0
  138. package/dist/mjs/errors/not-found.error.js +4 -0
  139. package/dist/mjs/errors/utils.d.ts +1 -0
  140. package/dist/mjs/errors/utils.js +18 -0
  141. package/dist/mjs/index.d.ts +10 -1
  142. package/dist/mjs/index.js +10 -2
  143. package/dist/mjs/models/Offer.d.ts +48 -6
  144. package/dist/mjs/models/Offer.js +154 -17
  145. package/dist/mjs/models/Order.d.ts +2 -90
  146. package/dist/mjs/models/Order.js +20 -91
  147. package/dist/mjs/models/Provider.js +1 -1
  148. package/dist/mjs/models/TCB.js +13 -5
  149. package/dist/mjs/models/TeeOffer.d.ts +35 -13
  150. package/dist/mjs/models/TeeOffer.js +115 -40
  151. package/dist/mjs/proto/Compression.d.ts +1 -1
  152. package/dist/mjs/proto/TRI.d.ts +41 -6
  153. package/dist/mjs/proto/TRI.js +18 -1
  154. package/dist/mjs/proto/TeeProperties.d.ts +5 -5
  155. package/dist/mjs/providers/storage/IStorageProvider.d.ts +1 -1
  156. package/dist/mjs/providers/storage/S3StorageProvider.d.ts +8 -7
  157. package/dist/mjs/providers/storage/S3StorageProvider.js +74 -38
  158. package/dist/mjs/providers/storage/StorageAdapter.d.ts +9 -7
  159. package/dist/mjs/providers/storage/StorageAdapter.js +27 -29
  160. package/dist/mjs/providers/storage/StorageContentWriter.d.ts +2 -2
  161. package/dist/mjs/providers/storage/StorageContentWriter.js +5 -5
  162. package/dist/mjs/providers/storage/StorageKeyValueAdapter.d.ts +8 -5
  163. package/dist/mjs/providers/storage/StorageKeyValueAdapter.js +30 -16
  164. package/dist/mjs/providers/storage/StorjAdapter.d.ts +5 -4
  165. package/dist/mjs/providers/storage/StorjAdapter.js +15 -9
  166. package/dist/mjs/providers/storage/StorjCredentialsManager.d.ts +24 -0
  167. package/dist/mjs/providers/storage/StorjCredentialsManager.js +82 -0
  168. package/dist/mjs/providers/storage/StorjStorageProvider.js +3 -3
  169. package/dist/mjs/providers/storage/fs-storage-provider.d.ts +19 -0
  170. package/dist/mjs/providers/storage/fs-storage-provider.js +113 -0
  171. package/dist/mjs/providers/storage/getStorageProvider.js +4 -1
  172. package/dist/mjs/providers/storage/parseStorageCredentials.d.ts +5 -0
  173. package/dist/mjs/providers/storage/parseStorageCredentials.js +17 -0
  174. package/dist/mjs/providers/storage/types.d.ts +22 -0
  175. package/dist/mjs/staticModels/Consensus.d.ts +3 -2
  176. package/dist/mjs/staticModels/Consensus.js +22 -11
  177. package/dist/mjs/staticModels/LoaderSecretsPublicKeys.js +4 -4
  178. package/dist/mjs/staticModels/LoaderSessions.d.ts +2 -2
  179. package/dist/mjs/staticModels/LoaderSessions.js +6 -6
  180. package/dist/mjs/staticModels/OfferResources.d.ts +3 -1
  181. package/dist/mjs/staticModels/OfferResources.js +34 -9
  182. package/dist/mjs/staticModels/Offers.js +7 -2
  183. package/dist/mjs/staticModels/OffersStorageAllocated.d.ts +1 -2
  184. package/dist/mjs/staticModels/OffersStorageAllocated.js +11 -11
  185. package/dist/mjs/staticModels/OffersStorageRequests.js +5 -4
  186. package/dist/mjs/staticModels/Orders.d.ts +5 -4
  187. package/dist/mjs/staticModels/Orders.js +7 -6
  188. package/dist/mjs/staticModels/SecretRequests.d.ts +1 -1
  189. package/dist/mjs/staticModels/SecretRequests.js +15 -8
  190. package/dist/mjs/staticModels/TeeOffers.d.ts +0 -2
  191. package/dist/mjs/staticModels/TeeOffers.js +5 -38
  192. package/dist/mjs/store.js +2 -2
  193. package/dist/mjs/tee/QuoteParser.d.ts +61 -6
  194. package/dist/mjs/tee/QuoteParser.js +247 -28
  195. package/dist/mjs/tee/QuoteValidator.d.ts +11 -0
  196. package/dist/mjs/tee/QuoteValidator.js +128 -34
  197. package/dist/mjs/tee/TeeBlockVerifier.d.ts +3 -4
  198. package/dist/mjs/tee/TeeBlockVerifier.js +2 -8
  199. package/dist/mjs/tee/errors.d.ts +6 -3
  200. package/dist/mjs/tee/errors.js +7 -4
  201. package/dist/mjs/tee/types.d.ts +50 -9
  202. package/dist/mjs/tee/types.js +28 -2
  203. package/dist/mjs/types/DistributedSecretStorage.d.ts +7 -0
  204. package/dist/mjs/types/Offer.d.ts +27 -5
  205. package/dist/mjs/types/Offer.js +16 -1
  206. package/dist/mjs/types/OfferVersion.d.ts +13 -0
  207. package/dist/mjs/types/OfferVersion.js +6 -0
  208. package/dist/mjs/types/Order.d.ts +8 -2
  209. package/dist/mjs/types/Order.js +3 -1
  210. package/dist/mjs/types/SlotInfo.d.ts +1 -0
  211. package/dist/mjs/types/Superpro.d.ts +2 -1
  212. package/dist/mjs/types/Superpro.js +2 -1
  213. package/dist/mjs/types/TeeOfferInfo.d.ts +2 -1
  214. package/dist/mjs/types/index.d.ts +1 -0
  215. package/dist/mjs/types/index.js +2 -1
  216. package/dist/mjs/types/storage/StorageAccess.d.ts +3 -3
  217. package/dist/mjs/utils/CryptoKeysTransformer.d.ts +6 -1
  218. package/dist/mjs/utils/CryptoKeysTransformer.js +55 -7
  219. package/dist/mjs/utils/NonceTracker.js +1 -1
  220. package/dist/mjs/utils/helper.d.ts +7 -1
  221. package/dist/mjs/utils/helper.js +80 -1
  222. package/dist/mjs/utils/helpers/OrderArgsHelper.d.ts +17 -0
  223. package/dist/mjs/utils/helpers/OrderArgsHelper.js +80 -0
  224. package/dist/mjs/utils/helpers/index.d.ts +2 -0
  225. package/dist/mjs/utils/helpers/index.js +3 -1
  226. package/dist/mjs/utils/helpers/uploadObjectToStorage.d.ts +13 -0
  227. package/dist/mjs/utils/helpers/uploadObjectToStorage.js +48 -0
  228. package/dist/mjs/utils/schema-validators/index.d.ts +1 -0
  229. package/dist/mjs/utils/schema-validators/index.js +2 -0
  230. package/dist/mjs/utils/schema-validators/validator.d.ts +7 -0
  231. package/dist/mjs/utils/schema-validators/validator.js +45 -0
  232. package/package.json +6 -5
@@ -873,6 +873,10 @@ export declare const abi: readonly [{
873
873
  readonly internalType: "uint256";
874
874
  readonly name: "teeOfferId";
875
875
  readonly type: "uint256";
876
+ }, {
877
+ readonly internalType: "bytes32";
878
+ readonly name: "newDeviceId";
879
+ readonly type: "bytes32";
876
880
  }];
877
881
  readonly name: "initializeTcb";
878
882
  readonly outputs: readonly [];
@@ -897,6 +901,10 @@ export declare const abi: readonly [{
897
901
  readonly internalType: "uint256";
898
902
  readonly name: "teeOfferId";
899
903
  readonly type: "uint256";
904
+ }, {
905
+ readonly internalType: "bytes32";
906
+ readonly name: "deviceId";
907
+ readonly type: "bytes32";
900
908
  }];
901
909
  readonly name: "isTcbCreationAvailable";
902
910
  readonly outputs: readonly [{
@@ -1240,6 +1248,20 @@ export declare const abi: readonly [{
1240
1248
  }];
1241
1249
  readonly stateMutability: "view";
1242
1250
  readonly type: "function";
1251
+ }, {
1252
+ readonly inputs: readonly [{
1253
+ readonly internalType: "address";
1254
+ readonly name: "beneficiary";
1255
+ readonly type: "address";
1256
+ }, {
1257
+ readonly internalType: "uint256";
1258
+ readonly name: "amount";
1259
+ readonly type: "uint256";
1260
+ }];
1261
+ readonly name: "increaseForByApp";
1262
+ readonly outputs: readonly [];
1263
+ readonly stateMutability: "nonpayable";
1264
+ readonly type: "function";
1243
1265
  }, {
1244
1266
  readonly inputs: readonly [{
1245
1267
  readonly internalType: "address";
@@ -1495,12 +1517,16 @@ export declare const abi: readonly [{
1495
1517
  readonly type: "string";
1496
1518
  }, {
1497
1519
  readonly internalType: "string";
1498
- readonly name: "tlb";
1520
+ readonly name: "tlb_DEPRECATED";
1499
1521
  readonly type: "string";
1500
1522
  }, {
1501
1523
  readonly internalType: "string";
1502
1524
  readonly name: "argsPublicKey";
1503
1525
  readonly type: "string";
1526
+ }, {
1527
+ readonly internalType: "enum TeeOfferSubtype";
1528
+ readonly name: "subtype";
1529
+ readonly type: "uint8";
1504
1530
  }];
1505
1531
  readonly internalType: "struct TeeOfferInfo";
1506
1532
  readonly name: "info";
@@ -1522,6 +1548,10 @@ export declare const abi: readonly [{
1522
1548
  readonly internalType: "uint64";
1523
1549
  readonly name: "gpuCores";
1524
1550
  readonly type: "uint64";
1551
+ }, {
1552
+ readonly internalType: "uint64";
1553
+ readonly name: "vram";
1554
+ readonly type: "uint64";
1525
1555
  }];
1526
1556
  readonly internalType: "struct SlotInfo";
1527
1557
  readonly name: "slotInfo";
@@ -1600,7 +1630,7 @@ export declare const abi: readonly [{
1600
1630
  readonly type: "string";
1601
1631
  }, {
1602
1632
  readonly internalType: "string";
1603
- readonly name: "linkage";
1633
+ readonly name: "linkage_DEPRECATED";
1604
1634
  readonly type: "string";
1605
1635
  }, {
1606
1636
  readonly internalType: "string";
@@ -1610,6 +1640,14 @@ export declare const abi: readonly [{
1610
1640
  readonly internalType: "string";
1611
1641
  readonly name: "metadata";
1612
1642
  readonly type: "string";
1643
+ }, {
1644
+ readonly internalType: "string";
1645
+ readonly name: "signatureKey";
1646
+ readonly type: "string";
1647
+ }, {
1648
+ readonly internalType: "enum ValueOfferSubtype";
1649
+ readonly name: "subtype";
1650
+ readonly type: "uint8";
1613
1651
  }];
1614
1652
  readonly internalType: "struct ValueOfferInfo";
1615
1653
  readonly name: "info";
@@ -1623,9 +1661,13 @@ export declare const abi: readonly [{
1623
1661
  readonly internalType: "enum OfferType[]";
1624
1662
  readonly name: "types";
1625
1663
  readonly type: "uint8[]";
1664
+ }, {
1665
+ readonly internalType: "uint64[]";
1666
+ readonly name: "versions";
1667
+ readonly type: "uint64[]";
1626
1668
  }];
1627
- readonly internalType: "struct ValueOfferInitialRestrictions";
1628
- readonly name: "initRestrictions";
1669
+ readonly internalType: "struct ValueOfferRestrictionsSpecification";
1670
+ readonly name: "restrictionsSpecification";
1629
1671
  readonly type: "tuple";
1630
1672
  }, {
1631
1673
  readonly internalType: "bytes32";
@@ -1640,6 +1682,20 @@ export declare const abi: readonly [{
1640
1682
  readonly outputs: readonly [];
1641
1683
  readonly stateMutability: "nonpayable";
1642
1684
  readonly type: "function";
1685
+ }, {
1686
+ readonly inputs: readonly [{
1687
+ readonly internalType: "uint256";
1688
+ readonly name: "offerId";
1689
+ readonly type: "uint256";
1690
+ }, {
1691
+ readonly internalType: "uint64";
1692
+ readonly name: "version";
1693
+ readonly type: "uint64";
1694
+ }];
1695
+ readonly name: "deleteOfferVersion";
1696
+ readonly outputs: readonly [];
1697
+ readonly stateMutability: "nonpayable";
1698
+ readonly type: "function";
1643
1699
  }, {
1644
1700
  readonly inputs: readonly [{
1645
1701
  readonly internalType: "uint256";
@@ -1688,6 +1744,33 @@ export declare const abi: readonly [{
1688
1744
  readonly outputs: readonly [];
1689
1745
  readonly stateMutability: "nonpayable";
1690
1746
  readonly type: "function";
1747
+ }, {
1748
+ readonly inputs: readonly [{
1749
+ readonly internalType: "uint256";
1750
+ readonly name: "offerId";
1751
+ readonly type: "uint256";
1752
+ }, {
1753
+ readonly internalType: "uint64";
1754
+ readonly name: "newVersion";
1755
+ readonly type: "uint64";
1756
+ }, {
1757
+ readonly components: readonly [{
1758
+ readonly internalType: "string";
1759
+ readonly name: "mrenclave";
1760
+ readonly type: "string";
1761
+ }, {
1762
+ readonly internalType: "string";
1763
+ readonly name: "mrsigner";
1764
+ readonly type: "string";
1765
+ }];
1766
+ readonly internalType: "struct OfferVersionInfo";
1767
+ readonly name: "newVersionInfo";
1768
+ readonly type: "tuple";
1769
+ }];
1770
+ readonly name: "setOfferNewVersion";
1771
+ readonly outputs: readonly [];
1772
+ readonly stateMutability: "nonpayable";
1773
+ readonly type: "function";
1691
1774
  }, {
1692
1775
  readonly inputs: readonly [{
1693
1776
  readonly internalType: "uint256";
@@ -1724,6 +1807,10 @@ export declare const abi: readonly [{
1724
1807
  readonly internalType: "uint64";
1725
1808
  readonly name: "gpuCores";
1726
1809
  readonly type: "uint64";
1810
+ }, {
1811
+ readonly internalType: "uint64";
1812
+ readonly name: "vram";
1813
+ readonly type: "uint64";
1727
1814
  }];
1728
1815
  readonly internalType: "struct SlotInfo";
1729
1816
  readonly name: "newSlotInfo";
@@ -1766,12 +1853,16 @@ export declare const abi: readonly [{
1766
1853
  readonly type: "string";
1767
1854
  }, {
1768
1855
  readonly internalType: "string";
1769
- readonly name: "tlb";
1856
+ readonly name: "tlb_DEPRECATED";
1770
1857
  readonly type: "string";
1771
1858
  }, {
1772
1859
  readonly internalType: "string";
1773
1860
  readonly name: "argsPublicKey";
1774
1861
  readonly type: "string";
1862
+ }, {
1863
+ readonly internalType: "enum TeeOfferSubtype";
1864
+ readonly name: "subtype";
1865
+ readonly type: "uint8";
1775
1866
  }];
1776
1867
  readonly internalType: "struct TeeOfferInfo";
1777
1868
  readonly name: "newInfo";
@@ -1787,11 +1878,11 @@ export declare const abi: readonly [{
1787
1878
  readonly name: "offerId";
1788
1879
  readonly type: "uint256";
1789
1880
  }, {
1790
- readonly internalType: "string";
1791
- readonly name: "tlb";
1792
- readonly type: "string";
1881
+ readonly internalType: "enum TeeOfferSubtype";
1882
+ readonly name: "newSubtype";
1883
+ readonly type: "uint8";
1793
1884
  }];
1794
- readonly name: "setTeeOfferTlb";
1885
+ readonly name: "setTeeOfferSubtype";
1795
1886
  readonly outputs: readonly [];
1796
1887
  readonly stateMutability: "nonpayable";
1797
1888
  readonly type: "function";
@@ -1847,7 +1938,7 @@ export declare const abi: readonly [{
1847
1938
  readonly type: "string";
1848
1939
  }, {
1849
1940
  readonly internalType: "string";
1850
- readonly name: "linkage";
1941
+ readonly name: "linkage_DEPRECATED";
1851
1942
  readonly type: "string";
1852
1943
  }, {
1853
1944
  readonly internalType: "string";
@@ -1857,10 +1948,28 @@ export declare const abi: readonly [{
1857
1948
  readonly internalType: "string";
1858
1949
  readonly name: "metadata";
1859
1950
  readonly type: "string";
1951
+ }, {
1952
+ readonly internalType: "string";
1953
+ readonly name: "signatureKey";
1954
+ readonly type: "string";
1955
+ }, {
1956
+ readonly internalType: "enum ValueOfferSubtype";
1957
+ readonly name: "subtype";
1958
+ readonly type: "uint8";
1860
1959
  }];
1861
1960
  readonly internalType: "struct ValueOfferInfo";
1862
1961
  readonly name: "newInfo";
1863
1962
  readonly type: "tuple";
1963
+ }];
1964
+ readonly name: "setValueOfferInfo";
1965
+ readonly outputs: readonly [];
1966
+ readonly stateMutability: "nonpayable";
1967
+ readonly type: "function";
1968
+ }, {
1969
+ readonly inputs: readonly [{
1970
+ readonly internalType: "uint256";
1971
+ readonly name: "offerId";
1972
+ readonly type: "uint256";
1864
1973
  }, {
1865
1974
  readonly components: readonly [{
1866
1975
  readonly internalType: "uint256[]";
@@ -1870,12 +1979,30 @@ export declare const abi: readonly [{
1870
1979
  readonly internalType: "enum OfferType[]";
1871
1980
  readonly name: "types";
1872
1981
  readonly type: "uint8[]";
1982
+ }, {
1983
+ readonly internalType: "uint64[]";
1984
+ readonly name: "versions";
1985
+ readonly type: "uint64[]";
1873
1986
  }];
1874
- readonly internalType: "struct ValueOfferInitialRestrictions";
1875
- readonly name: "newRestrictions";
1987
+ readonly internalType: "struct ValueOfferRestrictionsSpecification";
1988
+ readonly name: "newSpecification";
1876
1989
  readonly type: "tuple";
1877
1990
  }];
1878
- readonly name: "setValueOfferInfo";
1991
+ readonly name: "setValueOfferRestrictionsSpecification";
1992
+ readonly outputs: readonly [];
1993
+ readonly stateMutability: "nonpayable";
1994
+ readonly type: "function";
1995
+ }, {
1996
+ readonly inputs: readonly [{
1997
+ readonly internalType: "uint256";
1998
+ readonly name: "offerId";
1999
+ readonly type: "uint256";
2000
+ }, {
2001
+ readonly internalType: "enum ValueOfferSubtype";
2002
+ readonly name: "newSubtype";
2003
+ readonly type: "uint8";
2004
+ }];
2005
+ readonly name: "setValueOfferSubtype";
1879
2006
  readonly outputs: readonly [];
1880
2007
  readonly stateMutability: "nonpayable";
1881
2008
  readonly type: "function";
@@ -1918,12 +2045,16 @@ export declare const abi: readonly [{
1918
2045
  readonly type: "string";
1919
2046
  }, {
1920
2047
  readonly internalType: "string";
1921
- readonly name: "tlb";
2048
+ readonly name: "tlb_DEPRECATED";
1922
2049
  readonly type: "string";
1923
2050
  }, {
1924
2051
  readonly internalType: "string";
1925
2052
  readonly name: "argsPublicKey";
1926
2053
  readonly type: "string";
2054
+ }, {
2055
+ readonly internalType: "enum TeeOfferSubtype";
2056
+ readonly name: "subtype";
2057
+ readonly type: "uint8";
1927
2058
  }];
1928
2059
  readonly internalType: "struct TeeOfferInfo";
1929
2060
  readonly name: "info";
@@ -2010,7 +2141,7 @@ export declare const abi: readonly [{
2010
2141
  readonly type: "string";
2011
2142
  }, {
2012
2143
  readonly internalType: "string";
2013
- readonly name: "linkage";
2144
+ readonly name: "linkage_DEPRECATED";
2014
2145
  readonly type: "string";
2015
2146
  }, {
2016
2147
  readonly internalType: "string";
@@ -2020,6 +2151,14 @@ export declare const abi: readonly [{
2020
2151
  readonly internalType: "string";
2021
2152
  readonly name: "metadata";
2022
2153
  readonly type: "string";
2154
+ }, {
2155
+ readonly internalType: "string";
2156
+ readonly name: "signatureKey";
2157
+ readonly type: "string";
2158
+ }, {
2159
+ readonly internalType: "enum ValueOfferSubtype";
2160
+ readonly name: "subtype";
2161
+ readonly type: "uint8";
2023
2162
  }];
2024
2163
  readonly internalType: "struct ValueOfferInfo";
2025
2164
  readonly name: "info";
@@ -2049,29 +2188,6 @@ export declare const abi: readonly [{
2049
2188
  }];
2050
2189
  readonly stateMutability: "view";
2051
2190
  readonly type: "function";
2052
- }, {
2053
- readonly inputs: readonly [{
2054
- readonly internalType: "uint256";
2055
- readonly name: "offerId";
2056
- readonly type: "uint256";
2057
- }];
2058
- readonly name: "getOfferInitialRestrictions";
2059
- readonly outputs: readonly [{
2060
- readonly components: readonly [{
2061
- readonly internalType: "uint256[]";
2062
- readonly name: "offers";
2063
- readonly type: "uint256[]";
2064
- }, {
2065
- readonly internalType: "enum OfferType[]";
2066
- readonly name: "types";
2067
- readonly type: "uint8[]";
2068
- }];
2069
- readonly internalType: "struct ValueOfferInitialRestrictions";
2070
- readonly name: "ret";
2071
- readonly type: "tuple";
2072
- }];
2073
- readonly stateMutability: "view";
2074
- readonly type: "function";
2075
2191
  }, {
2076
2192
  readonly inputs: readonly [{
2077
2193
  readonly internalType: "uint256";
@@ -2161,6 +2277,33 @@ export declare const abi: readonly [{
2161
2277
  }];
2162
2278
  readonly stateMutability: "view";
2163
2279
  readonly type: "function";
2280
+ }, {
2281
+ readonly inputs: readonly [{
2282
+ readonly internalType: "uint256";
2283
+ readonly name: "offerId";
2284
+ readonly type: "uint256";
2285
+ }];
2286
+ readonly name: "getOfferRestrictionsSpecification";
2287
+ readonly outputs: readonly [{
2288
+ readonly components: readonly [{
2289
+ readonly internalType: "uint256[]";
2290
+ readonly name: "offers";
2291
+ readonly type: "uint256[]";
2292
+ }, {
2293
+ readonly internalType: "enum OfferType[]";
2294
+ readonly name: "types";
2295
+ readonly type: "uint8[]";
2296
+ }, {
2297
+ readonly internalType: "uint64[]";
2298
+ readonly name: "versions";
2299
+ readonly type: "uint64[]";
2300
+ }];
2301
+ readonly internalType: "struct ValueOfferRestrictionsSpecification";
2302
+ readonly name: "";
2303
+ readonly type: "tuple";
2304
+ }];
2305
+ readonly stateMutability: "view";
2306
+ readonly type: "function";
2164
2307
  }, {
2165
2308
  readonly inputs: readonly [{
2166
2309
  readonly internalType: "uint256";
@@ -2175,6 +2318,60 @@ export declare const abi: readonly [{
2175
2318
  }];
2176
2319
  readonly stateMutability: "view";
2177
2320
  readonly type: "function";
2321
+ }, {
2322
+ readonly inputs: readonly [{
2323
+ readonly internalType: "uint256";
2324
+ readonly name: "offerId";
2325
+ readonly type: "uint256";
2326
+ }, {
2327
+ readonly internalType: "uint64";
2328
+ readonly name: "version";
2329
+ readonly type: "uint64";
2330
+ }];
2331
+ readonly name: "getOfferVersion";
2332
+ readonly outputs: readonly [{
2333
+ readonly components: readonly [{
2334
+ readonly internalType: "uint64";
2335
+ readonly name: "version";
2336
+ readonly type: "uint64";
2337
+ }, {
2338
+ readonly components: readonly [{
2339
+ readonly internalType: "string";
2340
+ readonly name: "mrenclave";
2341
+ readonly type: "string";
2342
+ }, {
2343
+ readonly internalType: "string";
2344
+ readonly name: "mrsigner";
2345
+ readonly type: "string";
2346
+ }];
2347
+ readonly internalType: "struct OfferVersionInfo";
2348
+ readonly name: "info";
2349
+ readonly type: "tuple";
2350
+ }, {
2351
+ readonly internalType: "enum OfferVersionStatus";
2352
+ readonly name: "status";
2353
+ readonly type: "uint8";
2354
+ }];
2355
+ readonly internalType: "struct OfferVersion";
2356
+ readonly name: "";
2357
+ readonly type: "tuple";
2358
+ }];
2359
+ readonly stateMutability: "view";
2360
+ readonly type: "function";
2361
+ }, {
2362
+ readonly inputs: readonly [{
2363
+ readonly internalType: "uint256";
2364
+ readonly name: "offerId";
2365
+ readonly type: "uint256";
2366
+ }];
2367
+ readonly name: "getOfferVersionsCount";
2368
+ readonly outputs: readonly [{
2369
+ readonly internalType: "uint256";
2370
+ readonly name: "";
2371
+ readonly type: "uint256";
2372
+ }];
2373
+ readonly stateMutability: "view";
2374
+ readonly type: "function";
2178
2375
  }, {
2179
2376
  readonly inputs: readonly [{
2180
2377
  readonly internalType: "enum OfferType";
@@ -2234,12 +2431,16 @@ export declare const abi: readonly [{
2234
2431
  readonly type: "string";
2235
2432
  }, {
2236
2433
  readonly internalType: "string";
2237
- readonly name: "tlb";
2434
+ readonly name: "tlb_DEPRECATED";
2238
2435
  readonly type: "string";
2239
2436
  }, {
2240
2437
  readonly internalType: "string";
2241
2438
  readonly name: "argsPublicKey";
2242
2439
  readonly type: "string";
2440
+ }, {
2441
+ readonly internalType: "enum TeeOfferSubtype";
2442
+ readonly name: "subtype";
2443
+ readonly type: "uint8";
2243
2444
  }];
2244
2445
  readonly internalType: "struct TeeOfferInfo";
2245
2446
  readonly name: "info";
@@ -2279,6 +2480,10 @@ export declare const abi: readonly [{
2279
2480
  readonly internalType: "uint64";
2280
2481
  readonly name: "gpuCores";
2281
2482
  readonly type: "uint64";
2483
+ }, {
2484
+ readonly internalType: "uint64";
2485
+ readonly name: "vram";
2486
+ readonly type: "uint64";
2282
2487
  }];
2283
2488
  readonly internalType: "struct SlotInfo";
2284
2489
  readonly name: "";
@@ -2301,11 +2506,11 @@ export declare const abi: readonly [{
2301
2506
  readonly name: "offerId";
2302
2507
  readonly type: "uint256";
2303
2508
  }];
2304
- readonly name: "getTeeOfferLastTlbAddedTime";
2509
+ readonly name: "getTeeOfferSubtype";
2305
2510
  readonly outputs: readonly [{
2306
- readonly internalType: "uint256";
2511
+ readonly internalType: "enum TeeOfferSubtype";
2307
2512
  readonly name: "";
2308
- readonly type: "uint256";
2513
+ readonly type: "uint8";
2309
2514
  }];
2310
2515
  readonly stateMutability: "view";
2311
2516
  readonly type: "function";
@@ -2372,7 +2577,7 @@ export declare const abi: readonly [{
2372
2577
  readonly type: "string";
2373
2578
  }, {
2374
2579
  readonly internalType: "string";
2375
- readonly name: "linkage";
2580
+ readonly name: "linkage_DEPRECATED";
2376
2581
  readonly type: "string";
2377
2582
  }, {
2378
2583
  readonly internalType: "string";
@@ -2382,6 +2587,14 @@ export declare const abi: readonly [{
2382
2587
  readonly internalType: "string";
2383
2588
  readonly name: "metadata";
2384
2589
  readonly type: "string";
2590
+ }, {
2591
+ readonly internalType: "string";
2592
+ readonly name: "signatureKey";
2593
+ readonly type: "string";
2594
+ }, {
2595
+ readonly internalType: "enum ValueOfferSubtype";
2596
+ readonly name: "subtype";
2597
+ readonly type: "uint8";
2385
2598
  }];
2386
2599
  readonly internalType: "struct ValueOfferInfo";
2387
2600
  readonly name: "info";
@@ -2397,6 +2610,20 @@ export declare const abi: readonly [{
2397
2610
  }];
2398
2611
  readonly stateMutability: "view";
2399
2612
  readonly type: "function";
2613
+ }, {
2614
+ readonly inputs: readonly [{
2615
+ readonly internalType: "uint256";
2616
+ readonly name: "offerId";
2617
+ readonly type: "uint256";
2618
+ }];
2619
+ readonly name: "getValueOfferSubtype";
2620
+ readonly outputs: readonly [{
2621
+ readonly internalType: "enum ValueOfferSubtype";
2622
+ readonly name: "";
2623
+ readonly type: "uint8";
2624
+ }];
2625
+ readonly stateMutability: "view";
2626
+ readonly type: "function";
2400
2627
  }, {
2401
2628
  readonly inputs: readonly [{
2402
2629
  readonly internalType: "uint256";
@@ -2411,6 +2638,32 @@ export declare const abi: readonly [{
2411
2638
  }];
2412
2639
  readonly stateMutability: "view";
2413
2640
  readonly type: "function";
2641
+ }, {
2642
+ readonly inputs: readonly [{
2643
+ readonly internalType: "uint256";
2644
+ readonly name: "firstId";
2645
+ readonly type: "uint256";
2646
+ }, {
2647
+ readonly internalType: "uint64";
2648
+ readonly name: "firstVersion";
2649
+ readonly type: "uint64";
2650
+ }, {
2651
+ readonly internalType: "uint256";
2652
+ readonly name: "secondId";
2653
+ readonly type: "uint256";
2654
+ }, {
2655
+ readonly internalType: "uint64";
2656
+ readonly name: "secondVersion";
2657
+ readonly type: "uint64";
2658
+ }];
2659
+ readonly name: "isMagicallySameOfferVersion";
2660
+ readonly outputs: readonly [{
2661
+ readonly internalType: "bool";
2662
+ readonly name: "";
2663
+ readonly type: "bool";
2664
+ }];
2665
+ readonly stateMutability: "pure";
2666
+ readonly type: "function";
2414
2667
  }, {
2415
2668
  readonly inputs: readonly [{
2416
2669
  readonly internalType: "uint256";
@@ -2498,6 +2751,10 @@ export declare const abi: readonly [{
2498
2751
  readonly internalType: "uint256";
2499
2752
  readonly name: "otherOfferId";
2500
2753
  readonly type: "uint256";
2754
+ }, {
2755
+ readonly internalType: "uint64";
2756
+ readonly name: "otherOfferVersion";
2757
+ readonly type: "uint64";
2501
2758
  }];
2502
2759
  readonly name: "isOfferRestrictionsPermitOtherOffer";
2503
2760
  readonly outputs: readonly [{
@@ -2512,8 +2769,12 @@ export declare const abi: readonly [{
2512
2769
  readonly internalType: "uint256";
2513
2770
  readonly name: "offerId";
2514
2771
  readonly type: "uint256";
2772
+ }, {
2773
+ readonly internalType: "uint64";
2774
+ readonly name: "version";
2775
+ readonly type: "uint64";
2515
2776
  }];
2516
- readonly name: "isTeeOfferBanned";
2777
+ readonly name: "isOfferVersionAvailable";
2517
2778
  readonly outputs: readonly [{
2518
2779
  readonly internalType: "bool";
2519
2780
  readonly name: "";
@@ -2522,12 +2783,26 @@ export declare const abi: readonly [{
2522
2783
  readonly stateMutability: "view";
2523
2784
  readonly type: "function";
2524
2785
  }, {
2525
- readonly anonymous: false;
2526
2786
  readonly inputs: readonly [{
2527
- readonly indexed: true;
2528
- readonly internalType: "address";
2529
- readonly name: "owner";
2530
- readonly type: "address";
2787
+ readonly internalType: "uint256";
2788
+ readonly name: "offerId";
2789
+ readonly type: "uint256";
2790
+ }];
2791
+ readonly name: "isTeeOfferBanned";
2792
+ readonly outputs: readonly [{
2793
+ readonly internalType: "bool";
2794
+ readonly name: "";
2795
+ readonly type: "bool";
2796
+ }];
2797
+ readonly stateMutability: "view";
2798
+ readonly type: "function";
2799
+ }, {
2800
+ readonly anonymous: false;
2801
+ readonly inputs: readonly [{
2802
+ readonly indexed: true;
2803
+ readonly internalType: "address";
2804
+ readonly name: "owner";
2805
+ readonly type: "address";
2531
2806
  }, {
2532
2807
  readonly indexed: true;
2533
2808
  readonly internalType: "uint256";
@@ -2713,6 +2988,10 @@ export declare const abi: readonly [{
2713
2988
  readonly internalType: "uint256";
2714
2989
  readonly name: "maxPriceSlippage";
2715
2990
  readonly type: "uint256";
2991
+ }, {
2992
+ readonly internalType: "uint64";
2993
+ readonly name: "offerVersion";
2994
+ readonly type: "uint64";
2716
2995
  }];
2717
2996
  readonly internalType: "struct OrderInfo";
2718
2997
  readonly name: "info";
@@ -2741,12 +3020,20 @@ export declare const abi: readonly [{
2741
3020
  }, {
2742
3021
  readonly components: readonly [{
2743
3022
  readonly internalType: "uint256[]";
2744
- readonly name: "inputOffers";
3023
+ readonly name: "inputOffersIds";
2745
3024
  readonly type: "uint256[]";
2746
3025
  }, {
2747
3026
  readonly internalType: "uint256";
2748
- readonly name: "outputOffer";
3027
+ readonly name: "outputOfferId";
2749
3028
  readonly type: "uint256";
3029
+ }, {
3030
+ readonly internalType: "uint64[]";
3031
+ readonly name: "inputOffersVersions";
3032
+ readonly type: "uint64[]";
3033
+ }, {
3034
+ readonly internalType: "uint64";
3035
+ readonly name: "outputOfferVersion";
3036
+ readonly type: "uint64";
2750
3037
  }];
2751
3038
  readonly internalType: "struct OrderArgs";
2752
3039
  readonly name: "args";
@@ -2806,6 +3093,10 @@ export declare const abi: readonly [{
2806
3093
  readonly internalType: "uint256";
2807
3094
  readonly name: "maxPriceSlippage";
2808
3095
  readonly type: "uint256";
3096
+ }, {
3097
+ readonly internalType: "uint64";
3098
+ readonly name: "offerVersion";
3099
+ readonly type: "uint64";
2809
3100
  }];
2810
3101
  readonly internalType: "struct OrderInfo";
2811
3102
  readonly name: "info";
@@ -2834,12 +3125,20 @@ export declare const abi: readonly [{
2834
3125
  }, {
2835
3126
  readonly components: readonly [{
2836
3127
  readonly internalType: "uint256[]";
2837
- readonly name: "inputOffers";
3128
+ readonly name: "inputOffersIds";
2838
3129
  readonly type: "uint256[]";
2839
3130
  }, {
2840
3131
  readonly internalType: "uint256";
2841
- readonly name: "outputOffer";
3132
+ readonly name: "outputOfferId";
2842
3133
  readonly type: "uint256";
3134
+ }, {
3135
+ readonly internalType: "uint64[]";
3136
+ readonly name: "inputOffersVersions";
3137
+ readonly type: "uint64[]";
3138
+ }, {
3139
+ readonly internalType: "uint64";
3140
+ readonly name: "outputOfferVersion";
3141
+ readonly type: "uint64";
2843
3142
  }];
2844
3143
  readonly internalType: "struct OrderArgs";
2845
3144
  readonly name: "args";
@@ -2899,6 +3198,10 @@ export declare const abi: readonly [{
2899
3198
  readonly internalType: "uint256";
2900
3199
  readonly name: "maxPriceSlippage";
2901
3200
  readonly type: "uint256";
3201
+ }, {
3202
+ readonly internalType: "uint64";
3203
+ readonly name: "offerVersion";
3204
+ readonly type: "uint64";
2902
3205
  }];
2903
3206
  readonly internalType: "struct OrderInfo";
2904
3207
  readonly name: "suborderInfo";
@@ -2927,12 +3230,20 @@ export declare const abi: readonly [{
2927
3230
  }, {
2928
3231
  readonly components: readonly [{
2929
3232
  readonly internalType: "uint256[]";
2930
- readonly name: "inputOffers";
3233
+ readonly name: "inputOffersIds";
2931
3234
  readonly type: "uint256[]";
2932
3235
  }, {
2933
3236
  readonly internalType: "uint256";
2934
- readonly name: "outputOffer";
3237
+ readonly name: "outputOfferId";
2935
3238
  readonly type: "uint256";
3239
+ }, {
3240
+ readonly internalType: "uint64[]";
3241
+ readonly name: "inputOffersVersions";
3242
+ readonly type: "uint64[]";
3243
+ }, {
3244
+ readonly internalType: "uint64";
3245
+ readonly name: "outputOfferVersion";
3246
+ readonly type: "uint64";
2936
3247
  }];
2937
3248
  readonly internalType: "struct OrderArgs";
2938
3249
  readonly name: "suborderArgs";
@@ -3001,6 +3312,10 @@ export declare const abi: readonly [{
3001
3312
  readonly internalType: "uint256";
3002
3313
  readonly name: "maxPriceSlippage";
3003
3314
  readonly type: "uint256";
3315
+ }, {
3316
+ readonly internalType: "uint64";
3317
+ readonly name: "offerVersion";
3318
+ readonly type: "uint64";
3004
3319
  }];
3005
3320
  readonly internalType: "struct OrderInfo";
3006
3321
  readonly name: "suborderInfo";
@@ -3029,12 +3344,20 @@ export declare const abi: readonly [{
3029
3344
  }, {
3030
3345
  readonly components: readonly [{
3031
3346
  readonly internalType: "uint256[]";
3032
- readonly name: "inputOffers";
3347
+ readonly name: "inputOffersIds";
3033
3348
  readonly type: "uint256[]";
3034
3349
  }, {
3035
3350
  readonly internalType: "uint256";
3036
- readonly name: "outputOffer";
3351
+ readonly name: "outputOfferId";
3037
3352
  readonly type: "uint256";
3353
+ }, {
3354
+ readonly internalType: "uint64[]";
3355
+ readonly name: "inputOffersVersions";
3356
+ readonly type: "uint64[]";
3357
+ }, {
3358
+ readonly internalType: "uint64";
3359
+ readonly name: "outputOfferVersion";
3360
+ readonly type: "uint64";
3038
3361
  }];
3039
3362
  readonly internalType: "struct OrderArgs";
3040
3363
  readonly name: "suborderArgs";
@@ -3141,6 +3464,24 @@ export declare const abi: readonly [{
3141
3464
  }];
3142
3465
  readonly name: "OrderProfitUnlocked";
3143
3466
  readonly type: "event";
3467
+ }, {
3468
+ readonly inputs: readonly [{
3469
+ readonly internalType: "uint256";
3470
+ readonly name: "orderId";
3471
+ readonly type: "uint256";
3472
+ }, {
3473
+ readonly internalType: "uint256";
3474
+ readonly name: "amount";
3475
+ readonly type: "uint256";
3476
+ }];
3477
+ readonly name: "debitOrderDepositByApp";
3478
+ readonly outputs: readonly [{
3479
+ readonly internalType: "uint256";
3480
+ readonly name: "";
3481
+ readonly type: "uint256";
3482
+ }];
3483
+ readonly stateMutability: "nonpayable";
3484
+ readonly type: "function";
3144
3485
  }, {
3145
3486
  readonly inputs: readonly [{
3146
3487
  readonly internalType: "uint256";
@@ -3366,6 +3707,20 @@ export declare const abi: readonly [{
3366
3707
  readonly outputs: readonly [];
3367
3708
  readonly stateMutability: "nonpayable";
3368
3709
  readonly type: "function";
3710
+ }, {
3711
+ readonly inputs: readonly [{
3712
+ readonly internalType: "uint256";
3713
+ readonly name: "orderId";
3714
+ readonly type: "uint256";
3715
+ }, {
3716
+ readonly internalType: "string";
3717
+ readonly name: "newCertificate";
3718
+ readonly type: "string";
3719
+ }];
3720
+ readonly name: "setOrderCertificate";
3721
+ readonly outputs: readonly [];
3722
+ readonly stateMutability: "nonpayable";
3723
+ readonly type: "function";
3369
3724
  }, {
3370
3725
  readonly inputs: readonly [{
3371
3726
  readonly internalType: "uint256";
@@ -3639,11 +3994,11 @@ export declare const abi: readonly [{
3639
3994
  readonly name: "subOfferId";
3640
3995
  readonly type: "uint256";
3641
3996
  }, {
3642
- readonly internalType: "enum OfferGroup";
3643
- readonly name: "subOfferGroup";
3644
- readonly type: "uint8";
3997
+ readonly internalType: "uint64";
3998
+ readonly name: "subOfferVersion";
3999
+ readonly type: "uint64";
3645
4000
  }];
3646
- readonly name: "checkOrderRestrictions";
4001
+ readonly name: "checkParentOrderArgsCompliesWithSubOfferRestrictions";
3647
4002
  readonly outputs: readonly [];
3648
4003
  readonly stateMutability: "view";
3649
4004
  readonly type: "function";
@@ -3733,6 +4088,10 @@ export declare const abi: readonly [{
3733
4088
  readonly internalType: "uint256";
3734
4089
  readonly name: "maxPriceSlippage";
3735
4090
  readonly type: "uint256";
4091
+ }, {
4092
+ readonly internalType: "uint64";
4093
+ readonly name: "offerVersion";
4094
+ readonly type: "uint64";
3736
4095
  }];
3737
4096
  readonly internalType: "struct OrderInfo";
3738
4097
  readonly name: "";
@@ -3763,12 +4122,20 @@ export declare const abi: readonly [{
3763
4122
  readonly outputs: readonly [{
3764
4123
  readonly components: readonly [{
3765
4124
  readonly internalType: "uint256[]";
3766
- readonly name: "inputOffers";
4125
+ readonly name: "inputOffersIds";
3767
4126
  readonly type: "uint256[]";
3768
4127
  }, {
3769
4128
  readonly internalType: "uint256";
3770
- readonly name: "outputOffer";
4129
+ readonly name: "outputOfferId";
3771
4130
  readonly type: "uint256";
4131
+ }, {
4132
+ readonly internalType: "uint64[]";
4133
+ readonly name: "inputOffersVersions";
4134
+ readonly type: "uint64[]";
4135
+ }, {
4136
+ readonly internalType: "uint64";
4137
+ readonly name: "outputOfferVersion";
4138
+ readonly type: "uint64";
3772
4139
  }];
3773
4140
  readonly internalType: "struct OrderArgs";
3774
4141
  readonly name: "";
@@ -3776,6 +4143,34 @@ export declare const abi: readonly [{
3776
4143
  }];
3777
4144
  readonly stateMutability: "view";
3778
4145
  readonly type: "function";
4146
+ }, {
4147
+ readonly inputs: readonly [{
4148
+ readonly internalType: "uint256";
4149
+ readonly name: "orderId";
4150
+ readonly type: "uint256";
4151
+ }];
4152
+ readonly name: "getOrderCertificate";
4153
+ readonly outputs: readonly [{
4154
+ readonly internalType: "string";
4155
+ readonly name: "";
4156
+ readonly type: "string";
4157
+ }];
4158
+ readonly stateMutability: "view";
4159
+ readonly type: "function";
4160
+ }, {
4161
+ readonly inputs: readonly [{
4162
+ readonly internalType: "uint256";
4163
+ readonly name: "orderId";
4164
+ readonly type: "uint256";
4165
+ }];
4166
+ readonly name: "getOrderConsumer";
4167
+ readonly outputs: readonly [{
4168
+ readonly internalType: "address";
4169
+ readonly name: "";
4170
+ readonly type: "address";
4171
+ }];
4172
+ readonly stateMutability: "view";
4173
+ readonly type: "function";
3779
4174
  }, {
3780
4175
  readonly inputs: readonly [{
3781
4176
  readonly internalType: "uint256";
@@ -3930,6 +4325,10 @@ export declare const abi: readonly [{
3930
4325
  readonly internalType: "uint64";
3931
4326
  readonly name: "gpuCores";
3932
4327
  readonly type: "uint64";
4328
+ }, {
4329
+ readonly internalType: "uint64";
4330
+ readonly name: "vram";
4331
+ readonly type: "uint64";
3933
4332
  }];
3934
4333
  readonly internalType: "struct SlotInfo";
3935
4334
  readonly name: "";
@@ -4676,7 +5075,7 @@ export declare const abi: readonly [{
4676
5075
  readonly type: "address";
4677
5076
  }, {
4678
5077
  readonly internalType: "uint16";
4679
- readonly name: "amount";
5078
+ readonly name: "percent";
4680
5079
  readonly type: "uint16";
4681
5080
  }];
4682
5081
  readonly internalType: "struct ProtocolIncomeRecipient[]";
@@ -4794,7 +5193,7 @@ export declare const abi: readonly [{
4794
5193
  readonly type: "address";
4795
5194
  }, {
4796
5195
  readonly internalType: "uint16";
4797
- readonly name: "amount";
5196
+ readonly name: "percent";
4798
5197
  readonly type: "uint16";
4799
5198
  }];
4800
5199
  readonly internalType: "struct ProtocolIncomeRecipient[]";
@@ -5088,8 +5487,22 @@ export declare const abi: readonly [{
5088
5487
  readonly type: "string";
5089
5488
  }];
5090
5489
  readonly internalType: "struct OptionInfo";
5091
- readonly name: "info";
5490
+ readonly name: "newInfo";
5092
5491
  readonly type: "tuple";
5492
+ }];
5493
+ readonly name: "updateOptionInfo";
5494
+ readonly outputs: readonly [];
5495
+ readonly stateMutability: "nonpayable";
5496
+ readonly type: "function";
5497
+ }, {
5498
+ readonly inputs: readonly [{
5499
+ readonly internalType: "uint256";
5500
+ readonly name: "teeOfferId";
5501
+ readonly type: "uint256";
5502
+ }, {
5503
+ readonly internalType: "uint256";
5504
+ readonly name: "optionId";
5505
+ readonly type: "uint256";
5093
5506
  }, {
5094
5507
  readonly components: readonly [{
5095
5508
  readonly internalType: "enum PriceType";
@@ -5109,10 +5522,10 @@ export declare const abi: readonly [{
5109
5522
  readonly type: "uint64";
5110
5523
  }];
5111
5524
  readonly internalType: "struct SlotUsage";
5112
- readonly name: "usage";
5525
+ readonly name: "newUsage";
5113
5526
  readonly type: "tuple";
5114
5527
  }];
5115
- readonly name: "updateOption";
5528
+ readonly name: "updateOptionUsage";
5116
5529
  readonly outputs: readonly [];
5117
5530
  readonly stateMutability: "nonpayable";
5118
5531
  readonly type: "function";
@@ -5197,6 +5610,10 @@ export declare const abi: readonly [{
5197
5610
  readonly internalType: "uint64";
5198
5611
  readonly name: "gpuCores";
5199
5612
  readonly type: "uint64";
5613
+ }, {
5614
+ readonly internalType: "uint64";
5615
+ readonly name: "vram";
5616
+ readonly type: "uint64";
5200
5617
  }];
5201
5618
  readonly internalType: "struct SlotInfo";
5202
5619
  readonly name: "info";
@@ -5284,6 +5701,10 @@ export declare const abi: readonly [{
5284
5701
  readonly internalType: "uint64";
5285
5702
  readonly name: "gpuCores";
5286
5703
  readonly type: "uint64";
5704
+ }, {
5705
+ readonly internalType: "uint64";
5706
+ readonly name: "vram";
5707
+ readonly type: "uint64";
5287
5708
  }];
5288
5709
  readonly internalType: "struct SlotInfo";
5289
5710
  readonly name: "info";
@@ -5353,6 +5774,10 @@ export declare const abi: readonly [{
5353
5774
  readonly internalType: "uint64";
5354
5775
  readonly name: "gpuCores";
5355
5776
  readonly type: "uint64";
5777
+ }, {
5778
+ readonly internalType: "uint64";
5779
+ readonly name: "vram";
5780
+ readonly type: "uint64";
5356
5781
  }];
5357
5782
  readonly internalType: "struct SlotInfo";
5358
5783
  readonly name: "info";
@@ -5453,10 +5878,28 @@ export declare const abi: readonly [{
5453
5878
  readonly internalType: "uint64";
5454
5879
  readonly name: "gpuCores";
5455
5880
  readonly type: "uint64";
5881
+ }, {
5882
+ readonly internalType: "uint64";
5883
+ readonly name: "vram";
5884
+ readonly type: "uint64";
5456
5885
  }];
5457
5886
  readonly internalType: "struct SlotInfo";
5458
- readonly name: "info";
5887
+ readonly name: "newInfo";
5459
5888
  readonly type: "tuple";
5889
+ }];
5890
+ readonly name: "updateTeeOfferSlotInfo";
5891
+ readonly outputs: readonly [];
5892
+ readonly stateMutability: "nonpayable";
5893
+ readonly type: "function";
5894
+ }, {
5895
+ readonly inputs: readonly [{
5896
+ readonly internalType: "uint256";
5897
+ readonly name: "teeOfferId";
5898
+ readonly type: "uint256";
5899
+ }, {
5900
+ readonly internalType: "uint256";
5901
+ readonly name: "slotId";
5902
+ readonly type: "uint256";
5460
5903
  }, {
5461
5904
  readonly components: readonly [{
5462
5905
  readonly internalType: "enum PriceType";
@@ -5476,10 +5919,10 @@ export declare const abi: readonly [{
5476
5919
  readonly type: "uint64";
5477
5920
  }];
5478
5921
  readonly internalType: "struct SlotUsage";
5479
- readonly name: "usage";
5922
+ readonly name: "newUsage";
5480
5923
  readonly type: "tuple";
5481
5924
  }];
5482
- readonly name: "updateTeeOfferSlot";
5925
+ readonly name: "updateTeeOfferSlotUsage";
5483
5926
  readonly outputs: readonly [];
5484
5927
  readonly stateMutability: "nonpayable";
5485
5928
  readonly type: "function";
@@ -5557,7 +6000,7 @@ export declare const abi: readonly [{
5557
6000
  readonly name: "teeOfferId";
5558
6001
  readonly type: "uint256";
5559
6002
  }];
5560
- readonly name: "confisacateAllRewards";
6003
+ readonly name: "confiscateAllRewards";
5561
6004
  readonly outputs: readonly [];
5562
6005
  readonly stateMutability: "nonpayable";
5563
6006
  readonly type: "function";
@@ -5782,6 +6225,10 @@ export declare const abi: readonly [{
5782
6225
  readonly internalType: "uint64";
5783
6226
  readonly name: "gpuCores";
5784
6227
  readonly type: "uint64";
6228
+ }, {
6229
+ readonly internalType: "uint64";
6230
+ readonly name: "vram";
6231
+ readonly type: "uint64";
5785
6232
  }];
5786
6233
  readonly internalType: "struct SlotInfo";
5787
6234
  readonly name: "info";
@@ -5882,6 +6329,10 @@ export declare const abi: readonly [{
5882
6329
  readonly internalType: "uint64";
5883
6330
  readonly name: "gpuCores";
5884
6331
  readonly type: "uint64";
6332
+ }, {
6333
+ readonly internalType: "uint64";
6334
+ readonly name: "vram";
6335
+ readonly type: "uint64";
5885
6336
  }];
5886
6337
  readonly internalType: "struct SlotInfo";
5887
6338
  readonly name: "info";
@@ -5960,6 +6411,10 @@ export declare const abi: readonly [{
5960
6411
  readonly internalType: "uint64";
5961
6412
  readonly name: "gpuCores";
5962
6413
  readonly type: "uint64";
6414
+ }, {
6415
+ readonly internalType: "uint64";
6416
+ readonly name: "vram";
6417
+ readonly type: "uint64";
5963
6418
  }];
5964
6419
  readonly internalType: "struct SlotInfo";
5965
6420
  readonly name: "info";
@@ -6069,10 +6524,28 @@ export declare const abi: readonly [{
6069
6524
  readonly internalType: "uint64";
6070
6525
  readonly name: "gpuCores";
6071
6526
  readonly type: "uint64";
6527
+ }, {
6528
+ readonly internalType: "uint64";
6529
+ readonly name: "vram";
6530
+ readonly type: "uint64";
6072
6531
  }];
6073
6532
  readonly internalType: "struct SlotInfo";
6074
- readonly name: "info";
6533
+ readonly name: "newInfo";
6075
6534
  readonly type: "tuple";
6535
+ }];
6536
+ readonly name: "updateValueOfferSlotInfo";
6537
+ readonly outputs: readonly [];
6538
+ readonly stateMutability: "nonpayable";
6539
+ readonly type: "function";
6540
+ }, {
6541
+ readonly inputs: readonly [{
6542
+ readonly internalType: "uint256";
6543
+ readonly name: "offerId";
6544
+ readonly type: "uint256";
6545
+ }, {
6546
+ readonly internalType: "uint256";
6547
+ readonly name: "slotId";
6548
+ readonly type: "uint256";
6076
6549
  }, {
6077
6550
  readonly components: readonly [{
6078
6551
  readonly internalType: "string";
@@ -6080,8 +6553,22 @@ export declare const abi: readonly [{
6080
6553
  readonly type: "string";
6081
6554
  }];
6082
6555
  readonly internalType: "struct OptionInfo";
6083
- readonly name: "option";
6556
+ readonly name: "newOption";
6084
6557
  readonly type: "tuple";
6558
+ }];
6559
+ readonly name: "updateValueOfferSlotOption";
6560
+ readonly outputs: readonly [];
6561
+ readonly stateMutability: "nonpayable";
6562
+ readonly type: "function";
6563
+ }, {
6564
+ readonly inputs: readonly [{
6565
+ readonly internalType: "uint256";
6566
+ readonly name: "offerId";
6567
+ readonly type: "uint256";
6568
+ }, {
6569
+ readonly internalType: "uint256";
6570
+ readonly name: "slotId";
6571
+ readonly type: "uint256";
6085
6572
  }, {
6086
6573
  readonly components: readonly [{
6087
6574
  readonly internalType: "enum PriceType";
@@ -6101,10 +6588,10 @@ export declare const abi: readonly [{
6101
6588
  readonly type: "uint64";
6102
6589
  }];
6103
6590
  readonly internalType: "struct SlotUsage";
6104
- readonly name: "usage";
6591
+ readonly name: "newUsage";
6105
6592
  readonly type: "tuple";
6106
6593
  }];
6107
- readonly name: "updateValueOfferSlot";
6594
+ readonly name: "updateValueOfferSlotUsage";
6108
6595
  readonly outputs: readonly [];
6109
6596
  readonly stateMutability: "nonpayable";
6110
6597
  readonly type: "function";
@@ -6152,6 +6639,10 @@ export declare const abi: readonly [{
6152
6639
  readonly internalType: "uint256";
6153
6640
  readonly name: "maxPriceSlippage";
6154
6641
  readonly type: "uint256";
6642
+ }, {
6643
+ readonly internalType: "uint64";
6644
+ readonly name: "offerVersion";
6645
+ readonly type: "uint64";
6155
6646
  }];
6156
6647
  readonly internalType: "struct OrderInfo";
6157
6648
  readonly name: "parentOrderInfo";
@@ -6180,12 +6671,20 @@ export declare const abi: readonly [{
6180
6671
  }, {
6181
6672
  readonly components: readonly [{
6182
6673
  readonly internalType: "uint256[]";
6183
- readonly name: "inputOffers";
6674
+ readonly name: "inputOffersIds";
6184
6675
  readonly type: "uint256[]";
6185
6676
  }, {
6186
6677
  readonly internalType: "uint256";
6187
- readonly name: "outputOffer";
6678
+ readonly name: "outputOfferId";
6188
6679
  readonly type: "uint256";
6680
+ }, {
6681
+ readonly internalType: "uint64[]";
6682
+ readonly name: "inputOffersVersions";
6683
+ readonly type: "uint64[]";
6684
+ }, {
6685
+ readonly internalType: "uint64";
6686
+ readonly name: "outputOfferVersion";
6687
+ readonly type: "uint64";
6189
6688
  }];
6190
6689
  readonly internalType: "struct OrderArgs";
6191
6690
  readonly name: "parentOrderArgs";
@@ -6227,6 +6726,10 @@ export declare const abi: readonly [{
6227
6726
  readonly internalType: "uint256";
6228
6727
  readonly name: "maxPriceSlippage";
6229
6728
  readonly type: "uint256";
6729
+ }, {
6730
+ readonly internalType: "uint64";
6731
+ readonly name: "offerVersion";
6732
+ readonly type: "uint64";
6230
6733
  }];
6231
6734
  readonly internalType: "struct OrderInfo[]";
6232
6735
  readonly name: "subOrdersInfos";
@@ -6255,12 +6758,20 @@ export declare const abi: readonly [{
6255
6758
  }, {
6256
6759
  readonly components: readonly [{
6257
6760
  readonly internalType: "uint256[]";
6258
- readonly name: "inputOffers";
6761
+ readonly name: "inputOffersIds";
6259
6762
  readonly type: "uint256[]";
6260
6763
  }, {
6261
6764
  readonly internalType: "uint256";
6262
- readonly name: "outputOffer";
6765
+ readonly name: "outputOfferId";
6263
6766
  readonly type: "uint256";
6767
+ }, {
6768
+ readonly internalType: "uint64[]";
6769
+ readonly name: "inputOffersVersions";
6770
+ readonly type: "uint64[]";
6771
+ }, {
6772
+ readonly internalType: "uint64";
6773
+ readonly name: "outputOfferVersion";
6774
+ readonly type: "uint64";
6264
6775
  }];
6265
6776
  readonly internalType: "struct OrderArgs[]";
6266
6777
  readonly name: "subOrdersArgs";
@@ -6675,16 +7186,6 @@ export declare const abi: readonly [{
6675
7186
  }];
6676
7187
  readonly name: "LoaderSessionKeyUpdated";
6677
7188
  readonly type: "event";
6678
- }, {
6679
- readonly inputs: readonly [{
6680
- readonly internalType: "uint256";
6681
- readonly name: "teeOfferId";
6682
- readonly type: "uint256";
6683
- }];
6684
- readonly name: "disableLoader";
6685
- readonly outputs: readonly [];
6686
- readonly stateMutability: "nonpayable";
6687
- readonly type: "function";
6688
7189
  }, {
6689
7190
  readonly inputs: readonly [];
6690
7191
  readonly name: "getDisabledLoaders";
@@ -6753,6 +7254,16 @@ export declare const abi: readonly [{
6753
7254
  }];
6754
7255
  readonly stateMutability: "view";
6755
7256
  readonly type: "function";
7257
+ }, {
7258
+ readonly inputs: readonly [{
7259
+ readonly internalType: "uint256";
7260
+ readonly name: "teeOfferId";
7261
+ readonly type: "uint256";
7262
+ }];
7263
+ readonly name: "removeLoaderKeys";
7264
+ readonly outputs: readonly [];
7265
+ readonly stateMutability: "nonpayable";
7266
+ readonly type: "function";
6756
7267
  }, {
6757
7268
  readonly inputs: readonly [{
6758
7269
  readonly components: readonly [{
@@ -6955,11 +7466,7 @@ export declare const abi: readonly [{
6955
7466
  readonly type: "uint32";
6956
7467
  }];
6957
7468
  readonly name: "createResourceOrder";
6958
- readonly outputs: readonly [{
6959
- readonly internalType: "uint256";
6960
- readonly name: "orderId";
6961
- readonly type: "uint256";
6962
- }];
7469
+ readonly outputs: readonly [];
6963
7470
  readonly stateMutability: "nonpayable";
6964
7471
  readonly type: "function";
6965
7472
  }, {
@@ -7035,6 +7542,18 @@ export declare const abi: readonly [{
7035
7542
  readonly internalType: "string";
7036
7543
  readonly name: "signedEncryptedData";
7037
7544
  readonly type: "string";
7545
+ }, {
7546
+ readonly internalType: "enum OfferType";
7547
+ readonly name: "offerType";
7548
+ readonly type: "uint8";
7549
+ }, {
7550
+ readonly internalType: "string";
7551
+ readonly name: "solutionHash";
7552
+ readonly type: "string";
7553
+ }, {
7554
+ readonly internalType: "bool";
7555
+ readonly name: "previousDataCopied";
7556
+ readonly type: "bool";
7038
7557
  }];
7039
7558
  readonly internalType: "struct OfferResource";
7040
7559
  readonly name: "";
@@ -7045,14 +7564,10 @@ export declare const abi: readonly [{
7045
7564
  }, {
7046
7565
  readonly inputs: readonly [{
7047
7566
  readonly internalType: "uint256";
7048
- readonly name: "offerId";
7567
+ readonly name: "teeOfferIssuerId";
7049
7568
  readonly type: "uint256";
7050
- }, {
7051
- readonly internalType: "uint64";
7052
- readonly name: "version";
7053
- readonly type: "uint64";
7054
7569
  }];
7055
- readonly name: "getOfferResourcesByOfferVersion";
7570
+ readonly name: "getOfferResourcesByIssuerId";
7056
7571
  readonly outputs: readonly [{
7057
7572
  readonly components: readonly [{
7058
7573
  readonly internalType: "uint256";
@@ -7107,6 +7622,18 @@ export declare const abi: readonly [{
7107
7622
  readonly internalType: "string";
7108
7623
  readonly name: "signedEncryptedData";
7109
7624
  readonly type: "string";
7625
+ }, {
7626
+ readonly internalType: "enum OfferType";
7627
+ readonly name: "offerType";
7628
+ readonly type: "uint8";
7629
+ }, {
7630
+ readonly internalType: "string";
7631
+ readonly name: "solutionHash";
7632
+ readonly type: "string";
7633
+ }, {
7634
+ readonly internalType: "bool";
7635
+ readonly name: "previousDataCopied";
7636
+ readonly type: "bool";
7110
7637
  }];
7111
7638
  readonly internalType: "struct OfferResource[]";
7112
7639
  readonly name: "";
@@ -7117,10 +7644,10 @@ export declare const abi: readonly [{
7117
7644
  }, {
7118
7645
  readonly inputs: readonly [{
7119
7646
  readonly internalType: "uint256";
7120
- readonly name: "teeOfferIssuerId";
7647
+ readonly name: "teeKeeperId";
7121
7648
  readonly type: "uint256";
7122
7649
  }];
7123
- readonly name: "getOfferResourcesByIssuerId";
7650
+ readonly name: "getOfferResourcesByKeeperId";
7124
7651
  readonly outputs: readonly [{
7125
7652
  readonly components: readonly [{
7126
7653
  readonly internalType: "uint256";
@@ -7175,6 +7702,18 @@ export declare const abi: readonly [{
7175
7702
  readonly internalType: "string";
7176
7703
  readonly name: "signedEncryptedData";
7177
7704
  readonly type: "string";
7705
+ }, {
7706
+ readonly internalType: "enum OfferType";
7707
+ readonly name: "offerType";
7708
+ readonly type: "uint8";
7709
+ }, {
7710
+ readonly internalType: "string";
7711
+ readonly name: "solutionHash";
7712
+ readonly type: "string";
7713
+ }, {
7714
+ readonly internalType: "bool";
7715
+ readonly name: "previousDataCopied";
7716
+ readonly type: "bool";
7178
7717
  }];
7179
7718
  readonly internalType: "struct OfferResource[]";
7180
7719
  readonly name: "";
@@ -7185,10 +7724,14 @@ export declare const abi: readonly [{
7185
7724
  }, {
7186
7725
  readonly inputs: readonly [{
7187
7726
  readonly internalType: "uint256";
7188
- readonly name: "teeKeeperId";
7727
+ readonly name: "offerId";
7189
7728
  readonly type: "uint256";
7729
+ }, {
7730
+ readonly internalType: "uint64";
7731
+ readonly name: "version";
7732
+ readonly type: "uint64";
7190
7733
  }];
7191
- readonly name: "getOfferResourcesByKeeperId";
7734
+ readonly name: "getOfferResourcesByOfferVersion";
7192
7735
  readonly outputs: readonly [{
7193
7736
  readonly components: readonly [{
7194
7737
  readonly internalType: "uint256";
@@ -7243,6 +7786,18 @@ export declare const abi: readonly [{
7243
7786
  readonly internalType: "string";
7244
7787
  readonly name: "signedEncryptedData";
7245
7788
  readonly type: "string";
7789
+ }, {
7790
+ readonly internalType: "enum OfferType";
7791
+ readonly name: "offerType";
7792
+ readonly type: "uint8";
7793
+ }, {
7794
+ readonly internalType: "string";
7795
+ readonly name: "solutionHash";
7796
+ readonly type: "string";
7797
+ }, {
7798
+ readonly internalType: "bool";
7799
+ readonly name: "previousDataCopied";
7800
+ readonly type: "bool";
7246
7801
  }];
7247
7802
  readonly internalType: "struct OfferResource[]";
7248
7803
  readonly name: "";
@@ -7264,6 +7819,24 @@ export declare const abi: readonly [{
7264
7819
  }];
7265
7820
  readonly stateMutability: "view";
7266
7821
  readonly type: "function";
7822
+ }, {
7823
+ readonly inputs: readonly [{
7824
+ readonly internalType: "uint256";
7825
+ readonly name: "offerId";
7826
+ readonly type: "uint256";
7827
+ }, {
7828
+ readonly internalType: "uint32";
7829
+ readonly name: "offerVersion";
7830
+ readonly type: "uint32";
7831
+ }];
7832
+ readonly name: "getReplicationFactorFulfilled";
7833
+ readonly outputs: readonly [{
7834
+ readonly internalType: "uint32";
7835
+ readonly name: "";
7836
+ readonly type: "uint32";
7837
+ }];
7838
+ readonly stateMutability: "view";
7839
+ readonly type: "function";
7267
7840
  }, {
7268
7841
  readonly inputs: readonly [{
7269
7842
  readonly components: readonly [{
@@ -7319,6 +7892,120 @@ export declare const abi: readonly [{
7319
7892
  readonly internalType: "string";
7320
7893
  readonly name: "signedEncryptedData";
7321
7894
  readonly type: "string";
7895
+ }, {
7896
+ readonly internalType: "enum OfferType";
7897
+ readonly name: "offerType";
7898
+ readonly type: "uint8";
7899
+ }, {
7900
+ readonly internalType: "string";
7901
+ readonly name: "solutionHash";
7902
+ readonly type: "string";
7903
+ }, {
7904
+ readonly internalType: "bool";
7905
+ readonly name: "previousDataCopied";
7906
+ readonly type: "bool";
7907
+ }];
7908
+ readonly internalType: "struct OfferResource";
7909
+ readonly name: "resource";
7910
+ readonly type: "tuple";
7911
+ }, {
7912
+ readonly internalType: "uint32";
7913
+ readonly name: "n";
7914
+ readonly type: "uint32";
7915
+ }];
7916
+ readonly name: "incrementReplicationFactor";
7917
+ readonly outputs: readonly [];
7918
+ readonly stateMutability: "nonpayable";
7919
+ readonly type: "function";
7920
+ }, {
7921
+ readonly inputs: readonly [{
7922
+ readonly internalType: "uint256";
7923
+ readonly name: "teeOfferIssuerId";
7924
+ readonly type: "uint256";
7925
+ }, {
7926
+ readonly internalType: "uint256";
7927
+ readonly name: "teeOfferKeeperId";
7928
+ readonly type: "uint256";
7929
+ }, {
7930
+ readonly internalType: "uint256";
7931
+ readonly name: "offerId";
7932
+ readonly type: "uint256";
7933
+ }, {
7934
+ readonly internalType: "uint64";
7935
+ readonly name: "offerVersion";
7936
+ readonly type: "uint64";
7937
+ }];
7938
+ readonly name: "removeOfferResource";
7939
+ readonly outputs: readonly [];
7940
+ readonly stateMutability: "nonpayable";
7941
+ readonly type: "function";
7942
+ }, {
7943
+ readonly inputs: readonly [{
7944
+ readonly components: readonly [{
7945
+ readonly internalType: "uint256";
7946
+ readonly name: "offerId";
7947
+ readonly type: "uint256";
7948
+ }, {
7949
+ readonly internalType: "uint256";
7950
+ readonly name: "teeOfferIssuerId";
7951
+ readonly type: "uint256";
7952
+ }, {
7953
+ readonly internalType: "uint256";
7954
+ readonly name: "teeOfferKeeperId";
7955
+ readonly type: "uint256";
7956
+ }, {
7957
+ readonly internalType: "uint256";
7958
+ readonly name: "storageOrderId";
7959
+ readonly type: "uint256";
7960
+ }, {
7961
+ readonly internalType: "uint64";
7962
+ readonly name: "offerVersion";
7963
+ readonly type: "uint64";
7964
+ }, {
7965
+ readonly internalType: "uint32";
7966
+ readonly name: "timestamp";
7967
+ readonly type: "uint32";
7968
+ }, {
7969
+ readonly internalType: "uint32";
7970
+ readonly name: "signedTime";
7971
+ readonly type: "uint32";
7972
+ }, {
7973
+ readonly components: readonly [{
7974
+ readonly internalType: "string";
7975
+ readonly name: "der";
7976
+ readonly type: "string";
7977
+ }, {
7978
+ readonly internalType: "bytes32";
7979
+ readonly name: "r";
7980
+ readonly type: "bytes32";
7981
+ }, {
7982
+ readonly internalType: "bytes32";
7983
+ readonly name: "s";
7984
+ readonly type: "bytes32";
7985
+ }, {
7986
+ readonly internalType: "uint8";
7987
+ readonly name: "v";
7988
+ readonly type: "uint8";
7989
+ }];
7990
+ readonly internalType: "struct Signature";
7991
+ readonly name: "signature";
7992
+ readonly type: "tuple";
7993
+ }, {
7994
+ readonly internalType: "string";
7995
+ readonly name: "signedEncryptedData";
7996
+ readonly type: "string";
7997
+ }, {
7998
+ readonly internalType: "enum OfferType";
7999
+ readonly name: "offerType";
8000
+ readonly type: "uint8";
8001
+ }, {
8002
+ readonly internalType: "string";
8003
+ readonly name: "solutionHash";
8004
+ readonly type: "string";
8005
+ }, {
8006
+ readonly internalType: "bool";
8007
+ readonly name: "previousDataCopied";
8008
+ readonly type: "bool";
7322
8009
  }];
7323
8010
  readonly internalType: "struct OfferResource";
7324
8011
  readonly name: "resource";
@@ -7356,6 +8043,14 @@ export declare const abi: readonly [{
7356
8043
  readonly internalType: "uint32";
7357
8044
  readonly name: "timestamp";
7358
8045
  readonly type: "uint32";
8046
+ }, {
8047
+ readonly internalType: "uint64";
8048
+ readonly name: "offerVersion";
8049
+ readonly type: "uint64";
8050
+ }, {
8051
+ readonly internalType: "uint256";
8052
+ readonly name: "offerId";
8053
+ readonly type: "uint256";
7359
8054
  }];
7360
8055
  readonly internalType: "struct OfferStorageAllocated";
7361
8056
  readonly name: "";
@@ -7363,6 +8058,45 @@ export declare const abi: readonly [{
7363
8058
  }];
7364
8059
  readonly stateMutability: "view";
7365
8060
  readonly type: "function";
8061
+ }, {
8062
+ readonly inputs: readonly [{
8063
+ readonly internalType: "uint256";
8064
+ readonly name: "teeOfferIssurId";
8065
+ readonly type: "uint256";
8066
+ }];
8067
+ readonly name: "getStorageOrdersAllocatedByIssuer";
8068
+ readonly outputs: readonly [{
8069
+ readonly components: readonly [{
8070
+ readonly internalType: "uint256";
8071
+ readonly name: "teeOfferIssuerId";
8072
+ readonly type: "uint256";
8073
+ }, {
8074
+ readonly internalType: "uint256";
8075
+ readonly name: "storageOrderId";
8076
+ readonly type: "uint256";
8077
+ }, {
8078
+ readonly internalType: "uint32";
8079
+ readonly name: "distributionReplicationFactor";
8080
+ readonly type: "uint32";
8081
+ }, {
8082
+ readonly internalType: "uint32";
8083
+ readonly name: "timestamp";
8084
+ readonly type: "uint32";
8085
+ }, {
8086
+ readonly internalType: "uint64";
8087
+ readonly name: "offerVersion";
8088
+ readonly type: "uint64";
8089
+ }, {
8090
+ readonly internalType: "uint256";
8091
+ readonly name: "offerId";
8092
+ readonly type: "uint256";
8093
+ }];
8094
+ readonly internalType: "struct OfferStorageAllocated[]";
8095
+ readonly name: "";
8096
+ readonly type: "tuple[]";
8097
+ }];
8098
+ readonly stateMutability: "view";
8099
+ readonly type: "function";
7366
8100
  }, {
7367
8101
  readonly anonymous: false;
7368
8102
  readonly inputs: readonly [{
@@ -7470,6 +8204,10 @@ export declare const abi: readonly [{
7470
8204
  readonly internalType: "uint32";
7471
8205
  readonly name: "timestamp";
7472
8206
  readonly type: "uint32";
8207
+ }, {
8208
+ readonly internalType: "bool";
8209
+ readonly name: "copyPreviousData";
8210
+ readonly type: "bool";
7473
8211
  }];
7474
8212
  readonly internalType: "struct OfferStorageRequest[]";
7475
8213
  readonly name: "";
@@ -7525,6 +8263,10 @@ export declare const abi: readonly [{
7525
8263
  readonly internalType: "uint32";
7526
8264
  readonly name: "timestamp";
7527
8265
  readonly type: "uint32";
8266
+ }, {
8267
+ readonly internalType: "bool";
8268
+ readonly name: "copyPreviousData";
8269
+ readonly type: "bool";
7528
8270
  }];
7529
8271
  readonly internalType: "struct OfferStorageRequest";
7530
8272
  readonly name: "";
@@ -7570,6 +8312,10 @@ export declare const abi: readonly [{
7570
8312
  readonly internalType: "uint32";
7571
8313
  readonly name: "timestamp";
7572
8314
  readonly type: "uint32";
8315
+ }, {
8316
+ readonly internalType: "bool";
8317
+ readonly name: "copyPreviousData";
8318
+ readonly type: "bool";
7573
8319
  }];
7574
8320
  readonly internalType: "struct OfferStorageRequest";
7575
8321
  readonly name: "request";