@venusprotocol/oracle 2.14.0-dev.1 → 2.14.0-dev.2
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/PendleOracle-PT-USDe-30OCT2025.json +785 -0
- package/deployments/bscmainnet/PendleOracle-PT-USDe-30OCT2025_Reference_PtToAsset.json +785 -0
- package/deployments/bscmainnet/solcInputs/eb7ae6b5763315e358adb74172778b7c.json +337 -0
- package/deployments/bscmainnet.json +1008 -0
- package/deployments/bscmainnet_addresses.json +2 -0
- package/deployments/bsctestnet/PendleOracle-PT-USDe-30Oct2025.json +785 -0
- package/deployments/bsctestnet/solcInputs/26a7070d6dc65f243bcdfd66c9c6afcc.json +241 -0
- package/deployments/bsctestnet/solcInputs/eb7ae6b5763315e358adb74172778b7c.json +337 -0
- package/deployments/bsctestnet.json +504 -0
- package/deployments/bsctestnet_addresses.json +1 -0
- package/dist/deploy/24-deploy-USDe-pendle-oracles.d.ts +4 -0
- package/dist/deploy/24-deploy-USDe-pendle-oracles.d.ts.map +1 -0
- package/dist/deploy/24-deploy-USDe-pendle-oracles.js +75 -0
- package/dist/deploy/24-deploy-USDe-pendle-oracles.js.map +1 -0
- package/dist/helpers/deploymentConfig.d.ts.map +1 -1
- package/dist/helpers/deploymentConfig.js +3 -0
- package/dist/helpers/deploymentConfig.js.map +1 -1
- package/package.json +1 -1
|
@@ -6539,6 +6539,510 @@
|
|
|
6539
6539
|
}
|
|
6540
6540
|
]
|
|
6541
6541
|
},
|
|
6542
|
+
"PendleOracle-PT-USDe-30Oct2025": {
|
|
6543
|
+
"address": "0x9d223177a0Ea5505EbF3665f950093091f04739b",
|
|
6544
|
+
"abi": [
|
|
6545
|
+
{
|
|
6546
|
+
"inputs": [
|
|
6547
|
+
{
|
|
6548
|
+
"components": [
|
|
6549
|
+
{
|
|
6550
|
+
"internalType": "address",
|
|
6551
|
+
"name": "market",
|
|
6552
|
+
"type": "address"
|
|
6553
|
+
},
|
|
6554
|
+
{
|
|
6555
|
+
"internalType": "address",
|
|
6556
|
+
"name": "ptOracle",
|
|
6557
|
+
"type": "address"
|
|
6558
|
+
},
|
|
6559
|
+
{
|
|
6560
|
+
"internalType": "enum PendleOracle.RateKind",
|
|
6561
|
+
"name": "rateKind",
|
|
6562
|
+
"type": "uint8"
|
|
6563
|
+
},
|
|
6564
|
+
{
|
|
6565
|
+
"internalType": "address",
|
|
6566
|
+
"name": "ptToken",
|
|
6567
|
+
"type": "address"
|
|
6568
|
+
},
|
|
6569
|
+
{
|
|
6570
|
+
"internalType": "address",
|
|
6571
|
+
"name": "underlyingToken",
|
|
6572
|
+
"type": "address"
|
|
6573
|
+
},
|
|
6574
|
+
{
|
|
6575
|
+
"internalType": "address",
|
|
6576
|
+
"name": "resilientOracle",
|
|
6577
|
+
"type": "address"
|
|
6578
|
+
},
|
|
6579
|
+
{
|
|
6580
|
+
"internalType": "uint32",
|
|
6581
|
+
"name": "twapDuration",
|
|
6582
|
+
"type": "uint32"
|
|
6583
|
+
},
|
|
6584
|
+
{
|
|
6585
|
+
"internalType": "uint256",
|
|
6586
|
+
"name": "annualGrowthRate",
|
|
6587
|
+
"type": "uint256"
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
"internalType": "uint256",
|
|
6591
|
+
"name": "snapshotInterval",
|
|
6592
|
+
"type": "uint256"
|
|
6593
|
+
},
|
|
6594
|
+
{
|
|
6595
|
+
"internalType": "uint256",
|
|
6596
|
+
"name": "initialSnapshotMaxExchangeRate",
|
|
6597
|
+
"type": "uint256"
|
|
6598
|
+
},
|
|
6599
|
+
{
|
|
6600
|
+
"internalType": "uint256",
|
|
6601
|
+
"name": "initialSnapshotTimestamp",
|
|
6602
|
+
"type": "uint256"
|
|
6603
|
+
},
|
|
6604
|
+
{
|
|
6605
|
+
"internalType": "address",
|
|
6606
|
+
"name": "accessControlManager",
|
|
6607
|
+
"type": "address"
|
|
6608
|
+
},
|
|
6609
|
+
{
|
|
6610
|
+
"internalType": "uint256",
|
|
6611
|
+
"name": "snapshotGap",
|
|
6612
|
+
"type": "uint256"
|
|
6613
|
+
}
|
|
6614
|
+
],
|
|
6615
|
+
"internalType": "struct PendleOracle.ConstructorParams",
|
|
6616
|
+
"name": "params",
|
|
6617
|
+
"type": "tuple"
|
|
6618
|
+
}
|
|
6619
|
+
],
|
|
6620
|
+
"stateMutability": "nonpayable",
|
|
6621
|
+
"type": "constructor"
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
"inputs": [],
|
|
6625
|
+
"name": "InvalidDuration",
|
|
6626
|
+
"type": "error"
|
|
6627
|
+
},
|
|
6628
|
+
{
|
|
6629
|
+
"inputs": [],
|
|
6630
|
+
"name": "InvalidGrowthRate",
|
|
6631
|
+
"type": "error"
|
|
6632
|
+
},
|
|
6633
|
+
{
|
|
6634
|
+
"inputs": [],
|
|
6635
|
+
"name": "InvalidInitialSnapshot",
|
|
6636
|
+
"type": "error"
|
|
6637
|
+
},
|
|
6638
|
+
{
|
|
6639
|
+
"inputs": [],
|
|
6640
|
+
"name": "InvalidSnapshotMaxExchangeRate",
|
|
6641
|
+
"type": "error"
|
|
6642
|
+
},
|
|
6643
|
+
{
|
|
6644
|
+
"inputs": [],
|
|
6645
|
+
"name": "InvalidTokenAddress",
|
|
6646
|
+
"type": "error"
|
|
6647
|
+
},
|
|
6648
|
+
{
|
|
6649
|
+
"inputs": [
|
|
6650
|
+
{
|
|
6651
|
+
"internalType": "address",
|
|
6652
|
+
"name": "sender",
|
|
6653
|
+
"type": "address"
|
|
6654
|
+
},
|
|
6655
|
+
{
|
|
6656
|
+
"internalType": "address",
|
|
6657
|
+
"name": "calledContract",
|
|
6658
|
+
"type": "address"
|
|
6659
|
+
},
|
|
6660
|
+
{
|
|
6661
|
+
"internalType": "string",
|
|
6662
|
+
"name": "methodSignature",
|
|
6663
|
+
"type": "string"
|
|
6664
|
+
}
|
|
6665
|
+
],
|
|
6666
|
+
"name": "Unauthorized",
|
|
6667
|
+
"type": "error"
|
|
6668
|
+
},
|
|
6669
|
+
{
|
|
6670
|
+
"inputs": [],
|
|
6671
|
+
"name": "ZeroAddressNotAllowed",
|
|
6672
|
+
"type": "error"
|
|
6673
|
+
},
|
|
6674
|
+
{
|
|
6675
|
+
"inputs": [],
|
|
6676
|
+
"name": "ZeroValueNotAllowed",
|
|
6677
|
+
"type": "error"
|
|
6678
|
+
},
|
|
6679
|
+
{
|
|
6680
|
+
"anonymous": false,
|
|
6681
|
+
"inputs": [
|
|
6682
|
+
{
|
|
6683
|
+
"indexed": true,
|
|
6684
|
+
"internalType": "uint256",
|
|
6685
|
+
"name": "oldGrowthRatePerSecond",
|
|
6686
|
+
"type": "uint256"
|
|
6687
|
+
},
|
|
6688
|
+
{
|
|
6689
|
+
"indexed": true,
|
|
6690
|
+
"internalType": "uint256",
|
|
6691
|
+
"name": "newGrowthRatePerSecond",
|
|
6692
|
+
"type": "uint256"
|
|
6693
|
+
},
|
|
6694
|
+
{
|
|
6695
|
+
"indexed": true,
|
|
6696
|
+
"internalType": "uint256",
|
|
6697
|
+
"name": "oldSnapshotInterval",
|
|
6698
|
+
"type": "uint256"
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
"indexed": false,
|
|
6702
|
+
"internalType": "uint256",
|
|
6703
|
+
"name": "newSnapshotInterval",
|
|
6704
|
+
"type": "uint256"
|
|
6705
|
+
}
|
|
6706
|
+
],
|
|
6707
|
+
"name": "GrowthRateUpdated",
|
|
6708
|
+
"type": "event"
|
|
6709
|
+
},
|
|
6710
|
+
{
|
|
6711
|
+
"anonymous": false,
|
|
6712
|
+
"inputs": [
|
|
6713
|
+
{
|
|
6714
|
+
"indexed": true,
|
|
6715
|
+
"internalType": "uint256",
|
|
6716
|
+
"name": "oldSnapshotGap",
|
|
6717
|
+
"type": "uint256"
|
|
6718
|
+
},
|
|
6719
|
+
{
|
|
6720
|
+
"indexed": true,
|
|
6721
|
+
"internalType": "uint256",
|
|
6722
|
+
"name": "newSnapshotGap",
|
|
6723
|
+
"type": "uint256"
|
|
6724
|
+
}
|
|
6725
|
+
],
|
|
6726
|
+
"name": "SnapshotGapUpdated",
|
|
6727
|
+
"type": "event"
|
|
6728
|
+
},
|
|
6729
|
+
{
|
|
6730
|
+
"anonymous": false,
|
|
6731
|
+
"inputs": [
|
|
6732
|
+
{
|
|
6733
|
+
"indexed": true,
|
|
6734
|
+
"internalType": "uint256",
|
|
6735
|
+
"name": "maxExchangeRate",
|
|
6736
|
+
"type": "uint256"
|
|
6737
|
+
},
|
|
6738
|
+
{
|
|
6739
|
+
"indexed": true,
|
|
6740
|
+
"internalType": "uint256",
|
|
6741
|
+
"name": "timestamp",
|
|
6742
|
+
"type": "uint256"
|
|
6743
|
+
}
|
|
6744
|
+
],
|
|
6745
|
+
"name": "SnapshotUpdated",
|
|
6746
|
+
"type": "event"
|
|
6747
|
+
},
|
|
6748
|
+
{
|
|
6749
|
+
"inputs": [],
|
|
6750
|
+
"name": "ACCESS_CONTROL_MANAGER",
|
|
6751
|
+
"outputs": [
|
|
6752
|
+
{
|
|
6753
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
6754
|
+
"name": "",
|
|
6755
|
+
"type": "address"
|
|
6756
|
+
}
|
|
6757
|
+
],
|
|
6758
|
+
"stateMutability": "view",
|
|
6759
|
+
"type": "function"
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
"inputs": [],
|
|
6763
|
+
"name": "CORRELATED_TOKEN",
|
|
6764
|
+
"outputs": [
|
|
6765
|
+
{
|
|
6766
|
+
"internalType": "address",
|
|
6767
|
+
"name": "",
|
|
6768
|
+
"type": "address"
|
|
6769
|
+
}
|
|
6770
|
+
],
|
|
6771
|
+
"stateMutability": "view",
|
|
6772
|
+
"type": "function"
|
|
6773
|
+
},
|
|
6774
|
+
{
|
|
6775
|
+
"inputs": [],
|
|
6776
|
+
"name": "MARKET",
|
|
6777
|
+
"outputs": [
|
|
6778
|
+
{
|
|
6779
|
+
"internalType": "address",
|
|
6780
|
+
"name": "",
|
|
6781
|
+
"type": "address"
|
|
6782
|
+
}
|
|
6783
|
+
],
|
|
6784
|
+
"stateMutability": "view",
|
|
6785
|
+
"type": "function"
|
|
6786
|
+
},
|
|
6787
|
+
{
|
|
6788
|
+
"inputs": [],
|
|
6789
|
+
"name": "PT_ORACLE",
|
|
6790
|
+
"outputs": [
|
|
6791
|
+
{
|
|
6792
|
+
"internalType": "contract IPendlePtOracle",
|
|
6793
|
+
"name": "",
|
|
6794
|
+
"type": "address"
|
|
6795
|
+
}
|
|
6796
|
+
],
|
|
6797
|
+
"stateMutability": "view",
|
|
6798
|
+
"type": "function"
|
|
6799
|
+
},
|
|
6800
|
+
{
|
|
6801
|
+
"inputs": [],
|
|
6802
|
+
"name": "RATE_KIND",
|
|
6803
|
+
"outputs": [
|
|
6804
|
+
{
|
|
6805
|
+
"internalType": "enum PendleOracle.RateKind",
|
|
6806
|
+
"name": "",
|
|
6807
|
+
"type": "uint8"
|
|
6808
|
+
}
|
|
6809
|
+
],
|
|
6810
|
+
"stateMutability": "view",
|
|
6811
|
+
"type": "function"
|
|
6812
|
+
},
|
|
6813
|
+
{
|
|
6814
|
+
"inputs": [],
|
|
6815
|
+
"name": "RESILIENT_ORACLE",
|
|
6816
|
+
"outputs": [
|
|
6817
|
+
{
|
|
6818
|
+
"internalType": "contract ResilientOracleInterface",
|
|
6819
|
+
"name": "",
|
|
6820
|
+
"type": "address"
|
|
6821
|
+
}
|
|
6822
|
+
],
|
|
6823
|
+
"stateMutability": "view",
|
|
6824
|
+
"type": "function"
|
|
6825
|
+
},
|
|
6826
|
+
{
|
|
6827
|
+
"inputs": [],
|
|
6828
|
+
"name": "TWAP_DURATION",
|
|
6829
|
+
"outputs": [
|
|
6830
|
+
{
|
|
6831
|
+
"internalType": "uint32",
|
|
6832
|
+
"name": "",
|
|
6833
|
+
"type": "uint32"
|
|
6834
|
+
}
|
|
6835
|
+
],
|
|
6836
|
+
"stateMutability": "view",
|
|
6837
|
+
"type": "function"
|
|
6838
|
+
},
|
|
6839
|
+
{
|
|
6840
|
+
"inputs": [],
|
|
6841
|
+
"name": "UNDERLYING_DECIMALS",
|
|
6842
|
+
"outputs": [
|
|
6843
|
+
{
|
|
6844
|
+
"internalType": "uint8",
|
|
6845
|
+
"name": "",
|
|
6846
|
+
"type": "uint8"
|
|
6847
|
+
}
|
|
6848
|
+
],
|
|
6849
|
+
"stateMutability": "view",
|
|
6850
|
+
"type": "function"
|
|
6851
|
+
},
|
|
6852
|
+
{
|
|
6853
|
+
"inputs": [],
|
|
6854
|
+
"name": "UNDERLYING_TOKEN",
|
|
6855
|
+
"outputs": [
|
|
6856
|
+
{
|
|
6857
|
+
"internalType": "address",
|
|
6858
|
+
"name": "",
|
|
6859
|
+
"type": "address"
|
|
6860
|
+
}
|
|
6861
|
+
],
|
|
6862
|
+
"stateMutability": "view",
|
|
6863
|
+
"type": "function"
|
|
6864
|
+
},
|
|
6865
|
+
{
|
|
6866
|
+
"inputs": [],
|
|
6867
|
+
"name": "getMaxAllowedExchangeRate",
|
|
6868
|
+
"outputs": [
|
|
6869
|
+
{
|
|
6870
|
+
"internalType": "uint256",
|
|
6871
|
+
"name": "",
|
|
6872
|
+
"type": "uint256"
|
|
6873
|
+
}
|
|
6874
|
+
],
|
|
6875
|
+
"stateMutability": "view",
|
|
6876
|
+
"type": "function"
|
|
6877
|
+
},
|
|
6878
|
+
{
|
|
6879
|
+
"inputs": [
|
|
6880
|
+
{
|
|
6881
|
+
"internalType": "address",
|
|
6882
|
+
"name": "asset",
|
|
6883
|
+
"type": "address"
|
|
6884
|
+
}
|
|
6885
|
+
],
|
|
6886
|
+
"name": "getPrice",
|
|
6887
|
+
"outputs": [
|
|
6888
|
+
{
|
|
6889
|
+
"internalType": "uint256",
|
|
6890
|
+
"name": "",
|
|
6891
|
+
"type": "uint256"
|
|
6892
|
+
}
|
|
6893
|
+
],
|
|
6894
|
+
"stateMutability": "view",
|
|
6895
|
+
"type": "function"
|
|
6896
|
+
},
|
|
6897
|
+
{
|
|
6898
|
+
"inputs": [],
|
|
6899
|
+
"name": "getUnderlyingAmount",
|
|
6900
|
+
"outputs": [
|
|
6901
|
+
{
|
|
6902
|
+
"internalType": "uint256",
|
|
6903
|
+
"name": "",
|
|
6904
|
+
"type": "uint256"
|
|
6905
|
+
}
|
|
6906
|
+
],
|
|
6907
|
+
"stateMutability": "view",
|
|
6908
|
+
"type": "function"
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
"inputs": [],
|
|
6912
|
+
"name": "growthRatePerSecond",
|
|
6913
|
+
"outputs": [
|
|
6914
|
+
{
|
|
6915
|
+
"internalType": "uint256",
|
|
6916
|
+
"name": "",
|
|
6917
|
+
"type": "uint256"
|
|
6918
|
+
}
|
|
6919
|
+
],
|
|
6920
|
+
"stateMutability": "view",
|
|
6921
|
+
"type": "function"
|
|
6922
|
+
},
|
|
6923
|
+
{
|
|
6924
|
+
"inputs": [],
|
|
6925
|
+
"name": "isCapped",
|
|
6926
|
+
"outputs": [
|
|
6927
|
+
{
|
|
6928
|
+
"internalType": "bool",
|
|
6929
|
+
"name": "",
|
|
6930
|
+
"type": "bool"
|
|
6931
|
+
}
|
|
6932
|
+
],
|
|
6933
|
+
"stateMutability": "view",
|
|
6934
|
+
"type": "function"
|
|
6935
|
+
},
|
|
6936
|
+
{
|
|
6937
|
+
"inputs": [
|
|
6938
|
+
{
|
|
6939
|
+
"internalType": "uint256",
|
|
6940
|
+
"name": "_annualGrowthRate",
|
|
6941
|
+
"type": "uint256"
|
|
6942
|
+
},
|
|
6943
|
+
{
|
|
6944
|
+
"internalType": "uint256",
|
|
6945
|
+
"name": "_snapshotInterval",
|
|
6946
|
+
"type": "uint256"
|
|
6947
|
+
}
|
|
6948
|
+
],
|
|
6949
|
+
"name": "setGrowthRate",
|
|
6950
|
+
"outputs": [],
|
|
6951
|
+
"stateMutability": "nonpayable",
|
|
6952
|
+
"type": "function"
|
|
6953
|
+
},
|
|
6954
|
+
{
|
|
6955
|
+
"inputs": [
|
|
6956
|
+
{
|
|
6957
|
+
"internalType": "uint256",
|
|
6958
|
+
"name": "_snapshotMaxExchangeRate",
|
|
6959
|
+
"type": "uint256"
|
|
6960
|
+
},
|
|
6961
|
+
{
|
|
6962
|
+
"internalType": "uint256",
|
|
6963
|
+
"name": "_snapshotTimestamp",
|
|
6964
|
+
"type": "uint256"
|
|
6965
|
+
}
|
|
6966
|
+
],
|
|
6967
|
+
"name": "setSnapshot",
|
|
6968
|
+
"outputs": [],
|
|
6969
|
+
"stateMutability": "nonpayable",
|
|
6970
|
+
"type": "function"
|
|
6971
|
+
},
|
|
6972
|
+
{
|
|
6973
|
+
"inputs": [
|
|
6974
|
+
{
|
|
6975
|
+
"internalType": "uint256",
|
|
6976
|
+
"name": "_snapshotGap",
|
|
6977
|
+
"type": "uint256"
|
|
6978
|
+
}
|
|
6979
|
+
],
|
|
6980
|
+
"name": "setSnapshotGap",
|
|
6981
|
+
"outputs": [],
|
|
6982
|
+
"stateMutability": "nonpayable",
|
|
6983
|
+
"type": "function"
|
|
6984
|
+
},
|
|
6985
|
+
{
|
|
6986
|
+
"inputs": [],
|
|
6987
|
+
"name": "snapshotGap",
|
|
6988
|
+
"outputs": [
|
|
6989
|
+
{
|
|
6990
|
+
"internalType": "uint256",
|
|
6991
|
+
"name": "",
|
|
6992
|
+
"type": "uint256"
|
|
6993
|
+
}
|
|
6994
|
+
],
|
|
6995
|
+
"stateMutability": "view",
|
|
6996
|
+
"type": "function"
|
|
6997
|
+
},
|
|
6998
|
+
{
|
|
6999
|
+
"inputs": [],
|
|
7000
|
+
"name": "snapshotInterval",
|
|
7001
|
+
"outputs": [
|
|
7002
|
+
{
|
|
7003
|
+
"internalType": "uint256",
|
|
7004
|
+
"name": "",
|
|
7005
|
+
"type": "uint256"
|
|
7006
|
+
}
|
|
7007
|
+
],
|
|
7008
|
+
"stateMutability": "view",
|
|
7009
|
+
"type": "function"
|
|
7010
|
+
},
|
|
7011
|
+
{
|
|
7012
|
+
"inputs": [],
|
|
7013
|
+
"name": "snapshotMaxExchangeRate",
|
|
7014
|
+
"outputs": [
|
|
7015
|
+
{
|
|
7016
|
+
"internalType": "uint256",
|
|
7017
|
+
"name": "",
|
|
7018
|
+
"type": "uint256"
|
|
7019
|
+
}
|
|
7020
|
+
],
|
|
7021
|
+
"stateMutability": "view",
|
|
7022
|
+
"type": "function"
|
|
7023
|
+
},
|
|
7024
|
+
{
|
|
7025
|
+
"inputs": [],
|
|
7026
|
+
"name": "snapshotTimestamp",
|
|
7027
|
+
"outputs": [
|
|
7028
|
+
{
|
|
7029
|
+
"internalType": "uint256",
|
|
7030
|
+
"name": "",
|
|
7031
|
+
"type": "uint256"
|
|
7032
|
+
}
|
|
7033
|
+
],
|
|
7034
|
+
"stateMutability": "view",
|
|
7035
|
+
"type": "function"
|
|
7036
|
+
},
|
|
7037
|
+
{
|
|
7038
|
+
"inputs": [],
|
|
7039
|
+
"name": "updateSnapshot",
|
|
7040
|
+
"outputs": [],
|
|
7041
|
+
"stateMutability": "nonpayable",
|
|
7042
|
+
"type": "function"
|
|
7043
|
+
}
|
|
7044
|
+
]
|
|
7045
|
+
},
|
|
6542
7046
|
"PendleOracle-PT-clisBNB-24APR2025": {
|
|
6543
7047
|
"address": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
|
|
6544
7048
|
"abi": [
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"PendleOracle-PT-SolvBTC.BBN-27MAR2025": "0x31B78f0Ef6A87cF0E812197226306954a65907d5",
|
|
24
24
|
"PendleOracle-PT-SolvBTC.BBN-27MAR2025_Implementation": "0x2EC23cBc3A111D4265d9fE7dcf319b2Ff4F23f2D",
|
|
25
25
|
"PendleOracle-PT-SolvBTC.BBN-27MAR2025_Proxy": "0x31B78f0Ef6A87cF0E812197226306954a65907d5",
|
|
26
|
+
"PendleOracle-PT-USDe-30Oct2025": "0x9d223177a0Ea5505EbF3665f950093091f04739b",
|
|
26
27
|
"PendleOracle-PT-clisBNB-24APR2025": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
|
|
27
28
|
"PendleOracle-PT-clisBNB-24APR2025_Implementation": "0x6d8b4d49238ffc3Ad23239fbC3045307B98D6F76",
|
|
28
29
|
"PendleOracle-PT-clisBNB-24APR2025_Proxy": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"24-deploy-USDe-pendle-oracles.d.ts","sourceRoot":"","sources":["../../deploy/24-deploy-USDe-pendle-oracles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAW3D,QAAA,MAAM,IAAI,EAAE,cAgEX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const hardhat_1 = require("hardhat");
|
|
4
|
+
const deploymentConfig_1 = require("../helpers/deploymentConfig");
|
|
5
|
+
const deploymentUtils_1 = require("../helpers/deploymentUtils");
|
|
6
|
+
var PendleRateKind;
|
|
7
|
+
(function (PendleRateKind) {
|
|
8
|
+
PendleRateKind[PendleRateKind["PT_TO_ASSET"] = 0] = "PT_TO_ASSET";
|
|
9
|
+
PendleRateKind[PendleRateKind["PT_TO_SY"] = 1] = "PT_TO_SY";
|
|
10
|
+
})(PendleRateKind || (PendleRateKind = {}));
|
|
11
|
+
const func = async ({ getNamedAccounts, deployments, network }) => {
|
|
12
|
+
const { deploy } = deployments;
|
|
13
|
+
const { deployer } = await getNamedAccounts();
|
|
14
|
+
const resilientOracle = await hardhat_1.ethers.getContract("ResilientOracle");
|
|
15
|
+
const addresses = deploymentConfig_1.ADDRESSES[network.name];
|
|
16
|
+
const ptOracleAddress = addresses.PTOracle || (await hardhat_1.ethers.getContract("MockPendlePtOracle")).address;
|
|
17
|
+
const commonParams = {
|
|
18
|
+
from: deployer,
|
|
19
|
+
log: true,
|
|
20
|
+
deterministicDeployment: false,
|
|
21
|
+
skipIfAlreadyDeployed: true,
|
|
22
|
+
waitConfirmations: 1,
|
|
23
|
+
};
|
|
24
|
+
await deploy("PendleOracle-PT-USDe-30OCT2025", {
|
|
25
|
+
contract: "PendleOracle",
|
|
26
|
+
args: [
|
|
27
|
+
{
|
|
28
|
+
market: addresses["PT-USDe-30OCT2025_Market"] || "0x0000000000000000000000000000000000000004",
|
|
29
|
+
ptOracle: ptOracleAddress,
|
|
30
|
+
rateKind: PendleRateKind.PT_TO_SY,
|
|
31
|
+
ptToken: addresses["PT-USDe-30OCT2025"],
|
|
32
|
+
underlyingToken: addresses.USDe,
|
|
33
|
+
resilientOracle: resilientOracle.address,
|
|
34
|
+
twapDuration: 1800,
|
|
35
|
+
annualGrowthRate: 0,
|
|
36
|
+
snapshotInterval: 0,
|
|
37
|
+
initialSnapshotMaxExchangeRate: 0,
|
|
38
|
+
initialSnapshotTimestamp: 0,
|
|
39
|
+
accessControlManager: addresses.acm,
|
|
40
|
+
snapshotGap: 0,
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
...commonParams,
|
|
44
|
+
});
|
|
45
|
+
if ((0, deploymentUtils_1.isMainnet)(network)) {
|
|
46
|
+
await deploy("PendleOracle-PT-USDe-30OCT2025_Reference_PtToAsset", {
|
|
47
|
+
contract: "PendleOracle",
|
|
48
|
+
from: deployer,
|
|
49
|
+
log: true,
|
|
50
|
+
deterministicDeployment: false,
|
|
51
|
+
args: [
|
|
52
|
+
{
|
|
53
|
+
market: addresses["PT-USDe-30OCT2025_Market"] || "0x0000000000000000000000000000000000000004",
|
|
54
|
+
ptOracle: ptOracleAddress,
|
|
55
|
+
rateKind: PendleRateKind.PT_TO_ASSET,
|
|
56
|
+
ptToken: addresses["PT-USDe-30OCT2025"],
|
|
57
|
+
underlyingToken: addresses.USDe,
|
|
58
|
+
resilientOracle: resilientOracle.address,
|
|
59
|
+
twapDuration: 1800,
|
|
60
|
+
annualGrowthRate: 0,
|
|
61
|
+
snapshotInterval: 0,
|
|
62
|
+
initialSnapshotMaxExchangeRate: 0,
|
|
63
|
+
initialSnapshotTimestamp: 0,
|
|
64
|
+
accessControlManager: addresses.acm,
|
|
65
|
+
snapshotGap: 0,
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
skipIfAlreadyDeployed: true,
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
exports.default = func;
|
|
73
|
+
func.tags = ["PT-USDe"];
|
|
74
|
+
func.skip = async (hre) => hre.network.name !== "bsctestnet" && hre.network.name !== "bscmainnet";
|
|
75
|
+
//# sourceMappingURL=24-deploy-USDe-pendle-oracles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"24-deploy-USDe-pendle-oracles.js","sourceRoot":"","sources":["../../deploy/24-deploy-USDe-pendle-oracles.ts"],"names":[],"mappings":";;AAAA,qCAAiC;AAIjC,kEAAwD;AACxD,gEAAuD;AAEvD,IAAK,cAGJ;AAHD,WAAK,cAAc;IACjB,iEAAe,CAAA;IACf,2DAAY,CAAA;AACd,CAAC,EAHI,cAAc,KAAd,cAAc,QAGlB;AAED,MAAM,IAAI,GAAmB,KAAK,EAAE,EAAE,gBAAgB,EAAE,WAAW,EAAE,OAAO,EAA6B,EAAE,EAAE;IAC3G,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;IAC/B,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,gBAAgB,EAAE,CAAC;IAE9C,MAAM,eAAe,GAAG,MAAM,gBAAM,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;IACpE,MAAM,SAAS,GAAG,4BAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,MAAM,eAAe,GAAG,SAAS,CAAC,QAAQ,IAAI,CAAC,MAAM,gBAAM,CAAC,WAAW,CAAC,oBAAoB,CAAC,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CAAC;AAEzD,eAAO,MAAM,SAAS,EAAE,sBAuQvB,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;AAEF,eAAO,MAAM,OAAO,QAAoB,CAAC;AAEzC,eAAO,MAAM,gBAAgB,WAAW,CAAC;AAEzC,eAAO,MAAM,gCAAgC,iBAC7B,SAAS,cACX,SAAS,WAItB,CAAC;AAEF,eAAO,MAAM,cAAc,iBACX,SAAS,cACX,MAAM,WAKnB,CAAC"}
|
|
@@ -54,6 +54,7 @@ exports.ADDRESSES = {
|
|
|
54
54
|
"PT-SolvBTC.BBN-27MAR2025": "0x964Ea3dC70Ee5b35Ea881cf8416B7a5F50E13f56",
|
|
55
55
|
"PT-clisBNB-24APR2025": "0x14AECeEc177085fd09EA07348B4E1F7Fcc030fA1",
|
|
56
56
|
"PT-sUSDE-26JUN2025": "0x95e58161BA2423c3034658d957F3f5b94DeAbf81",
|
|
57
|
+
"PT-USDe-30OCT2025": "0x0c98334aCF440b9936D9cc1d99dc1A77bf26a93B",
|
|
57
58
|
sUSDe: "0xcFec590e417Abb378cfEfE6296829E35fa25cEbd",
|
|
58
59
|
USDe: "0x986C30591f5aAb401ea3aa63aFA595608721B1B9",
|
|
59
60
|
xSolvBTC: "0x3ea87323806586A0282b50377e0FEa76070F532B",
|
|
@@ -89,6 +90,8 @@ exports.ADDRESSES = {
|
|
|
89
90
|
"PT-clisBNB-24APR2025_Market": "0x1d9d27f0b89181cf1593ac2b36a37b444eb66bee",
|
|
90
91
|
"PT-sUSDE-26JUN2025": "0xDD809435ba6c9d6903730f923038801781cA66ce",
|
|
91
92
|
"PT-sUSDE-26JUN2025_Market": "0x8557D39d4BAB2b045ac5c2B7ea66d12139da9Af4",
|
|
93
|
+
"PT-USDe-30OCT2025": "0x607c834cfb7fcbbb341cbe23f77a6e83bcf3f55c",
|
|
94
|
+
"PT-USDe-30OCT2025_Market": "0xb5b56637810e4d090894785993f4cdd6875d927e",
|
|
92
95
|
sUSDe: "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2",
|
|
93
96
|
USDe: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34",
|
|
94
97
|
xSolvBTC: "0x1346b618dC92810EC74163e4c27004c921D446a5",
|