@venusprotocol/isolated-pools 3.7.0-dev.5 → 3.7.0-dev.7

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 (42) hide show
  1. package/deployments/basesepolia/.chainId +1 -0
  2. package/deployments/basesepolia/ComptrollerBeacon.json +206 -0
  3. package/deployments/basesepolia/ComptrollerImpl.json +3396 -0
  4. package/deployments/basesepolia/Comptroller_Core.json +187 -0
  5. package/deployments/basesepolia/DefaultProxyAdmin.json +200 -0
  6. package/deployments/basesepolia/JumpRateModelV2_base0bps_slope750bps_jump25000bps_kink8000bps.json +608 -0
  7. package/deployments/basesepolia/JumpRateModelV2_base0bps_slope900bps_jump30000bps_kink4500bps.json +608 -0
  8. package/deployments/basesepolia/MockUSDC.json +458 -0
  9. package/deployments/basesepolia/MockcbBTC.json +458 -0
  10. package/deployments/basesepolia/NativeTokenGateway_vWETH_Core.json +599 -0
  11. package/deployments/basesepolia/PoolLens.json +1416 -0
  12. package/deployments/basesepolia/PoolRegistry.json +940 -0
  13. package/deployments/basesepolia/PoolRegistry_Implementation.json +1194 -0
  14. package/deployments/basesepolia/PoolRegistry_Proxy.json +262 -0
  15. package/deployments/basesepolia/RewardsDistributorImpl.json +1856 -0
  16. package/deployments/basesepolia/RewardsDistributor_Core_0.json +1420 -0
  17. package/deployments/basesepolia/RewardsDistributor_Core_0_Proxy.json +272 -0
  18. package/deployments/basesepolia/VTokenBeacon.json +206 -0
  19. package/deployments/basesepolia/VTokenImpl.json +3269 -0
  20. package/deployments/basesepolia/VToken_vUSDC_Core.json +257 -0
  21. package/deployments/basesepolia/VToken_vWETH_Core.json +257 -0
  22. package/deployments/basesepolia/VToken_vcbBTC_Core.json +257 -0
  23. package/deployments/basesepolia/solcInputs/1cc1a300ca8c782ec718d1d686c359e7.json +301 -0
  24. package/deployments/basesepolia/solcInputs/9fb535a58937a08c38529913271f4d87.json +397 -0
  25. package/deployments/basesepolia.json +11959 -0
  26. package/deployments/basesepolia_addresses.json +27 -0
  27. package/deployments/ethereum/VToken_vLBTC_Core.json +257 -0
  28. package/deployments/ethereum.json +74 -0
  29. package/deployments/ethereum_addresses.json +1 -0
  30. package/deployments/sepolia/MockLBTC.json +458 -0
  31. package/deployments/sepolia/VToken_vLBTC_Core.json +257 -0
  32. package/deployments/sepolia.json +383 -0
  33. package/deployments/sepolia_addresses.json +2 -0
  34. package/dist/deploy/018-native-token-gateway.js +14 -0
  35. package/dist/deployments/basesepolia.json +11959 -0
  36. package/dist/deployments/ethereum.json +74 -0
  37. package/dist/deployments/opmainnet.json +9280 -0
  38. package/dist/deployments/sepolia.json +383 -0
  39. package/dist/hardhat.config.js +19 -0
  40. package/dist/helpers/deploymentConfig.d.ts +9 -0
  41. package/dist/helpers/deploymentConfig.js +186 -1
  42. package/package.json +1 -1
@@ -8241,6 +8241,315 @@
8241
8241
  }
8242
8242
  ]
8243
8243
  },
