@venusprotocol/oracle 2.15.0-dev.5 → 2.15.0-dev.6
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-clisBNB-25JUN2026.json +785 -0
- package/deployments/bscmainnet/PendleOracle-PT-clisBNB-25JUN2026_Reference_PtToAsset.json +785 -0
- package/deployments/bscmainnet.json +1008 -0
- package/deployments/bscmainnet_addresses.json +2 -0
- package/deployments/bsctestnet/PendleOracle-PT-clisBNB-25JUN2026.json +785 -0
- package/deployments/bsctestnet/solcInputs/b2af75c30578a1eadca811d3d7334646.json +340 -0
- package/deployments/bsctestnet.json +504 -0
- package/deployments/bsctestnet_addresses.json +1 -0
- package/dist/deploy/27-deploy-clisBNB-pendle-oracle.d.ts +4 -0
- package/dist/deploy/27-deploy-clisBNB-pendle-oracle.d.ts.map +1 -0
- package/dist/deploy/27-deploy-clisBNB-pendle-oracle.js +72 -0
- package/dist/deploy/27-deploy-clisBNB-pendle-oracle.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
|
@@ -7647,6 +7647,510 @@
|
|
|
7647
7647
|
}
|
|
7648
7648
|
]
|
|
7649
7649
|
},
|
|
7650
|
+
"PendleOracle-PT-clisBNB-25JUN2026": {
|
|
7651
|
+
"address": "0x86EB1cE03e825CFD4516F385d7b90DE72B90BF69",
|
|
7652
|
+
"abi": [
|
|
7653
|
+
{
|
|
7654
|
+
"inputs": [
|
|
7655
|
+
{
|
|
7656
|
+
"components": [
|
|
7657
|
+
{
|
|
7658
|
+
"internalType": "address",
|
|
7659
|
+
"name": "market",
|
|
7660
|
+
"type": "address"
|
|
7661
|
+
},
|
|
7662
|
+
{
|
|
7663
|
+
"internalType": "address",
|
|
7664
|
+
"name": "ptOracle",
|
|
7665
|
+
"type": "address"
|
|
7666
|
+
},
|
|
7667
|
+
{
|
|
7668
|
+
"internalType": "enum PendleOracle.RateKind",
|
|
7669
|
+
"name": "rateKind",
|
|
7670
|
+
"type": "uint8"
|
|
7671
|
+
},
|
|
7672
|
+
{
|
|
7673
|
+
"internalType": "address",
|
|
7674
|
+
"name": "ptToken",
|
|
7675
|
+
"type": "address"
|
|
7676
|
+
},
|
|
7677
|
+
{
|
|
7678
|
+
"internalType": "address",
|
|
7679
|
+
"name": "underlyingToken",
|
|
7680
|
+
"type": "address"
|
|
7681
|
+
},
|
|
7682
|
+
{
|
|
7683
|
+
"internalType": "address",
|
|
7684
|
+
"name": "resilientOracle",
|
|
7685
|
+
"type": "address"
|
|
7686
|
+
},
|
|
7687
|
+
{
|
|
7688
|
+
"internalType": "uint32",
|
|
7689
|
+
"name": "twapDuration",
|
|
7690
|
+
"type": "uint32"
|
|
7691
|
+
},
|
|
7692
|
+
{
|
|
7693
|
+
"internalType": "uint256",
|
|
7694
|
+
"name": "annualGrowthRate",
|
|
7695
|
+
"type": "uint256"
|
|
7696
|
+
},
|
|
7697
|
+
{
|
|
7698
|
+
"internalType": "uint256",
|
|
7699
|
+
"name": "snapshotInterval",
|
|
7700
|
+
"type": "uint256"
|
|
7701
|
+
},
|
|
7702
|
+
{
|
|
7703
|
+
"internalType": "uint256",
|
|
7704
|
+
"name": "initialSnapshotMaxExchangeRate",
|
|
7705
|
+
"type": "uint256"
|
|
7706
|
+
},
|
|
7707
|
+
{
|
|
7708
|
+
"internalType": "uint256",
|
|
7709
|
+
"name": "initialSnapshotTimestamp",
|
|
7710
|
+
"type": "uint256"
|
|
7711
|
+
},
|
|
7712
|
+
{
|
|
7713
|
+
"internalType": "address",
|
|
7714
|
+
"name": "accessControlManager",
|
|
7715
|
+
"type": "address"
|
|
7716
|
+
},
|
|
7717
|
+
{
|
|
7718
|
+
"internalType": "uint256",
|
|
7719
|
+
"name": "snapshotGap",
|
|
7720
|
+
"type": "uint256"
|
|
7721
|
+
}
|
|
7722
|
+
],
|
|
7723
|
+
"internalType": "struct PendleOracle.ConstructorParams",
|
|
7724
|
+
"name": "params",
|
|
7725
|
+
"type": "tuple"
|
|
7726
|
+
}
|
|
7727
|
+
],
|
|
7728
|
+
"stateMutability": "nonpayable",
|
|
7729
|
+
"type": "constructor"
|
|
7730
|
+
},
|
|
7731
|
+
{
|
|
7732
|
+
"inputs": [],
|
|
7733
|
+
"name": "InvalidDuration",
|
|
7734
|
+
"type": "error"
|
|
7735
|
+
},
|
|
7736
|
+
{
|
|
7737
|
+
"inputs": [],
|
|
7738
|
+
"name": "InvalidGrowthRate",
|
|
7739
|
+
"type": "error"
|
|
7740
|
+
},
|
|
7741
|
+
{
|
|
7742
|
+
"inputs": [],
|
|
7743
|
+
"name": "InvalidInitialSnapshot",
|
|
7744
|
+
"type": "error"
|
|
7745
|
+
},
|
|
7746
|
+
{
|
|
7747
|
+
"inputs": [],
|
|
7748
|
+
"name": "InvalidSnapshotMaxExchangeRate",
|
|
7749
|
+
"type": "error"
|
|
7750
|
+
},
|
|
7751
|
+
{
|
|
7752
|
+
"inputs": [],
|
|
7753
|
+
"name": "InvalidTokenAddress",
|
|
7754
|
+
"type": "error"
|
|
7755
|
+
},
|
|
7756
|
+
{
|
|
7757
|
+
"inputs": [
|
|
7758
|
+
{
|
|
7759
|
+
"internalType": "address",
|
|
7760
|
+
"name": "sender",
|
|
7761
|
+
"type": "address"
|
|
7762
|
+
},
|
|
7763
|
+
{
|
|
7764
|
+
"internalType": "address",
|
|
7765
|
+
"name": "calledContract",
|
|
7766
|
+
"type": "address"
|
|
7767
|
+
},
|
|
7768
|
+
{
|
|
7769
|
+
"internalType": "string",
|
|
7770
|
+
"name": "methodSignature",
|
|
7771
|
+
"type": "string"
|
|
7772
|
+
}
|
|
7773
|
+
],
|
|
7774
|
+
"name": "Unauthorized",
|
|
7775
|
+
"type": "error"
|
|
7776
|
+
},
|
|
7777
|
+
{
|
|
7778
|
+
"inputs": [],
|
|
7779
|
+
"name": "ZeroAddressNotAllowed",
|
|
7780
|
+
"type": "error"
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
"inputs": [],
|
|
7784
|
+
"name": "ZeroValueNotAllowed",
|
|
7785
|
+
"type": "error"
|
|
7786
|
+
},
|
|
7787
|
+
{
|
|
7788
|
+
"anonymous": false,
|
|
7789
|
+
"inputs": [
|
|
7790
|
+
{
|
|
7791
|
+
"indexed": true,
|
|
7792
|
+
"internalType": "uint256",
|
|
7793
|
+
"name": "oldGrowthRatePerSecond",
|
|
7794
|
+
"type": "uint256"
|
|
7795
|
+
},
|
|
7796
|
+
{
|
|
7797
|
+
"indexed": true,
|
|
7798
|
+
"internalType": "uint256",
|
|
7799
|
+
"name": "newGrowthRatePerSecond",
|
|
7800
|
+
"type": "uint256"
|
|
7801
|
+
},
|
|
7802
|
+
{
|
|
7803
|
+
"indexed": true,
|
|
7804
|
+
"internalType": "uint256",
|
|
7805
|
+
"name": "oldSnapshotInterval",
|
|
7806
|
+
"type": "uint256"
|
|
7807
|
+
},
|
|
7808
|
+
{
|
|
7809
|
+
"indexed": false,
|
|
7810
|
+
"internalType": "uint256",
|
|
7811
|
+
"name": "newSnapshotInterval",
|
|
7812
|
+
"type": "uint256"
|
|
7813
|
+
}
|
|
7814
|
+
],
|
|
7815
|
+
"name": "GrowthRateUpdated",
|
|
7816
|
+
"type": "event"
|
|
7817
|
+
},
|
|
7818
|
+
{
|
|
7819
|
+
"anonymous": false,
|
|
7820
|
+
"inputs": [
|
|
7821
|
+
{
|
|
7822
|
+
"indexed": true,
|
|
7823
|
+
"internalType": "uint256",
|
|
7824
|
+
"name": "oldSnapshotGap",
|
|
7825
|
+
"type": "uint256"
|
|
7826
|
+
},
|
|
7827
|
+
{
|
|
7828
|
+
"indexed": true,
|
|
7829
|
+
"internalType": "uint256",
|
|
7830
|
+
"name": "newSnapshotGap",
|
|
7831
|
+
"type": "uint256"
|
|
7832
|
+
}
|
|
7833
|
+
],
|
|
7834
|
+
"name": "SnapshotGapUpdated",
|
|
7835
|
+
"type": "event"
|
|
7836
|
+
},
|
|
7837
|
+
{
|
|
7838
|
+
"anonymous": false,
|
|
7839
|
+
"inputs": [
|
|
7840
|
+
{
|
|
7841
|
+
"indexed": true,
|
|
7842
|
+
"internalType": "uint256",
|
|
7843
|
+
"name": "maxExchangeRate",
|
|
7844
|
+
"type": "uint256"
|
|
7845
|
+
},
|
|
7846
|
+
{
|
|
7847
|
+
"indexed": true,
|
|
7848
|
+
"internalType": "uint256",
|
|
7849
|
+
"name": "timestamp",
|
|
7850
|
+
"type": "uint256"
|
|
7851
|
+
}
|
|
7852
|
+
],
|
|
7853
|
+
"name": "SnapshotUpdated",
|
|
7854
|
+
"type": "event"
|
|
7855
|
+
},
|
|
7856
|
+
{
|
|
7857
|
+
"inputs": [],
|
|
7858
|
+
"name": "ACCESS_CONTROL_MANAGER",
|
|
7859
|
+
"outputs": [
|
|
7860
|
+
{
|
|
7861
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
7862
|
+
"name": "",
|
|
7863
|
+
"type": "address"
|
|
7864
|
+
}
|
|
7865
|
+
],
|
|
7866
|
+
"stateMutability": "view",
|
|
7867
|
+
"type": "function"
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7870
|
+
"inputs": [],
|
|
7871
|
+
"name": "CORRELATED_TOKEN",
|
|
7872
|
+
"outputs": [
|
|
7873
|
+
{
|
|
7874
|
+
"internalType": "address",
|
|
7875
|
+
"name": "",
|
|
7876
|
+
"type": "address"
|
|
7877
|
+
}
|
|
7878
|
+
],
|
|
7879
|
+
"stateMutability": "view",
|
|
7880
|
+
"type": "function"
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"inputs": [],
|
|
7884
|
+
"name": "MARKET",
|
|
7885
|
+
"outputs": [
|
|
7886
|
+
{
|
|
7887
|
+
"internalType": "address",
|
|
7888
|
+
"name": "",
|
|
7889
|
+
"type": "address"
|
|
7890
|
+
}
|
|
7891
|
+
],
|
|
7892
|
+
"stateMutability": "view",
|
|
7893
|
+
"type": "function"
|
|
7894
|
+
},
|
|
7895
|
+
{
|
|
7896
|
+
"inputs": [],
|
|
7897
|
+
"name": "PT_ORACLE",
|
|
7898
|
+
"outputs": [
|
|
7899
|
+
{
|
|
7900
|
+
"internalType": "contract IPendlePtOracle",
|
|
7901
|
+
"name": "",
|
|
7902
|
+
"type": "address"
|
|
7903
|
+
}
|
|
7904
|
+
],
|
|
7905
|
+
"stateMutability": "view",
|
|
7906
|
+
"type": "function"
|
|
7907
|
+
},
|
|
7908
|
+
{
|
|
7909
|
+
"inputs": [],
|
|
7910
|
+
"name": "RATE_KIND",
|
|
7911
|
+
"outputs": [
|
|
7912
|
+
{
|
|
7913
|
+
"internalType": "enum PendleOracle.RateKind",
|
|
7914
|
+
"name": "",
|
|
7915
|
+
"type": "uint8"
|
|
7916
|
+
}
|
|
7917
|
+
],
|
|
7918
|
+
"stateMutability": "view",
|
|
7919
|
+
"type": "function"
|
|
7920
|
+
},
|
|
7921
|
+
{
|
|
7922
|
+
"inputs": [],
|
|
7923
|
+
"name": "RESILIENT_ORACLE",
|
|
7924
|
+
"outputs": [
|
|
7925
|
+
{
|
|
7926
|
+
"internalType": "contract ResilientOracleInterface",
|
|
7927
|
+
"name": "",
|
|
7928
|
+
"type": "address"
|
|
7929
|
+
}
|
|
7930
|
+
],
|
|
7931
|
+
"stateMutability": "view",
|
|
7932
|
+
"type": "function"
|
|
7933
|
+
},
|
|
7934
|
+
{
|
|
7935
|
+
"inputs": [],
|
|
7936
|
+
"name": "TWAP_DURATION",
|
|
7937
|
+
"outputs": [
|
|
7938
|
+
{
|
|
7939
|
+
"internalType": "uint32",
|
|
7940
|
+
"name": "",
|
|
7941
|
+
"type": "uint32"
|
|
7942
|
+
}
|
|
7943
|
+
],
|
|
7944
|
+
"stateMutability": "view",
|
|
7945
|
+
"type": "function"
|
|
7946
|
+
},
|
|
7947
|
+
{
|
|
7948
|
+
"inputs": [],
|
|
7949
|
+
"name": "UNDERLYING_DECIMALS",
|
|
7950
|
+
"outputs": [
|
|
7951
|
+
{
|
|
7952
|
+
"internalType": "uint8",
|
|
7953
|
+
"name": "",
|
|
7954
|
+
"type": "uint8"
|
|
7955
|
+
}
|
|
7956
|
+
],
|
|
7957
|
+
"stateMutability": "view",
|
|
7958
|
+
"type": "function"
|
|
7959
|
+
},
|
|
7960
|
+
{
|
|
7961
|
+
"inputs": [],
|
|
7962
|
+
"name": "UNDERLYING_TOKEN",
|
|
7963
|
+
"outputs": [
|
|
7964
|
+
{
|
|
7965
|
+
"internalType": "address",
|
|
7966
|
+
"name": "",
|
|
7967
|
+
"type": "address"
|
|
7968
|
+
}
|
|
7969
|
+
],
|
|
7970
|
+
"stateMutability": "view",
|
|
7971
|
+
"type": "function"
|
|
7972
|
+
},
|
|
7973
|
+
{
|
|
7974
|
+
"inputs": [],
|
|
7975
|
+
"name": "getMaxAllowedExchangeRate",
|
|
7976
|
+
"outputs": [
|
|
7977
|
+
{
|
|
7978
|
+
"internalType": "uint256",
|
|
7979
|
+
"name": "",
|
|
7980
|
+
"type": "uint256"
|
|
7981
|
+
}
|
|
7982
|
+
],
|
|
7983
|
+
"stateMutability": "view",
|
|
7984
|
+
"type": "function"
|
|
7985
|
+
},
|
|
7986
|
+
{
|
|
7987
|
+
"inputs": [
|
|
7988
|
+
{
|
|
7989
|
+
"internalType": "address",
|
|
7990
|
+
"name": "asset",
|
|
7991
|
+
"type": "address"
|
|
7992
|
+
}
|
|
7993
|
+
],
|
|
7994
|
+
"name": "getPrice",
|
|
7995
|
+
"outputs": [
|
|
7996
|
+
{
|
|
7997
|
+
"internalType": "uint256",
|
|
7998
|
+
"name": "",
|
|
7999
|
+
"type": "uint256"
|
|
8000
|
+
}
|
|
8001
|
+
],
|
|
8002
|
+
"stateMutability": "view",
|
|
8003
|
+
"type": "function"
|
|
8004
|
+
},
|
|
8005
|
+
{
|
|
8006
|
+
"inputs": [],
|
|
8007
|
+
"name": "getUnderlyingAmount",
|
|
8008
|
+
"outputs": [
|
|
8009
|
+
{
|
|
8010
|
+
"internalType": "uint256",
|
|
8011
|
+
"name": "",
|
|
8012
|
+
"type": "uint256"
|
|
8013
|
+
}
|
|
8014
|
+
],
|
|
8015
|
+
"stateMutability": "view",
|
|
8016
|
+
"type": "function"
|
|
8017
|
+
},
|
|
8018
|
+
{
|
|
8019
|
+
"inputs": [],
|
|
8020
|
+
"name": "growthRatePerSecond",
|
|
8021
|
+
"outputs": [
|
|
8022
|
+
{
|
|
8023
|
+
"internalType": "uint256",
|
|
8024
|
+
"name": "",
|
|
8025
|
+
"type": "uint256"
|
|
8026
|
+
}
|
|
8027
|
+
],
|
|
8028
|
+
"stateMutability": "view",
|
|
8029
|
+
"type": "function"
|
|
8030
|
+
},
|
|
8031
|
+
{
|
|
8032
|
+
"inputs": [],
|
|
8033
|
+
"name": "isCapped",
|
|
8034
|
+
"outputs": [
|
|
8035
|
+
{
|
|
8036
|
+
"internalType": "bool",
|
|
8037
|
+
"name": "",
|
|
8038
|
+
"type": "bool"
|
|
8039
|
+
}
|
|
8040
|
+
],
|
|
8041
|
+
"stateMutability": "view",
|
|
8042
|
+
"type": "function"
|
|
8043
|
+
},
|
|
8044
|
+
{
|
|
8045
|
+
"inputs": [
|
|
8046
|
+
{
|
|
8047
|
+
"internalType": "uint256",
|
|
8048
|
+
"name": "_annualGrowthRate",
|
|
8049
|
+
"type": "uint256"
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
"internalType": "uint256",
|
|
8053
|
+
"name": "_snapshotInterval",
|
|
8054
|
+
"type": "uint256"
|
|
8055
|
+
}
|
|
8056
|
+
],
|
|
8057
|
+
"name": "setGrowthRate",
|
|
8058
|
+
"outputs": [],
|
|
8059
|
+
"stateMutability": "nonpayable",
|
|
8060
|
+
"type": "function"
|
|
8061
|
+
},
|
|
8062
|
+
{
|
|
8063
|
+
"inputs": [
|
|
8064
|
+
{
|
|
8065
|
+
"internalType": "uint256",
|
|
8066
|
+
"name": "_snapshotMaxExchangeRate",
|
|
8067
|
+
"type": "uint256"
|
|
8068
|
+
},
|
|
8069
|
+
{
|
|
8070
|
+
"internalType": "uint256",
|
|
8071
|
+
"name": "_snapshotTimestamp",
|
|
8072
|
+
"type": "uint256"
|
|
8073
|
+
}
|
|
8074
|
+
],
|
|
8075
|
+
"name": "setSnapshot",
|
|
8076
|
+
"outputs": [],
|
|
8077
|
+
"stateMutability": "nonpayable",
|
|
8078
|
+
"type": "function"
|
|
8079
|
+
},
|
|
8080
|
+
{
|
|
8081
|
+
"inputs": [
|
|
8082
|
+
{
|
|
8083
|
+
"internalType": "uint256",
|
|
8084
|
+
"name": "_snapshotGap",
|
|
8085
|
+
"type": "uint256"
|
|
8086
|
+
}
|
|
8087
|
+
],
|
|
8088
|
+
"name": "setSnapshotGap",
|
|
8089
|
+
"outputs": [],
|
|
8090
|
+
"stateMutability": "nonpayable",
|
|
8091
|
+
"type": "function"
|
|
8092
|
+
},
|
|
8093
|
+
{
|
|
8094
|
+
"inputs": [],
|
|
8095
|
+
"name": "snapshotGap",
|
|
8096
|
+
"outputs": [
|
|
8097
|
+
{
|
|
8098
|
+
"internalType": "uint256",
|
|
8099
|
+
"name": "",
|
|
8100
|
+
"type": "uint256"
|
|
8101
|
+
}
|
|
8102
|
+
],
|
|
8103
|
+
"stateMutability": "view",
|
|
8104
|
+
"type": "function"
|
|
8105
|
+
},
|
|
8106
|
+
{
|
|
8107
|
+
"inputs": [],
|
|
8108
|
+
"name": "snapshotInterval",
|
|
8109
|
+
"outputs": [
|
|
8110
|
+
{
|
|
8111
|
+
"internalType": "uint256",
|
|
8112
|
+
"name": "",
|
|
8113
|
+
"type": "uint256"
|
|
8114
|
+
}
|
|
8115
|
+
],
|
|
8116
|
+
"stateMutability": "view",
|
|
8117
|
+
"type": "function"
|
|
8118
|
+
},
|
|
8119
|
+
{
|
|
8120
|
+
"inputs": [],
|
|
8121
|
+
"name": "snapshotMaxExchangeRate",
|
|
8122
|
+
"outputs": [
|
|
8123
|
+
{
|
|
8124
|
+
"internalType": "uint256",
|
|
8125
|
+
"name": "",
|
|
8126
|
+
"type": "uint256"
|
|
8127
|
+
}
|
|
8128
|
+
],
|
|
8129
|
+
"stateMutability": "view",
|
|
8130
|
+
"type": "function"
|
|
8131
|
+
},
|
|
8132
|
+
{
|
|
8133
|
+
"inputs": [],
|
|
8134
|
+
"name": "snapshotTimestamp",
|
|
8135
|
+
"outputs": [
|
|
8136
|
+
{
|
|
8137
|
+
"internalType": "uint256",
|
|
8138
|
+
"name": "",
|
|
8139
|
+
"type": "uint256"
|
|
8140
|
+
}
|
|
8141
|
+
],
|
|
8142
|
+
"stateMutability": "view",
|
|
8143
|
+
"type": "function"
|
|
8144
|
+
},
|
|
8145
|
+
{
|
|
8146
|
+
"inputs": [],
|
|
8147
|
+
"name": "updateSnapshot",
|
|
8148
|
+
"outputs": [],
|
|
8149
|
+
"stateMutability": "nonpayable",
|
|
8150
|
+
"type": "function"
|
|
8151
|
+
}
|
|
8152
|
+
]
|
|
8153
|
+
},
|
|
7650
8154
|
"PendleOracle-PT-sUSDe-26JUN2025": {
|
|
7651
8155
|
"address": "0x85201328baa52061E6648d9b4c285529411Cd33B",
|
|
7652
8156
|
"abi": [
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"PendleOracle-PT-clisBNB-24APR2025": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
|
|
28
28
|
"PendleOracle-PT-clisBNB-24APR2025_Implementation": "0x6d8b4d49238ffc3Ad23239fbC3045307B98D6F76",
|
|
29
29
|
"PendleOracle-PT-clisBNB-24APR2025_Proxy": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
|
|
30
|
+
"PendleOracle-PT-clisBNB-25JUN2026": "0x86EB1cE03e825CFD4516F385d7b90DE72B90BF69",
|
|
30
31
|
"PendleOracle-PT-sUSDe-26JUN2025": "0x85201328baa52061E6648d9b4c285529411Cd33B",
|
|
31
32
|
"PythOracle": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
|
|
32
33
|
"PythOracle_Implementation": "0xb8a450101DF8ab770c8F8521E189a4B39e7Cf5f5",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"27-deploy-clisBNB-pendle-oracle.d.ts","sourceRoot":"","sources":["../../deploy/27-deploy-clisBNB-pendle-oracle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAW3D,QAAA,MAAM,IAAI,EAAE,cA6DX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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-clisBNB-25JUN2026", {
|
|
25
|
+
contract: "PendleOracle",
|
|
26
|
+
args: [
|
|
27
|
+
{
|
|
28
|
+
market: addresses["PT-clisBNB-25JUN2026_Market"] || "0x0000000000000000000000000000000000000004",
|
|
29
|
+
ptOracle: ptOracleAddress,
|
|
30
|
+
rateKind: PendleRateKind.PT_TO_SY,
|
|
31
|
+
ptToken: addresses["PT-clisBNB-25JUN2026"],
|
|
32
|
+
underlyingToken: addresses.slisBNB,
|
|
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-clisBNB-25JUN2026_Reference_PtToAsset", {
|
|
47
|
+
contract: "PendleOracle",
|
|
48
|
+
args: [
|
|
49
|
+
{
|
|
50
|
+
market: addresses["PT-clisBNB-25JUN2026_Market"] || "0x0000000000000000000000000000000000000002",
|
|
51
|
+
ptOracle: ptOracleAddress,
|
|
52
|
+
rateKind: PendleRateKind.PT_TO_ASSET,
|
|
53
|
+
ptToken: addresses["PT-clisBNB-25JUN2026"],
|
|
54
|
+
underlyingToken: addresses.slisBNB,
|
|
55
|
+
resilientOracle: resilientOracle.address,
|
|
56
|
+
twapDuration: 1800,
|
|
57
|
+
annualGrowthRate: 0,
|
|
58
|
+
snapshotInterval: 0,
|
|
59
|
+
initialSnapshotMaxExchangeRate: 0,
|
|
60
|
+
initialSnapshotTimestamp: 0,
|
|
61
|
+
accessControlManager: addresses.acm,
|
|
62
|
+
snapshotGap: 0,
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
...commonParams,
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
exports.default = func;
|
|
70
|
+
func.tags = ["PT-clisBNB-2026"];
|
|
71
|
+
func.skip = async (hre) => hre.network.name !== "bsctestnet" && hre.network.name !== "bscmainnet";
|
|
72
|
+
//# sourceMappingURL=27-deploy-clisBNB-pendle-oracle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"27-deploy-clisBNB-pendle-oracle.js","sourceRoot":"","sources":["../../deploy/27-deploy-clisBNB-pendle-oracle.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,CAAC,CAAC,OAAO,CAAC;IAEvG,MAAM,YAAY,GAAG;QACnB,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,IAAI;QACT,uBAAuB,EAAE,KAAK;QAC9B,qBAAqB,EAAE,IAAI;QAC3B,iBAAiB,EAAE,CAAC;KACrB,CAAC;IAEF,MAAM,MAA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F,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"}
|
|
@@ -59,6 +59,7 @@ exports.ADDRESSES = {
|
|
|
59
59
|
USDe: "0x986C30591f5aAb401ea3aa63aFA595608721B1B9",
|
|
60
60
|
xSolvBTC: "0x3ea87323806586A0282b50377e0FEa76070F532B",
|
|
61
61
|
SolvBTC: "0x6855E14A6df91b8E4D55163d068E9ef2530fd4CE",
|
|
62
|
+
"PT-clisBNB-25JUN2026": "0x60825e8eBbed5C32c1DAA7eA68ceCA70BEA65040",
|
|
62
63
|
},
|
|
63
64
|
bscmainnet: {
|
|
64
65
|
vBNBAddress: bscmainnet_json_2.default.contracts.vBNB.address,
|
|
@@ -96,6 +97,8 @@ exports.ADDRESSES = {
|
|
|
96
97
|
USDe: "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34",
|
|
97
98
|
xSolvBTC: "0x1346b618dC92810EC74163e4c27004c921D446a5",
|
|
98
99
|
SolvBTC: "0x4aae823a6a0b376De6A78e74eCC5b079d38cBCf7",
|
|
100
|
+
"PT-clisBNB-25JUN2026": "0xe052823b4aefc6e230FAf46231A57d0905E30AE0",
|
|
101
|
+
"PT-clisBNB-25JUN2026_Market": "0x3C1a3D6B69A866444Fe506F7D38a00a1C2D859C5",
|
|
99
102
|
},
|
|
100
103
|
sepolia: {
|
|
101
104
|
vBNBAddress: hardhat_1.ethers.constants.AddressZero,
|