@venusprotocol/oracle 2.7.0-dev.1 → 2.7.0-dev.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.
- package/deployments/bscmainnet/BNBxOracle.json +41 -30
- package/deployments/bscmainnet/BNBxOracle_Implementation.json +11 -11
- package/deployments/bscmainnet/BNBxOracle_Proxy.json +40 -29
- package/deployments/bscmainnet.json +3 -3
- package/deployments/bscmainnet_addresses.json +3 -3
- package/deployments/ethereum/pufETHOneJumpRedStoneOracle.json +295 -0
- package/deployments/ethereum/pufETHOneJumpRedStoneOracle_Implementation.json +204 -0
- package/deployments/ethereum/pufETHOneJumpRedStoneOracle_Proxy.json +213 -0
- package/deployments/ethereum/solcInputs/20abf9c935c457314764c04a2f2833b7.json +325 -0
- package/deployments/ethereum.json +465 -0
- package/deployments/ethereum_addresses.json +3 -0
- package/deployments/sepolia/pufETHOneJumpRedStoneOracle.json +295 -0
- package/deployments/sepolia/pufETHOneJumpRedStoneOracle_Implementation.json +204 -0
- package/deployments/sepolia/pufETHOneJumpRedStoneOracle_Proxy.json +213 -0
- package/deployments/sepolia/solcInputs/20abf9c935c457314764c04a2f2833b7.json +325 -0
- package/deployments/sepolia.json +465 -0
- package/deployments/sepolia_addresses.json +3 -0
- package/dist/deploy/14-deploy-pufETH-oracle.d.ts +4 -0
- package/dist/deploy/14-deploy-pufETH-oracle.d.ts.map +1 -0
- package/dist/deploy/14-deploy-pufETH-oracle.js +31 -0
- package/dist/deploy/14-deploy-pufETH-oracle.js.map +1 -0
- package/dist/helpers/deploymentConfig.d.ts.map +1 -1
- package/dist/helpers/deploymentConfig.js +3 -1
- package/dist/helpers/deploymentConfig.js.map +1 -1
- package/package.json +1 -1
|
@@ -10403,6 +10403,471 @@
|
|
|
10403
10403
|
}
|
|
10404
10404
|
]
|
|
10405
10405
|
},
|
|
10406
|
+
"pufETHOneJumpRedStoneOracle": {
|
|
10407
|
+
"address": "0xAaE18CEBDF55bbbbf5C70c334Ee81D918be728Bc",
|
|
10408
|
+
"abi": [
|
|
10409
|
+
{
|
|
10410
|
+
"anonymous": false,
|
|
10411
|
+
"inputs": [
|
|
10412
|
+
{
|
|
10413
|
+
"indexed": false,
|
|
10414
|
+
"internalType": "address",
|
|
10415
|
+
"name": "previousAdmin",
|
|
10416
|
+
"type": "address"
|
|
10417
|
+
},
|
|
10418
|
+
{
|
|
10419
|
+
"indexed": false,
|
|
10420
|
+
"internalType": "address",
|
|
10421
|
+
"name": "newAdmin",
|
|
10422
|
+
"type": "address"
|
|
10423
|
+
}
|
|
10424
|
+
],
|
|
10425
|
+
"name": "AdminChanged",
|
|
10426
|
+
"type": "event"
|
|
10427
|
+
},
|
|
10428
|
+
{
|
|
10429
|
+
"anonymous": false,
|
|
10430
|
+
"inputs": [
|
|
10431
|
+
{
|
|
10432
|
+
"indexed": true,
|
|
10433
|
+
"internalType": "address",
|
|
10434
|
+
"name": "beacon",
|
|
10435
|
+
"type": "address"
|
|
10436
|
+
}
|
|
10437
|
+
],
|
|
10438
|
+
"name": "BeaconUpgraded",
|
|
10439
|
+
"type": "event"
|
|
10440
|
+
},
|
|
10441
|
+
{
|
|
10442
|
+
"anonymous": false,
|
|
10443
|
+
"inputs": [
|
|
10444
|
+
{
|
|
10445
|
+
"indexed": true,
|
|
10446
|
+
"internalType": "address",
|
|
10447
|
+
"name": "implementation",
|
|
10448
|
+
"type": "address"
|
|
10449
|
+
}
|
|
10450
|
+
],
|
|
10451
|
+
"name": "Upgraded",
|
|
10452
|
+
"type": "event"
|
|
10453
|
+
},
|
|
10454
|
+
{
|
|
10455
|
+
"stateMutability": "payable",
|
|
10456
|
+
"type": "fallback"
|
|
10457
|
+
},
|
|
10458
|
+
{
|
|
10459
|
+
"inputs": [],
|
|
10460
|
+
"name": "admin",
|
|
10461
|
+
"outputs": [
|
|
10462
|
+
{
|
|
10463
|
+
"internalType": "address",
|
|
10464
|
+
"name": "admin_",
|
|
10465
|
+
"type": "address"
|
|
10466
|
+
}
|
|
10467
|
+
],
|
|
10468
|
+
"stateMutability": "nonpayable",
|
|
10469
|
+
"type": "function"
|
|
10470
|
+
},
|
|
10471
|
+
{
|
|
10472
|
+
"inputs": [],
|
|
10473
|
+
"name": "implementation",
|
|
10474
|
+
"outputs": [
|
|
10475
|
+
{
|
|
10476
|
+
"internalType": "address",
|
|
10477
|
+
"name": "implementation_",
|
|
10478
|
+
"type": "address"
|
|
10479
|
+
}
|
|
10480
|
+
],
|
|
10481
|
+
"stateMutability": "nonpayable",
|
|
10482
|
+
"type": "function"
|
|
10483
|
+
},
|
|
10484
|
+
{
|
|
10485
|
+
"inputs": [
|
|
10486
|
+
{
|
|
10487
|
+
"internalType": "address",
|
|
10488
|
+
"name": "newImplementation",
|
|
10489
|
+
"type": "address"
|
|
10490
|
+
}
|
|
10491
|
+
],
|
|
10492
|
+
"name": "upgradeTo",
|
|
10493
|
+
"outputs": [],
|
|
10494
|
+
"stateMutability": "nonpayable",
|
|
10495
|
+
"type": "function"
|
|
10496
|
+
},
|
|
10497
|
+
{
|
|
10498
|
+
"inputs": [
|
|
10499
|
+
{
|
|
10500
|
+
"internalType": "address",
|
|
10501
|
+
"name": "newImplementation",
|
|
10502
|
+
"type": "address"
|
|
10503
|
+
},
|
|
10504
|
+
{
|
|
10505
|
+
"internalType": "bytes",
|
|
10506
|
+
"name": "data",
|
|
10507
|
+
"type": "bytes"
|
|
10508
|
+
}
|
|
10509
|
+
],
|
|
10510
|
+
"name": "upgradeToAndCall",
|
|
10511
|
+
"outputs": [],
|
|
10512
|
+
"stateMutability": "payable",
|
|
10513
|
+
"type": "function"
|
|
10514
|
+
},
|
|
10515
|
+
{
|
|
10516
|
+
"stateMutability": "payable",
|
|
10517
|
+
"type": "receive"
|
|
10518
|
+
},
|
|
10519
|
+
{
|
|
10520
|
+
"inputs": [],
|
|
10521
|
+
"name": "InvalidTokenAddress",
|
|
10522
|
+
"type": "error"
|
|
10523
|
+
},
|
|
10524
|
+
{
|
|
10525
|
+
"inputs": [],
|
|
10526
|
+
"name": "ZeroAddressNotAllowed",
|
|
10527
|
+
"type": "error"
|
|
10528
|
+
},
|
|
10529
|
+
{
|
|
10530
|
+
"inputs": [],
|
|
10531
|
+
"name": "CORRELATED_TOKEN",
|
|
10532
|
+
"outputs": [
|
|
10533
|
+
{
|
|
10534
|
+
"internalType": "address",
|
|
10535
|
+
"name": "",
|
|
10536
|
+
"type": "address"
|
|
10537
|
+
}
|
|
10538
|
+
],
|
|
10539
|
+
"stateMutability": "view",
|
|
10540
|
+
"type": "function"
|
|
10541
|
+
},
|
|
10542
|
+
{
|
|
10543
|
+
"inputs": [],
|
|
10544
|
+
"name": "INTERMEDIATE_ORACLE",
|
|
10545
|
+
"outputs": [
|
|
10546
|
+
{
|
|
10547
|
+
"internalType": "contract OracleInterface",
|
|
10548
|
+
"name": "",
|
|
10549
|
+
"type": "address"
|
|
10550
|
+
}
|
|
10551
|
+
],
|
|
10552
|
+
"stateMutability": "view",
|
|
10553
|
+
"type": "function"
|
|
10554
|
+
},
|
|
10555
|
+
{
|
|
10556
|
+
"inputs": [],
|
|
10557
|
+
"name": "RESILIENT_ORACLE",
|
|
10558
|
+
"outputs": [
|
|
10559
|
+
{
|
|
10560
|
+
"internalType": "contract OracleInterface",
|
|
10561
|
+
"name": "",
|
|
10562
|
+
"type": "address"
|
|
10563
|
+
}
|
|
10564
|
+
],
|
|
10565
|
+
"stateMutability": "view",
|
|
10566
|
+
"type": "function"
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
"inputs": [],
|
|
10570
|
+
"name": "UNDERLYING_TOKEN",
|
|
10571
|
+
"outputs": [
|
|
10572
|
+
{
|
|
10573
|
+
"internalType": "address",
|
|
10574
|
+
"name": "",
|
|
10575
|
+
"type": "address"
|
|
10576
|
+
}
|
|
10577
|
+
],
|
|
10578
|
+
"stateMutability": "view",
|
|
10579
|
+
"type": "function"
|
|
10580
|
+
},
|
|
10581
|
+
{
|
|
10582
|
+
"inputs": [
|
|
10583
|
+
{
|
|
10584
|
+
"internalType": "address",
|
|
10585
|
+
"name": "asset",
|
|
10586
|
+
"type": "address"
|
|
10587
|
+
}
|
|
10588
|
+
],
|
|
10589
|
+
"name": "getPrice",
|
|
10590
|
+
"outputs": [
|
|
10591
|
+
{
|
|
10592
|
+
"internalType": "uint256",
|
|
10593
|
+
"name": "",
|
|
10594
|
+
"type": "uint256"
|
|
10595
|
+
}
|
|
10596
|
+
],
|
|
10597
|
+
"stateMutability": "view",
|
|
10598
|
+
"type": "function"
|
|
10599
|
+
},
|
|
10600
|
+
{
|
|
10601
|
+
"inputs": [
|
|
10602
|
+
{
|
|
10603
|
+
"internalType": "address",
|
|
10604
|
+
"name": "_logic",
|
|
10605
|
+
"type": "address"
|
|
10606
|
+
},
|
|
10607
|
+
{
|
|
10608
|
+
"internalType": "address",
|
|
10609
|
+
"name": "admin_",
|
|
10610
|
+
"type": "address"
|
|
10611
|
+
},
|
|
10612
|
+
{
|
|
10613
|
+
"internalType": "bytes",
|
|
10614
|
+
"name": "_data",
|
|
10615
|
+
"type": "bytes"
|
|
10616
|
+
}
|
|
10617
|
+
],
|
|
10618
|
+
"stateMutability": "payable",
|
|
10619
|
+
"type": "constructor"
|
|
10620
|
+
}
|
|
10621
|
+
]
|
|
10622
|
+
},
|
|
10623
|
+
"pufETHOneJumpRedStoneOracle_Implementation": {
|
|
10624
|
+
"address": "0x5177623f49e44ec2FA57452DB6c09EF38CF9203b",
|
|
10625
|
+
"abi": [
|
|
10626
|
+
{
|
|
10627
|
+
"inputs": [
|
|
10628
|
+
{
|
|
10629
|
+
"internalType": "address",
|
|
10630
|
+
"name": "correlatedToken",
|
|
10631
|
+
"type": "address"
|
|
10632
|
+
},
|
|
10633
|
+
{
|
|
10634
|
+
"internalType": "address",
|
|
10635
|
+
"name": "underlyingToken",
|
|
10636
|
+
"type": "address"
|
|
10637
|
+
},
|
|
10638
|
+
{
|
|
10639
|
+
"internalType": "address",
|
|
10640
|
+
"name": "resilientOracle",
|
|
10641
|
+
"type": "address"
|
|
10642
|
+
},
|
|
10643
|
+
{
|
|
10644
|
+
"internalType": "address",
|
|
10645
|
+
"name": "intermediateOracle",
|
|
10646
|
+
"type": "address"
|
|
10647
|
+
}
|
|
10648
|
+
],
|
|
10649
|
+
"stateMutability": "nonpayable",
|
|
10650
|
+
"type": "constructor"
|
|
10651
|
+
},
|
|
10652
|
+
{
|
|
10653
|
+
"inputs": [],
|
|
10654
|
+
"name": "InvalidTokenAddress",
|
|
10655
|
+
"type": "error"
|
|
10656
|
+
},
|
|
10657
|
+
{
|
|
10658
|
+
"inputs": [],
|
|
10659
|
+
"name": "ZeroAddressNotAllowed",
|
|
10660
|
+
"type": "error"
|
|
10661
|
+
},
|
|
10662
|
+
{
|
|
10663
|
+
"inputs": [],
|
|
10664
|
+
"name": "CORRELATED_TOKEN",
|
|
10665
|
+
"outputs": [
|
|
10666
|
+
{
|
|
10667
|
+
"internalType": "address",
|
|
10668
|
+
"name": "",
|
|
10669
|
+
"type": "address"
|
|
10670
|
+
}
|
|
10671
|
+
],
|
|
10672
|
+
"stateMutability": "view",
|
|
10673
|
+
"type": "function"
|
|
10674
|
+
},
|
|
10675
|
+
{
|
|
10676
|
+
"inputs": [],
|
|
10677
|
+
"name": "INTERMEDIATE_ORACLE",
|
|
10678
|
+
"outputs": [
|
|
10679
|
+
{
|
|
10680
|
+
"internalType": "contract OracleInterface",
|
|
10681
|
+
"name": "",
|
|
10682
|
+
"type": "address"
|
|
10683
|
+
}
|
|
10684
|
+
],
|
|
10685
|
+
"stateMutability": "view",
|
|
10686
|
+
"type": "function"
|
|
10687
|
+
},
|
|
10688
|
+
{
|
|
10689
|
+
"inputs": [],
|
|
10690
|
+
"name": "RESILIENT_ORACLE",
|
|
10691
|
+
"outputs": [
|
|
10692
|
+
{
|
|
10693
|
+
"internalType": "contract OracleInterface",
|
|
10694
|
+
"name": "",
|
|
10695
|
+
"type": "address"
|
|
10696
|
+
}
|
|
10697
|
+
],
|
|
10698
|
+
"stateMutability": "view",
|
|
10699
|
+
"type": "function"
|
|
10700
|
+
},
|
|
10701
|
+
{
|
|
10702
|
+
"inputs": [],
|
|
10703
|
+
"name": "UNDERLYING_TOKEN",
|
|
10704
|
+
"outputs": [
|
|
10705
|
+
{
|
|
10706
|
+
"internalType": "address",
|
|
10707
|
+
"name": "",
|
|
10708
|
+
"type": "address"
|
|
10709
|
+
}
|
|
10710
|
+
],
|
|
10711
|
+
"stateMutability": "view",
|
|
10712
|
+
"type": "function"
|
|
10713
|
+
},
|
|
10714
|
+
{
|
|
10715
|
+
"inputs": [
|
|
10716
|
+
{
|
|
10717
|
+
"internalType": "address",
|
|
10718
|
+
"name": "asset",
|
|
10719
|
+
"type": "address"
|
|
10720
|
+
}
|
|
10721
|
+
],
|
|
10722
|
+
"name": "getPrice",
|
|
10723
|
+
"outputs": [
|
|
10724
|
+
{
|
|
10725
|
+
"internalType": "uint256",
|
|
10726
|
+
"name": "",
|
|
10727
|
+
"type": "uint256"
|
|
10728
|
+
}
|
|
10729
|
+
],
|
|
10730
|
+
"stateMutability": "view",
|
|
10731
|
+
"type": "function"
|
|
10732
|
+
}
|
|
10733
|
+
]
|
|
10734
|
+
},
|
|
10735
|
+
"pufETHOneJumpRedStoneOracle_Proxy": {
|
|
10736
|
+
"address": "0xAaE18CEBDF55bbbbf5C70c334Ee81D918be728Bc",
|
|
10737
|
+
"abi": [
|
|
10738
|
+
{
|
|
10739
|
+
"inputs": [
|
|
10740
|
+
{
|
|
10741
|
+
"internalType": "address",
|
|
10742
|
+
"name": "_logic",
|
|
10743
|
+
"type": "address"
|
|
10744
|
+
},
|
|
10745
|
+
{
|
|
10746
|
+
"internalType": "address",
|
|
10747
|
+
"name": "admin_",
|
|
10748
|
+
"type": "address"
|
|
10749
|
+
},
|
|
10750
|
+
{
|
|
10751
|
+
"internalType": "bytes",
|
|
10752
|
+
"name": "_data",
|
|
10753
|
+
"type": "bytes"
|
|
10754
|
+
}
|
|
10755
|
+
],
|
|
10756
|
+
"stateMutability": "payable",
|
|
10757
|
+
"type": "constructor"
|
|
10758
|
+
},
|
|
10759
|
+
{
|
|
10760
|
+
"anonymous": false,
|
|
10761
|
+
"inputs": [
|
|
10762
|
+
{
|
|
10763
|
+
"indexed": false,
|
|
10764
|
+
"internalType": "address",
|
|
10765
|
+
"name": "previousAdmin",
|
|
10766
|
+
"type": "address"
|
|
10767
|
+
},
|
|
10768
|
+
{
|
|
10769
|
+
"indexed": false,
|
|
10770
|
+
"internalType": "address",
|
|
10771
|
+
"name": "newAdmin",
|
|
10772
|
+
"type": "address"
|
|
10773
|
+
}
|
|
10774
|
+
],
|
|
10775
|
+
"name": "AdminChanged",
|
|
10776
|
+
"type": "event"
|
|
10777
|
+
},
|
|
10778
|
+
{
|
|
10779
|
+
"anonymous": false,
|
|
10780
|
+
"inputs": [
|
|
10781
|
+
{
|
|
10782
|
+
"indexed": true,
|
|
10783
|
+
"internalType": "address",
|
|
10784
|
+
"name": "beacon",
|
|
10785
|
+
"type": "address"
|
|
10786
|
+
}
|
|
10787
|
+
],
|
|
10788
|
+
"name": "BeaconUpgraded",
|
|
10789
|
+
"type": "event"
|
|
10790
|
+
},
|
|
10791
|
+
{
|
|
10792
|
+
"anonymous": false,
|
|
10793
|
+
"inputs": [
|
|
10794
|
+
{
|
|
10795
|
+
"indexed": true,
|
|
10796
|
+
"internalType": "address",
|
|
10797
|
+
"name": "implementation",
|
|
10798
|
+
"type": "address"
|
|
10799
|
+
}
|
|
10800
|
+
],
|
|
10801
|
+
"name": "Upgraded",
|
|
10802
|
+
"type": "event"
|
|
10803
|
+
},
|
|
10804
|
+
{
|
|
10805
|
+
"stateMutability": "payable",
|
|
10806
|
+
"type": "fallback"
|
|
10807
|
+
},
|
|
10808
|
+
{
|
|
10809
|
+
"inputs": [],
|
|
10810
|
+
"name": "admin",
|
|
10811
|
+
"outputs": [
|
|
10812
|
+
{
|
|
10813
|
+
"internalType": "address",
|
|
10814
|
+
"name": "admin_",
|
|
10815
|
+
"type": "address"
|
|
10816
|
+
}
|
|
10817
|
+
],
|
|
10818
|
+
"stateMutability": "nonpayable",
|
|
10819
|
+
"type": "function"
|
|
10820
|
+
},
|
|
10821
|
+
{
|
|
10822
|
+
"inputs": [],
|
|
10823
|
+
"name": "implementation",
|
|
10824
|
+
"outputs": [
|
|
10825
|
+
{
|
|
10826
|
+
"internalType": "address",
|
|
10827
|
+
"name": "implementation_",
|
|
10828
|
+
"type": "address"
|
|
10829
|
+
}
|
|
10830
|
+
],
|
|
10831
|
+
"stateMutability": "nonpayable",
|
|
10832
|
+
"type": "function"
|
|
10833
|
+
},
|
|
10834
|
+
{
|
|
10835
|
+
"inputs": [
|
|
10836
|
+
{
|
|
10837
|
+
"internalType": "address",
|
|
10838
|
+
"name": "newImplementation",
|
|
10839
|
+
"type": "address"
|
|
10840
|
+
}
|
|
10841
|
+
],
|
|
10842
|
+
"name": "upgradeTo",
|
|
10843
|
+
"outputs": [],
|
|
10844
|
+
"stateMutability": "nonpayable",
|
|
10845
|
+
"type": "function"
|
|
10846
|
+
},
|
|
10847
|
+
{
|
|
10848
|
+
"inputs": [
|
|
10849
|
+
{
|
|
10850
|
+
"internalType": "address",
|
|
10851
|
+
"name": "newImplementation",
|
|
10852
|
+
"type": "address"
|
|
10853
|
+
},
|
|
10854
|
+
{
|
|
10855
|
+
"internalType": "bytes",
|
|
10856
|
+
"name": "data",
|
|
10857
|
+
"type": "bytes"
|
|
10858
|
+
}
|
|
10859
|
+
],
|
|
10860
|
+
"name": "upgradeToAndCall",
|
|
10861
|
+
"outputs": [],
|
|
10862
|
+
"stateMutability": "payable",
|
|
10863
|
+
"type": "function"
|
|
10864
|
+
},
|
|
10865
|
+
{
|
|
10866
|
+
"stateMutability": "payable",
|
|
10867
|
+
"type": "receive"
|
|
10868
|
+
}
|
|
10869
|
+
]
|
|
10870
|
+
},
|
|
10406
10871
|
"rsETHOneJumpChainlinkOracle": {
|
|
10407
10872
|
"address": "0xD63011ddAc93a6f8348bf7E6Aeb3E30Ad7B46Df8",
|
|
10408
10873
|
"abi": [
|
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
"ezETHOneJumpRedStoneOracle": "0x8062dC1b38c0b2CF6188dF605B19cFF3c4dc9b29",
|
|
49
49
|
"ezETHOneJumpRedStoneOracle_Implementation": "0x553C5984d57203D6D36996B55cA3Ba4088016C5b",
|
|
50
50
|
"ezETHOneJumpRedStoneOracle_Proxy": "0x8062dC1b38c0b2CF6188dF605B19cFF3c4dc9b29",
|
|
51
|
+
"pufETHOneJumpRedStoneOracle": "0xAaE18CEBDF55bbbbf5C70c334Ee81D918be728Bc",
|
|
52
|
+
"pufETHOneJumpRedStoneOracle_Implementation": "0x5177623f49e44ec2FA57452DB6c09EF38CF9203b",
|
|
53
|
+
"pufETHOneJumpRedStoneOracle_Proxy": "0xAaE18CEBDF55bbbbf5C70c334Ee81D918be728Bc",
|
|
51
54
|
"rsETHOneJumpChainlinkOracle": "0xD63011ddAc93a6f8348bf7E6Aeb3E30Ad7B46Df8",
|
|
52
55
|
"rsETHOneJumpChainlinkOracle_Implementation": "0x81cC55e6A67ae1A35D1d2f1eDAC73db9388Ac376",
|
|
53
56
|
"rsETHOneJumpChainlinkOracle_Proxy": "0xD63011ddAc93a6f8348bf7E6Aeb3E30Ad7B46Df8",
|