8244
+ "MockLBTC": {
8245
+ "address": "0x37798CaB3Adde2F4064afBc1C7F9bbBc6A826375",
8246
+ "abi": [
8247
+ {
8248
+ "inputs": [
8249
+ {
8250
+ "internalType": "string",
8251
+ "name": "name_",
8252
+ "type": "string"
8253
+ },
8254
+ {
8255
+ "internalType": "string",
8256
+ "name": "symbol_",
8257
+ "type": "string"
8258
+ },
8259
+ {
8260
+ "internalType": "uint8",
8261
+ "name": "decimals_",
8262
+ "type": "uint8"
8263
+ }
8264
+ ],
8265
+ "stateMutability": "nonpayable",
8266
+ "type": "constructor"
8267
+ },
8268
+ {
8269
+ "anonymous": false,
8270
+ "inputs": [
8271
+ {
8272
+ "indexed": true,
8273
+ "internalType": "address",
8274
+ "name": "owner",
8275
+ "type": "address"
8276
+ },
8277
+ {
8278
+ "indexed": true,
8279
+ "internalType": "address",
8280
+ "name": "spender",
8281
+ "type": "address"
8282
+ },
8283
+ {
8284
+ "indexed": false,
8285
+ "internalType": "uint256",
8286
+ "name": "value",
8287
+ "type": "uint256"
8288
+ }
8289
+ ],
8290
+ "name": "Approval",
8291
+ "type": "event"
8292
+ },
8293
+ {
8294
+ "anonymous": false,
8295
+ "inputs": [
8296
+ {
8297
+ "indexed": true,
8298
+ "internalType": "address",
8299
+ "name": "from",
8300
+ "type": "address"
8301
+ },
8302
+ {
8303
+ "indexed": true,
8304
+ "internalType": "address",
8305
+ "name": "to",
8306
+ "type": "address"
8307
+ },
8308
+ {
8309
+ "indexed": false,
8310
+ "internalType": "uint256",
8311
+ "name": "value",
8312
+ "type": "uint256"
8313
+ }
8314
+ ],
8315
+ "name": "Transfer",
8316
+ "type": "event"
8317
+ },
8318
+ {
8319
+ "inputs": [
8320
+ {
8321
+ "internalType": "address",
8322
+ "name": "owner",
8323
+ "type": "address"
8324
+ },
8325
+ {
8326
+ "internalType": "address",
8327
+ "name": "spender",
8328
+ "type": "address"
8329
+ }
8330
+ ],
8331
+ "name": "allowance",
8332
+ "outputs": [
8333
+ {
8334
+ "internalType": "uint256",
8335
+ "name": "",
8336
+ "type": "uint256"
8337
+ }
8338
+ ],
8339
+ "stateMutability": "view",
8340
+ "type": "function"
8341
+ },
8342
+ {
8343
+ "inputs": [
8344
+ {
8345
+ "internalType": "address",
8346
+ "name": "spender",
8347
+ "type": "address"
8348
+ },
8349
+ {
8350
+ "internalType": "uint256",
8351
+ "name": "amount",
8352
+ "type": "uint256"
8353
+ }
8354
+ ],
8355
+ "name": "approve",
8356
+ "outputs": [
8357
+ {
8358
+ "internalType": "bool",
8359
+ "name": "",
8360
+ "type": "bool"
8361
+ }
8362
+ ],
8363
+ "stateMutability": "nonpayable",
8364
+ "type": "function"
8365
+ },
8366
+ {
8367
+ "inputs": [
8368
+ {
8369
+ "internalType": "address",
8370
+ "name": "account",
8371
+ "type": "address"
8372
+ }
8373
+ ],
8374
+ "name": "balanceOf",
8375
+ "outputs": [
8376
+ {
8377
+ "internalType": "uint256",
8378
+ "name": "",
8379
+ "type": "uint256"
8380
+ }
8381
+ ],
8382
+ "stateMutability": "view",
8383
+ "type": "function"
8384
+ },
8385
+ {
8386
+ "inputs": [],
8387
+ "name": "decimals",
8388
+ "outputs": [
8389
+ {
8390
+ "internalType": "uint8",
8391
+ "name": "",
8392
+ "type": "uint8"
8393
+ }
8394
+ ],
8395
+ "stateMutability": "view",
8396
+ "type": "function"
8397
+ },
8398
+ {
8399
+ "inputs": [
8400
+ {
8401
+ "internalType": "address",
8402
+ "name": "spender",
8403
+ "type": "address"
8404
+ },
8405
+ {
8406
+ "internalType": "uint256",
8407
+ "name": "subtractedValue",
8408
+ "type": "uint256"
8409
+ }
8410
+ ],
8411
+ "name": "decreaseAllowance",
8412
+ "outputs": [
8413
+ {
8414
+ "internalType": "bool",
8415
+ "name": "",
8416
+ "type": "bool"
8417
+ }
8418
+ ],
8419
+ "stateMutability": "nonpayable",
8420
+ "type": "function"
8421
+ },
8422
+ {
8423
+ "inputs": [
8424
+ {
8425
+ "internalType": "uint256",
8426
+ "name": "amount",
8427
+ "type": "uint256"
8428
+ }
8429
+ ],
8430
+ "name": "faucet",
8431
+ "outputs": [],
8432
+ "stateMutability": "nonpayable",
8433
+ "type": "function"
8434
+ },
8435
+ {
8436
+ "inputs": [
8437
+ {
8438
+ "internalType": "address",
8439
+ "name": "spender",
8440
+ "type": "address"
8441
+ },
8442
+ {
8443
+ "internalType": "uint256",
8444
+ "name": "addedValue",
8445
+ "type": "uint256"
8446
+ }
8447
+ ],
8448
+ "name": "increaseAllowance",
8449
+ "outputs": [
8450
+ {
8451
+ "internalType": "bool",
8452
+ "name": "",
8453
+ "type": "bool"
8454
+ }
8455
+ ],
8456
+ "stateMutability": "nonpayable",
8457
+ "type": "function"
8458
+ },
8459
+ {
8460
+ "inputs": [],
8461
+ "name": "name",
8462
+ "outputs": [
8463
+ {
8464
+ "internalType": "string",
8465
+ "name": "",
8466
+ "type": "string"
8467
+ }
8468
+ ],
8469
+ "stateMutability": "view",
8470
+ "type": "function"
8471
+ },
8472
+ {
8473
+ "inputs": [],
8474
+ "name": "symbol",
8475
+ "outputs": [
8476
+ {
8477
+ "internalType": "string",
8478
+ "name": "",
8479
+ "type": "string"
8480
+ }
8481
+ ],
8482
+ "stateMutability": "view",
8483
+ "type": "function"
8484
+ },
8485
+ {
8486
+ "inputs": [],
8487
+ "name": "totalSupply",
8488
+ "outputs": [
8489
+ {
8490
+ "internalType": "uint256",
8491
+ "name": "",
8492
+ "type": "uint256"
8493
+ }
8494
+ ],
8495
+ "stateMutability": "view",
8496
+ "type": "function"
8497
+ },
8498
+ {
8499
+ "inputs": [
8500
+ {
8501
+ "internalType": "address",
8502
+ "name": "to",
8503
+ "type": "address"
8504
+ },
8505
+ {
8506
+ "internalType": "uint256",
8507
+ "name": "amount",
8508
+ "type": "uint256"
8509
+ }
8510
+ ],
8511
+ "name": "transfer",
8512
+ "outputs": [
8513
+ {
8514
+ "internalType": "bool",
8515
+ "name": "",
8516
+ "type": "bool"
8517
+ }
8518
+ ],
8519
+ "stateMutability": "nonpayable",
8520
+ "type": "function"
8521
+ },
8522
+ {
8523
+ "inputs": [
8524
+ {
8525
+ "internalType": "address",
8526
+ "name": "from",
8527
+ "type": "address"
8528
+ },
8529
+ {
8530
+ "internalType": "address",
8531
+ "name": "to",
8532
+ "type": "address"
8533
+ },
8534
+ {
8535
+ "internalType": "uint256",
8536
+ "name": "amount",
8537
+ "type": "uint256"
8538
+ }
8539
+ ],
8540
+ "name": "transferFrom",
8541
+ "outputs": [
8542
+ {
8543
+ "internalType": "bool",
8544
+ "name": "",
8545
+ "type": "bool"
8546
+ }
8547
+ ],
8548
+ "stateMutability": "nonpayable",
8549
+ "type": "function"
8550
+ }
8551
+ ]
8552
+ },
8244
8553
  "MockPT-weETH-26DEC2024": {
8245
8554
  "address": "0x56107201d3e4b7Db92dEa0Edb9e0454346AEb8B5",
8246
8555
  "abi": [
@@ -28656,6 +28965,80 @@
28656
28965
  }
28657
28966
  ]
