-
Notifications
You must be signed in to change notification settings - Fork 20
Xdc deploy #282
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
Xdc deploy #282
Conversation
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.
Sorry @sirpy, your pull request is larger than the review limit of 150000 diff characters
| accounts: [deployerPrivateKey] | ||
| }, | ||
| "development-xdc": { | ||
| ...xdc |
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.
why @blueogin
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.
Because script uses network.name to save contract address in deployment.json
| await releaser(torelease, network.name, "deployment", false); |
| amount0Min: amount0.mul(8).div(10), | ||
| amount1Min: amount1.mul(8).div(10), |
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.
why mul 8 div 10?
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.
I set it to 80% of amountDesired, which effectively serves as a price sanity check.
Xdc deploy
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
Description
XDC support and small updates
Description by Korbit AI
What change is being made?
Add and wire up XDC deployment support including new interfaces, a distribution helper contract, updated UBIScheme initialization, and deployment/test scripts to accommodate multi-chain distribution and governance flows.
Why are these changes being made?
Enable XDC network deployment and multi-chain distribution capabilities, with configurable minActiveUsers and updated test/deployment plumbing to reflect the new constructor parameters and bridge flows.