@venusprotocol/oracle 2.13.0-dev.6 → 2.13.0-dev.7

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 (138) hide show
  1. package/artifacts-zk/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol/AggregatorInterface.dbg.json +1 -1
  2. package/artifacts-zk/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +1 -1
  3. package/artifacts-zk/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol/AggregatorV3Interface.dbg.json +1 -1
  4. package/artifacts-zk/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
  5. package/artifacts-zk/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  6. package/artifacts-zk/@openzeppelin/contracts/interfaces/IERC1967.sol/IERC1967.dbg.json +1 -1
  7. package/artifacts-zk/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
  8. package/artifacts-zk/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
  9. package/artifacts-zk/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
  10. package/artifacts-zk/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
  11. package/artifacts-zk/@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol/BeaconProxy.dbg.json +1 -1
  12. package/artifacts-zk/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
  13. package/artifacts-zk/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
  14. package/artifacts-zk/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
  15. package/artifacts-zk/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.dbg.json +1 -1
  16. package/artifacts-zk/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
  17. package/artifacts-zk/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  18. package/artifacts-zk/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  19. package/artifacts-zk/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  20. package/artifacts-zk/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
  21. package/artifacts-zk/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  22. package/artifacts-zk/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
  23. package/artifacts-zk/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +1 -1
  24. package/artifacts-zk/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
  25. package/artifacts-zk/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
  26. package/artifacts-zk/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  27. package/artifacts-zk/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  28. package/artifacts-zk/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
  29. package/artifacts-zk/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  30. package/artifacts-zk/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  31. package/artifacts-zk/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
  32. package/artifacts-zk/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
  33. package/artifacts-zk/build-info/{c207bc7ef55757ee9f319d2ee68bb609.json → 2216b9211cf307de3fb9ef42e3b3a773.json} +1 -1
  34. package/artifacts-zk/contracts/ReferenceOracle.sol/ReferenceOracle.dbg.json +1 -1
  35. package/artifacts-zk/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
  36. package/artifacts-zk/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +1 -1
  37. package/artifacts-zk/contracts/interfaces/IAccountant.sol/IAccountant.dbg.json +1 -1
  38. package/artifacts-zk/contracts/interfaces/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
  39. package/artifacts-zk/contracts/interfaces/IAsBNB.sol/IAsBNB.dbg.json +1 -1
  40. package/artifacts-zk/contracts/interfaces/IAsBNBMinter.sol/IAsBNBMinter.dbg.json +1 -1
  41. package/artifacts-zk/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  42. package/artifacts-zk/contracts/interfaces/IEtherFiLiquidityPool.sol/IEtherFiLiquidityPool.dbg.json +1 -1
  43. package/artifacts-zk/contracts/interfaces/IPStakePool.sol/IPStakePool.dbg.json +1 -1
  44. package/artifacts-zk/contracts/interfaces/IPendlePtOracle.sol/IPendlePtOracle.dbg.json +1 -1
  45. package/artifacts-zk/contracts/interfaces/ISFrax.sol/ISFrax.dbg.json +1 -1
  46. package/artifacts-zk/contracts/interfaces/ISfrxEthFraxOracle.sol/ISfrxEthFraxOracle.dbg.json +1 -1
  47. package/artifacts-zk/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  48. package/artifacts-zk/contracts/interfaces/IStaderStakeManager.sol/IStaderStakeManager.dbg.json +1 -1
  49. package/artifacts-zk/contracts/interfaces/ISynclubStakeManager.sol/ISynclubStakeManager.dbg.json +1 -1
  50. package/artifacts-zk/contracts/interfaces/IWBETH.sol/IWBETH.dbg.json +1 -1
  51. package/artifacts-zk/contracts/interfaces/IZkETH.sol/IZkETH.dbg.json +1 -1
  52. package/artifacts-zk/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
  53. package/artifacts-zk/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
  54. package/artifacts-zk/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
  55. package/artifacts-zk/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
  56. package/artifacts-zk/contracts/interfaces/PublicResolverInterface.sol/PublicResolverInterface.dbg.json +1 -1
  57. package/artifacts-zk/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +1 -1
  58. package/artifacts-zk/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +1 -1
  59. package/artifacts-zk/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +1 -1
  60. package/artifacts-zk/contracts/interfaces/SIDRegistryInterface.sol/SIDRegistryInterface.dbg.json +1 -1
  61. package/artifacts-zk/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
  62. package/artifacts-zk/contracts/oracles/AnkrBNBOracle.sol/AnkrBNBOracle.dbg.json +1 -1
  63. package/artifacts-zk/contracts/oracles/AsBNBOracle.sol/AsBNBOracle.dbg.json +1 -1
  64. package/artifacts-zk/contracts/oracles/BNBxOracle.sol/BNBxOracle.dbg.json +1 -1
  65. package/artifacts-zk/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +1 -1
  66. package/artifacts-zk/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +1 -1
  67. package/artifacts-zk/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +1 -1
  68. package/artifacts-zk/contracts/oracles/ERC4626Oracle.sol/ERC4626Oracle.dbg.json +1 -1
  69. package/artifacts-zk/contracts/oracles/EtherfiAccountantOracle.sol/EtherfiAccountantOracle.dbg.json +1 -1
  70. package/artifacts-zk/contracts/oracles/OneJumpOracle.sol/OneJumpOracle.dbg.json +1 -1
  71. package/artifacts-zk/contracts/oracles/PendleOracle.sol/PendleOracle.dbg.json +1 -1
  72. package/artifacts-zk/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +1 -1
  73. package/artifacts-zk/contracts/oracles/SFraxOracle.sol/SFraxOracle.dbg.json +1 -1
  74. package/artifacts-zk/contracts/oracles/SFrxETHOracle.sol/SFrxETHOracle.dbg.json +1 -1
  75. package/artifacts-zk/contracts/oracles/SequencerChainlinkOracle.sol/SequencerChainlinkOracle.dbg.json +1 -1
  76. package/artifacts-zk/contracts/oracles/SlisBNBOracle.sol/SlisBNBOracle.dbg.json +1 -1
  77. package/artifacts-zk/contracts/oracles/StkBNBOracle.sol/StkBNBOracle.dbg.json +1 -1
  78. package/artifacts-zk/contracts/oracles/WBETHOracle.sol/WBETHOracle.dbg.json +1 -1
  79. package/artifacts-zk/contracts/oracles/WeETHAccountantOracle.sol/WeETHAccountantOracle.dbg.json +1 -1
  80. package/artifacts-zk/contracts/oracles/WeETHOracle.sol/WeETHOracle.dbg.json +1 -1
  81. package/artifacts-zk/contracts/oracles/WstETHOracle.sol/WstETHOracle.dbg.json +1 -1
  82. package/artifacts-zk/contracts/oracles/WstETHOracleV2.sol/WstETHOracleV2.dbg.json +1 -1
  83. package/artifacts-zk/contracts/oracles/ZkETHOracle.sol/ZkETHOracle.dbg.json +1 -1
  84. package/artifacts-zk/contracts/oracles/common/CorrelatedTokenOracle.sol/CorrelatedTokenOracle.dbg.json +1 -1
  85. package/artifacts-zk/contracts/oracles/mocks/MockAccountant.sol/MockAccountant.dbg.json +1 -1
  86. package/artifacts-zk/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +1 -1
  87. package/artifacts-zk/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
  88. package/artifacts-zk/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +1 -1
  89. package/artifacts-zk/contracts/oracles/mocks/MockPendlePtOracle.sol/MockPendlePtOracle.dbg.json +1 -1
  90. package/artifacts-zk/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +1 -1
  91. package/artifacts-zk/contracts/oracles/mocks/MockSFrxEthFraxOracle.sol/MockSfrxEthFraxOracle.dbg.json +1 -1
  92. package/artifacts-zk/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +1 -1
  93. package/artifacts-zk/contracts/test/MockAnkrBNB.sol/MockAnkrBNB.dbg.json +1 -1
  94. package/artifacts-zk/contracts/test/MockAsBNB.sol/MockAsBNB.dbg.json +1 -1
  95. package/artifacts-zk/contracts/test/MockAsBNBMinter.sol/MockAsBNBMinter.dbg.json +1 -1
  96. package/artifacts-zk/contracts/test/MockEtherFiLiquidityPool.sol/MockEtherFiLiquidityPool.dbg.json +1 -1
  97. package/artifacts-zk/contracts/test/MockPyth.sol/MockPyth.dbg.json +1 -1
  98. package/artifacts-zk/contracts/test/MockSFrax.sol/MockSFrax.dbg.json +1 -1
  99. package/artifacts-zk/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +1 -1
  100. package/artifacts-zk/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +1 -1
  101. package/artifacts-zk/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +1 -1
  102. package/artifacts-zk/contracts/test/MockWBETH.sol/MockWBETH.dbg.json +1 -1
  103. package/artifacts-zk/contracts/test/PancakePairHarness.sol/Math.dbg.json +1 -1
  104. package/artifacts-zk/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +1 -1
  105. package/artifacts-zk/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +1 -1
  106. package/artifacts-zk/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +1 -1
  107. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/access/Ownable.sol/Ownable.dbg.json +1 -1
  108. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
  109. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
  110. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
  111. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/proxy/Proxy.sol/Proxy.dbg.json +1 -1
  112. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
  113. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
  114. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
  115. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/utils/Address.sol/Address.dbg.json +1 -1
  116. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/utils/Context.sol/Context.dbg.json +1 -1
  117. package/artifacts-zk/hardhat-deploy/solc_0.8/openzeppelin/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
  118. package/artifacts-zk/hardhat-deploy/solc_0.8/proxy/OptimizedTransparentUpgradeableProxy.sol/OptimizedTransparentUpgradeableProxy.dbg.json +1 -1
  119. package/deployments/bscmainnet/solcInputs/e0e84cc585c5459e8a1a18f2ff8db0e0.json +235 -0
  120. package/deployments/bscmainnet/xSolvBTCOneJumpRedStoneOracle.json +295 -0
  121. package/deployments/bscmainnet/xSolvBTCOneJumpRedStoneOracle_Implementation.json +204 -0
  122. package/deployments/bscmainnet/xSolvBTCOneJumpRedStoneOracle_Proxy.json +213 -0
  123. package/deployments/bscmainnet.json +465 -0
  124. package/deployments/bscmainnet_addresses.json +4 -1
  125. package/deployments/bsctestnet/solcInputs/e0e84cc585c5459e8a1a18f2ff8db0e0.json +235 -0
  126. package/deployments/bsctestnet/xSolvBTCOneJumpRedStoneOracle.json +295 -0
  127. package/deployments/bsctestnet/xSolvBTCOneJumpRedStoneOracle_Implementation.json +204 -0
  128. package/deployments/bsctestnet/xSolvBTCOneJumpRedStoneOracle_Proxy.json +213 -0
  129. package/deployments/bsctestnet.json +465 -0
  130. package/deployments/bsctestnet_addresses.json +4 -1
  131. package/dist/deploy/23-deploy-xSolvBTC.d.ts +4 -0
  132. package/dist/deploy/23-deploy-xSolvBTC.d.ts.map +1 -0
  133. package/dist/deploy/23-deploy-xSolvBTC.js +31 -0
  134. package/dist/deploy/23-deploy-xSolvBTC.js.map +1 -0
  135. package/dist/helpers/deploymentConfig.d.ts.map +1 -1
  136. package/dist/helpers/deploymentConfig.js +4 -0
  137. package/dist/helpers/deploymentConfig.js.map +1 -1
  138. package/package.json +1 -1
