@venusprotocol/oracle 2.13.0-dev.2 → 2.13.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.
Files changed (28) hide show
  1. package/deployments/bscmainnet/PendleOracle-PT-clisBNB-24APR2025.json +368 -0
  2. package/deployments/bscmainnet/PendleOracle-PT-clisBNB-24APR2025_Implementation.json +329 -0
  3. package/deployments/bscmainnet/PendleOracle-PT-clisBNB-24APR2025_Proxy.json +224 -0
  4. package/deployments/bscmainnet/PendleOracle-PT-clisBNB-24APR2025_Reference_PtToAsset.json +368 -0
  5. package/deployments/bscmainnet/PendleOracle-PT-clisBNB-24APR2025_Reference_PtToAsset_Implementation.json +329 -0
  6. package/deployments/bscmainnet/PendleOracle-PT-clisBNB-24APR2025_Reference_PtToAsset_Proxy.json +224 -0
  7. package/deployments/bscmainnet/solcInputs/14552d52675fedf77ca6b2dd8b471565.json +328 -0
  8. package/deployments/bscmainnet/solcInputs/5eefab25ac812df21160bd253cc12328.json +184 -0
  9. package/deployments/bscmainnet.json +1208 -0
  10. package/deployments/bscmainnet_addresses.json +6 -0
  11. package/deployments/bsctestnet/PendleOracle-PT-clisBNB-24APR2025.json +368 -0
  12. package/deployments/bsctestnet/PendleOracle-PT-clisBNB-24APR2025_Implementation.json +329 -0
  13. package/deployments/bsctestnet/PendleOracle-PT-clisBNB-24APR2025_Proxy.json +224 -0
  14. package/deployments/bsctestnet/solcInputs/14552d52675fedf77ca6b2dd8b471565.json +328 -0
  15. package/deployments/bsctestnet/solcInputs/5eefab25ac812df21160bd253cc12328.json +184 -0
  16. package/deployments/bsctestnet.json +604 -0
  17. package/deployments/bsctestnet_addresses.json +3 -0
  18. package/dist/deploy/20-deploy-clisBNB-pendle-oracle.d.ts +4 -0
  19. package/dist/deploy/20-deploy-clisBNB-pendle-oracle.d.ts.map +1 -0
  20. package/dist/deploy/20-deploy-clisBNB-pendle-oracle.js +69 -0
  21. package/dist/deploy/20-deploy-clisBNB-pendle-oracle.js.map +1 -0
  22. package/dist/hardhat.config.d.ts.map +1 -1
  23. package/dist/hardhat.config.js +1 -0
  24. package/dist/hardhat.config.js.map +1 -1
  25. package/dist/helpers/deploymentConfig.d.ts.map +1 -1
  26. package/dist/helpers/deploymentConfig.js +3 -0
  27. package/dist/helpers/deploymentConfig.js.map +1 -1
  28. package/package.json +1 -1
@@ -5852,6 +5852,610 @@
5852
5852
  }
5853
5853
  ]
5854
5854
  },
