logic->impl renaming fixes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user