@@ -16305,6 +16305,471 @@
16305
16305
  "type": "receive"
16306
16306
  }
16307
16307
  ]
16308
+ },
16309
+ "xSolvBTCOneJumpRedStoneOracle": {
16310
+ "address": "0x9783294c8c2073A7e91A6F8B1b5f5658056232C8",
16311
+ "abi": [
16312
+ {
16313
+ "anonymous": false,
16314
+ "inputs": [
16315
+ {
16316
+ "indexed": false,
16317
+ "internalType": "address",
16318
+ "name": "previousAdmin",
16319
+ "type": "address"
16320
+ },
16321
+ {
16322
+ "indexed": false,
16323
+ "internalType": "address",
16324
+ "name": "newAdmin",
16325
+ "type": "address"
16326
+ }
16327
+ ],
16328
+ "name": "AdminChanged",
16329
+ "type": "event"
16330
+ },
16331
+ {
16332
+ "anonymous": false,
16333
+ "inputs": [
16334
+ {
16335
+ "indexed": true,
16336
+ "internalType": "address",
16337
+ "name": "beacon",
16338
+ "type": "address"
16339
+ }
16340
+ ],
16341
+ "name": "BeaconUpgraded",
16342
+ "type": "event"
16343
+ },
16344
+ {
16345
+ "anonymous": false,
16346
+ "inputs": [
16347
+ {
16348
+ "indexed": true,
16349
+ "internalType": "address",
16350
+ "name": "implementation",
16351
+ "type": "address"
16352
+ }
16353
+ ],
16354
+ "name": "Upgraded",
16355
+ "type": "event"
16356
+ },
16357
+ {
16358
+ "stateMutability": "payable",
16359
+ "type": "fallback"
16360
+ },
16361
+ {
16362
+ "inputs": [],
16363
+ "name": "admin",
16364
+ "outputs": [
16365
+ {
16366
+ "internalType": "address",
16367
+ "name": "admin_",
16368
+ "type": "address"
16369
+ }
16370
+ ],
16371
+ "stateMutability": "nonpayable",
16372
+ "type": "function"
16373
+ },
16374
+ {
16375
+ "inputs": [],
16376
+ "name": "implementation",
16377
+ "outputs": [
16378
+ {
16379
+ "internalType": "address",
16380
+ "name": "implementation_",
16381
+ "type": "address"
16382
+ }
16383
+ ],
16384
+ "stateMutability": "nonpayable",
16385
+ "type": "function"
16386
+ },
16387
+ {
16388
+ "inputs": [
16389
+ {
16390
+ "internalType": "address",
16391
+ "name": "newImplementation",
16392
+ "type": "address"
16393
+ }
16394
+ ],
16395
+ "name": "upgradeTo",
16396
+ "outputs": [],
16397
+ "stateMutability": "nonpayable",
16398
+ "type": "function"
16399
+ },
16400
+ {
16401
+ "inputs": [
16402
+ {
16403
+ "internalType": "address",
16404
+ "name": "newImplementation",
16405
+ "type": "address"
16406
+ },
16407
+ {
16408
+ "internalType": "bytes",
16409
+ "name": "data",
16410
+ "type": "bytes"
16411
+ }
16412
+ ],
16413
+ "name": "upgradeToAndCall",
16414
+ "outputs": [],
16415
+ "stateMutability": "payable",
16416
+ "type": "function"
16417
+ },
16418
+ {
16419
+ "stateMutability": "payable",
16420
+ "type": "receive"
16421
+ },
16422
+ {
16423
+ "inputs": [],
16424
+ "name": "InvalidTokenAddress",
16425
+ "type": "error"
16426
+ },
16427
+ {
16428
+ "inputs": [],
16429
+ "name": "ZeroAddressNotAllowed",
16430
+ "type": "error"
16431
+ },
16432
+ {
16433
+ "inputs": [],
16434
+ "name": "CORRELATED_TOKEN",
16435
+ "outputs": [
16436
+ {
16437
+ "internalType": "address",
16438
+ "name": "",
16439
+ "type": "address"
16440
+ }
16441
+ ],
16442
+ "stateMutability": "view",
16443
+ "type": "function"
16444
+ },
16445
+ {
16446
+ "inputs": [],
16447
+ "name": "INTERMEDIATE_ORACLE",
16448
+ "outputs": [
16449
+ {
16450
+ "internalType": "contract OracleInterface",
16451
+ "name": "",
16452
+ "type": "address"
16453
+ }
16454
+ ],
16455
+ "stateMutability": "view",
16456
+ "type": "function"
16457
+ },
16458
+ {
16459
+ "inputs": [],
16460
+ "name": "RESILIENT_ORACLE",
16461
+ "outputs": [
16462
+ {
16463
+ "internalType": "contract OracleInterface",
16464
+ "name": "",
16465
+ "type": "address"
16466
+ }
16467
+ ],
16468
+ "stateMutability": "view",
16469
+ "type": "function"
16470
+ },
16471
+ {
16472
+ "inputs": [],
16473
+ "name": "UNDERLYING_TOKEN",
16474
+ "outputs": [
16475
+ {
16476
+ "internalType": "address",
16477
+ "name": "",
16478
+ "type": "address"
16479
+ }
16480
+ ],
16481
+ "stateMutability": "view",
16482
+ "type": "function"
16483
+ },
16484
+ {
16485
+ "inputs": [
16486
+ {
16487
+ "internalType": "address",
16488
+ "name": "asset",
16489
+ "type": "address"
16490
+ }
16491
+ ],
16492
+ "name": "getPrice",
16493
+ "outputs": [
16494
+ {
16495
+ "internalType": "uint256",
16496
+ "name": "",
16497
+ "type": "uint256"
16498
+ }
16499
+ ],
16500
+ "stateMutability": "view",
16501
+ "type": "function"
16502
+ },
16503
+ {
16504
+ "inputs": [
16505
+ {
16506
+ "internalType": "address",
16507
+ "name": "_logic",
16508
+ "type": "address"
16509
+ },
16510
+ {
16511
+ "internalType": "address",
16512
+ "name": "admin_",
16513
+ "type": "address"
16514
+ },
16515
+ {
16516
+ "internalType": "bytes",
16517
+ "name": "_data",
16518
+ "type": "bytes"
16519
+ }
16520
+ ],
16521
+ "stateMutability": "payable",
16522
+ "type": "constructor"
16523
+ }
16524
+ ]
16525
+ },
16526
+ "xSolvBTCOneJumpRedStoneOracle_Implementation": {
16527
+ "address": "0x61D07B33CEa522d88503bc717B3B793d1886c3A4",
16528
+ "abi": [
16529
+ {
16530
+ "inputs": [
16531
+ {
16532
+ "internalType": "address",
16533
+ "name": "correlatedToken",
16534
+ "type": "address"
16535
+ },
16536
+ {
16537
+ "internalType": "address",
16538
+ "name": "underlyingToken",
16539
+ "type": "address"
16540
+ },
16541
+ {
16542
+ "internalType": "address",
16543
+ "name": "resilientOracle",
16544
+ "type": "address"
16545
+ },
16546
+ {
16547
+ "internalType": "address",
16548
+ "name": "intermediateOracle",
16549
+ "type": "address"
16550
+ }
16551
+ ],
16552
+ "stateMutability": "nonpayable",
16553
+ "type": "constructor"
16554
+ },
16555
+ {
16556
+ "inputs": [],
16557
+ "name": "InvalidTokenAddress",
16558
+ "type": "error"
16559
+ },
16560
+ {
16561
+ "inputs": [],
16562
+ "name": "ZeroAddressNotAllowed",
16563
+ "type": "error"
16564
+ },
16565
+ {
16566
+ "inputs": [],
16567
+ "name": "CORRELATED_TOKEN",
16568
+ "outputs": [
16569
+ {
16570
+ "internalType": "address",
16571
+ "name": "",
16572
+ "type": "address"
16573
+ }
16574
+ ],
16575
+ "stateMutability": "view",
16576
+ "type": "function"
16577
+ },
16578
+ {
16579
+ "inputs": [],
16580
+ "name": "INTERMEDIATE_ORACLE",
16581
+ "outputs": [
16582
+ {
16583
+ "internalType": "contract OracleInterface",
16584
+ "name": "",
16585
+ "type": "address"
16586
+ }
16587
+ ],
16588
+ "stateMutability": "view",
16589
+ "type": "function"
16590
+ },
16591
+ {
16592
+ "inputs": [],
16593
+ "name": "RESILIENT_ORACLE",
16594
+ "outputs": [
16595
+ {
16596
+ "internalType": "contract OracleInterface",
16597
+ "name": "",
16598
+ "type": "address"
16599
+ }
16600
+ ],
16601
+ "stateMutability": "view",
16602
+ "type": "function"
16603
+ },
16604
+ {
16605
+ "inputs": [],
16606
+ "name": "UNDERLYING_TOKEN",
16607
+ "outputs": [
16608
+ {
16609
+ "internalType": "address",
16610
+ "name": "",
16611
+ "type": "address"
16612
+ }
16613
+ ],
16614
+ "stateMutability": "view",
16615
+ "type": "function"
16616
+ },
16617
+ {
16618
+ "inputs": [
16619
+ {
16620
+ "internalType": "address",
16621
+ "name": "asset",
16622
+ "type": "address"
16623
+ }
16624
+ ],
16625
+ "name": "getPrice",
16626
+ "outputs": [
16627
+ {
16628
+ "internalType": "uint256",
16629
+ "name": "",
16630
+ "type": "uint256"
16631
+ }
16632
+ ],
16633
+ "stateMutability": "view",
16634
+ "type": "function"
16635
+ }
16636
+ ]
16637
+ },
16638
+ "xSolvBTCOneJumpRedStoneOracle_Proxy": {
16639
+ "address": "0x9783294c8c2073A7e91A6F8B1b5f5658056232C8",
16640
+ "abi": [
16641
+ {
16642
+ "inputs": [
16643
+ {
16644
+ "internalType": "address",
16645
+ "name": "_logic",
16646
+ "type": "address"
16647
+ },
16648
+ {
16649
+ "internalType": "address",
16650
+ "name": "admin_",
16651
+ "type": "address"
16652
+ },
16653
+ {
16654
+ "internalType": "bytes",
16655
+ "name": "_data",
16656
+ "type": "bytes"
16657
+ }
16658
+ ],
16659
+ "stateMutability": "payable",
16660
+ "type": "constructor"
16661
+ },
16662
+ {
16663
+ "anonymous": false,
16664
+ "inputs": [
16665
+ {
16666
+ "indexed": false,
16667
+ "internalType": "address",
16668
+ "name": "previousAdmin",
16669
+ "type": "address"
16670
+ },
16671
+ {
16672
+ "indexed": false,
16673
+ "internalType": "address",
16674
+ "name": "newAdmin",
16675
+ "type": "address"
16676
+ }
16677
+ ],
16678
+ "name": "AdminChanged",
16679
+ "type": "event"
16680
+ },
16681
+ {
16682
+ "anonymous": false,
16683
+ "inputs": [
16684
+ {
16685
+ "indexed": true,
16686
+ "internalType": "address",
16687
+ "name": "beacon",
16688
+ "type": "address"
16689
+ }
16690
+ ],
16691
+ "name": "BeaconUpgraded",
16692
+ "type": "event"
16693
+ },
16694
+ {
16695
+ "anonymous": false,
16696
+ "inputs": [
16697
+ {
16698
+ "indexed": true,
16699
+ "internalType": "address",
16700
+ "name": "implementation",
16701
+ "type": "address"
16702
+ }
16703
+ ],
16704
+ "name": "Upgraded",
16705
+ "type": "event"
16706
+ },
16707
+ {
16708
+ "stateMutability": "payable",
16709
+ "type": "fallback"
16710
+ },
16711
+ {
16712
+ "inputs": [],
16713
+ "name": "admin",
16714
+ "outputs": [
16715
+ {
16716
+ "internalType": "address",
16717
+ "name": "admin_",
16718
+ "type": "address"
16719
+ }
16720
+ ],
16721
+ "stateMutability": "nonpayable",
16722
+ "type": "function"
16723
+ },
16724
+ {
16725
+ "inputs": [],
16726
+ "name": "implementation",
16727
+ "outputs": [
16728
+ {
16729
+ "internalType": "address",
16730
+ "name": "implementation_",
16731
+ "type": "address"
16732
+ }
16733
+ ],
16734
+ "stateMutability": "nonpayable",
16735
+ "type": "function"
16736
+ },
16737
+ {
16738
+ "inputs": [
16739
+ {
16740
+ "internalType": "address",
16741
+ "name": "newImplementation",
16742
+ "type": "address"
16743
+ }
16744
+ ],
16745
+ "name": "upgradeTo",
16746
+ "outputs": [],
16747
+ "stateMutability": "nonpayable",
16748
+ "type": "function"
16749
+ },
16750
+ {
16751
+ "inputs": [
16752
+ {
16753
+ "internalType": "address",
16754
+ "name": "newImplementation",
16755
+ "type": "address"
16756
+ },
16757
+ {
16758
+ "internalType": "bytes",
16759
+ "name": "data",
16760
+ "type": "bytes"
16761
+ }
16762
+ ],
16763
+ "name": "upgradeToAndCall",
16764
+ "outputs": [],
16765
+ "stateMutability": "payable",
16766
+ "type": "function"
16767
+ },
16768
+ {
16769
+ "stateMutability": "payable",
16770
+ "type": "receive"
16771
+ }
16772
+ ]
16308
16773
  }
