@witnet/solidity 3.0.2 → 3.0.3

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 (139) hide show
  1. package/build/contracts/Bech32.json +1 -1
  2. package/build/contracts/Clonable.json +1 -1
  3. package/build/contracts/Context.json +1 -1
  4. package/build/contracts/Create3.json +1 -1
  5. package/build/contracts/ERC165.json +1 -1
  6. package/build/contracts/Escrowable.json +1 -1
  7. package/build/contracts/IChainlinkAggregatorV3.json +1 -1
  8. package/build/contracts/IERC165.json +1 -1
  9. package/build/contracts/IERC20.json +1 -1
  10. package/build/contracts/IERC2362.json +1 -1
  11. package/build/contracts/IPythChainlinkAggregatorV3.json +1 -1
  12. package/build/contracts/IWitAppliance.json +1 -1
  13. package/build/contracts/IWitOracle.json +1 -1
  14. package/build/contracts/IWitOracleAppliance.json +1 -1
  15. package/build/contracts/IWitOracleConsumer.json +1 -1
  16. package/build/contracts/IWitOracleConsumerLegacy.json +1 -1
  17. package/build/contracts/IWitOracleLegacy.json +1 -1
  18. package/build/contracts/IWitOracleQueriable.json +1 -1
  19. package/build/contracts/IWitOracleQueriableConsumer.json +1 -1
  20. package/build/contracts/IWitOracleQueriableEvents.json +1 -1
  21. package/build/contracts/IWitOracleQueriableExperimental.json +1 -1
  22. package/build/contracts/IWitOracleQueriableTrustableReporter.json +1 -1
  23. package/build/contracts/IWitOracleQueriableTrustlessReporter.json +1 -1
  24. package/build/contracts/IWitOracleRadonRegistry.json +1 -1
  25. package/build/contracts/IWitOracleRadonRegistryEvents.json +1 -1
  26. package/build/contracts/IWitOracleRadonRegistryLegacy.json +1 -1
  27. package/build/contracts/IWitOracleRadonRequestFactory.json +1 -1
  28. package/build/contracts/IWitOracleRadonRequestModal.json +1 -1
  29. package/build/contracts/IWitOracleRadonRequestTemplate.json +1 -1
  30. package/build/contracts/IWitOracleRequest.json +1 -1
  31. package/build/contracts/IWitOracleRequestFactory.json +1 -1
  32. package/build/contracts/IWitOracleRequestFactoryEvents.json +1 -1
  33. package/build/contracts/IWitOracleRequestTemplate.json +1 -1
  34. package/build/contracts/IWitOracleTrustableAdmin.json +1 -1
  35. package/build/contracts/IWitOracleTrustless.json +1 -1
  36. package/build/contracts/IWitPriceFeeds.json +1 -1
  37. package/build/contracts/IWitPriceFeedsAdmin.json +1 -1
  38. package/build/contracts/IWitPriceFeedsConsumer.json +1 -1
  39. package/build/contracts/IWitPriceFeedsEvents.json +1 -1
  40. package/build/contracts/IWitPriceFeedsLegacy.json +1 -1
  41. package/build/contracts/IWitPriceFeedsLegacyAdmin.json +1 -1
  42. package/build/contracts/IWitPriceFeedsLegacySolver.json +1 -1
  43. package/build/contracts/IWitPriceFeedsLegacySolverFactory.json +1 -1
  44. package/build/contracts/IWitPriceFeedsTypes.json +1 -1
  45. package/build/contracts/IWitPyth.json +1 -1
  46. package/build/contracts/IWitPythChainlinkAggregator.json +1 -1
  47. package/build/contracts/IWitPythErrors.json +1 -1
  48. package/build/contracts/IWitPythEvents.json +1 -1
  49. package/build/contracts/IWitPythReporter.json +1 -1
  50. package/build/contracts/IWitRandomness.json +1 -1
  51. package/build/contracts/IWitRandomnessAdmin.json +1 -1
  52. package/build/contracts/IWitRandomnessAdminV2.json +1 -1
  53. package/build/contracts/IWitRandomnessConsumer.json +1 -1
  54. package/build/contracts/IWitRandomnessEvents.json +1 -1
  55. package/build/contracts/IWitRandomnessLegacy.json +1 -1
  56. package/build/contracts/IWitRandomnessTypes.json +1 -1
  57. package/build/contracts/Initializable.json +1 -1
  58. package/build/contracts/OVM_GasPriceOracle.json +1 -1
  59. package/build/contracts/Ownable.json +1 -1
  60. package/build/contracts/Ownable2Step.json +1 -1
  61. package/build/contracts/Payable.json +1 -1
  62. package/build/contracts/Proxiable.json +1 -1
  63. package/build/contracts/ReentrancyGuard.json +1 -1
  64. package/build/contracts/Secp256k1.json +1 -1
  65. package/build/contracts/Slices.json +1 -1
  66. package/build/contracts/TestBech32.json +1 -1
  67. package/build/contracts/TestSecp256k1.json +1 -1
  68. package/build/contracts/Upgradeable.json +1 -1
  69. package/build/contracts/UsingWitOracle.json +1 -1
  70. package/build/contracts/UsingWitPriceFeeds.json +1 -1
  71. package/build/contracts/UsingWitRandomness.json +1 -1
  72. package/build/contracts/WitOracle.json +6 -1
  73. package/build/contracts/WitOracleBasePushOnly.json +1 -1
  74. package/build/contracts/WitOracleBasePushOnlyTrustable.json +1 -1
  75. package/build/contracts/WitOracleBasePushOnlyTrustless.json +1 -1
  76. package/build/contracts/WitOracleBasePushOnlyUpgradable.json +1 -1
  77. package/build/contracts/WitOracleBaseQueriable.json +1 -1
  78. package/build/contracts/WitOracleBaseQueriableTrustable.json +1 -1
  79. package/build/contracts/WitOracleBaseQueriableTrustless.json +1 -1
  80. package/build/contracts/WitOracleBaseQueriableUpgradable.json +1 -1
  81. package/build/contracts/WitOracleDataLib.json +127 -1
  82. package/build/contracts/WitOraclePushOnly.json +1 -1
  83. package/build/contracts/WitOracleRadonEncodingLib.json +7 -1
  84. package/build/contracts/WitOracleRadonRegistry.json +6 -1
  85. package/build/contracts/WitOracleRadonRegistryBase.json +1 -1
  86. package/build/contracts/WitOracleRadonRegistryBaseUpgradable.json +1 -1
  87. package/build/contracts/WitOracleRadonRegistryData.json +1 -1
  88. package/build/contracts/WitOracleRadonRegistryDefaultV21.json +1 -1
  89. package/build/contracts/WitOracleRadonRegistryUpgradableDefault.json +8 -1
  90. package/build/contracts/WitOracleRadonRegistryUpgradableNoSha256.json +1 -1
  91. package/build/contracts/WitOracleRadonRegistryUpgradableZkSync.json +1 -1
  92. package/build/contracts/WitOracleRadonRequestFactory.json +6 -1
  93. package/build/contracts/WitOracleRadonRequestFactoryBase.json +1 -1
  94. package/build/contracts/WitOracleRadonRequestFactoryBaseUpgradable.json +1 -1
  95. package/build/contracts/WitOracleRadonRequestFactoryModals.json +6 -1
  96. package/build/contracts/WitOracleRadonRequestFactoryModalsDefault.json +6 -1
  97. package/build/contracts/WitOracleRadonRequestFactoryTemplates.json +6 -1
  98. package/build/contracts/WitOracleRadonRequestFactoryTemplatesDefault.json +6 -1
  99. package/build/contracts/WitOracleRadonRequestFactoryUpgradableConfluxCore.json +1 -1
  100. package/build/contracts/WitOracleRadonRequestFactoryUpgradableDefault.json +6 -1
  101. package/build/contracts/WitOracleResultStatusLib.json +7 -1
  102. package/build/contracts/WitOracleTrustableDefault.json +1 -1
  103. package/build/contracts/WitOracleTrustableExperimental.json +1 -1
  104. package/build/contracts/WitOracleTrustableObscuro.json +131 -2
  105. package/build/contracts/WitOracleTrustableOvm2.json +1 -1
  106. package/build/contracts/WitOracleTrustablePushOnly.json +1 -1
  107. package/build/contracts/WitOracleTrustableReef.json +1 -1
  108. package/build/contracts/WitOracleTrustableZkSync.json +1 -1
  109. package/build/contracts/WitOracleTrustlessDataLib.json +1 -1
  110. package/build/contracts/WitOracleTrustlessDefaultV22.json +1 -1
  111. package/build/contracts/WitOracleTrustlessUpgradableDefault.json +1 -1
  112. package/build/contracts/WitPriceFeeds.json +6 -1
  113. package/build/contracts/WitPriceFeedsDataLib.json +7 -1
  114. package/build/contracts/WitPriceFeedsLegacy.json +6 -1
  115. package/build/contracts/WitPriceFeedsLegacyBypassV3.json +1 -1
  116. package/build/contracts/WitPriceFeedsLegacyDataLib.json +77 -1
  117. package/build/contracts/WitPriceFeedsLegacyUpgradable.json +78 -1
  118. package/build/contracts/WitPriceFeedsSolverBase.json +1 -1
  119. package/build/contracts/WitPriceFeedsUpgradableV3.json +8 -1
  120. package/build/contracts/WitPriceFeedsV3.json +1 -1
  121. package/build/contracts/WitPythChainlinkAggregator.json +1 -1
  122. package/build/contracts/WitRandomness.json +6 -1
  123. package/build/contracts/WitRandomnessLegacy.json +1 -1
  124. package/build/contracts/WitRandomnessV3.json +6 -1
  125. package/build/contracts/WitRngConsumer.json +1 -1
  126. package/build/contracts/Witnet.json +1 -1
  127. package/build/contracts/WitnetBuffer.json +1 -1
  128. package/build/contracts/WitnetCBOR.json +1 -1
  129. package/build/contracts/WitnetDeployer.json +2 -38
  130. package/build/contracts/WitnetDeployerConfluxCore.json +1 -1
  131. package/build/contracts/WitnetDeployerDeferred.json +9 -2
  132. package/build/contracts/WitnetDeployerMeter.json +1 -1
  133. package/build/contracts/WitnetProxy.json +1 -1
  134. package/build/contracts/WitnetUpgradableBase.json +1 -1
  135. package/migrations/addresses.json +13 -1
  136. package/migrations/constructorArgs.json +5 -4
  137. package/package.json +1 -1
  138. package/settings/artifacts.js +1 -0
  139. package/settings/networks.js +2 -2
