-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QuantAMM v1 deployment #205
base: master
Are you sure you want to change the base?
QuantAMM v1 deployment #205
Conversation
Co-authored-by: EndymionJkb <[email protected]>
…rotocol/balancer-deployments into QuantAMM-V1-deployment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great!
@@ -35,18 +37,19 @@ export default async (task: Task, { force, from }: TaskRunOptions = {}): Promise | |||
await task.save({ ChainlinkUsdcOracle: chainlinkUsdcOracleWrapper }); | |||
|
|||
console.log('Deployed ChainlinkUsdcOracle'); | |||
const accounts = (await hre.ethers.getSigners()) as unknown as string[]; | |||
const accounts = await hre.ethers.getSigners(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider defining adminAddress = accounts[0].address
for clarity and to future-proof against forgetting ".address"
type PoolRoleAccounts = { | ||
// Define the structure based on Solidity contract | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type PoolRoleAccounts = { | |
// Define the structure based on Solidity contract | |
}; | |
type PoolRoleAcounts = { | |
pauseManager: string, | |
swapFeeManager: string, | |
poolCreator: string, | |
} |
Could define, or maybe don't need this? You're returning it correctly below:
roleAccounts: {
pauseManager: ZERO_ADDRESS,
swapFeeManager: ZERO_ADDRESS,
poolCreator: ZERO_ADDRESS,
},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea just thought it was clearer
Co-authored-by: EndymionJkb <[email protected]>
Co-authored-by: EndymionJkb <[email protected]>
Co-authored-by: EndymionJkb <[email protected]>
Co-authored-by: EndymionJkb <[email protected]>
Co-authored-by: EndymionJkb <[email protected]>
Deployment preparation: QuantAMMWeightedPool
commit TBD post merge
Deployment preparation tasks checklist:
README
is updated with the new task name and linkREADME
has a description and links to the artifactsbuild-info
is updated with artifacts compiled at the specified commitbuild-info
Deprecating old tasks checklist:
deprecated/
directoryREADME
is updated: old task is moved to the 'deprecated' section, and links are updated with thedeprecated/
prefixindex.ts
,input.ts
and fork tests are updatedREADME
is updated with a warning sign, a link to the replacement task and a short descriptionCode checklist:
master
, or there's a description of how to mergeIssue Resolution