@venusprotocol/oracle 2.12.0-dev.1 → 2.12.0

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 (25) hide show
  1. package/deployments/bscmainnet/PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset.json +368 -0
  2. package/deployments/bscmainnet/PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset_Implementation.json +329 -0
  3. package/deployments/bscmainnet/PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset_Proxy.json +224 -0
  4. package/deployments/bscmainnet/solcInputs/8e19d72e166e56d88f764fda7692397b.json +316 -0
  5. package/deployments/bscmainnet.json +604 -0
  6. package/deployments/bscmainnet_addresses.json +3 -0
  7. package/deployments/ethereum/PendleOracle-PT-weETH-26DEC2024_Reference.json +368 -0
  8. package/deployments/ethereum/PendleOracle-PT-weETH-26DEC2024_Reference_Implementation.json +329 -0
  9. package/deployments/ethereum/PendleOracle-PT-weETH-26DEC2024_Reference_Proxy.json +224 -0
  10. package/deployments/ethereum/PendleOracle_PT_USDe_27MAR2025_Reference.json +368 -0
  11. package/deployments/ethereum/PendleOracle_PT_USDe_27MAR2025_Reference_Implementation.json +329 -0
  12. package/deployments/ethereum/PendleOracle_PT_USDe_27MAR2025_Reference_Proxy.json +224 -0
  13. package/deployments/ethereum/PendleOracle_PT_sUSDe_27MAR2025_Reference.json +368 -0
  14. package/deployments/ethereum/PendleOracle_PT_sUSDe_27MAR2025_Reference_Implementation.json +329 -0
  15. package/deployments/ethereum/PendleOracle_PT_sUSDe_27MAR2025_Reference_Proxy.json +224 -0
  16. package/deployments/ethereum/solcInputs/8e19d72e166e56d88f764fda7692397b.json +316 -0
  17. package/deployments/ethereum.json +1822 -10
  18. package/deployments/ethereum_addresses.json +9 -0
  19. package/dist/deploy/16-deploy-SolvBTC.BBN-pendle-oracles.d.ts.map +1 -1
  20. package/dist/deploy/16-deploy-SolvBTC.BBN-pendle-oracles.js +28 -0
  21. package/dist/deploy/16-deploy-SolvBTC.BBN-pendle-oracles.js.map +1 -1
  22. package/dist/deploy/7-deploy-pendle-oracle.d.ts.map +1 -1
  23. package/dist/deploy/7-deploy-pendle-oracle.js +77 -33
  24. package/dist/deploy/7-deploy-pendle-oracle.js.map +1 -1
  25. package/package.json +1 -1
@@ -4986,6 +4986,610 @@
4986
4986
  }
4987
4987
  ]
4988
4988
  },