@@ -3300,7 +3300,7 @@
3300
3300
  },
3301
3301
  "networks": {},
3302
3302
  "schemaVersion": "3.4.16",
3303
- "updatedAt": "2025-10-16T08:47:21.334Z",
3303
+ "updatedAt": "2025-10-16T15:17:06.177Z",
3304
3304
  "devdoc": {
3305
3305
  "kind": "dev",
3306
3306
  "methods": {},
@@ -45828,7 +45828,7 @@
45828
45828
  },
45829
45829
  "networks": {},
45830
45830
  "schemaVersion": "3.4.16",
45831
- "updatedAt": "2025-10-16T08:47:21.272Z",
45831
+ "updatedAt": "2025-10-16T15:17:06.113Z",
45832
45832
  "devdoc": {
45833
45833
  "kind": "dev",
45834
45834
  "methods": {},
@@ -27294,7 +27294,7 @@
27294
27294
  },
27295
27295
  "networks": {},
27296
27296
  "schemaVersion": "3.4.16",
27297
- "updatedAt": "2025-10-16T08:47:21.291Z",
27297
+ "updatedAt": "2025-10-16T15:17:06.133Z",
27298
27298
  "devdoc": {
27299
27299
  "author": "The Witnet Foundation.",
27300
27300
  "details": "`uint32` is used here for `cursor` because `uint16` would only enable seeking up to 8KB, which could in some theoretical use cases be exceeded. Conversely, `uint32` supports up to 512MB, which cannot credibly be exceeded.",
@@ -19387,7 +19387,7 @@
19387
19387
  },
