From d9d08d74f544d4f3a8f186ee65fcc1833c1d0f7e Mon Sep 17 00:00:00 2001 From: chechu Date: Fri, 27 Sep 2024 14:58:11 +0000 Subject: [PATCH] feat: updating deployment files --- deployments/ethereum.json | 75 +++++++++++++++++++++++++++-- deployments/ethereum_addresses.json | 2 +- 2 files changed, 71 insertions(+), 6 deletions(-) diff --git a/deployments/ethereum.json b/deployments/ethereum.json index 918ce8b3..104acd92 100644 --- a/deployments/ethereum.json +++ b/deployments/ethereum.json @@ -26166,10 +26166,26 @@ ] }, "VTokenImpl": { - "address": "0xE5A008B6A0bAB405343B3ABe8895966EAaFb5790", + "address": "0xefdf5CcC12d8cff4a7ed4e421b95F8f69Cf2F766", "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" }, @@ -26209,6 +26225,16 @@ "name": "HealBorrowUnauthorized", "type": "error" }, + { + "inputs": [], + "name": "InvalidBlocksPerYear", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidTimeBasedConfiguration", + "type": "error" + }, { "inputs": [ { @@ -26680,13 +26706,13 @@ { "indexed": false, "internalType": "uint256", - "name": "oldReduceReservesBlockDelta", + "name": "oldReduceReservesBlockOrTimestampDelta", "type": "uint256" }, { "indexed": false, "internalType": "uint256", - "name": "newReduceReservesBlockDelta", + "name": "newReduceReservesBlockOrTimestampDelta", "type": "uint256" } ], @@ -27134,6 +27160,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [], + "name": "blocksOrSecondsPerYear", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -27384,6 +27423,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "getBlockNumberOrTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "getCash", @@ -27532,6 +27584,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "isTimeBased", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "isVToken", @@ -27949,7 +28014,7 @@ "inputs": [ { "internalType": "uint256", - "name": "_newReduceReservesBlockDelta", + "name": "_newReduceReservesBlockOrTimestampDelta", "type": "uint256" } ], diff --git a/deployments/ethereum_addresses.json b/deployments/ethereum_addresses.json index c5eadc87..3cbe5dff 100644 --- a/deployments/ethereum_addresses.json +++ b/deployments/ethereum_addresses.json @@ -53,7 +53,7 @@ "RewardsDistributor_Liquid Staked ETH_3": "0x1e25CF968f12850003Db17E0Dba32108509C4359", "RewardsDistributor_Liquid Staked ETH_3_Proxy": "0x1e25CF968f12850003Db17E0Dba32108509C4359", "VTokenBeacon": "0xfc08aADC7a1A93857f6296C3fb78aBA1d286533a", - "VTokenImpl": "0xE5A008B6A0bAB405343B3ABe8895966EAaFb5790", + "VTokenImpl": "0xefdf5CcC12d8cff4a7ed4e421b95F8f69Cf2F766", "VToken_vCRV_Curve": "0x30aD10Bd5Be62CAb37863C2BfcC6E8fb4fD85BDa", "VToken_vDAI_Core": "0xd8AdD9B41D4E1cd64Edad8722AB0bA8D35536657", "VToken_vFRAX_Core": "0x4fAfbDc4F2a9876Bd1764827b26fb8dc4FD1dB95",