datafeed fixes; line drawing fix
This commit is contained in:
@@ -31,6 +31,7 @@ export async function queryHelperContract(helper, provider) {
|
||||
// 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)
|
||||
console.log(`${name} ABI`, abi)
|
||||
return new ethers.Contract(addr, abi, provider)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user