From 14493990589010da4b3e8b5101de0321067c3fe0 Mon Sep 17 00:00:00 2001 From: narayanprusty Date: Tue, 20 Aug 2024 12:58:19 +0000 Subject: [PATCH] feat: updating deployment files --- deployments/sepolia.json | 566 +++++++++++++++++++++++++++++ deployments/sepolia_addresses.json | 4 + 2 files changed, 570 insertions(+) diff --git a/deployments/sepolia.json b/deployments/sepolia.json index 99a368b1..79fac97f 100644 --- a/deployments/sepolia.json +++ b/deployments/sepolia.json @@ -2165,6 +2165,107 @@ } ] }, + "MockAccountant_weETHs": { + "address": "0x04d7B1244Ff052319D154E627004EaE5b7a05FCf", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "getRateSafe", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "rate", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rate", + "type": "uint256" + } + ], + "name": "setRate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ] + }, "MockEtherFiLiquidityPool": { "address": "0x4634Cc129ec46DbBab6a7E2b5c73c1b991be6cfC", "abi": [ @@ -7468,6 +7569,471 @@ } ] }, + "WeETHAccountantOracle_weETHs": { + "address": "0x64672DD083F847893F307fe85c6f9C122F2EE3EB", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "BeaconUpgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "admin", + "outputs": [ + { + "internalType": "address", + "name": "admin_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "implementation_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + } + ], + "name": "upgradeTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + }, + { + "inputs": [], + "name": "InvalidTokenAddress", + "type": "error" + }, + { + "inputs": [], + "name": "ZeroAddressNotAllowed", + "type": "error" + }, + { + "inputs": [], + "name": "ACCOUNTANT", + "outputs": [ + { + "internalType": "contract IAccountant", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "CORRELATED_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "RESILIENT_ORACLE", + "outputs": [ + { + "internalType": "contract OracleInterface", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "UNDERLYING_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_logic", + "type": "address" + }, + { + "internalType": "address", + "name": "admin_", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + } + ] + }, + "WeETHAccountantOracle_weETHs_Implementation": { + "address": "0x62Eb1Bb2A7CF7eD8B6FcBDF373bc6F7E6F80213c", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "accountant", + "type": "address" + }, + { + "internalType": "address", + "name": "weethLRT", + "type": "address" + }, + { + "internalType": "address", + "name": "weth", + "type": "address" + }, + { + "internalType": "address", + "name": "resilientOracle", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "InvalidTokenAddress", + "type": "error" + }, + { + "inputs": [], + "name": "ZeroAddressNotAllowed", + "type": "error" + }, + { + "inputs": [], + "name": "ACCOUNTANT", + "outputs": [ + { + "internalType": "contract IAccountant", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "CORRELATED_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "RESILIENT_ORACLE", + "outputs": [ + { + "internalType": "contract OracleInterface", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "UNDERLYING_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ] + }, + "WeETHAccountantOracle_weETHs_Proxy": { + "address": "0x64672DD083F847893F307fe85c6f9C122F2EE3EB", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_logic", + "type": "address" + }, + { + "internalType": "address", + "name": "admin_", + "type": "address" + }, + { + "internalType": "bytes", + "name": "_data", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "previousAdmin", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "newAdmin", + "type": "address" + } + ], + "name": "AdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "beacon", + "type": "address" + } + ], + "name": "BeaconUpgraded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "admin", + "outputs": [ + { + "internalType": "address", + "name": "admin_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "implementation", + "outputs": [ + { + "internalType": "address", + "name": "implementation_", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + } + ], + "name": "upgradeTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ] + }, "WeETHOracle": { "address": "0xc7b78b5c1433C81c455CD1e9A68FF18764acbCe1", "abi": [ diff --git a/deployments/sepolia_addresses.json b/deployments/sepolia_addresses.json index 267a8930..5c899521 100644 --- a/deployments/sepolia_addresses.json +++ b/deployments/sepolia_addresses.json @@ -9,6 +9,7 @@ "ChainlinkOracle_Implementation": "0x034Cc5097379B13d3Ed5F6c85c8FAf20F48aE480", "ChainlinkOracle_Proxy": "0x102F0b714E5d321187A4b6E5993358448f7261cE", "DefaultProxyAdmin": "0x01435866babd91311b1355cf3af488cca36db68e", + "MockAccountant_weETHs": "0x04d7B1244Ff052319D154E627004EaE5b7a05FCf", "MockEtherFiLiquidityPool": "0x4634Cc129ec46DbBab6a7E2b5c73c1b991be6cfC", "MockPendlePtOracle": "0xF5B307640435D38A5A8eE8b6665d24Bb098F11db", "MockSFrax": "0xd85FfECdB4287587BC53c1934D548bF7480F11C4", @@ -28,6 +29,9 @@ "SFrxETHOracle": "0x61EB836afA467677e6b403D504fe69D6940e7996", "SFrxETHOracle_Implementation": "0x66f615cCBD737CF2E52ce4e0FFB47CFB5045FD61", "SFrxETHOracle_Proxy": "0x61EB836afA467677e6b403D504fe69D6940e7996", + "WeETHAccountantOracle_weETHs": "0x64672DD083F847893F307fe85c6f9C122F2EE3EB", + "WeETHAccountantOracle_weETHs_Implementation": "0x62Eb1Bb2A7CF7eD8B6FcBDF373bc6F7E6F80213c", + "WeETHAccountantOracle_weETHs_Proxy": "0x64672DD083F847893F307fe85c6f9C122F2EE3EB", "WeETHOracle": "0xc7b78b5c1433C81c455CD1e9A68FF18764acbCe1", "WeETHOracle_Implementation": "0xE4De7A85e2BF39B6f6C1BA235aB33d3Fe2841195", "WeETHOracle_Proxy": "0xc7b78b5c1433C81c455CD1e9A68FF18764acbCe1",