16309
16774
  }
16310
16775
  }
@@ -73,6 +73,9 @@
73
73
  "wstETHOneJumpChainlinkOracle_Proxy": "0xB1bf3f668e0E047ab214c7373cf6B06De37c8152",
74
74
  "wstETHOneJumpRedstoneOracle": "0x35af302A0B4653f214240FCb2dFf059Fe42eC2CE",
75
75
  "wstETHOneJumpRedstoneOracle_Implementation": "0xB82Aeb41e38fC541817a4a785F8e56f38A94da24",
76
- "wstETHOneJumpRedstoneOracle_Proxy": "0x35af302A0B4653f214240FCb2dFf059Fe42eC2CE"
76
+ "wstETHOneJumpRedstoneOracle_Proxy": "0x35af302A0B4653f214240FCb2dFf059Fe42eC2CE",
77
+ "xSolvBTCOneJumpRedStoneOracle": "0x9783294c8c2073A7e91A6F8B1b5f5658056232C8",
78
+ "xSolvBTCOneJumpRedStoneOracle_Implementation": "0x61D07B33CEa522d88503bc717B3B793d1886c3A4",
79
+ "xSolvBTCOneJumpRedStoneOracle_Proxy": "0x9783294c8c2073A7e91A6F8B1b5f5658056232C8"
77
80
  }
