vault upgrades; fees; refactoring

This commit is contained in:
Tim
2024-06-17 02:39:12 -04:00
parent 4769d1c6fc
commit 930ba86ef3
3 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ for (const chain of _chains) {
}
let maybeFactory = null
for (const tx of deployment.transactions) {
if (tx.contractName === 'Factory')
if (tx.contractName === 'VaultFactory')
chain.factory = tx.contractAddress
else if (tx.contractName === 'QueryHelper')
chain.helper = tx.contractAddress
@@ -42,11 +42,11 @@ for (const chain of _chains) {
if ( maybeFactory !== null && maybeFactory !== -1)
chain.factory = maybeFactory
else
throw Error(`No Factory deployment found for chainId ${chain.id} ${path}`)
throw Error(`No VaultFactory deployment found for chainId ${chain.id} ${path}`)
}
if (chain.helper === undefined)
throw Error(`No QueryHelper deployment found for chainId ${chain.id} ${path}`)
console.log('Factory', chain.factory)
console.log('VaultFactory', chain.factory)
console.log('QueryHelper', chain.helper)
chainInfo[chain.id] = chain
}