5855
+ "PendleOracle-PT-clisBNB-24APR2025": {
5856
+ "address": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
5857
+ "abi": [
5858
+ {
5859
+ "anonymous": false,
5860
+ "inputs": [
5861
+ {
5862
+ "indexed": false,
5863
+ "internalType": "address",
5864
+ "name": "previousAdmin",
5865
+ "type": "address"
5866
+ },
5867
+ {
5868
+ "indexed": false,
5869
+ "internalType": "address",
5870
+ "name": "newAdmin",
5871
+ "type": "address"
5872
+ }
5873
+ ],
5874
+ "name": "AdminChanged",
5875
+ "type": "event"
5876
+ },
5877
+ {
5878
+ "anonymous": false,
5879
+ "inputs": [
5880
+ {
5881
+ "indexed": true,
5882
+ "internalType": "address",
5883
+ "name": "beacon",
5884
+ "type": "address"
5885
+ }
5886
+ ],
5887
+ "name": "BeaconUpgraded",
5888
+ "type": "event"
5889
+ },
5890
+ {
5891
+ "anonymous": false,
5892
+ "inputs": [
5893
+ {
5894
+ "indexed": true,
5895
+ "internalType": "address",
5896
+ "name": "implementation",
5897
+ "type": "address"
5898
+ }
5899
+ ],
5900
+ "name": "Upgraded",
5901
+ "type": "event"
5902
+ },
5903
+ {
5904
+ "stateMutability": "payable",
5905
+ "type": "fallback"
5906
+ },
5907
+ {
5908
+ "inputs": [],
5909
+ "name": "admin",
5910
+ "outputs": [
5911
+ {
5912
+ "internalType": "address",
5913
+ "name": "admin_",
5914
+ "type": "address"
5915
+ }
5916
+ ],
5917
+ "stateMutability": "nonpayable",
5918
+ "type": "function"
5919
+ },
5920
+ {
5921
+ "inputs": [],
5922
+ "name": "implementation",
5923
+ "outputs": [
5924
+ {
5925
+ "internalType": "address",
5926
+ "name": "implementation_",
5927
+ "type": "address"
5928
+ }
5929
+ ],
5930
+ "stateMutability": "nonpayable",
5931
+ "type": "function"
5932
+ },
5933
+ {
5934
+ "inputs": [
5935
+ {
5936
+ "internalType": "address",
5937
+ "name": "newImplementation",
5938
+ "type": "address"
5939
+ }
5940
+ ],
5941
+ "name": "upgradeTo",
5942
+ "outputs": [],
5943
+ "stateMutability": "nonpayable",
5944
+ "type": "function"
5945
+ },
5946
+ {
5947
+ "inputs": [
5948
+ {
5949
+ "internalType": "address",
5950
+ "name": "newImplementation",
5951
+ "type": "address"
5952
+ },
5953
+ {
5954
+ "internalType": "bytes",
5955
+ "name": "data",
5956
+ "type": "bytes"
5957
+ }
5958
+ ],
5959
+ "name": "upgradeToAndCall",
5960
+ "outputs": [],
5961
+ "stateMutability": "payable",
5962
+ "type": "function"
5963
+ },
5964
+ {
5965
+ "stateMutability": "payable",
5966
+ "type": "receive"
5967
+ },
5968
+ {
5969
+ "inputs": [],
5970
+ "name": "InvalidDuration",
5971
+ "type": "error"
5972
+ },
5973
+ {
5974
+ "inputs": [],
5975
+ "name": "InvalidTokenAddress",
5976
+ "type": "error"
5977
+ },
5978
+ {
5979
+ "inputs": [],
5980
+ "name": "ZeroAddressNotAllowed",
5981
+ "type": "error"
5982
+ },
5983
+ {
5984
+ "inputs": [],
5985
+ "name": "ZeroValueNotAllowed",
5986
+ "type": "error"
5987
+ },
5988
+ {
5989
+ "inputs": [],
5990
+ "name": "CORRELATED_TOKEN",
5991
+ "outputs": [
5992
+ {
5993
+ "internalType": "address",
5994
+ "name": "",
5995
+ "type": "address"
5996
+ }
5997
+ ],
5998
+ "stateMutability": "view",
5999
+ "type": "function"
6000
+ },
6001
+ {
6002
+ "inputs": [],
6003
+ "name": "MARKET",
6004
+ "outputs": [
6005
+ {
6006
+ "internalType": "address",
6007
+ "name": "",
6008
+ "type": "address"
6009
+ }
6010
+ ],
6011
+ "stateMutability": "view",
6012
+ "type": "function"
6013
+ },
6014
+ {
6015
+ "inputs": [],
6016
+ "name": "PT_ORACLE",
6017
+ "outputs": [
6018
+ {
6019
+ "internalType": "contract IPendlePtOracle",
6020
+ "name": "",
6021
+ "type": "address"
6022
+ }
6023
+ ],
6024
+ "stateMutability": "view",
6025
+ "type": "function"
6026
+ },
6027
+ {
6028
+ "inputs": [],
6029
+ "name": "RATE_KIND",
6030
+ "outputs": [
6031
+ {
6032
+ "internalType": "enum PendleOracle.RateKind",
6033
+ "name": "",
6034
+ "type": "uint8"
6035
+ }
6036
+ ],
6037
+ "stateMutability": "view",
6038
+ "type": "function"
6039
+ },
6040
+ {
6041
+ "inputs": [],
6042
+ "name": "RESILIENT_ORACLE",
6043
+ "outputs": [
6044
+ {
6045
+ "internalType": "contract OracleInterface",
6046
+ "name": "",
6047
+ "type": "address"
6048
+ }
6049
+ ],
6050
+ "stateMutability": "view",
6051
+ "type": "function"
6052
+ },
6053
+ {
6054
+ "inputs": [],
6055
+ "name": "TWAP_DURATION",
6056
+ "outputs": [
6057
+ {
6058
+ "internalType": "uint32",
6059
+ "name": "",
6060
+ "type": "uint32"
6061
+ }
6062
+ ],
6063
+ "stateMutability": "view",
6064
+ "type": "function"
6065
+ },
6066
+ {
6067
+ "inputs": [],
6068
+ "name": "UNDERLYING_DECIMALS",
6069
+ "outputs": [
6070
+ {
6071
+ "internalType": "uint8",
6072
+ "name": "",
6073
+ "type": "uint8"
6074
+ }
6075
+ ],
6076
+ "stateMutability": "view",
6077
+ "type": "function"
6078
+ },
6079
+ {
6080
+ "inputs": [],
6081
+ "name": "UNDERLYING_TOKEN",
6082
+ "outputs": [
6083
+ {
6084
+ "internalType": "address",
6085
+ "name": "",
6086
+ "type": "address"
6087
+ }
6088
+ ],
6089
+ "stateMutability": "view",
6090
+ "type": "function"
6091
+ },
6092
+ {
6093
+ "inputs": [
6094
+ {
6095
+ "internalType": "address",
6096
+ "name": "asset",
6097
+ "type": "address"
6098
+ }
6099
+ ],
6100
+ "name": "getPrice",
6101
+ "outputs": [
6102
+ {
6103
+ "internalType": "uint256",
6104
+ "name": "",
6105
+ "type": "uint256"
6106
+ }
6107
+ ],
6108
+ "stateMutability": "view",
6109
+ "type": "function"
6110
+ },
6111
+ {
6112
+ "inputs": [
6113
+ {
6114
+ "internalType": "address",
6115
+ "name": "_logic",
6116
+ "type": "address"
6117
+ },
6118
+ {
6119
+ "internalType": "address",
6120
+ "name": "admin_",
6121
+ "type": "address"
6122
+ },
6123
+ {
6124
+ "internalType": "bytes",
6125
+ "name": "_data",
6126
+ "type": "bytes"
6127
+ }
6128
+ ],
6129
+ "stateMutability": "payable",
6130
+ "type": "constructor"
6131
+ }
6132
+ ]
6133
+ },
6134
+ "PendleOracle-PT-clisBNB-24APR2025_Implementation": {
6135
+ "address": "0x6d8b4d49238ffc3Ad23239fbC3045307B98D6F76",
6136
+ "abi": [
6137
+ {
6138
+ "inputs": [
6139
+ {
6140
+ "internalType": "address",
6141
+ "name": "market",
6142
+ "type": "address"
6143
+ },
6144
+ {
6145
+ "internalType": "address",
6146
+ "name": "ptOracle",
6147
+ "type": "address"
6148
+ },
6149
+ {
6150
+ "internalType": "enum PendleOracle.RateKind",
6151
+ "name": "rateKind",
6152
+ "type": "uint8"
6153
+ },
6154
+ {
6155
+ "internalType": "address",
6156
+ "name": "ptToken",
6157
+ "type": "address"
6158
+ },
6159
+ {
6160
+ "internalType": "address",
6161
+ "name": "underlyingToken",
6162
+ "type": "address"
6163
+ },
6164
+ {
6165
+ "internalType": "address",
6166
+ "name": "resilientOracle",
6167
+ "type": "address"
6168
+ },
6169
+ {
6170
+ "internalType": "uint32",
6171
+ "name": "twapDuration",
6172
+ "type": "uint32"
6173
+ }
6174
+ ],
6175
+ "stateMutability": "nonpayable",
6176
+ "type": "constructor"
6177
+ },
6178
+ {
6179
+ "inputs": [],
6180
+ "name": "InvalidDuration",
6181
+ "type": "error"
6182
+ },
6183
+ {
6184
+ "inputs": [],
6185
+ "name": "InvalidTokenAddress",
6186
+ "type": "error"
6187
+ },
6188
+ {
6189
+ "inputs": [],
6190
+ "name": "ZeroAddressNotAllowed",
6191
+ "type": "error"
6192
+ },
6193
+ {
6194
+ "inputs": [],
6195
+ "name": "ZeroValueNotAllowed",
6196
+ "type": "error"
6197
+ },
6198
+ {
6199
+ "inputs": [],
6200
+ "name": "CORRELATED_TOKEN",
6201
+ "outputs": [
6202
+ {
6203
+ "internalType": "address",
6204
+ "name": "",
6205
+ "type": "address"
6206
+ }
6207
+ ],
6208
+ "stateMutability": "view",
6209
+ "type": "function"
6210
+ },
6211
+ {
6212
+ "inputs": [],
6213
+ "name": "MARKET",
6214
+ "outputs": [
6215
+ {
6216
+ "internalType": "address",
6217
+ "name": "",
6218
+ "type": "address"
6219
+ }
6220
+ ],
6221
+ "stateMutability": "view",
6222
+ "type": "function"
6223
+ },
6224
+ {
6225
+ "inputs": [],
6226
+ "name": "PT_ORACLE",
6227
+ "outputs": [
6228
+ {
6229
+ "internalType": "contract IPendlePtOracle",
6230
+ "name": "",
6231
+ "type": "address"
6232
+ }
6233
+ ],
6234
+ "stateMutability": "view",
6235
+ "type": "function"
6236
+ },
6237
+ {
6238
+ "inputs": [],
6239
+ "name": "RATE_KIND",
6240
+ "outputs": [
6241
+ {
6242
+ "internalType": "enum PendleOracle.RateKind",
6243
+ "name": "",
6244
+ "type": "uint8"
6245
+ }
6246
+ ],
6247
+ "stateMutability": "view",
6248
+ "type": "function"
6249
+ },
6250
+ {
6251
+ "inputs": [],
6252
+ "name": "RESILIENT_ORACLE",
6253
+ "outputs": [
6254
+ {
6255
+ "internalType": "contract OracleInterface",
6256
+ "name": "",
6257
+ "type": "address"
6258
+ }
6259
+ ],
6260
+ "stateMutability": "view",
6261
+ "type": "function"
6262
+ },
6263
+ {
6264
+ "inputs": [],
6265
+ "name": "TWAP_DURATION",
6266
+ "outputs": [
6267
+ {
6268
+ "internalType": "uint32",
6269
+ "name": "",
6270
+ "type": "uint32"
6271
+ }
6272
+ ],
6273
+ "stateMutability": "view",
6274
+ "type": "function"
6275
+ },
6276
+ {
6277
+ "inputs": [],
6278
+ "name": "UNDERLYING_DECIMALS",
6279
+ "outputs": [
6280
+ {
6281
+ "internalType": "uint8",
6282
+ "name": "",
6283
+ "type": "uint8"
6284
+ }
6285
+ ],
6286
+ "stateMutability": "view",
6287
+ "type": "function"
6288
+ },
6289
+ {
6290
+ "inputs": [],
6291
+ "name": "UNDERLYING_TOKEN",
6292
+ "outputs": [
6293
+ {
6294
+ "internalType": "address",
6295
+ "name": "",
6296
+ "type": "address"
6297
+ }
6298
+ ],
6299
+ "stateMutability": "view",
6300
+ "type": "function"
6301
+ },
6302
+ {
6303
+ "inputs": [
6304
+ {
6305
+ "internalType": "address",
6306
+ "name": "asset",
6307
+ "type": "address"
6308
+ }
6309
+ ],
6310
+ "name": "getPrice",
6311
+ "outputs": [
6312
+ {
6313
+ "internalType": "uint256",
6314
+ "name": "",
6315
+ "type": "uint256"
6316
+ }
6317
+ ],
6318
+ "stateMutability": "view",
6319
+ "type": "function"
6320
+ }
6321
+ ]
6322
+ },
6323
+ "PendleOracle-PT-clisBNB-24APR2025_Proxy": {
6324
+ "address": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
6325
+ "abi": [
6326
+ {
6327
+ "inputs": [
6328
+ {
6329
+ "internalType": "address",
6330
+ "name": "_logic",
6331
+ "type": "address"
6332
+ },
6333
+ {
6334
+ "internalType": "address",
6335
+ "name": "admin_",
6336
+ "type": "address"
6337
+ },
6338
+ {
6339
+ "internalType": "bytes",
6340
+ "name": "_data",
6341
+ "type": "bytes"
6342
+ }
6343
+ ],
6344
+ "stateMutability": "payable",
6345
+ "type": "constructor"
6346
+ },
6347
+ {
6348
+ "anonymous": false,
6349
+ "inputs": [
6350
+ {
6351
+ "indexed": false,
6352
+ "internalType": "address",
6353
+ "name": "previousAdmin",
6354
+ "type": "address"
6355
+ },
6356
+ {
6357
+ "indexed": false,
6358
+ "internalType": "address",
6359
+ "name": "newAdmin",
6360
+ "type": "address"
6361
+ }
6362
+ ],
6363
+ "name": "AdminChanged",
6364
+ "type": "event"
6365
+ },
6366
+ {
6367
+ "anonymous": false,
6368
+ "inputs": [
6369
+ {
6370
+ "indexed": true,
6371
+ "internalType": "address",
6372
+ "name": "beacon",
6373
+ "type": "address"
6374
+ }
6375
+ ],
6376
+ "name": "BeaconUpgraded",
6377
+ "type": "event"
6378
+ },
6379
+ {
6380
+ "anonymous": false,
6381
+ "inputs": [
6382
+ {
6383
+ "indexed": true,
6384
+ "internalType": "address",
6385
+ "name": "implementation",
6386
+ "type": "address"
6387
+ }
6388
+ ],
6389
+ "name": "Upgraded",
6390
+ "type": "event"
6391
+ },
6392
+ {
6393
+ "stateMutability": "payable",
6394
+ "type": "fallback"
6395
+ },
6396
+ {
6397
+ "inputs": [],
6398
+ "name": "admin",
6399
+ "outputs": [
6400
+ {
6401
+ "internalType": "address",
6402
+ "name": "admin_",
6403
+ "type": "address"
6404
+ }
6405
+ ],
6406
+ "stateMutability": "nonpayable",
6407
+ "type": "function"
6408
+ },
6409
+ {
6410
+ "inputs": [],
6411
+ "name": "implementation",
6412
+ "outputs": [
6413
+ {
6414
+ "internalType": "address",
6415
+ "name": "implementation_",
6416
+ "type": "address"
6417
+ }
6418
+ ],
6419
+ "stateMutability": "nonpayable",
6420
+ "type": "function"
6421
+ },
6422
+ {
6423
+ "inputs": [
6424
+ {
6425
+ "internalType": "address",
6426
+ "name": "newImplementation",
6427
+ "type": "address"
6428
+ }
6429
+ ],
6430
+ "name": "upgradeTo",
6431
+ "outputs": [],
6432
+ "stateMutability": "nonpayable",
6433
+ "type": "function"
6434
+ },
6435
+ {
6436
+ "inputs": [
6437
+ {
6438
+ "internalType": "address",
6439
+ "name": "newImplementation",
6440
+ "type": "address"
6441
+ },
6442
+ {
6443
+ "internalType": "bytes",
6444
+ "name": "data",
6445
+ "type": "bytes"
6446
+ }
6447
+ ],
6448
+ "name": "upgradeToAndCall",
6449
+ "outputs": [],
6450
+ "stateMutability": "payable",
6451
+ "type": "function"
6452
+ },
6453
+ {
6454
+ "stateMutability": "payable",
6455
+ "type": "receive"
6456
+ }
6457
+ ]
6458
+ },
5855
6459
  "PythOracle": {
5856
6460
  "address": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
5857
6461
  "abi": [
@@ -24,6 +24,9 @@
24
24
  "PendleOracle-PT-SolvBTC.BBN-27MAR2025": "0x31B78f0Ef6A87cF0E812197226306954a65907d5",
25
25
  "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Implementation": "0x2EC23cBc3A111D4265d9fE7dcf319b2Ff4F23f2D",
26
26
  "PendleOracle-PT-SolvBTC.BBN-27MAR2025_Proxy": "0x31B78f0Ef6A87cF0E812197226306954a65907d5",
27
+ "PendleOracle-PT-clisBNB-24APR2025": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
28
+ "PendleOracle-PT-clisBNB-24APR2025_Implementation": "0x6d8b4d49238ffc3Ad23239fbC3045307B98D6F76",
29
+ "PendleOracle-PT-clisBNB-24APR2025_Proxy": "0xeF663663e802Ff4510aDE14975820FFB5d2EE9E8",
27
30
  "PythOracle": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
28
31
  "PythOracle_Implementation": "0xb8a450101DF8ab770c8F8521E189a4B39e7Cf5f5",
29
32
  "PythOracle_Proxy": "0x94E1534c14e0736BB24decA625f2F5364B198E0C",
@@ -0,0 +1,4 @@
1
+ import { DeployFunction } from "hardhat-deploy/dist/types";
2
+ declare const func: DeployFunction;
3
+ export default func;
4
+ //# sourceMappingURL=20-deploy-clisBNB-pendle-oracle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"20-deploy-clisBNB-pendle-oracle.d.ts","sourceRoot":"","sources":["../../deploy/20-deploy-clisBNB-pendle-oracle.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAW3D,QAAA,MAAM,IAAI,EAAE,cAyDX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,69 @@
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 oracle = await hardhat_1.ethers.getContract("ResilientOracle");
15
+ const proxyOwnerAddress = network.live ? deploymentConfig_1.ADDRESSES[network.name].timelock : deployer;
16
+ const addresses = deploymentConfig_1.ADDRESSES[network.name];
17
+ const ptOracleAddress = addresses.PTOracle || (await hardhat_1.ethers.getContract("MockPendlePtOracle")).address;
18
+ await deploy("PendleOracle-PT-clisBNB-24APR2025", {
19
+ contract: "PendleOracle",
20
+ from: deployer,
21
+ log: true,
22
+ deterministicDeployment: false,
23
+ args: [
24
+ addresses["PT-clisBNB-24APR2025_Market"] || "0x0000000000000000000000000000000000000002",
25
+ ptOracleAddress,
26
+ PendleRateKind.PT_TO_SY,
27
+ addresses["PT-clisBNB-24APR2025"],
28
+ addresses.slisBNB,
29
+ oracle.address,
30
+ 1800,
31
+ ],
32
+ proxy: {
33
+ owner: proxyOwnerAddress,
34
+ proxyContract: "OptimizedTransparentUpgradeableProxy",
35
+ },
36
+ skipIfAlreadyDeployed: true,
37
+ });
38
+ if ((0, deploymentUtils_1.isMainnet)(network)) {
39
+ const referenceOracle = await hardhat_1.ethers.getContract("ReferenceOracle");
40
+ const { devMultisig } = addresses;
41
+ await deploy("PendleOracle-PT-clisBNB-24APR2025_Reference_PtToAsset", {
42
+ contract: "PendleOracle",
43
+ from: deployer,
44
+ log: true,
45
+ deterministicDeployment: false,
46
+ args: [
47
+ addresses["PT-clisBNB-24APR2025_Market"] || "0x0000000000000000000000000000000000000002",
48
+ ptOracleAddress,
49
+ PendleRateKind.PT_TO_ASSET,
50
+ addresses["PT-clisBNB-24APR2025"],
51
+ addresses.WBNBAddress,
52
+ referenceOracle.address,
53
+ 1800,
54
+ ],
55
+ proxy: {
56
+ owner: devMultisig,
57
+ proxyContract: "OptimizedTransparentUpgradeableProxy",
58
+ viaAdminContract: {
59
+ name: "DevProxyAdmin",
60
+ },
61
+ },
62
+ skipIfAlreadyDeployed: true,
63
+ });
64
+ }
65
+ };
66
+ exports.default = func;
67
+ func.tags = ["PT-clisBNB"];
68
+ func.skip = async (hre) => hre.network.name !== "bsctestnet" && hre.network.name !== "bscmainnet";
69
+ //# sourceMappingURL=20-deploy-clisBNB-pendle-oracle.js.map