28658
28967
  },
28968
+ "VToken_vLBTC_Core": {
28969
+ "address": "0x315F064cF5B5968fE1655436e1856F3ca558d395",
28970
+ "abi": [
28971
+ {
28972
+ "inputs": [
28973
+ {
28974
+ "internalType": "address",
28975
+ "name": "beacon",
28976
+ "type": "address"
28977
+ },
28978
+ {
28979
+ "internalType": "bytes",
28980
+ "name": "data",
28981
+ "type": "bytes"
28982
+ }
28983
+ ],
28984
+ "stateMutability": "payable",
28985
+ "type": "constructor"
28986
+ },
28987
+ {
28988
+ "anonymous": false,
28989
+ "inputs": [
28990
+ {
28991
+ "indexed": false,
28992
+ "internalType": "address",
28993
+ "name": "previousAdmin",
28994
+ "type": "address"
28995
+ },
28996
+ {
28997
+ "indexed": false,
28998
+ "internalType": "address",
28999
+ "name": "newAdmin",
29000
+ "type": "address"
29001
+ }
29002
+ ],
29003
+ "name": "AdminChanged",
29004
+ "type": "event"
29005
+ },
29006
+ {
29007
+ "anonymous": false,
29008
+ "inputs": [
29009
+ {
29010
+ "indexed": true,
29011
+ "internalType": "address",
29012
+ "name": "beacon",
29013
+ "type": "address"
29014
+ }
29015
+ ],
29016
+ "name": "BeaconUpgraded",
29017
+ "type": "event"
29018
+ },
29019
+ {
29020
+ "anonymous": false,
29021
+ "inputs": [
29022
+ {
29023
+ "indexed": true,
29024
+ "internalType": "address",
29025
+ "name": "implementation",
29026
+ "type": "address"
29027
+ }
29028
+ ],
29029
+ "name": "Upgraded",
29030
+ "type": "event"
29031
+ },
29032
+ {
29033
+ "stateMutability": "payable",
29034
+ "type": "fallback"
29035
+ },
29036
+ {
29037
+ "stateMutability": "payable",
29038
+ "type": "receive"
29039
+ }
29040
+ ]
29041
+ },
28659
29042
  "VToken_vPT-weETH-26DEC2024_LiquidStakedETH": {
28660
29043
  "address": "0x3AF2bE7AbEF0f840b196D99d79F4B803a5dB14a1",
28661
29044
  "abi": [
@@ -78,6 +78,10 @@ const DEPLOYER_PRIVATE_KEY = process.env.DEPLOYER_PRIVATE_KEY;
78
78
  "node_modules/@venusprotocol/protocol-reserve/deployments/arbitrumsepolia",
79
79
  ],
80
80
  arbitrumone: ["node_modules/@venusprotocol/protocol-reserve/deployments/arbitrumone"],
81
+ basesepolia: [
82
+ "node_modules/@venusprotocol/oracle/deployments/basesepolia",
83
+ "node_modules/@venusprotocol/protocol-reserve/deployments/basesepolia",
84
+ ],
81
85
  },