78
81
  }
@@ -0,0 +1,4 @@
1
+ import { DeployFunction } from "hardhat-deploy/dist/types";
2
+ declare const func: DeployFunction;
3
+ export default func;
4
+ //# sourceMappingURL=23-deploy-xSolvBTC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"23-deploy-xSolvBTC.d.ts","sourceRoot":"","sources":["../../deploy/23-deploy-xSolvBTC.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAK3D,QAAA,MAAM,IAAI,EAAE,cAqBX,CAAC;AAIF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const hardhat_1 = __importDefault(require("hardhat"));
7
+ const deploymentConfig_1 = require("../helpers/deploymentConfig");
8
+ const func = async function ({ getNamedAccounts, deployments, network }) {
9
+ const { deploy } = deployments;
10
+ const { deployer } = await getNamedAccounts();
11
+ const proxyOwnerAddress = deploymentConfig_1.ADDRESSES[network.name].timelock;
12
+ const { xSolvBTC, SolvBTC } = deploymentConfig_1.ADDRESSES[network.name];
13
+ const redstoneOracle = await hardhat_1.default.ethers.getContract("RedStoneOracle");
14
+ const resilientOracle = await hardhat_1.default.ethers.getContract("ResilientOracle");
15
+ await deploy("xSolvBTCOneJumpRedStoneOracle", {
16
+ contract: "OneJumpOracle",
17
+ from: deployer,
18
+ log: true,
19
+ deterministicDeployment: false,
20
+ args: [xSolvBTC, SolvBTC, resilientOracle.address, redstoneOracle.address],
21
+ proxy: {
22
+ owner: proxyOwnerAddress,
23
+ proxyContract: "OptimizedTransparentProxy",
24
+ },
25
+ skipIfAlreadyDeployed: true,
26
+ });
27
+ };
28
+ func.skip = async () => hardhat_1.default.network.name !== "bscmainnet" && hardhat_1.default.network.name !== "bsctestnet";
29
+ func.tags = ["xSolvBTC"];
30
+ exports.default = func;
31
+ //# sourceMappingURL=23-deploy-xSolvBTC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"23-deploy-xSolvBTC.js","sourceRoot":"","sources":["../../deploy/23-deploy-xSolvBTC.ts"],"names":[],"mappings":";;;;;AAAA,sDAA0B;AAI1B,kEAAwD;AAExD,MAAM,IAAI,GAAmB,KAAK,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAA6B;IAChH,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;IAC/B,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,gBAAgB,EAAE,CAAC;IAC9C,MAAM,iBAAiB,GAAG,4BAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;IAC3D,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,4BAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtD,MAAM,cAAc,GAAG,MAAM,iBAAG,CAAC,MAAM,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,MAAM,iBAAG,CAAC,MAAM,CAA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I,CAAC;IAC7D,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAC9C,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,EAAE,CAAC;CACnD;AAED,MAAM,WAAW,OAAO;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAG5C,CAAC;AAEF,eAAO,MAAM,QAAQ,+CAA+C,CAAC;AACrE,eAAO,MAAM,oBAAoB,QAAe,CAAC;AAGjD,eAAO,MAAM,YAAY,+CAA+B,CAAC;AAEzD,eAAO,MAAM,SAAS,EAAE,sBAsQvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAwH3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MA+B1B,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAIpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MA85BpB,CAAC;AAEF,eAAO,MAAM,cAAc,QAAa,QAAQ,OAAO,CA0EtD,CAAC;AAEF,eAAO,MAAM,kBAAkB,YAAmB,MAAM,KAAG,QAAQ,OAAO,MAAM,EAAE,OAAO,CAAC,CAQzF,CAAC"}
@@ -56,6 +56,8 @@ exports.ADDRESSES = {
56
56
  "PT-sUSDE-26JUN2025": "0x95e58161BA2423c3034658d957F3f5b94DeAbf81",
57
57
  sUSDe: "0xcFec590e417Abb378cfEfE6296829E35fa25cEbd",
58
58
  USDe: "0x986C30591f5aAb401ea3aa63aFA595608721B1B9",
59
+ xSolvBTC: "0x3ea87323806586A0282b50377e0FEa76070F532B",
60
+ SolvBTC: "0x6855E14A6df91b8E4D55163d068E9ef2530fd4CE",
59
61
  },
60
62
  bscmainnet: {
61
63
  vBNBAddress: bscmainnet_json_2.default.contracts.vBNB.address,
@@ -89,6 +91,8 @@ exports.ADDRESSES = {
89
91
  "PT-sUSDE-26JUN2025_Market": "0x8557D39d4BAB2b045ac5c2B7ea66d12139da9Af4",
90
92
  sUSDe: "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2",
91
93
  USDe: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34",
94
+ xSolvBTC: "0x1346b618dC92810EC74163e4c27004c921D446a5",
95
+ SolvBTC: "0x4aae823a6a0b376De6A78e74eCC5b079d38cBCf7",
92
96
  },
93
97
  sepolia: {
94
98
  vBNBAddress: hardhat_1.ethers.constants.AddressZero,