19388
19388
  "networks": {},
19389
19389
  "schemaVersion": "3.4.16",
19390
- "updatedAt": "2025-10-16T08:47:21.306Z",
19390
+ "updatedAt": "2025-10-16T15:17:06.150Z",
19391
19391
  "devdoc": {
19392
19392
  "author": "The Witnet Foundation.",
19393
19393
  "details": "Most of the logic has been borrowed from Patrick Gansterer’s cbor.js library: https://github.com/paroga/cbor-js",
@@ -8223,56 +8223,20 @@
8223
8223
  "version": "0.8.30+commit.73712a01.Emscripten.clang"
8224
8224
  },
8225
8225
  "networks": {
8226
- "1": {
8227
- "events": {},
8228
- "links": {},
8229
- "address": "0x03232aBE800D1638B30432FeEF300581De323a4E"
8230
- },
8231
- "1285": {
8232
- "events": {},
8233
- "links": {},
8234
- "address": "0x03232aBE800D1638B30432FeEF300581De323a4E"
8235
- },
8236
- "1287": {
8237
- "events": {},
8238
- "links": {},
8239
- "address": "0x03232aBE800D1638B30432FeEF300581De323a4E"
8240
- },
8241
- "4801": {
8242
- "events": {},
8243
- "links": {},
8244
- "address": "0x03232aBE800D1638B30432FeEF300581De323a4E"
8245
- },
8246
8226
  "5777": {
8247
8227
  "events": {},
8248
8228
  "links": {},
8249
8229
  "address": "0x0CFCA2cE0472e6cCE2ab82c1E95A207794E819f3",
8250
8230
  "transactionHash": "0x1b0f05d3cb57a3102b160026ec4e3af88f6dd17d263207d70b1c8f6ecca03ba5"
8251
8231
  },
8252
- "84532": {
8253
- "events": {},
8254
- "links": {},
8255
- "address": "0x03232aBE800D1638B30432FeEF300581De323a4E"
8256
- },
8257
- "11142220": {
8258
- "events": {},
8259
- "links": {},
8260
- "address": "0x03232aBE800D1638B30432FeEF300581De323a4E",
8261
- "transactionHash": "0x7f1f90f325c7a5c338684672f469d12d405ff3ffb239eda98c82081dd2071abb"
8262
- },
8263
- "11155111": {
8264
- "events": {},
8265
- "links": {},
8266
- "address": "0x03232aBE800D1638B30432FeEF300581De323a4E"
8267
- },
8268
- "11155420": {
8232
+ "8443": {
8269
8233
  "events": {},
8270
8234
  "links": {},
8271
8235
  "address": "0x03232aBE800D1638B30432FeEF300581De323a4E"
8272
8236
  }
8273
8237
  },
8274
8238
  "schemaVersion": "3.4.16",
8275
- "updatedAt": "2025-10-16T08:47:20.510Z",
8239
+ "updatedAt": "2025-10-16T15:17:05.101Z",
8276
8240
  "devdoc": {
8277
8241
  "author": "Guillermo Díaz <guillermo@witnet.io>",
8278
8242
  "kind": "dev",
@@ -6367,7 +6367,7 @@
6367
6367
  },
6368
6368
  "networks": {},
6369
6369
  "schemaVersion": "3.4.16",
6370
- "updatedAt": "2025-10-16T08:47:20.516Z",
6370
+ "updatedAt": "2025-10-16T15:17:05.134Z",
6371
6371
  "devdoc": {
6372
6372
  "author": "Guillermo Díaz <guillermo@witnet.io>",
6373
6373
  "kind": "dev",
@@ -7801,9 +7801,16 @@
7801
7801
  "name": "solc",
7802
7802
  "version": "0.8.30+commit.73712a01.Emscripten.clang"
7803
7803
  },
7804
- "networks": {},
7804
+ "networks": {
7805
+ "8443": {
7806
+ "events": {},
7807
+ "links": {},
7808
+ "address": "0x03232aBE800D1638B30432FeEF300581De323a4E",
7809
+ "transactionHash": "0x76812f1d7817cb70782597b9ed1d85e3976b0ded8051cd51545f6b77bf9c3d0d"
7810
+ }
7811
+ },
7805
7812
  "schemaVersion": "3.4.16",
7806
- "updatedAt": "2025-10-16T08:47:20.521Z",
7813
+ "updatedAt": "2025-10-16T15:17:05.173Z",
7807
7814
  "devdoc": {
7808
7815
  "author": "Guillermo Díaz <guillermo@witnet.io>",
7809
7816
  "details": "To be used on EVM chains where contract deployment takes place in a deferred way: - after the deployment tx gets mined, and not while it gets executed.",
@@ -5637,7 +5637,7 @@
5637
5637
  },
5638
5638
  "networks": {},
5639
5639
  "schemaVersion": "3.4.16",
5640
- "updatedAt": "2025-10-16T08:47:20.526Z",
5640
+ "updatedAt": "2025-10-16T15:17:05.204Z",
5641
5641
  "devdoc": {
5642
5642
  "author": "Guillermo Díaz <guillermo@witnet.io>",
5643
5643
  "kind": "dev",
@@ -9416,7 +9416,7 @@
9416
9416
  }
9417
9417
  },