4989
+ "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset": {
4990
+ "address": "0x3beC73E7A5385257981Cd50A147A32b0397d9cBB",
4991
+ "abi": [
4992
+ {
4993
+ "anonymous": false,
4994
+ "inputs": [
4995
+ {
4996
+ "indexed": false,
4997
+ "internalType": "address",
4998
+ "name": "previousAdmin",
4999
+ "type": "address"
5000
+ },
5001
+ {
5002
+ "indexed": false,
5003
+ "internalType": "address",
5004
+ "name": "newAdmin",
5005
+ "type": "address"
5006
+ }
5007
+ ],
5008
+ "name": "AdminChanged",
5009
+ "type": "event"
5010
+ },
5011
+ {
5012
+ "anonymous": false,
5013
+ "inputs": [
5014
+ {
5015
+ "indexed": true,
5016
+ "internalType": "address",
5017
+ "name": "beacon",
5018
+ "type": "address"
5019
+ }
5020
+ ],
5021
+ "name": "BeaconUpgraded",
5022
+ "type": "event"
5023
+ },
5024
+ {
5025
+ "anonymous": false,
5026
+ "inputs": [
5027
+ {
5028
+ "indexed": true,
5029
+ "internalType": "address",
5030
+ "name": "implementation",
5031
+ "type": "address"
5032
+ }
5033
+ ],
5034
+ "name": "Upgraded",
5035
+ "type": "event"
5036
+ },
5037
+ {
5038
+ "stateMutability": "payable",
5039
+ "type": "fallback"
5040
+ },
5041
+ {
5042
+ "inputs": [],
5043
+ "name": "admin",
5044
+ "outputs": [
5045
+ {
5046
+ "internalType": "address",
5047
+ "name": "admin_",
5048
+ "type": "address"
5049
+ }
5050
+ ],
5051
+ "stateMutability": "nonpayable",
5052
+ "type": "function"
5053
+ },
5054
+ {
5055
+ "inputs": [],
5056
+ "name": "implementation",
5057
+ "outputs": [
5058
+ {
5059
+ "internalType": "address",
5060
+ "name": "implementation_",
5061
+ "type": "address"
5062
+ }
5063
+ ],
5064
+ "stateMutability": "nonpayable",
5065
+ "type": "function"
5066
+ },
5067
+ {
5068
+ "inputs": [
5069
+ {
5070
+ "internalType": "address",
5071
+ "name": "newImplementation",
5072
+ "type": "address"
5073
+ }
5074
+ ],
5075
+ "name": "upgradeTo",
5076
+ "outputs": [],
5077
+ "stateMutability": "nonpayable",
5078
+ "type": "function"
5079
+ },
5080
+ {
5081
+ "inputs": [
5082
+ {
5083
+ "internalType": "address",
5084
+ "name": "newImplementation",
5085
+ "type": "address"
5086
+ },
5087
+ {
5088
+ "internalType": "bytes",
5089
+ "name": "data",
5090
+ "type": "bytes"
5091
+ }
5092
+ ],
5093
+ "name": "upgradeToAndCall",
5094
+ "outputs": [],
5095
+ "stateMutability": "payable",
5096
+ "type": "function"
5097
+ },
5098
+ {
5099
+ "stateMutability": "payable",
5100
+ "type": "receive"
5101
+ },
5102
+ {
5103
+ "inputs": [],
5104
+ "name": "InvalidDuration",
5105
+ "type": "error"
5106
+ },
5107
+ {
5108
+ "inputs": [],
5109
+ "name": "InvalidTokenAddress",
5110
+ "type": "error"
5111
+ },
5112
+ {
5113
+ "inputs": [],
5114
+ "name": "ZeroAddressNotAllowed",
5115
+ "type": "error"
5116
+ },
5117
+ {
5118
+ "inputs": [],
5119
+ "name": "ZeroValueNotAllowed",
5120
+ "type": "error"
5121
+ },
5122
+ {
5123
+ "inputs": [],
5124
+ "name": "CORRELATED_TOKEN",
5125
+ "outputs": [
5126
+ {
5127
+ "internalType": "address",
5128
+ "name": "",
5129
+ "type": "address"
5130
+ }
5131
+ ],
5132
+ "stateMutability": "view",
5133
+ "type": "function"
5134
+ },
5135
+ {
5136
+ "inputs": [],
5137
+ "name": "MARKET",
5138
+ "outputs": [
5139
+ {
5140
+ "internalType": "address",
5141
+ "name": "",
5142
+ "type": "address"
5143
+ }
5144
+ ],
5145
+ "stateMutability": "view",
5146
+ "type": "function"
5147
+ },
5148
+ {
5149
+ "inputs": [],
5150
+ "name": "PT_ORACLE",
5151
+ "outputs": [
5152
+ {
5153
+ "internalType": "contract IPendlePtOracle",
5154
+ "name": "",
5155
+ "type": "address"
5156
+ }
5157
+ ],
5158
+ "stateMutability": "view",
5159
+ "type": "function"
5160
+ },
5161
+ {
5162
+ "inputs": [],
5163
+ "name": "RATE_KIND",
5164
+ "outputs": [
5165
+ {
5166
+ "internalType": "enum PendleOracle.RateKind",
5167
+ "name": "",
5168
+ "type": "uint8"
5169
+ }
5170
+ ],
5171
+ "stateMutability": "view",
5172
+ "type": "function"
5173
+ },
5174
+ {
5175
+ "inputs": [],
5176
+ "name": "RESILIENT_ORACLE",
5177
+ "outputs": [
5178
+ {
5179
+ "internalType": "contract OracleInterface",
5180
+ "name": "",
5181
+ "type": "address"
5182
+ }
5183
+ ],
5184
+ "stateMutability": "view",
5185
+ "type": "function"
5186
+ },
5187
+ {
5188
+ "inputs": [],
5189
+ "name": "TWAP_DURATION",
5190
+ "outputs": [
5191
+ {
5192
+ "internalType": "uint32",
5193
+ "name": "",
5194
+ "type": "uint32"
5195
+ }
5196
+ ],
5197
+ "stateMutability": "view",
5198
+ "type": "function"
5199
+ },
5200
+ {
5201
+ "inputs": [],
5202
+ "name": "UNDERLYING_DECIMALS",
5203
+ "outputs": [
5204
+ {
5205
+ "internalType": "uint8",
5206
+ "name": "",
5207
+ "type": "uint8"
5208
+ }
5209
+ ],
5210
+ "stateMutability": "view",
5211
+ "type": "function"
5212
+ },
5213
+ {
5214
+ "inputs": [],
5215
+ "name": "UNDERLYING_TOKEN",
5216
+ "outputs": [
5217
+ {
5218
+ "internalType": "address",
5219
+ "name": "",
5220
+ "type": "address"
5221
+ }
5222
+ ],
5223
+ "stateMutability": "view",
5224
+ "type": "function"
5225
+ },
5226
+ {
5227
+ "inputs": [
5228
+ {
5229
+ "internalType": "address",
5230
+ "name": "asset",
5231
+ "type": "address"
5232
+ }
5233
+ ],
5234
+ "name": "getPrice",
5235
+ "outputs": [
5236
+ {
5237
+ "internalType": "uint256",
5238
+ "name": "",
5239
+ "type": "uint256"
5240
+ }
5241
+ ],
5242
+ "stateMutability": "view",
5243
+ "type": "function"
5244
+ },
5245
+ {
5246
+ "inputs": [
5247
+ {
5248
+ "internalType": "address",
5249
+ "name": "_logic",
5250
+ "type": "address"
5251
+ },
5252
+ {
5253
+ "internalType": "address",
5254
+ "name": "admin_",
5255
+ "type": "address"
5256
+ },
5257
+ {
5258
+ "internalType": "bytes",
5259
+ "name": "_data",
5260
+ "type": "bytes"
5261
+ }
5262
+ ],
5263
+ "stateMutability": "payable",
5264
+ "type": "constructor"
5265
+ }
5266
+ ]
5267
+ },
5268
+ "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset_Implementation": {
5269
+ "address": "0xe194B3A99B20BE368DEDDfe702820987Ef5c0E4A",
5270
+ "abi": [
5271
+ {
5272
+ "inputs": [
5273
+ {
5274
+ "internalType": "address",
5275
+ "name": "market",
5276
+ "type": "address"
5277
+ },
5278
+ {
5279
+ "internalType": "address",
5280
+ "name": "ptOracle",
5281
+ "type": "address"
5282
+ },
5283
+ {
5284
+ "internalType": "enum PendleOracle.RateKind",
5285
+ "name": "rateKind",
5286
+ "type": "uint8"
5287
+ },
5288
+ {
5289
+ "internalType": "address",
5290
+ "name": "ptToken",
5291
+ "type": "address"
5292
+ },
5293
+ {
5294
+ "internalType": "address",
5295
+ "name": "underlyingToken",
5296
+ "type": "address"
5297
+ },
5298
+ {
5299
+ "internalType": "address",
5300
+ "name": "resilientOracle",
5301
+ "type": "address"
5302
+ },
5303
+ {
5304
+ "internalType": "uint32",
5305
+ "name": "twapDuration",
5306
+ "type": "uint32"
5307
+ }
5308
+ ],
5309
+ "stateMutability": "nonpayable",
5310
+ "type": "constructor"
5311
+ },
5312
+ {
5313
+ "inputs": [],
5314
+ "name": "InvalidDuration",
5315
+ "type": "error"
5316
+ },
5317
+ {
5318
+ "inputs": [],
5319
+ "name": "InvalidTokenAddress",
5320
+ "type": "error"
5321
+ },
5322
+ {
5323
+ "inputs": [],
5324
+ "name": "ZeroAddressNotAllowed",
5325
+ "type": "error"
5326
+ },
5327
+ {
5328
+ "inputs": [],
5329
+ "name": "ZeroValueNotAllowed",
5330
+ "type": "error"
5331
+ },
5332
+ {
5333
+ "inputs": [],
5334
+ "name": "CORRELATED_TOKEN",
5335
+ "outputs": [
5336
+ {
5337
+ "internalType": "address",
5338
+ "name": "",
5339
+ "type": "address"
5340
+ }
5341
+ ],
5342
+ "stateMutability": "view",
5343
+ "type": "function"
5344
+ },
5345
+ {
5346
+ "inputs": [],
5347
+ "name": "MARKET",
5348
+ "outputs": [
5349
+ {
5350
+ "internalType": "address",
5351
+ "name": "",
5352
+ "type": "address"
5353
+ }
5354
+ ],
5355
+ "stateMutability": "view",
5356
+ "type": "function"
5357
+ },
5358
+ {
5359
+ "inputs": [],
5360
+ "name": "PT_ORACLE",
5361
+ "outputs": [
5362
+ {
5363
+ "internalType": "contract IPendlePtOracle",
5364
+ "name": "",
5365
+ "type": "address"
5366
+ }
5367
+ ],
5368
+ "stateMutability": "view",
5369
+ "type": "function"
5370
+ },
5371
+ {
5372
+ "inputs": [],
5373
+ "name": "RATE_KIND",
5374
+ "outputs": [
5375
+ {
5376
+ "internalType": "enum PendleOracle.RateKind",
5377
+ "name": "",
5378
+ "type": "uint8"
5379
+ }
5380
+ ],
5381
+ "stateMutability": "view",
5382
+ "type": "function"
5383
+ },
5384
+ {
5385
+ "inputs": [],
5386
+ "name": "RESILIENT_ORACLE",
5387
+ "outputs": [
5388
+ {
5389
+ "internalType": "contract OracleInterface",
5390
+ "name": "",
5391
+ "type": "address"
5392
+ }
5393
+ ],
5394
+ "stateMutability": "view",
5395
+ "type": "function"
5396
+ },
5397
+ {
5398
+ "inputs": [],
5399
+ "name": "TWAP_DURATION",
5400
+ "outputs": [
5401
+ {
5402
+ "internalType": "uint32",
5403
+ "name": "",
5404
+ "type": "uint32"
5405
+ }
5406
+ ],
5407
+ "stateMutability": "view",
5408
+ "type": "function"
5409
+ },
5410
+ {
5411
+ "inputs": [],
5412
+ "name": "UNDERLYING_DECIMALS",
5413
+ "outputs": [
5414
+ {
5415
+ "internalType": "uint8",
5416
+ "name": "",
5417
+ "type": "uint8"
5418
+ }
5419
+ ],
5420
+ "stateMutability": "view",
5421
+ "type": "function"
5422
+ },
5423
+ {
5424
+ "inputs": [],
5425
+ "name": "UNDERLYING_TOKEN",
5426
+ "outputs": [
5427
+ {
5428
+ "internalType": "address",
5429
+ "name": "",
5430
+ "type": "address"
5431
+ }
5432
+ ],
5433
+ "stateMutability": "view",
5434
+ "type": "function"
5435
+ },
5436
+ {
5437
+ "inputs": [
5438
+ {
5439
+ "internalType": "address",
5440
+ "name": "asset",
5441
+ "type": "address"
5442
+ }
5443
+ ],
5444
+ "name": "getPrice",
5445
+ "outputs": [
5446
+ {
5447
+ "internalType": "uint256",
5448
+ "name": "",
5449
+ "type": "uint256"
5450
+ }
5451
+ ],
5452
+ "stateMutability": "view",
5453
+ "type": "function"
5454
+ }
5455
+ ]
5456
+ },
5457
+ "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset_Proxy": {
5458
+ "address": "0x3beC73E7A5385257981Cd50A147A32b0397d9cBB",
5459
+ "abi": [
5460
+ {
5461
+ "inputs": [
5462
+ {
5463
+ "internalType": "address",
5464
+ "name": "_logic",
5465
+ "type": "address"
5466
+ },
5467
+ {
5468
+ "internalType": "address",
5469
+ "name": "admin_",
5470
+ "type": "address"
5471
+ },
5472
+ {
5473
+ "internalType": "bytes",
5474
+ "name": "_data",
5475
+ "type": "bytes"
5476
+ }
5477
+ ],
5478
+ "stateMutability": "payable",
5479
+ "type": "constructor"
5480
+ },
5481
+ {
5482
+ "anonymous": false,
5483
+ "inputs": [
5484
+ {
5485
+ "indexed": false,
5486
+ "internalType": "address",
5487
+ "name": "previousAdmin",
5488
+ "type": "address"
5489
+ },
5490
+ {
5491
+ "indexed": false,
5492
+ "internalType": "address",
5493
+ "name": "newAdmin",
5494
+ "type": "address"
5495
+ }
5496
+ ],
5497
+ "name": "AdminChanged",
5498
+ "type": "event"
5499
+ },
5500
+ {
5501
+ "anonymous": false,
5502
+ "inputs": [
5503
+ {
5504
+ "indexed": true,
5505
+ "internalType": "address",
5506
+ "name": "beacon",
5507
+ "type": "address"
5508
+ }
5509
+ ],
5510
+ "name": "BeaconUpgraded",
5511
+ "type": "event"
5512
+ },
5513
+ {
5514
+ "anonymous": false,
5515
+ "inputs": [
5516
+ {
5517
+ "indexed": true,
5518
+ "internalType": "address",
5519
+ "name": "implementation",
5520
+ "type": "address"
5521
+ }
5522
+ ],
5523
+ "name": "Upgraded",
5524
+ "type": "event"
5525
+ },
5526
+ {
5527
+ "stateMutability": "payable",
5528
+ "type": "fallback"
5529
+ },
5530
+ {
5531
+ "inputs": [],
5532
+ "name": "admin",
5533
+ "outputs": [
5534
+ {
5535
+ "internalType": "address",
5536
+ "name": "admin_",
5537
+ "type": "address"
5538
+ }
5539
+ ],
5540
+ "stateMutability": "nonpayable",
5541
+ "type": "function"
5542
+ },
5543
+ {
5544
+ "inputs": [],
5545
+ "name": "implementation",
5546
+ "outputs": [
5547
+ {
5548
+ "internalType": "address",
5549
+ "name": "implementation_",
5550
+ "type": "address"
5551
+ }
5552
+ ],
5553
+ "stateMutability": "nonpayable",
5554
+ "type": "function"
5555
+ },
5556
+ {
5557
+ "inputs": [
5558
+ {
5559
+ "internalType": "address",
5560
+ "name": "newImplementation",
5561
+ "type": "address"
5562
+ }
5563
+ ],
5564
+ "name": "upgradeTo",
5565
+ "outputs": [],
5566
+ "stateMutability": "nonpayable",
5567
+ "type": "function"
5568
+ },
5569
+ {
5570
+ "inputs": [
5571
+ {
5572
+ "internalType": "address",
5573
+ "name": "newImplementation",
5574
+ "type": "address"
5575
+ },
5576
+ {
5577
+ "internalType": "bytes",
5578
+ "name": "data",
5579
+ "type": "bytes"
5580
+ }
5581
+ ],
5582
+ "name": "upgradeToAndCall",
5583
+ "outputs": [],
5584
+ "stateMutability": "payable",
5585
+ "type": "function"
5586
+ },
5587
+ {
5588
+ "stateMutability": "payable",
5589
+ "type": "receive"
5590
+ }
5591
+ ]
5592
+ },
4989
5593
  "PythOracle": {
4990
5594
  "address": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
4991
5595
  "abi": [
@@ -22,6 +22,9 @@
22
22
  "PendleOracle-PT-SolvBTC.BBN-27MAR2025": "0xE11965a3513F537d91D73d9976FBe8c0969Bb252",
23
23
  "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Implementation": "0xD2721FB0d9F071d84B3EbFd27Ab35B568b350079",
24
24
  "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Proxy": "0xE11965a3513F537d91D73d9976FBe8c0969Bb252",
25
+ "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset": "0x3beC73E7A5385257981Cd50A147A32b0397d9cBB",
26
+ "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset_Implementation": "0xe194B3A99B20BE368DEDDfe702820987Ef5c0E4A",
27
+ "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Reference_PtToAsset_Proxy": "0x3beC73E7A5385257981Cd50A147A32b0397d9cBB",
25
28
  "PythOracle": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",
26
29
  "PythOracle_Implementation": "0x1b8dE8fe17735B80E30e1bAbcD78A20F573a3e9e",
27
30
  "PythOracle_Proxy": "0xb893E38162f55fb80B18Aa44da76FaDf8E9B2262",