From 6fe7fe8f9955fd083df358d9a7df36aa3c9fffb4 Mon Sep 17 00:00:00 2001 From: narayanprusty Date: Tue, 1 Oct 2024 11:35:42 +0000 Subject: [PATCH] feat: updating deployment files --- deployments/sepolia.json | 75 ++++++++++++++++++++++++++++-- deployments/sepolia_addresses.json | 2 +- 2 files changed, 71 insertions(+), 6 deletions(-) diff --git a/deployments/sepolia.json b/deployments/sepolia.json index e21297a1d..ca8983bc4 100644 --- a/deployments/sepolia.json +++ b/deployments/sepolia.json @@ -24571,10 +24571,26 @@ ] }, "VTokenImpl": { - "address": "0x558083c8Ca93e42F5c0FE7e8c5FC49e9c0d94E14", + "address": "0xF360E6470C82EbCa1ECA1de1016A4c18fFE67C48", "abi": [ { - "inputs": [], + "inputs": [ + { + "internalType": "bool", + "name": "timeBased_", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "blocksPerYear_", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maxBorrowRateMantissa_", + "type": "uint256" + } + ], "stateMutability": "nonpayable", "type": "constructor" }, @@ -24614,6 +24630,16 @@ "name": "HealBorrowUnauthorized", "type": "error" }, + { + "inputs": [], + "name": "InvalidBlocksPerYear", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidTimeBasedConfiguration", + "type": "error" + }, { "inputs": [ { @@ -25085,13 +25111,13 @@ { "indexed": false, "internalType": "uint256", - "name": "oldReduceReservesBlockDelta", + "name": "oldReduceReservesBlockOrTimestampDelta", "type": "uint256" }, { "indexed": false, "internalType": "uint256", - "name": "newReduceReservesBlockDelta", + "name": "newReduceReservesBlockOrTimestampDelta", "type": "uint256" } ], @@ -25539,6 +25565,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [], + "name": "blocksOrSecondsPerYear", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -25789,6 +25828,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "getBlockNumberOrTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getCash", @@ -25937,6 +25989,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "isTimeBased", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "isVToken", @@ -26354,7 +26419,7 @@ "inputs": [ { "internalType": "uint256", - "name": "_newReduceReservesBlockDelta", + "name": "_newReduceReservesBlockOrTimestampDelta", "type": "uint256" } ], diff --git a/deployments/sepolia_addresses.json b/deployments/sepolia_addresses.json index c536e83da..91aecd760 100644 --- a/deployments/sepolia_addresses.json +++ b/deployments/sepolia_addresses.json @@ -57,7 +57,7 @@ "RewardsDistributor_Liquid Staked ETH_2": "0x92e8E3C202093A495e98C10f9fcaa5Abe288F74A", "RewardsDistributor_Liquid Staked ETH_2_Proxy": "0x92e8E3C202093A495e98C10f9fcaa5Abe288F74A", "VTokenBeacon": "0x0463a7E5221EAE1990cEddB51A5821a68cdA6008", - "VTokenImpl": "0x558083c8Ca93e42F5c0FE7e8c5FC49e9c0d94E14", + "VTokenImpl": "0xF360E6470C82EbCa1ECA1de1016A4c18fFE67C48", "VToken_vCRV_Core": "0x121E3be152F283319310D807ed847E8b98319C1e", "VToken_vCRV_Curve": "0x9Db62c5BBc6fb79416545FcCBDB2204099217b78", "VToken_vDAI_Core": "0xfe050f628bF5278aCfA1e7B13b59fF207e769235",