9418
9418
  "schemaVersion": "3.4.16",
9419
- "updatedAt": "2025-10-16T08:47:20.532Z",
9419
+ "updatedAt": "2025-10-16T15:17:05.225Z",
9420
9420
  "devdoc": {
9421
9421
  "author": "Guillermo Díaz <guillermo@witnet.io>",
9422
9422
  "kind": "dev",
@@ -5333,7 +5333,7 @@
5333
5333
  },
5334
5334
  "networks": {},
5335
5335
  "schemaVersion": "3.4.16",
5336
- "updatedAt": "2025-10-16T08:47:20.537Z",
5336
+ "updatedAt": "2025-10-16T15:17:05.232Z",
5337
5337
  "devdoc": {
5338
5338
  "author": "Guillermo Díaz <guillermo@witnet.io>",
5339
5339
  "errors": {
@@ -443,7 +443,19 @@
443
443
  "WitPriceFeedsLegacyDataLib": "0x1949a56d396ba542AA6573b43bE12dCf721adb45"
444
444
  }
445
445
  },
446
- "ten:testnet": {},
446
+ "ten:testnet": {
447
+ "libs": {
448
+ "WitOracleDataLib": "0xf6d52770453166de85B6B6260Cf22196bC460E88",
449
+ "WitOracleRadonEncodingLib": "0xB5447342cA17A40e59d410b340ba412E22e36201",
450
+ "WitOracleResultStatusLib": "0xc71A87657b13A370594967A04b4301a3AcEAF007",
451
+ "WitPriceFeedsDataLib": "0x705E076F3387cFd59708D8D8508CECe3e1C65C87",
452
+ "WitPriceFeedsLegacyDataLib": "0xa45206cC3Ae76630Cc4D47A730590Ff9B6d8Ee54"
453
+ },
454
+ "apps": {
455
+ "WitPriceFeedsLegacyUpgradable": "0x5493D785EcF171B59eF042649c2D71ec62D40D67",
456
+ "WitPriceFeedsUpgradableV3": "0xd13c3F2FE72C2A742044699F95be69B9c7b2ad70"
457
+ }
458
+ },
447
459
  "worldchain:mainnet": {},
