logic->impl renaming fixes

This commit is contained in:
tim
2024-08-30 16:45:50 -04:00
parent be372098ef
commit 831a86beeb
4 changed files with 15 additions and 16 deletions

View File

@@ -28,7 +28,7 @@ export async function queryHelperContract(helper, provider) {
// do not supply extensions with name or file: e.g.
// use newContract(addr, 'IVaultLogic', provider, 'IVault') to get the ABI from IVault.sol/IVaultLogic.json
// use newContract(addr, 'IVaultImpl', provider, 'IVault') to get the ABI from IVault.sol/IVaultImpl.json
export async function newContract(addr, name, provider) {
const abi = await abiCache.get(name)
return new ethers.Contract(addr, abi, provider)