@super-protocol/sdk-js 2.2.0-beta.10 → 2.2.0-beta.101

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 (228) 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 +766 -104
  15. package/dist/cjs/contracts/abi.js +968 -119
  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 +9 -1
  27. package/dist/cjs/index.js +16 -2
  28. package/dist/cjs/models/Offer.d.ts +38 -6
  29. package/dist/cjs/models/Offer.js +119 -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 +117 -45
  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 +80 -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 +86 -0
  53. package/dist/cjs/providers/storage/StorjStorageProvider.js +2 -2
  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/LoaderSecretsPublicKeys.js +3 -3
  61. package/dist/cjs/staticModels/LoaderSessions.d.ts +2 -2
  62. package/dist/cjs/staticModels/LoaderSessions.js +5 -5
  63. package/dist/cjs/staticModels/OfferResources.d.ts +2 -1
  64. package/dist/cjs/staticModels/OfferResources.js +24 -8
  65. package/dist/cjs/staticModels/Offers.js +7 -2
  66. package/dist/cjs/staticModels/OffersStorageAllocated.d.ts +1 -2
  67. package/dist/cjs/staticModels/OffersStorageAllocated.js +10 -10
  68. package/dist/cjs/staticModels/OffersStorageRequests.js +4 -3
  69. package/dist/cjs/staticModels/Orders.d.ts +5 -4
  70. package/dist/cjs/staticModels/Orders.js +7 -6
  71. package/dist/cjs/staticModels/SecretRequests.d.ts +1 -1
  72. package/dist/cjs/staticModels/SecretRequests.js +14 -7
  73. package/dist/cjs/staticModels/TeeOffers.d.ts +0 -2
  74. package/dist/cjs/staticModels/TeeOffers.js +5 -38
  75. package/dist/cjs/tee/QuoteParser.d.ts +61 -6
  76. package/dist/cjs/tee/QuoteParser.js +248 -29
  77. package/dist/cjs/tee/QuoteValidator.d.ts +11 -0
  78. package/dist/cjs/tee/QuoteValidator.js +131 -34
  79. package/dist/cjs/tee/TeeBlockVerifier.d.ts +3 -4
  80. package/dist/cjs/tee/TeeBlockVerifier.js +2 -8
  81. package/dist/cjs/tee/errors.d.ts +6 -3
  82. package/dist/cjs/tee/errors.js +9 -5
  83. package/dist/cjs/tee/types.d.ts +50 -9
  84. package/dist/cjs/tee/types.js +32 -1
  85. package/dist/cjs/types/DistributedSecretStorage.d.ts +7 -0
  86. package/dist/cjs/types/Offer.d.ts +20 -5
  87. package/dist/cjs/types/Offer.js +10 -2
  88. package/dist/cjs/types/OfferVersion.d.ts +13 -0
  89. package/dist/cjs/types/OfferVersion.js +9 -0
  90. package/dist/cjs/types/Order.d.ts +8 -2
  91. package/dist/cjs/types/Order.js +3 -1
  92. package/dist/cjs/types/SlotInfo.d.ts +1 -0
  93. package/dist/cjs/types/Superpro.d.ts +2 -1
  94. package/dist/cjs/types/Superpro.js +2 -1
  95. package/dist/cjs/types/TeeOfferInfo.d.ts +2 -1
  96. package/dist/cjs/types/index.d.ts +1 -0
  97. package/dist/cjs/types/index.js +2 -1
  98. package/dist/cjs/types/storage/StorageAccess.d.ts +3 -3
  99. package/dist/cjs/utils/CryptoKeysTransformer.d.ts +7 -1
  100. package/dist/cjs/utils/CryptoKeysTransformer.js +66 -7
  101. package/dist/cjs/utils/NonceTracker.js +1 -1
  102. package/dist/cjs/utils/helper.d.ts +7 -1
  103. package/dist/cjs/utils/helper.js +87 -2
  104. package/dist/cjs/utils/helpers/OrderArgsHelper.d.ts +17 -0
  105. package/dist/cjs/utils/helpers/OrderArgsHelper.js +87 -0
  106. package/dist/cjs/utils/helpers/index.d.ts +2 -0
  107. package/dist/cjs/utils/helpers/index.js +3 -1
  108. package/dist/cjs/utils/helpers/uploadObjectToStorage.d.ts +13 -0
  109. package/dist/cjs/utils/helpers/uploadObjectToStorage.js +55 -0
  110. package/dist/cjs/utils/schema-validators/index.d.ts +1 -0
  111. package/dist/cjs/utils/schema-validators/index.js +6 -0
  112. package/dist/cjs/utils/schema-validators/validator.d.ts +7 -0
  113. package/dist/cjs/utils/schema-validators/validator.js +49 -0
  114. package/dist/mjs/RIGenerator.d.ts +2 -0
  115. package/dist/mjs/RIGenerator.js +6 -4
  116. package/dist/mjs/TIIGenerator.d.ts +2 -1
  117. package/dist/mjs/TIIGenerator.js +13 -3
  118. package/dist/mjs/TeeInputGeneratorBase.d.ts +1 -1
  119. package/dist/mjs/TeeInputGeneratorBase.js +20 -32
  120. package/dist/mjs/analytics/eventProviders/BrowserEventProvider.d.ts +1 -0
  121. package/dist/mjs/analytics/eventProviders/BrowserEventProvider.js +3 -3
  122. package/dist/mjs/analytics/transports/AxiosTransport.js +1 -1
  123. package/dist/mjs/config.d.ts +0 -1
  124. package/dist/mjs/config.js +1 -2
  125. package/dist/mjs/constants.d.ts +5 -4
  126. package/dist/mjs/constants.js +30 -6
  127. package/dist/mjs/contracts/abi.d.ts +766 -104
  128. package/dist/mjs/contracts/abi.js +968 -119
  129. package/dist/mjs/crypto/index.d.ts +1 -0
  130. package/dist/mjs/crypto/index.js +2 -1
  131. package/dist/mjs/errors/base.error.d.ts +3 -0
  132. package/dist/mjs/errors/base.error.js +15 -0
  133. package/dist/mjs/errors/index.d.ts +2 -0
  134. package/dist/mjs/errors/index.js +3 -0
  135. package/dist/mjs/errors/not-found.error.d.ts +3 -0
  136. package/dist/mjs/errors/not-found.error.js +4 -0
  137. package/dist/mjs/errors/utils.d.ts +1 -0
  138. package/dist/mjs/errors/utils.js +18 -0
  139. package/dist/mjs/index.d.ts +9 -1
  140. package/dist/mjs/index.js +9 -2
  141. package/dist/mjs/models/Offer.d.ts +38 -6
  142. package/dist/mjs/models/Offer.js +120 -16
  143. package/dist/mjs/models/Order.d.ts +2 -90
  144. package/dist/mjs/models/Order.js +20 -91
  145. package/dist/mjs/models/Provider.js +1 -1
  146. package/dist/mjs/models/TCB.js +13 -5
  147. package/dist/mjs/models/TeeOffer.d.ts +35 -13
  148. package/dist/mjs/models/TeeOffer.js +113 -41
  149. package/dist/mjs/proto/Compression.d.ts +1 -1
  150. package/dist/mjs/proto/TRI.d.ts +41 -6
  151. package/dist/mjs/proto/TRI.js +18 -1
  152. package/dist/mjs/proto/TeeProperties.d.ts +5 -5
  153. package/dist/mjs/providers/storage/IStorageProvider.d.ts +1 -1
  154. package/dist/mjs/providers/storage/S3StorageProvider.d.ts +8 -7
  155. package/dist/mjs/providers/storage/S3StorageProvider.js +77 -38
  156. package/dist/mjs/providers/storage/StorageAdapter.d.ts +9 -7
  157. package/dist/mjs/providers/storage/StorageAdapter.js +27 -29
  158. package/dist/mjs/providers/storage/StorageContentWriter.d.ts +2 -2
  159. package/dist/mjs/providers/storage/StorageContentWriter.js +5 -5
  160. package/dist/mjs/providers/storage/StorageKeyValueAdapter.d.ts +8 -5
  161. package/dist/mjs/providers/storage/StorageKeyValueAdapter.js +30 -16
  162. package/dist/mjs/providers/storage/StorjAdapter.d.ts +5 -4
  163. package/dist/mjs/providers/storage/StorjAdapter.js +15 -9
  164. package/dist/mjs/providers/storage/StorjCredentialsManager.d.ts +24 -0
  165. package/dist/mjs/providers/storage/StorjCredentialsManager.js +82 -0
  166. package/dist/mjs/providers/storage/StorjStorageProvider.js +2 -2
  167. package/dist/mjs/providers/storage/fs-storage-provider.d.ts +19 -0
  168. package/dist/mjs/providers/storage/fs-storage-provider.js +113 -0
  169. package/dist/mjs/providers/storage/getStorageProvider.js +4 -1
  170. package/dist/mjs/providers/storage/parseStorageCredentials.d.ts +5 -0
  171. package/dist/mjs/providers/storage/parseStorageCredentials.js +17 -0
  172. package/dist/mjs/providers/storage/types.d.ts +22 -0
  173. package/dist/mjs/staticModels/LoaderSecretsPublicKeys.js +4 -4
  174. package/dist/mjs/staticModels/LoaderSessions.d.ts +2 -2
  175. package/dist/mjs/staticModels/LoaderSessions.js +6 -6
  176. package/dist/mjs/staticModels/OfferResources.d.ts +2 -1
  177. package/dist/mjs/staticModels/OfferResources.js +25 -9
  178. package/dist/mjs/staticModels/Offers.js +7 -2
  179. package/dist/mjs/staticModels/OffersStorageAllocated.d.ts +1 -2
  180. package/dist/mjs/staticModels/OffersStorageAllocated.js +11 -11
  181. package/dist/mjs/staticModels/OffersStorageRequests.js +5 -4
  182. package/dist/mjs/staticModels/Orders.d.ts +5 -4
  183. package/dist/mjs/staticModels/Orders.js +7 -6
  184. package/dist/mjs/staticModels/SecretRequests.d.ts +1 -1
  185. package/dist/mjs/staticModels/SecretRequests.js +15 -8
  186. package/dist/mjs/staticModels/TeeOffers.d.ts +0 -2
  187. package/dist/mjs/staticModels/TeeOffers.js +5 -38
  188. package/dist/mjs/store.js +2 -2
  189. package/dist/mjs/tee/QuoteParser.d.ts +61 -6
  190. package/dist/mjs/tee/QuoteParser.js +245 -28
  191. package/dist/mjs/tee/QuoteValidator.d.ts +11 -0
  192. package/dist/mjs/tee/QuoteValidator.js +131 -34
  193. package/dist/mjs/tee/TeeBlockVerifier.d.ts +3 -4
  194. package/dist/mjs/tee/TeeBlockVerifier.js +2 -8
  195. package/dist/mjs/tee/errors.d.ts +6 -3
  196. package/dist/mjs/tee/errors.js +7 -4
  197. package/dist/mjs/tee/types.d.ts +50 -9
  198. package/dist/mjs/tee/types.js +28 -2
  199. package/dist/mjs/types/DistributedSecretStorage.d.ts +7 -0
  200. package/dist/mjs/types/Offer.d.ts +20 -5
  201. package/dist/mjs/types/Offer.js +9 -1
  202. package/dist/mjs/types/OfferVersion.d.ts +13 -0
  203. package/dist/mjs/types/OfferVersion.js +6 -0
  204. package/dist/mjs/types/Order.d.ts +8 -2
  205. package/dist/mjs/types/Order.js +3 -1
  206. package/dist/mjs/types/SlotInfo.d.ts +1 -0
  207. package/dist/mjs/types/Superpro.d.ts +2 -1
  208. package/dist/mjs/types/Superpro.js +2 -1
  209. package/dist/mjs/types/TeeOfferInfo.d.ts +2 -1
  210. package/dist/mjs/types/index.d.ts +1 -0
  211. package/dist/mjs/types/index.js +2 -1
  212. package/dist/mjs/types/storage/StorageAccess.d.ts +3 -3
  213. package/dist/mjs/utils/CryptoKeysTransformer.d.ts +7 -1
  214. package/dist/mjs/utils/CryptoKeysTransformer.js +66 -7
  215. package/dist/mjs/utils/NonceTracker.js +1 -1
  216. package/dist/mjs/utils/helper.d.ts +7 -1
  217. package/dist/mjs/utils/helper.js +80 -1
  218. package/dist/mjs/utils/helpers/OrderArgsHelper.d.ts +17 -0
  219. package/dist/mjs/utils/helpers/OrderArgsHelper.js +80 -0
  220. package/dist/mjs/utils/helpers/index.d.ts +2 -0
  221. package/dist/mjs/utils/helpers/index.js +3 -1
  222. package/dist/mjs/utils/helpers/uploadObjectToStorage.d.ts +13 -0
  223. package/dist/mjs/utils/helpers/uploadObjectToStorage.js +48 -0
  224. package/dist/mjs/utils/schema-validators/index.d.ts +1 -0
  225. package/dist/mjs/utils/schema-validators/index.js +2 -0
  226. package/dist/mjs/utils/schema-validators/validator.d.ts +7 -0
  227. package/dist/mjs/utils/schema-validators/validator.js +45 -0
  228. 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 [{
@@ -1495,7 +1503,7 @@ export declare const abi: readonly [{
1495
1503
  readonly type: "string";
1496
1504
  }, {
1497
1505
  readonly internalType: "string";
1498
- readonly name: "tlb";
1506
+ readonly name: "tlb_DEPRECATED";
1499
1507
  readonly type: "string";
1500
1508
  }, {
1501
1509
  readonly internalType: "string";
@@ -1522,6 +1530,10 @@ export declare const abi: readonly [{
1522
1530
  readonly internalType: "uint64";
1523
1531
  readonly name: "gpuCores";
1524
1532
  readonly type: "uint64";
1533
+ }, {
1534
+ readonly internalType: "uint64";
1535
+ readonly name: "vram";
1536
+ readonly type: "uint64";
1525
1537
  }];
1526
1538
  readonly internalType: "struct SlotInfo";
1527
1539
  readonly name: "slotInfo";
@@ -1543,6 +1555,10 @@ export declare const abi: readonly [{
1543
1555
  readonly internalType: "bool";
1544
1556
  readonly name: "enabled";
1545
1557
  readonly type: "bool";
1558
+ }, {
1559
+ readonly internalType: "enum TeeOfferSubtype";
1560
+ readonly name: "subtype";
1561
+ readonly type: "uint8";
1546
1562
  }];
1547
1563
  readonly name: "createTeeOffer";
1548
1564
  readonly outputs: readonly [];
@@ -1600,7 +1616,7 @@ export declare const abi: readonly [{
1600
1616
  readonly type: "string";
1601
1617
  }, {
1602
1618
  readonly internalType: "string";
1603
- readonly name: "linkage";
1619
+ readonly name: "linkage_DEPRECATED";
1604
1620
  readonly type: "string";
1605
1621
  }, {
1606
1622
  readonly internalType: "string";
@@ -1610,6 +1626,10 @@ export declare const abi: readonly [{
1610
1626
  readonly internalType: "string";
1611
1627
  readonly name: "metadata";
1612
1628
  readonly type: "string";
1629
+ }, {
1630
+ readonly internalType: "string";
1631
+ readonly name: "signatureKey";
1632
+ readonly type: "string";
1613
1633
  }];
1614
1634
  readonly internalType: "struct ValueOfferInfo";
1615
1635
  readonly name: "info";
@@ -1623,9 +1643,13 @@ export declare const abi: readonly [{
1623
1643
  readonly internalType: "enum OfferType[]";
1624
1644
  readonly name: "types";
1625
1645
  readonly type: "uint8[]";
1646
+ }, {
1647
+ readonly internalType: "uint64[]";
1648
+ readonly name: "versions";
1649
+ readonly type: "uint64[]";
1626
1650
  }];
1627
- readonly internalType: "struct ValueOfferInitialRestrictions";
1628
- readonly name: "initRestrictions";
1651
+ readonly internalType: "struct ValueOfferRestrictionsSpecification";
1652
+ readonly name: "restrictionsSpecification";
1629
1653
  readonly type: "tuple";
1630
1654
  }, {
1631
1655
  readonly internalType: "bytes32";
@@ -1640,6 +1664,20 @@ export declare const abi: readonly [{
1640
1664
  readonly outputs: readonly [];
1641
1665
  readonly stateMutability: "nonpayable";
1642
1666
  readonly type: "function";
1667
+ }, {
1668
+ readonly inputs: readonly [{
1669
+ readonly internalType: "uint256";
1670
+ readonly name: "offerId";
1671
+ readonly type: "uint256";
1672
+ }, {
1673
+ readonly internalType: "uint64";
1674
+ readonly name: "version";
1675
+ readonly type: "uint64";
1676
+ }];
1677
+ readonly name: "deleteOfferVersion";
1678
+ readonly outputs: readonly [];
1679
+ readonly stateMutability: "nonpayable";
1680
+ readonly type: "function";
1643
1681
  }, {
1644
1682
  readonly inputs: readonly [{
1645
1683
  readonly internalType: "uint256";
@@ -1688,6 +1726,33 @@ export declare const abi: readonly [{
1688
1726
  readonly outputs: readonly [];
1689
1727
  readonly stateMutability: "nonpayable";
1690
1728
  readonly type: "function";
1729
+ }, {
1730
+ readonly inputs: readonly [{
1731
+ readonly internalType: "uint256";
1732
+ readonly name: "offerId";
1733
+ readonly type: "uint256";
1734
+ }, {
1735
+ readonly internalType: "uint64";
1736
+ readonly name: "newVersion";
1737
+ readonly type: "uint64";
1738
+ }, {
1739
+ readonly components: readonly [{
1740
+ readonly internalType: "string";
1741
+ readonly name: "mrenclave";
1742
+ readonly type: "string";
1743
+ }, {
1744
+ readonly internalType: "string";
1745
+ readonly name: "mrsigner";
1746
+ readonly type: "string";
1747
+ }];
1748
+ readonly internalType: "struct OfferVersionInfo";
1749
+ readonly name: "newVersionInfo";
1750
+ readonly type: "tuple";
1751
+ }];
1752
+ readonly name: "setOfferNewVersion";
1753
+ readonly outputs: readonly [];
1754
+ readonly stateMutability: "nonpayable";
1755
+ readonly type: "function";
1691
1756
  }, {
1692
1757
  readonly inputs: readonly [{
1693
1758
  readonly internalType: "uint256";
@@ -1724,6 +1789,10 @@ export declare const abi: readonly [{
1724
1789
  readonly internalType: "uint64";
1725
1790
  readonly name: "gpuCores";
1726
1791
  readonly type: "uint64";
1792
+ }, {
1793
+ readonly internalType: "uint64";
1794
+ readonly name: "vram";
1795
+ readonly type: "uint64";
1727
1796
  }];
1728
1797
  readonly internalType: "struct SlotInfo";
1729
1798
  readonly name: "newSlotInfo";
@@ -1766,7 +1835,7 @@ export declare const abi: readonly [{
1766
1835
  readonly type: "string";
1767
1836
  }, {
1768
1837
  readonly internalType: "string";
1769
- readonly name: "tlb";
1838
+ readonly name: "tlb_DEPRECATED";
1770
1839
  readonly type: "string";
1771
1840
  }, {
1772
1841
  readonly internalType: "string";
@@ -1787,11 +1856,11 @@ export declare const abi: readonly [{
1787
1856
  readonly name: "offerId";
1788
1857
  readonly type: "uint256";
1789
1858
  }, {
1790
- readonly internalType: "string";
1791
- readonly name: "tlb";
1792
- readonly type: "string";
1859
+ readonly internalType: "enum TeeOfferSubtype";
1860
+ readonly name: "newSubtype";
1861
+ readonly type: "uint8";
1793
1862
  }];
1794
- readonly name: "setTeeOfferTlb";
1863
+ readonly name: "setTeeOfferSubtype";
1795
1864
  readonly outputs: readonly [];
1796
1865
  readonly stateMutability: "nonpayable";
1797
1866
  readonly type: "function";
@@ -1847,7 +1916,7 @@ export declare const abi: readonly [{
1847
1916
  readonly type: "string";
1848
1917
  }, {
1849
1918
  readonly internalType: "string";
1850
- readonly name: "linkage";
1919
+ readonly name: "linkage_DEPRECATED";
1851
1920
  readonly type: "string";
1852
1921
  }, {
1853
1922
  readonly internalType: "string";
@@ -1857,10 +1926,24 @@ export declare const abi: readonly [{
1857
1926
  readonly internalType: "string";
1858
1927
  readonly name: "metadata";
1859
1928
  readonly type: "string";
1929
+ }, {
1930
+ readonly internalType: "string";
1931
+ readonly name: "signatureKey";
1932
+ readonly type: "string";
1860
1933
  }];
1861
1934
  readonly internalType: "struct ValueOfferInfo";
1862
1935
  readonly name: "newInfo";
1863
1936
  readonly type: "tuple";
1937
+ }];
1938
+ readonly name: "setValueOfferInfo";
1939
+ readonly outputs: readonly [];
1940
+ readonly stateMutability: "nonpayable";
1941
+ readonly type: "function";
1942
+ }, {
1943
+ readonly inputs: readonly [{
1944
+ readonly internalType: "uint256";
1945
+ readonly name: "offerId";
1946
+ readonly type: "uint256";
1864
1947
  }, {
1865
1948
  readonly components: readonly [{
1866
1949
  readonly internalType: "uint256[]";
@@ -1870,12 +1953,16 @@ export declare const abi: readonly [{
1870
1953
  readonly internalType: "enum OfferType[]";
1871
1954
  readonly name: "types";
1872
1955
  readonly type: "uint8[]";
1956
+ }, {
1957
+ readonly internalType: "uint64[]";
1958
+ readonly name: "versions";
1959
+ readonly type: "uint64[]";
1873
1960
  }];
1874
- readonly internalType: "struct ValueOfferInitialRestrictions";
1875
- readonly name: "newRestrictions";
1961
+ readonly internalType: "struct ValueOfferRestrictionsSpecification";
1962
+ readonly name: "newSpecification";
1876
1963
  readonly type: "tuple";
1877
1964
  }];
1878
- readonly name: "setValueOfferInfo";
1965
+ readonly name: "setValueOfferRestrictionsSpecification";
1879
1966
  readonly outputs: readonly [];
1880
1967
  readonly stateMutability: "nonpayable";
1881
1968
  readonly type: "function";
@@ -1918,7 +2005,7 @@ export declare const abi: readonly [{
1918
2005
  readonly type: "string";
1919
2006
  }, {
1920
2007
  readonly internalType: "string";
1921
- readonly name: "tlb";
2008
+ readonly name: "tlb_DEPRECATED";
1922
2009
  readonly type: "string";
1923
2010
  }, {
1924
2011
  readonly internalType: "string";
@@ -1932,6 +2019,10 @@ export declare const abi: readonly [{
1932
2019
  readonly internalType: "bool";
1933
2020
  readonly name: "enabled";
1934
2021
  readonly type: "bool";
2022
+ }, {
2023
+ readonly internalType: "enum TeeOfferSubtype";
2024
+ readonly name: "subtype";
2025
+ readonly type: "uint8";
1935
2026
  }];
1936
2027
  readonly internalType: "struct TeeOfferData[]";
1937
2028
  readonly name: "";
@@ -2010,7 +2101,7 @@ export declare const abi: readonly [{
2010
2101
  readonly type: "string";
2011
2102
  }, {
2012
2103
  readonly internalType: "string";
2013
- readonly name: "linkage";
2104
+ readonly name: "linkage_DEPRECATED";
2014
2105
  readonly type: "string";
2015
2106
  }, {
2016
2107
  readonly internalType: "string";
@@ -2020,6 +2111,10 @@ export declare const abi: readonly [{
2020
2111
  readonly internalType: "string";
2021
2112
  readonly name: "metadata";
2022
2113
  readonly type: "string";
2114
+ }, {
2115
+ readonly internalType: "string";
2116
+ readonly name: "signatureKey";
2117
+ readonly type: "string";
2023
2118
  }];
2024
2119
  readonly internalType: "struct ValueOfferInfo";
2025
2120
  readonly name: "info";
@@ -2049,29 +2144,6 @@ export declare const abi: readonly [{
2049
2144
  }];
2050
2145
  readonly stateMutability: "view";
2051
2146
  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
2147
  }, {
2076
2148
  readonly inputs: readonly [{
2077
2149
  readonly internalType: "uint256";
@@ -2161,6 +2233,33 @@ export declare const abi: readonly [{
2161
2233
  }];
2162
2234
  readonly stateMutability: "view";
2163
2235
  readonly type: "function";
2236
+ }, {
2237
+ readonly inputs: readonly [{
2238
+ readonly internalType: "uint256";
2239
+ readonly name: "offerId";
2240
+ readonly type: "uint256";
2241
+ }];
2242
+ readonly name: "getOfferRestrictionsSpecification";
2243
+ readonly outputs: readonly [{
2244
+ readonly components: readonly [{
2245
+ readonly internalType: "uint256[]";
2246
+ readonly name: "offers";
2247
+ readonly type: "uint256[]";
2248
+ }, {
2249
+ readonly internalType: "enum OfferType[]";
2250
+ readonly name: "types";
2251
+ readonly type: "uint8[]";
2252
+ }, {
2253
+ readonly internalType: "uint64[]";
2254
+ readonly name: "versions";
2255
+ readonly type: "uint64[]";
2256
+ }];
2257
+ readonly internalType: "struct ValueOfferRestrictionsSpecification";
2258
+ readonly name: "";
2259
+ readonly type: "tuple";
2260
+ }];
2261
+ readonly stateMutability: "view";
2262
+ readonly type: "function";
2164
2263
  }, {
2165
2264
  readonly inputs: readonly [{
2166
2265
  readonly internalType: "uint256";
@@ -2175,6 +2274,60 @@ export declare const abi: readonly [{
2175
2274
  }];
2176
2275
  readonly stateMutability: "view";
2177
2276
  readonly type: "function";
2277
+ }, {
2278
+ readonly inputs: readonly [{
2279
+ readonly internalType: "uint256";
2280
+ readonly name: "offerId";
2281
+ readonly type: "uint256";
2282
+ }, {
2283
+ readonly internalType: "uint64";
2284
+ readonly name: "version";
2285
+ readonly type: "uint64";
2286
+ }];
2287
+ readonly name: "getOfferVersion";
2288
+ readonly outputs: readonly [{
2289
+ readonly components: readonly [{
2290
+ readonly internalType: "uint64";
2291
+ readonly name: "version";
2292
+ readonly type: "uint64";
2293
+ }, {
2294
+ readonly components: readonly [{
2295
+ readonly internalType: "string";
2296
+ readonly name: "mrenclave";
2297
+ readonly type: "string";
2298
+ }, {
2299
+ readonly internalType: "string";
2300
+ readonly name: "mrsigner";
2301
+ readonly type: "string";
2302
+ }];
2303
+ readonly internalType: "struct OfferVersionInfo";
2304
+ readonly name: "info";
2305
+ readonly type: "tuple";
2306
+ }, {
2307
+ readonly internalType: "enum OfferVersionStatus";
2308
+ readonly name: "status";
2309
+ readonly type: "uint8";
2310
+ }];
2311
+ readonly internalType: "struct OfferVersion";
2312
+ readonly name: "";
2313
+ readonly type: "tuple";
2314
+ }];
2315
+ readonly stateMutability: "view";
2316
+ readonly type: "function";
2317
+ }, {
2318
+ readonly inputs: readonly [{
2319
+ readonly internalType: "uint256";
2320
+ readonly name: "offerId";
2321
+ readonly type: "uint256";
2322
+ }];
2323
+ readonly name: "getOfferVersionsCount";
2324
+ readonly outputs: readonly [{
2325
+ readonly internalType: "uint256";
2326
+ readonly name: "";
2327
+ readonly type: "uint256";
2328
+ }];
2329
+ readonly stateMutability: "view";
2330
+ readonly type: "function";
2178
2331
  }, {
2179
2332
  readonly inputs: readonly [{
2180
2333
  readonly internalType: "enum OfferType";
@@ -2234,7 +2387,7 @@ export declare const abi: readonly [{
2234
2387
  readonly type: "string";
2235
2388
  }, {
2236
2389
  readonly internalType: "string";
2237
- readonly name: "tlb";
2390
+ readonly name: "tlb_DEPRECATED";
2238
2391
  readonly type: "string";
2239
2392
  }, {
2240
2393
  readonly internalType: "string";
@@ -2248,6 +2401,10 @@ export declare const abi: readonly [{
2248
2401
  readonly internalType: "bool";
2249
2402
  readonly name: "enabled";
2250
2403
  readonly type: "bool";
2404
+ }, {
2405
+ readonly internalType: "enum TeeOfferSubtype";
2406
+ readonly name: "subtype";
2407
+ readonly type: "uint8";
2251
2408
  }];
2252
2409
  readonly internalType: "struct TeeOfferData";
2253
2410
  readonly name: "ret";
@@ -2279,6 +2436,10 @@ export declare const abi: readonly [{
2279
2436
  readonly internalType: "uint64";
2280
2437
  readonly name: "gpuCores";
2281
2438
  readonly type: "uint64";
2439
+ }, {
2440
+ readonly internalType: "uint64";
2441
+ readonly name: "vram";
2442
+ readonly type: "uint64";
2282
2443
  }];
2283
2444
  readonly internalType: "struct SlotInfo";
2284
2445
  readonly name: "";
@@ -2301,11 +2462,11 @@ export declare const abi: readonly [{
2301
2462
  readonly name: "offerId";
2302
2463
  readonly type: "uint256";
2303
2464
  }];
2304
- readonly name: "getTeeOfferLastTlbAddedTime";
2465
+ readonly name: "getTeeOfferSubtype";
2305
2466
  readonly outputs: readonly [{
2306
- readonly internalType: "uint256";
2467
+ readonly internalType: "enum TeeOfferSubtype";
2307
2468
  readonly name: "";
2308
- readonly type: "uint256";
2469
+ readonly type: "uint8";
2309
2470
  }];
2310
2471
  readonly stateMutability: "view";
2311
2472
  readonly type: "function";
@@ -2372,7 +2533,7 @@ export declare const abi: readonly [{
2372
2533
  readonly type: "string";
2373
2534
  }, {
2374
2535
  readonly internalType: "string";
2375
- readonly name: "linkage";
2536
+ readonly name: "linkage_DEPRECATED";
2376
2537
  readonly type: "string";
2377
2538
  }, {
2378
2539
  readonly internalType: "string";
@@ -2382,6 +2543,10 @@ export declare const abi: readonly [{
2382
2543
  readonly internalType: "string";
2383
2544
  readonly name: "metadata";
2384
2545
  readonly type: "string";
2546
+ }, {
2547
+ readonly internalType: "string";
2548
+ readonly name: "signatureKey";
2549
+ readonly type: "string";
2385
2550
  }];
2386
2551
  readonly internalType: "struct ValueOfferInfo";
2387
2552
  readonly name: "info";
@@ -2411,6 +2576,32 @@ export declare const abi: readonly [{
2411
2576
  }];
2412
2577
  readonly stateMutability: "view";
2413
2578
  readonly type: "function";
2579
+ }, {
2580
+ readonly inputs: readonly [{
2581
+ readonly internalType: "uint256";
2582
+ readonly name: "firstId";
2583
+ readonly type: "uint256";
2584
+ }, {
2585
+ readonly internalType: "uint64";
2586
+ readonly name: "firstVersion";
2587
+ readonly type: "uint64";
2588
+ }, {
2589
+ readonly internalType: "uint256";
2590
+ readonly name: "secondId";
2591
+ readonly type: "uint256";
2592
+ }, {
2593
+ readonly internalType: "uint64";
2594
+ readonly name: "secondVersion";
2595
+ readonly type: "uint64";
2596
+ }];
2597
+ readonly name: "isMagicallySameOfferVersion";
2598
+ readonly outputs: readonly [{
2599
+ readonly internalType: "bool";
2600
+ readonly name: "";
2601
+ readonly type: "bool";
2602
+ }];
2603
+ readonly stateMutability: "pure";
2604
+ readonly type: "function";
2414
2605
  }, {
2415
2606
  readonly inputs: readonly [{
2416
2607
  readonly internalType: "uint256";
@@ -2498,6 +2689,10 @@ export declare const abi: readonly [{
2498
2689
  readonly internalType: "uint256";
2499
2690
  readonly name: "otherOfferId";
2500
2691
  readonly type: "uint256";
2692
+ }, {
2693
+ readonly internalType: "uint64";
2694
+ readonly name: "otherOfferVersion";
2695
+ readonly type: "uint64";
2501
2696
  }];
2502
2697
  readonly name: "isOfferRestrictionsPermitOtherOffer";
2503
2698
  readonly outputs: readonly [{
@@ -2507,6 +2702,24 @@ export declare const abi: readonly [{
2507
2702
  }];
2508
2703
  readonly stateMutability: "view";
2509
2704
  readonly type: "function";
2705
+ }, {
2706
+ readonly inputs: readonly [{
2707
+ readonly internalType: "uint256";
2708
+ readonly name: "offerId";
2709
+ readonly type: "uint256";
2710
+ }, {
2711
+ readonly internalType: "uint64";
2712
+ readonly name: "version";
2713
+ readonly type: "uint64";
2714
+ }];
2715
+ readonly name: "isOfferVersionAvailable";
2716
+ readonly outputs: readonly [{
2717
+ readonly internalType: "bool";
2718
+ readonly name: "";
2719
+ readonly type: "bool";
2720
+ }];
2721
+ readonly stateMutability: "view";
2722
+ readonly type: "function";
2510
2723
  }, {
2511
2724
  readonly inputs: readonly [{
2512
2725
  readonly internalType: "uint256";
@@ -2713,6 +2926,10 @@ export declare const abi: readonly [{
2713
2926
  readonly internalType: "uint256";
2714
2927
  readonly name: "maxPriceSlippage";
2715
2928
  readonly type: "uint256";
2929
+ }, {
2930
+ readonly internalType: "uint64";
2931
+ readonly name: "offerVersion";
2932
+ readonly type: "uint64";
2716
2933
  }];
2717
2934
  readonly internalType: "struct OrderInfo";
2718
2935
  readonly name: "info";
@@ -2741,12 +2958,20 @@ export declare const abi: readonly [{
2741
2958
  }, {
2742
2959
  readonly components: readonly [{
2743
2960
  readonly internalType: "uint256[]";
2744
- readonly name: "inputOffers";
2961
+ readonly name: "inputOffersIds";
2745
2962
  readonly type: "uint256[]";
2746
2963
  }, {
2747
2964
  readonly internalType: "uint256";
2748
- readonly name: "outputOffer";
2965
+ readonly name: "outputOfferId";
2749
2966
  readonly type: "uint256";
2967
+ }, {
2968
+ readonly internalType: "uint64[]";
2969
+ readonly name: "inputOffersVersions";
2970
+ readonly type: "uint64[]";
2971
+ }, {
2972
+ readonly internalType: "uint64";
2973
+ readonly name: "outputOfferVersion";
2974
+ readonly type: "uint64";
2750
2975
  }];
2751
2976
  readonly internalType: "struct OrderArgs";
2752
2977
  readonly name: "args";
@@ -2806,6 +3031,10 @@ export declare const abi: readonly [{
2806
3031
  readonly internalType: "uint256";
2807
3032
  readonly name: "maxPriceSlippage";
2808
3033
  readonly type: "uint256";
3034
+ }, {
3035
+ readonly internalType: "uint64";
3036
+ readonly name: "offerVersion";
3037
+ readonly type: "uint64";
2809
3038
  }];
2810
3039
  readonly internalType: "struct OrderInfo";
2811
3040
  readonly name: "info";
@@ -2834,12 +3063,20 @@ export declare const abi: readonly [{
2834
3063
  }, {
2835
3064
  readonly components: readonly [{
2836
3065
  readonly internalType: "uint256[]";
2837
- readonly name: "inputOffers";
3066
+ readonly name: "inputOffersIds";
2838
3067
  readonly type: "uint256[]";
2839
3068
  }, {
2840
3069
  readonly internalType: "uint256";
2841
- readonly name: "outputOffer";
3070
+ readonly name: "outputOfferId";
2842
3071
  readonly type: "uint256";
3072
+ }, {
3073
+ readonly internalType: "uint64[]";
3074
+ readonly name: "inputOffersVersions";
3075
+ readonly type: "uint64[]";
3076
+ }, {
3077
+ readonly internalType: "uint64";
3078
+ readonly name: "outputOfferVersion";
3079
+ readonly type: "uint64";
2843
3080
  }];
2844
3081
  readonly internalType: "struct OrderArgs";
2845
3082
  readonly name: "args";
@@ -2899,6 +3136,10 @@ export declare const abi: readonly [{
2899
3136
  readonly internalType: "uint256";
2900
3137
  readonly name: "maxPriceSlippage";
2901
3138
  readonly type: "uint256";
3139
+ }, {
3140
+ readonly internalType: "uint64";
3141
+ readonly name: "offerVersion";
3142
+ readonly type: "uint64";
2902
3143
  }];
2903
3144
  readonly internalType: "struct OrderInfo";
2904
3145
  readonly name: "suborderInfo";
@@ -2927,12 +3168,20 @@ export declare const abi: readonly [{
2927
3168
  }, {
2928
3169
  readonly components: readonly [{
2929
3170
  readonly internalType: "uint256[]";
2930
- readonly name: "inputOffers";
3171
+ readonly name: "inputOffersIds";
2931
3172
  readonly type: "uint256[]";
2932
3173
  }, {
2933
3174
  readonly internalType: "uint256";
2934
- readonly name: "outputOffer";
3175
+ readonly name: "outputOfferId";
2935
3176
  readonly type: "uint256";
3177
+ }, {
3178
+ readonly internalType: "uint64[]";
3179
+ readonly name: "inputOffersVersions";
3180
+ readonly type: "uint64[]";
3181
+ }, {
3182
+ readonly internalType: "uint64";
3183
+ readonly name: "outputOfferVersion";
3184
+ readonly type: "uint64";
2936
3185
  }];
2937
3186
  readonly internalType: "struct OrderArgs";
2938
3187
  readonly name: "suborderArgs";
@@ -3001,6 +3250,10 @@ export declare const abi: readonly [{
3001
3250
  readonly internalType: "uint256";
3002
3251
  readonly name: "maxPriceSlippage";
3003
3252
  readonly type: "uint256";
3253
+ }, {
3254
+ readonly internalType: "uint64";
3255
+ readonly name: "offerVersion";
3256
+ readonly type: "uint64";
3004
3257
  }];
3005
3258
  readonly internalType: "struct OrderInfo";
3006
3259
  readonly name: "suborderInfo";
@@ -3029,12 +3282,20 @@ export declare const abi: readonly [{
3029
3282
  }, {
3030
3283
  readonly components: readonly [{
3031
3284
  readonly internalType: "uint256[]";
3032
- readonly name: "inputOffers";
3285
+ readonly name: "inputOffersIds";
3033
3286
  readonly type: "uint256[]";
3034
3287
  }, {
3035
3288
  readonly internalType: "uint256";
3036
- readonly name: "outputOffer";
3289
+ readonly name: "outputOfferId";
3037
3290
  readonly type: "uint256";
3291
+ }, {
3292
+ readonly internalType: "uint64[]";
3293
+ readonly name: "inputOffersVersions";
3294
+ readonly type: "uint64[]";
3295
+ }, {
3296
+ readonly internalType: "uint64";
3297
+ readonly name: "outputOfferVersion";
3298
+ readonly type: "uint64";
3038
3299
  }];
3039
3300
  readonly internalType: "struct OrderArgs";
3040
3301
  readonly name: "suborderArgs";
@@ -3146,15 +3407,33 @@ export declare const abi: readonly [{
3146
3407
  readonly internalType: "uint256";
3147
3408
  readonly name: "orderId";
3148
3409
  readonly type: "uint256";
3149
- }];
3150
- readonly name: "isOrderProfitAvailable";
3151
- readonly outputs: readonly [{
3152
- readonly internalType: "bool";
3153
- readonly name: "available";
3154
- readonly type: "bool";
3155
3410
  }, {
3156
3411
  readonly internalType: "uint256";
3157
- readonly name: "profit";
3412
+ readonly name: "amount";
3413
+ readonly type: "uint256";
3414
+ }];
3415
+ readonly name: "debitOrderDepositByApp";
3416
+ readonly outputs: readonly [{
3417
+ readonly internalType: "uint256";
3418
+ readonly name: "";
3419
+ readonly type: "uint256";
3420
+ }];
3421
+ readonly stateMutability: "nonpayable";
3422
+ readonly type: "function";
3423
+ }, {
3424
+ readonly inputs: readonly [{
3425
+ readonly internalType: "uint256";
3426
+ readonly name: "orderId";
3427
+ readonly type: "uint256";
3428
+ }];
3429
+ readonly name: "isOrderProfitAvailable";
3430
+ readonly outputs: readonly [{
3431
+ readonly internalType: "bool";
3432
+ readonly name: "available";
3433
+ readonly type: "bool";
3434
+ }, {
3435
+ readonly internalType: "uint256";
3436
+ readonly name: "profit";
3158
3437
  readonly type: "uint256";
3159
3438
  }];
3160
3439
  readonly stateMutability: "view";
@@ -3366,6 +3645,20 @@ export declare const abi: readonly [{
3366
3645
  readonly outputs: readonly [];
3367
3646
  readonly stateMutability: "nonpayable";
3368
3647
  readonly type: "function";
3648
+ }, {
3649
+ readonly inputs: readonly [{
3650
+ readonly internalType: "uint256";
3651
+ readonly name: "orderId";
3652
+ readonly type: "uint256";
3653
+ }, {
3654
+ readonly internalType: "string";
3655
+ readonly name: "newCertificate";
3656
+ readonly type: "string";
3657
+ }];
3658
+ readonly name: "setOrderCertificate";
3659
+ readonly outputs: readonly [];
3660
+ readonly stateMutability: "nonpayable";
3661
+ readonly type: "function";
3369
3662
  }, {
3370
3663
  readonly inputs: readonly [{
3371
3664
  readonly internalType: "uint256";
@@ -3639,11 +3932,11 @@ export declare const abi: readonly [{
3639
3932
  readonly name: "subOfferId";
3640
3933
  readonly type: "uint256";
3641
3934
  }, {
3642
- readonly internalType: "enum OfferGroup";
3643
- readonly name: "subOfferGroup";
3644
- readonly type: "uint8";
3935
+ readonly internalType: "uint64";
3936
+ readonly name: "subOfferVersion";
3937
+ readonly type: "uint64";
3645
3938
  }];
3646
- readonly name: "checkOrderRestrictions";
3939
+ readonly name: "checkParentOrderArgsCompliesWithSubOfferRestrictions";
3647
3940
  readonly outputs: readonly [];
3648
3941
  readonly stateMutability: "view";
3649
3942
  readonly type: "function";
@@ -3733,6 +4026,10 @@ export declare const abi: readonly [{
3733
4026
  readonly internalType: "uint256";
3734
4027
  readonly name: "maxPriceSlippage";
3735
4028
  readonly type: "uint256";
4029
+ }, {
4030
+ readonly internalType: "uint64";
4031
+ readonly name: "offerVersion";
4032
+ readonly type: "uint64";
3736
4033
  }];
3737
4034
  readonly internalType: "struct OrderInfo";
3738
4035
  readonly name: "";
@@ -3763,12 +4060,20 @@ export declare const abi: readonly [{
3763
4060
  readonly outputs: readonly [{
3764
4061
  readonly components: readonly [{
3765
4062
  readonly internalType: "uint256[]";
3766
- readonly name: "inputOffers";
4063
+ readonly name: "inputOffersIds";
3767
4064
  readonly type: "uint256[]";
3768
4065
  }, {
3769
4066
  readonly internalType: "uint256";
3770
- readonly name: "outputOffer";
4067
+ readonly name: "outputOfferId";
3771
4068
  readonly type: "uint256";
4069
+ }, {
4070
+ readonly internalType: "uint64[]";
4071
+ readonly name: "inputOffersVersions";
4072
+ readonly type: "uint64[]";
4073
+ }, {
4074
+ readonly internalType: "uint64";
4075
+ readonly name: "outputOfferVersion";
4076
+ readonly type: "uint64";
3772
4077
  }];
3773
4078
  readonly internalType: "struct OrderArgs";
3774
4079
  readonly name: "";
@@ -3776,6 +4081,34 @@ export declare const abi: readonly [{
3776
4081
  }];
3777
4082
  readonly stateMutability: "view";
3778
4083
  readonly type: "function";
4084
+ }, {
4085
+ readonly inputs: readonly [{
4086
+ readonly internalType: "uint256";
4087
+ readonly name: "orderId";
4088
+ readonly type: "uint256";
4089
+ }];
4090
+ readonly name: "getOrderCertificate";
4091
+ readonly outputs: readonly [{
4092
+ readonly internalType: "string";
4093
+ readonly name: "";
4094
+ readonly type: "string";
4095
+ }];
4096
+ readonly stateMutability: "view";
4097
+ readonly type: "function";
4098
+ }, {
4099
+ readonly inputs: readonly [{
4100
+ readonly internalType: "uint256";
4101
+ readonly name: "orderId";
4102
+ readonly type: "uint256";
4103
+ }];
4104
+ readonly name: "getOrderConsumer";
4105
+ readonly outputs: readonly [{
4106
+ readonly internalType: "address";
4107
+ readonly name: "";
4108
+ readonly type: "address";
4109
+ }];
4110
+ readonly stateMutability: "view";
4111
+ readonly type: "function";
3779
4112
  }, {
3780
4113
  readonly inputs: readonly [{
3781
4114
  readonly internalType: "uint256";
@@ -3930,6 +4263,10 @@ export declare const abi: readonly [{
3930
4263
  readonly internalType: "uint64";
3931
4264
  readonly name: "gpuCores";
3932
4265
  readonly type: "uint64";
4266
+ }, {
4267
+ readonly internalType: "uint64";
4268
+ readonly name: "vram";
4269
+ readonly type: "uint64";
3933
4270
  }];
3934
4271
  readonly internalType: "struct SlotInfo";
3935
4272
  readonly name: "";
@@ -5088,8 +5425,22 @@ export declare const abi: readonly [{
5088
5425
  readonly type: "string";
5089
5426
  }];
5090
5427
  readonly internalType: "struct OptionInfo";
5091
- readonly name: "info";
5428
+ readonly name: "newInfo";
5092
5429
  readonly type: "tuple";
5430
+ }];
5431
+ readonly name: "updateOptionInfo";
5432
+ readonly outputs: readonly [];
5433
+ readonly stateMutability: "nonpayable";
5434
+ readonly type: "function";
5435
+ }, {
5436
+ readonly inputs: readonly [{
5437
+ readonly internalType: "uint256";
5438
+ readonly name: "teeOfferId";
5439
+ readonly type: "uint256";
5440
+ }, {
5441
+ readonly internalType: "uint256";
5442
+ readonly name: "optionId";
5443
+ readonly type: "uint256";
5093
5444
  }, {
5094
5445
  readonly components: readonly [{
5095
5446
  readonly internalType: "enum PriceType";
@@ -5109,10 +5460,10 @@ export declare const abi: readonly [{
5109
5460
  readonly type: "uint64";
5110
5461
  }];
5111
5462
  readonly internalType: "struct SlotUsage";
5112
- readonly name: "usage";
5463
+ readonly name: "newUsage";
5113
5464
  readonly type: "tuple";
5114
5465
  }];
5115
- readonly name: "updateOption";
5466
+ readonly name: "updateOptionUsage";
5116
5467
  readonly outputs: readonly [];
5117
5468
  readonly stateMutability: "nonpayable";
5118
5469
  readonly type: "function";
@@ -5197,6 +5548,10 @@ export declare const abi: readonly [{
5197
5548
  readonly internalType: "uint64";
5198
5549
  readonly name: "gpuCores";
5199
5550
  readonly type: "uint64";
5551
+ }, {
5552
+ readonly internalType: "uint64";
5553
+ readonly name: "vram";
5554
+ readonly type: "uint64";
5200
5555
  }];
5201
5556
  readonly internalType: "struct SlotInfo";
5202
5557
  readonly name: "info";
@@ -5284,6 +5639,10 @@ export declare const abi: readonly [{
5284
5639
  readonly internalType: "uint64";
5285
5640
  readonly name: "gpuCores";
5286
5641
  readonly type: "uint64";
5642
+ }, {
5643
+ readonly internalType: "uint64";
5644
+ readonly name: "vram";
5645
+ readonly type: "uint64";
5287
5646
  }];
5288
5647
  readonly internalType: "struct SlotInfo";
5289
5648
  readonly name: "info";
@@ -5353,6 +5712,10 @@ export declare const abi: readonly [{
5353
5712
  readonly internalType: "uint64";
5354
5713
  readonly name: "gpuCores";
5355
5714
  readonly type: "uint64";
5715
+ }, {
5716
+ readonly internalType: "uint64";
5717
+ readonly name: "vram";
5718
+ readonly type: "uint64";
5356
5719
  }];
5357
5720
  readonly internalType: "struct SlotInfo";
5358
5721
  readonly name: "info";
@@ -5453,10 +5816,28 @@ export declare const abi: readonly [{
5453
5816
  readonly internalType: "uint64";
5454
5817
  readonly name: "gpuCores";
5455
5818
  readonly type: "uint64";
5819
+ }, {
5820
+ readonly internalType: "uint64";
5821
+ readonly name: "vram";
5822
+ readonly type: "uint64";
5456
5823
  }];
5457
5824
  readonly internalType: "struct SlotInfo";
5458
- readonly name: "info";
5825
+ readonly name: "newInfo";
5459
5826
  readonly type: "tuple";
5827
+ }];
5828
+ readonly name: "updateTeeOfferSlotInfo";
5829
+ readonly outputs: readonly [];
5830
+ readonly stateMutability: "nonpayable";
5831
+ readonly type: "function";
5832
+ }, {
5833
+ readonly inputs: readonly [{
5834
+ readonly internalType: "uint256";
5835
+ readonly name: "teeOfferId";
5836
+ readonly type: "uint256";
5837
+ }, {
5838
+ readonly internalType: "uint256";
5839
+ readonly name: "slotId";
5840
+ readonly type: "uint256";
5460
5841
  }, {
5461
5842
  readonly components: readonly [{
5462
5843
  readonly internalType: "enum PriceType";
@@ -5476,10 +5857,10 @@ export declare const abi: readonly [{
5476
5857
  readonly type: "uint64";
5477
5858
  }];
5478
5859
  readonly internalType: "struct SlotUsage";
5479
- readonly name: "usage";
5860
+ readonly name: "newUsage";
5480
5861
  readonly type: "tuple";
5481
5862
  }];
5482
- readonly name: "updateTeeOfferSlot";
5863
+ readonly name: "updateTeeOfferSlotUsage";
5483
5864
  readonly outputs: readonly [];
5484
5865
  readonly stateMutability: "nonpayable";
5485
5866
  readonly type: "function";
@@ -5557,7 +5938,7 @@ export declare const abi: readonly [{
5557
5938
  readonly name: "teeOfferId";
5558
5939
  readonly type: "uint256";
5559
5940
  }];
5560
- readonly name: "confisacateAllRewards";
5941
+ readonly name: "confiscateAllRewards";
5561
5942
  readonly outputs: readonly [];
5562
5943
  readonly stateMutability: "nonpayable";
5563
5944
  readonly type: "function";
@@ -5782,6 +6163,10 @@ export declare const abi: readonly [{
5782
6163
  readonly internalType: "uint64";
5783
6164
  readonly name: "gpuCores";
5784
6165
  readonly type: "uint64";
6166
+ }, {
6167
+ readonly internalType: "uint64";
6168
+ readonly name: "vram";
6169
+ readonly type: "uint64";
5785
6170
  }];
5786
6171
  readonly internalType: "struct SlotInfo";
5787
6172
  readonly name: "info";
@@ -5882,6 +6267,10 @@ export declare const abi: readonly [{
5882
6267
  readonly internalType: "uint64";
5883
6268
  readonly name: "gpuCores";
5884
6269
  readonly type: "uint64";
6270
+ }, {
6271
+ readonly internalType: "uint64";
6272
+ readonly name: "vram";
6273
+ readonly type: "uint64";
5885
6274
  }];
5886
6275
  readonly internalType: "struct SlotInfo";
5887
6276
  readonly name: "info";
@@ -5960,6 +6349,10 @@ export declare const abi: readonly [{
5960
6349
  readonly internalType: "uint64";
5961
6350
  readonly name: "gpuCores";
5962
6351
  readonly type: "uint64";
6352
+ }, {
6353
+ readonly internalType: "uint64";
6354
+ readonly name: "vram";
6355
+ readonly type: "uint64";
5963
6356
  }];
5964
6357
  readonly internalType: "struct SlotInfo";
5965
6358
  readonly name: "info";
@@ -6069,10 +6462,28 @@ export declare const abi: readonly [{
6069
6462
  readonly internalType: "uint64";
6070
6463
  readonly name: "gpuCores";
6071
6464
  readonly type: "uint64";
6465
+ }, {
6466
+ readonly internalType: "uint64";
6467
+ readonly name: "vram";
6468
+ readonly type: "uint64";
6072
6469
  }];
6073
6470
  readonly internalType: "struct SlotInfo";
6074
- readonly name: "info";
6471
+ readonly name: "newInfo";
6075
6472
  readonly type: "tuple";
6473
+ }];
6474
+ readonly name: "updateValueOfferSlotInfo";
6475
+ readonly outputs: readonly [];
6476
+ readonly stateMutability: "nonpayable";
6477
+ readonly type: "function";
6478
+ }, {
6479
+ readonly inputs: readonly [{
6480
+ readonly internalType: "uint256";
6481
+ readonly name: "offerId";
6482
+ readonly type: "uint256";
6483
+ }, {
6484
+ readonly internalType: "uint256";
6485
+ readonly name: "slotId";
6486
+ readonly type: "uint256";
6076
6487
  }, {
6077
6488
  readonly components: readonly [{
6078
6489
  readonly internalType: "string";
@@ -6080,8 +6491,22 @@ export declare const abi: readonly [{
6080
6491
  readonly type: "string";
6081
6492
  }];
6082
6493
  readonly internalType: "struct OptionInfo";
6083
- readonly name: "option";
6494
+ readonly name: "newOption";
6084
6495
  readonly type: "tuple";
6496
+ }];
6497
+ readonly name: "updateValueOfferSlotOption";
6498
+ readonly outputs: readonly [];
6499
+ readonly stateMutability: "nonpayable";
6500
+ readonly type: "function";
6501
+ }, {
6502
+ readonly inputs: readonly [{
6503
+ readonly internalType: "uint256";
6504
+ readonly name: "offerId";
6505
+ readonly type: "uint256";
6506
+ }, {
6507
+ readonly internalType: "uint256";
6508
+ readonly name: "slotId";
6509
+ readonly type: "uint256";
6085
6510
  }, {
6086
6511
  readonly components: readonly [{
6087
6512
  readonly internalType: "enum PriceType";
@@ -6101,10 +6526,10 @@ export declare const abi: readonly [{
6101
6526
  readonly type: "uint64";
6102
6527
  }];
6103
6528
  readonly internalType: "struct SlotUsage";
6104
- readonly name: "usage";
6529
+ readonly name: "newUsage";
6105
6530
  readonly type: "tuple";
6106
6531
  }];
6107
- readonly name: "updateValueOfferSlot";
6532
+ readonly name: "updateValueOfferSlotUsage";
6108
6533
  readonly outputs: readonly [];
6109
6534
  readonly stateMutability: "nonpayable";
6110
6535
  readonly type: "function";
@@ -6152,6 +6577,10 @@ export declare const abi: readonly [{
6152
6577
  readonly internalType: "uint256";
6153
6578
  readonly name: "maxPriceSlippage";
6154
6579
  readonly type: "uint256";
6580
+ }, {
6581
+ readonly internalType: "uint64";
6582
+ readonly name: "offerVersion";
6583
+ readonly type: "uint64";
6155
6584
  }];
6156
6585
  readonly internalType: "struct OrderInfo";
6157
6586
  readonly name: "parentOrderInfo";
@@ -6180,12 +6609,20 @@ export declare const abi: readonly [{
6180
6609
  }, {
6181
6610
  readonly components: readonly [{
6182
6611
  readonly internalType: "uint256[]";
6183
- readonly name: "inputOffers";
6612
+ readonly name: "inputOffersIds";
6184
6613
  readonly type: "uint256[]";
6185
6614
  }, {
6186
6615
  readonly internalType: "uint256";
6187
- readonly name: "outputOffer";
6616
+ readonly name: "outputOfferId";
6188
6617
  readonly type: "uint256";
6618
+ }, {
6619
+ readonly internalType: "uint64[]";
6620
+ readonly name: "inputOffersVersions";
6621
+ readonly type: "uint64[]";
6622
+ }, {
6623
+ readonly internalType: "uint64";
6624
+ readonly name: "outputOfferVersion";
6625
+ readonly type: "uint64";
6189
6626
  }];
6190
6627
  readonly internalType: "struct OrderArgs";
6191
6628
  readonly name: "parentOrderArgs";
@@ -6227,6 +6664,10 @@ export declare const abi: readonly [{
6227
6664
  readonly internalType: "uint256";
6228
6665
  readonly name: "maxPriceSlippage";
6229
6666
  readonly type: "uint256";
6667
+ }, {
6668
+ readonly internalType: "uint64";
6669
+ readonly name: "offerVersion";
6670
+ readonly type: "uint64";
6230
6671
  }];
6231
6672
  readonly internalType: "struct OrderInfo[]";
6232
6673
  readonly name: "subOrdersInfos";
@@ -6255,12 +6696,20 @@ export declare const abi: readonly [{
6255
6696
  }, {
6256
6697
  readonly components: readonly [{
6257
6698
  readonly internalType: "uint256[]";
6258
- readonly name: "inputOffers";
6699
+ readonly name: "inputOffersIds";
6259
6700
  readonly type: "uint256[]";
6260
6701
  }, {
6261
6702
  readonly internalType: "uint256";
6262
- readonly name: "outputOffer";
6703
+ readonly name: "outputOfferId";
6263
6704
  readonly type: "uint256";
6705
+ }, {
6706
+ readonly internalType: "uint64[]";
6707
+ readonly name: "inputOffersVersions";
6708
+ readonly type: "uint64[]";
6709
+ }, {
6710
+ readonly internalType: "uint64";
6711
+ readonly name: "outputOfferVersion";
6712
+ readonly type: "uint64";
6264
6713
  }];
6265
6714
  readonly internalType: "struct OrderArgs[]";
6266
6715
  readonly name: "subOrdersArgs";
@@ -6675,16 +7124,6 @@ export declare const abi: readonly [{
6675
7124
  }];
6676
7125
  readonly name: "LoaderSessionKeyUpdated";
6677
7126
  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
7127
  }, {
6689
7128
  readonly inputs: readonly [];
6690
7129
  readonly name: "getDisabledLoaders";
@@ -6753,6 +7192,16 @@ export declare const abi: readonly [{
6753
7192
  }];
6754
7193
  readonly stateMutability: "view";
6755
7194
  readonly type: "function";
7195
+ }, {
7196
+ readonly inputs: readonly [{
7197
+ readonly internalType: "uint256";
7198
+ readonly name: "teeOfferId";
7199
+ readonly type: "uint256";
7200
+ }];
7201
+ readonly name: "removeLoaderKeys";
7202
+ readonly outputs: readonly [];
7203
+ readonly stateMutability: "nonpayable";
7204
+ readonly type: "function";
6756
7205
  }, {
6757
7206
  readonly inputs: readonly [{
6758
7207
  readonly components: readonly [{
@@ -6955,11 +7404,7 @@ export declare const abi: readonly [{
6955
7404
  readonly type: "uint32";
6956
7405
  }];
6957
7406
  readonly name: "createResourceOrder";
6958
- readonly outputs: readonly [{
6959
- readonly internalType: "uint256";
6960
- readonly name: "orderId";
6961
- readonly type: "uint256";
6962
- }];
7407
+ readonly outputs: readonly [];
6963
7408
  readonly stateMutability: "nonpayable";
6964
7409
  readonly type: "function";
6965
7410
  }, {
@@ -7035,6 +7480,18 @@ export declare const abi: readonly [{
7035
7480
  readonly internalType: "string";
7036
7481
  readonly name: "signedEncryptedData";
7037
7482
  readonly type: "string";
7483
+ }, {
7484
+ readonly internalType: "enum OfferType";
7485
+ readonly name: "offerType";
7486
+ readonly type: "uint8";
7487
+ }, {
7488
+ readonly internalType: "string";
7489
+ readonly name: "solutionHash";
7490
+ readonly type: "string";
7491
+ }, {
7492
+ readonly internalType: "bool";
7493
+ readonly name: "previousDataCopied";
7494
+ readonly type: "bool";
7038
7495
  }];
7039
7496
  readonly internalType: "struct OfferResource";
7040
7497
  readonly name: "";
@@ -7045,14 +7502,10 @@ export declare const abi: readonly [{
7045
7502
  }, {
7046
7503
  readonly inputs: readonly [{
7047
7504
  readonly internalType: "uint256";
7048
- readonly name: "offerId";
7505
+ readonly name: "teeOfferIssuerId";
7049
7506
  readonly type: "uint256";
7050
- }, {
7051
- readonly internalType: "uint64";
7052
- readonly name: "version";
7053
- readonly type: "uint64";
7054
7507
  }];
7055
- readonly name: "getOfferResourcesByOfferVersion";
7508
+ readonly name: "getOfferResourcesByIssuerId";
7056
7509
  readonly outputs: readonly [{
7057
7510
  readonly components: readonly [{
7058
7511
  readonly internalType: "uint256";
@@ -7107,6 +7560,18 @@ export declare const abi: readonly [{
7107
7560
  readonly internalType: "string";
7108
7561
  readonly name: "signedEncryptedData";
7109
7562
  readonly type: "string";
7563
+ }, {
7564
+ readonly internalType: "enum OfferType";
7565
+ readonly name: "offerType";
7566
+ readonly type: "uint8";
7567
+ }, {
7568
+ readonly internalType: "string";
7569
+ readonly name: "solutionHash";
7570
+ readonly type: "string";
7571
+ }, {
7572
+ readonly internalType: "bool";
7573
+ readonly name: "previousDataCopied";
7574
+ readonly type: "bool";
7110
7575
  }];
7111
7576
  readonly internalType: "struct OfferResource[]";
7112
7577
  readonly name: "";
@@ -7117,10 +7582,10 @@ export declare const abi: readonly [{
7117
7582
  }, {
7118
7583
  readonly inputs: readonly [{
7119
7584
  readonly internalType: "uint256";
7120
- readonly name: "teeOfferIssuerId";
7585
+ readonly name: "teeKeeperId";
7121
7586
  readonly type: "uint256";
7122
7587
  }];
7123
- readonly name: "getOfferResourcesByIssuerId";
7588
+ readonly name: "getOfferResourcesByKeeperId";
7124
7589
  readonly outputs: readonly [{
7125
7590
  readonly components: readonly [{
7126
7591
  readonly internalType: "uint256";
@@ -7175,6 +7640,18 @@ export declare const abi: readonly [{
7175
7640
  readonly internalType: "string";
7176
7641
  readonly name: "signedEncryptedData";
7177
7642
  readonly type: "string";
7643
+ }, {
7644
+ readonly internalType: "enum OfferType";
7645
+ readonly name: "offerType";
7646
+ readonly type: "uint8";
7647
+ }, {
7648
+ readonly internalType: "string";
7649
+ readonly name: "solutionHash";
7650
+ readonly type: "string";
7651
+ }, {
7652
+ readonly internalType: "bool";
7653
+ readonly name: "previousDataCopied";
7654
+ readonly type: "bool";
7178
7655
  }];
7179
7656
  readonly internalType: "struct OfferResource[]";
7180
7657
  readonly name: "";
@@ -7185,10 +7662,14 @@ export declare const abi: readonly [{
7185
7662
  }, {
7186
7663
  readonly inputs: readonly [{
7187
7664
  readonly internalType: "uint256";
7188
- readonly name: "teeKeeperId";
7665
+ readonly name: "offerId";
7189
7666
  readonly type: "uint256";
7667
+ }, {
7668
+ readonly internalType: "uint64";
7669
+ readonly name: "version";
7670
+ readonly type: "uint64";
7190
7671
  }];
7191
- readonly name: "getOfferResourcesByKeeperId";
7672
+ readonly name: "getOfferResourcesByOfferVersion";
7192
7673
  readonly outputs: readonly [{
7193
7674
  readonly components: readonly [{
7194
7675
  readonly internalType: "uint256";
@@ -7243,6 +7724,18 @@ export declare const abi: readonly [{
7243
7724
  readonly internalType: "string";
7244
7725
  readonly name: "signedEncryptedData";
7245
7726
  readonly type: "string";
7727
+ }, {
7728
+ readonly internalType: "enum OfferType";
7729
+ readonly name: "offerType";
7730
+ readonly type: "uint8";
7731
+ }, {
7732
+ readonly internalType: "string";
7733
+ readonly name: "solutionHash";
7734
+ readonly type: "string";
7735
+ }, {
7736
+ readonly internalType: "bool";
7737
+ readonly name: "previousDataCopied";
7738
+ readonly type: "bool";
7246
7739
  }];
7247
7740
  readonly internalType: "struct OfferResource[]";
7248
7741
  readonly name: "";
@@ -7264,6 +7757,104 @@ export declare const abi: readonly [{
7264
7757
  }];
7265
7758
  readonly stateMutability: "view";
7266
7759
  readonly type: "function";
7760
+ }, {
7761
+ readonly inputs: readonly [{
7762
+ readonly internalType: "uint256";
7763
+ readonly name: "offerId";
7764
+ readonly type: "uint256";
7765
+ }, {
7766
+ readonly internalType: "uint32";
7767
+ readonly name: "offerVersion";
7768
+ readonly type: "uint32";
7769
+ }];
7770
+ readonly name: "getReplicationFactorFulfilled";
7771
+ readonly outputs: readonly [{
7772
+ readonly internalType: "uint32";
7773
+ readonly name: "";
7774
+ readonly type: "uint32";
7775
+ }];
7776
+ readonly stateMutability: "view";
7777
+ readonly type: "function";
7778
+ }, {
7779
+ readonly inputs: readonly [{
7780
+ readonly components: readonly [{
7781
+ readonly internalType: "uint256";
7782
+ readonly name: "offerId";
7783
+ readonly type: "uint256";
7784
+ }, {
7785
+ readonly internalType: "uint256";
7786
+ readonly name: "teeOfferIssuerId";
7787
+ readonly type: "uint256";
7788
+ }, {
7789
+ readonly internalType: "uint256";
7790
+ readonly name: "teeOfferKeeperId";
7791
+ readonly type: "uint256";
7792
+ }, {
7793
+ readonly internalType: "uint256";
7794
+ readonly name: "storageOrderId";
7795
+ readonly type: "uint256";
7796
+ }, {
7797
+ readonly internalType: "uint64";
7798
+ readonly name: "offerVersion";
7799
+ readonly type: "uint64";
7800
+ }, {
7801
+ readonly internalType: "uint32";
7802
+ readonly name: "timestamp";
7803
+ readonly type: "uint32";
7804
+ }, {
7805
+ readonly internalType: "uint32";
7806
+ readonly name: "signedTime";
7807
+ readonly type: "uint32";
7808
+ }, {
7809
+ readonly components: readonly [{
7810
+ readonly internalType: "string";
7811
+ readonly name: "der";
7812
+ readonly type: "string";
7813
+ }, {
7814
+ readonly internalType: "bytes32";
7815
+ readonly name: "r";
7816
+ readonly type: "bytes32";
7817
+ }, {
7818
+ readonly internalType: "bytes32";
7819
+ readonly name: "s";
7820
+ readonly type: "bytes32";
7821
+ }, {
7822
+ readonly internalType: "uint8";
7823
+ readonly name: "v";
7824
+ readonly type: "uint8";
7825
+ }];
7826
+ readonly internalType: "struct Signature";
7827
+ readonly name: "signature";
7828
+ readonly type: "tuple";
7829
+ }, {
7830
+ readonly internalType: "string";
7831
+ readonly name: "signedEncryptedData";
7832
+ readonly type: "string";
7833
+ }, {
7834
+ readonly internalType: "enum OfferType";
7835
+ readonly name: "offerType";
7836
+ readonly type: "uint8";
7837
+ }, {
7838
+ readonly internalType: "string";
7839
+ readonly name: "solutionHash";
7840
+ readonly type: "string";
7841
+ }, {
7842
+ readonly internalType: "bool";
7843
+ readonly name: "previousDataCopied";
7844
+ readonly type: "bool";
7845
+ }];
7846
+ readonly internalType: "struct OfferResource";
7847
+ readonly name: "resource";
7848
+ readonly type: "tuple";
7849
+ }, {
7850
+ readonly internalType: "uint32";
7851
+ readonly name: "n";
7852
+ readonly type: "uint32";
7853
+ }];
7854
+ readonly name: "incrementReplicationFactor";
7855
+ readonly outputs: readonly [];
7856
+ readonly stateMutability: "nonpayable";
7857
+ readonly type: "function";
7267
7858
  }, {
7268
7859
  readonly inputs: readonly [{
7269
7860
  readonly components: readonly [{
@@ -7319,6 +7910,18 @@ export declare const abi: readonly [{
7319
7910
  readonly internalType: "string";
7320
7911
  readonly name: "signedEncryptedData";
7321
7912
  readonly type: "string";
7913
+ }, {
7914
+ readonly internalType: "enum OfferType";
7915
+ readonly name: "offerType";
7916
+ readonly type: "uint8";
7917
+ }, {
7918
+ readonly internalType: "string";
7919
+ readonly name: "solutionHash";
7920
+ readonly type: "string";
7921
+ }, {
7922
+ readonly internalType: "bool";
7923
+ readonly name: "previousDataCopied";
7924
+ readonly type: "bool";
7322
7925
  }];
7323
7926
  readonly internalType: "struct OfferResource";
7324
7927
  readonly name: "resource";
@@ -7356,6 +7959,14 @@ export declare const abi: readonly [{
7356
7959
  readonly internalType: "uint32";
7357
7960
  readonly name: "timestamp";
7358
7961
  readonly type: "uint32";
7962
+ }, {
7963
+ readonly internalType: "uint64";
7964
+ readonly name: "offerVersion";
7965
+ readonly type: "uint64";
7966
+ }, {
7967
+ readonly internalType: "uint256";
7968
+ readonly name: "offerId";
7969
+ readonly type: "uint256";
7359
7970
  }];
7360
7971
  readonly internalType: "struct OfferStorageAllocated";
7361
7972
  readonly name: "";
@@ -7363,6 +7974,45 @@ export declare const abi: readonly [{
7363
7974
  }];
7364
7975
  readonly stateMutability: "view";
7365
7976
  readonly type: "function";
7977
+ }, {
7978
+ readonly inputs: readonly [{
7979
+ readonly internalType: "uint256";
7980
+ readonly name: "teeOfferIssurId";
7981
+ readonly type: "uint256";
7982
+ }];
7983
+ readonly name: "getStorageOrdersAllocatedByIssuer";
7984
+ readonly outputs: readonly [{
7985
+ readonly components: readonly [{
7986
+ readonly internalType: "uint256";
7987
+ readonly name: "teeOfferIssuerId";
7988
+ readonly type: "uint256";
7989
+ }, {
7990
+ readonly internalType: "uint256";
7991
+ readonly name: "storageOrderId";
7992
+ readonly type: "uint256";
7993
+ }, {
7994
+ readonly internalType: "uint32";
7995
+ readonly name: "distributionReplicationFactor";
7996
+ readonly type: "uint32";
7997
+ }, {
7998
+ readonly internalType: "uint32";
7999
+ readonly name: "timestamp";
8000
+ readonly type: "uint32";
8001
+ }, {
8002
+ readonly internalType: "uint64";
8003
+ readonly name: "offerVersion";
8004
+ readonly type: "uint64";
8005
+ }, {
8006
+ readonly internalType: "uint256";
8007
+ readonly name: "offerId";
8008
+ readonly type: "uint256";
8009
+ }];
8010
+ readonly internalType: "struct OfferStorageAllocated[]";
8011
+ readonly name: "";
8012
+ readonly type: "tuple[]";
8013
+ }];
8014
+ readonly stateMutability: "view";
8015
+ readonly type: "function";
7366
8016
  }, {
7367
8017
  readonly anonymous: false;
7368
8018
  readonly inputs: readonly [{
@@ -7470,6 +8120,10 @@ export declare const abi: readonly [{
7470
8120
  readonly internalType: "uint32";
7471
8121
  readonly name: "timestamp";
7472
8122
  readonly type: "uint32";
8123
+ }, {
8124
+ readonly internalType: "bool";
8125
+ readonly name: "copyPreviousData";
8126
+ readonly type: "bool";
7473
8127
  }];
7474
8128
  readonly internalType: "struct OfferStorageRequest[]";
7475
8129
  readonly name: "";
@@ -7525,6 +8179,10 @@ export declare const abi: readonly [{
7525
8179
  readonly internalType: "uint32";
7526
8180
  readonly name: "timestamp";
7527
8181
  readonly type: "uint32";
8182
+ }, {
8183
+ readonly internalType: "bool";
8184
+ readonly name: "copyPreviousData";
8185
+ readonly type: "bool";
7528
8186
  }];
7529
8187
  readonly internalType: "struct OfferStorageRequest";
7530
8188
  readonly name: "";
@@ -7570,6 +8228,10 @@ export declare const abi: readonly [{
7570
8228
  readonly internalType: "uint32";
7571
8229
  readonly name: "timestamp";
7572
8230
  readonly type: "uint32";
8231
+ }, {
8232
+ readonly internalType: "bool";
8233
+ readonly name: "copyPreviousData";
8234
+ readonly type: "bool";
7573
8235
  }];
7574
8236
  readonly internalType: "struct OfferStorageRequest";
7575
8237
  readonly name: "request";