82
86
  };
83
87
  }
@@ -285,6 +289,12 @@ const config = {
285
289
  live: true,
286
290
  accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
287
291
  },
292
+ basesepolia: {
293
+ url: process.env.ARCHIVE_NODE_basesepolia || "https://sepolia.base.org",
294
+ chainId: 84532,
295
+ live: true,
296
+ accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
297
+ },
288
298
  },
289
299
  gasReporter: {
290
300
  enabled: process.env.REPORT_GAS !== undefined,
@@ -380,6 +390,14 @@ const config = {
380
390
  browserURL: "https://optimistic.etherscan.io/",
381
391
  },
382
392
  },
393
+ {
394
+ network: "basesepolia",
395
+ chainId: 84532,
396
+ urls: {
397
+ apiURL: "https://api-sepolia.basescan.org/api",
398
+ browserURL: "https://sepolia.basescan.org/",
399
+ },
400
+ },
383
401
  ],
384
402
  apiKey: {
385
403
  bscmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
@@ -392,6 +410,7 @@ const config = {
392
410
  arbitrumsepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
393
411
  opsepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
394
412
  opmainnet: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
413
+ basesepolia: process.env.ETHERSCAN_API_KEY || "ETHERSCAN_API_KEY",
395
414
  },
396
415
  },
397
416
  paths: {
@@ -14,6 +14,7 @@ export type NetworkConfig = {
14
14
  zksyncmainnet: DeploymentConfig;
15
15
  opsepolia: DeploymentConfig;
16
16
  opmainnet: DeploymentConfig;
17
+ basesepolia: DeploymentConfig;
17
18
  };
18
19
  export type PreconfiguredAddresses = {
19
20
  [contract: string]: string;
@@ -104,6 +105,7 @@ export declare const ZKSYNC_SEPOLIA_MULTISIG = "0xa2f83de95E9F28eD443132C331B6a9
104
105
  export declare const ZKSYNC_MAINNET_MULTISIG = "0x751Aa759cfBB6CE71A43b48e40e1cCcFC66Ba4aa";
105
106
  export declare const OP_SEPOLIA_MULTISIG = "0xd57365EE4E850e881229e2F8Aa405822f289e78d";
106
107
  export declare const OP_MAINNET_MULTISIG = "0x2e94dd14E81999CdBF5deDE31938beD7308354b3";
108
+ export declare const BASE_SEPOLIA_MULTISIG = "0xdf3b635d2b535f906BB02abb22AED71346E36a00";
107
109
  export declare const preconfiguredAddresses: {
108
110
  hardhat: {
109
111
  VTreasury: string;
@@ -208,6 +210,13 @@ export declare const preconfiguredAddresses: {
208
210
  CriticalTimelock: string;
209
211
  AccessControlManager: string;
210
212
  };
213
+ basesepolia: {
214
+ VTreasury: string;
215
+ NormalTimelock: string;
216
+ FastTrackTimelock: string;
217
+ CriticalTimelock: string;
218
+ AccessControlManager: string;
219
+ };
211
220
  };
212
221
  export declare const globalConfig: NetworkConfig;
213
222
  export declare function getConfig(networkName: string): Promise<DeploymentConfig>;