448
460
  "worldchain:sepolia": {
449
461
  "apps": {
@@ -273,10 +273,11 @@
273
273
  "WitRandomnessV2": "00000000000000000000000077703ae126b971c9946d562f41dd47071da00777000000000000000000000000f121b71715e71dded592f1125a06d4ed06f0694d"
274
274
  },
275
275
  "ten:testnet": {
276
- "WitOracle": "",
277
- "WitOracleRadonRegistry": "",
278
- "WitOracleRequestFactory": "",
279
- "WitPriceFeeds": ""
276
+ "WitOracleRadonRegistryUpgradableDefault": "{\"types\":[\"bytes32\",\"bool\"],\"values\":[\"0x332e302e322d316538353338302d306165633239340000000000000000000000\",true]}",
277
+ "WitOracleTrustableObscuro": "{\"types\":[\"(uint32, uint32, uint32, uint32)\",\"address\",\"bytes32\"],\"values\":[[58282,65273,69546,20000],\"0x000B61Fe075F545fd37767f40391658275900000\",\"0x332e302e322d316538353338302d353734656438620000000000000000000000\"]}",
278
+ "WitOracleRadonRequestFactoryUpgradableDefault": "{\"types\":[\"address\",\"address\",\"bytes32\",\"bool\"],\"values\":[\"0xffC4147d7b973B1766FB335bC847C7288c4365ff\",\"0xFF5ad05D038fcc04354B2fca1fb657eA345594FF\",\"0x332e302e322d316538353338302d373634376432370000000000000000000000\",true]}",
279
+ "WitPriceFeedsUpgradableV3": "{\"types\":[\"address\",\"bytes32\",\"bool\"],\"values\":[\"0x77703aE126B971c9946d562F41Dd47071dA00777\",\"0x332e302e322d316538353338302d623535363662390000000000000000000000\",true]}",
280
+ "WitPriceFeedsLegacyUpgradable": "{\"types\":[\"address\",\"bytes32\",\"bool\"],\"values\":[\"0x77703aE126B971c9946d562F41Dd47071dA00777\",\"0x332e302e322d316538353338302d323738363436620000000000000000000000\",true]}"
280
281
  },
281
282
  "ultron:mainnet": {
282
283
  "WitOracle": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witnet/solidity",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Wit/Oracle Solidity Framework for EVM-compatible chains",
5
5
  "author": "Witnet Foundation <info@witnet.foundation>",
6
6
  "license": "MIT",
@@ -60,6 +60,7 @@ export default {
60
60
  core: { WitOracle: "WitOracleTrustableOvm2" },
61
61
  },
62
62
  ten: {
63
+ WitnetDeployer: "WitnetDeployerDeferred",
63
64
  core: { WitOracle: "WitOracleTrustableObscuro" },
64
65
  },
65
66
  }
@@ -541,9 +541,9 @@ export default {
541
541
  },
542
542
  "ten:testnet": {
543
543
  port: 8504,
544
- network_id: 443,
544
+ network_id: 8443,
545
545
  gas: 15000000,
546
- symbol: "TEN",
546
+ symbol: "ETH",
547
547
  },
548
548
  "unichain:sepolia": {
549
549
  port: 8500,