Add script to generate pool booster safe transactions#2824
Open
clement-ux wants to merge 3 commits intomasterfrom
Open
Add script to generate pool booster safe transactions#2824clement-ux wants to merge 3 commits intomasterfrom
clement-ux wants to merge 3 commits intomasterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2824 +/- ##
=======================================
Coverage 44.95% 44.95%
=======================================
Files 106 106
Lines 4585 4585
Branches 1250 1250
=======================================
Hits 2061 2061
Misses 2521 2521
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…rameters and improve usage documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new script,
generate-pool-booster-safe.sh, designed to automate the generation of Safe Transaction Builder JSON files for deploying Curve Pool Booster contracts and delegating yield. The script validates user input, verifies gauge registration, computes necessary parameters, and outputs a structured JSON transaction bundle suitable for Safe multisig execution.The most important changes are:
Addition of deployment automation script:
generate-pool-booster-safe.sh, a Bash script for generating Safe Transaction Builder JSON to deployCurvePoolBoosterPlaincontracts and delegate yield for specified gauges. The script accepts multiple command-line options and validates all required arguments.Validation and verification logic:
Transaction building and output:
User experience and safety: