Badger-Finance / gitcoin

Repo for gitcoin hack-a-thons,bonunties and code snippets.
7 stars 0 forks source link

Multisig Operations: Ape-safe fixes & feature expansion (python library for scripting multisig transactions) #12

Closed Tritium-VLK closed 2 years ago

Tritium-VLK commented 3 years ago

ape-safe: https://pypi.org/project/ape-safe/ or https://github.com/banteg/ape-safe

is a tool by @banteg at Yearn to easily script, test and preview gnosis-safe multisig transactions on a mainnet-fork before sending them to the safe. We have some things we'd like to see improved.

You can work on polygon to save gas.

Setup a safe transfer a small amount of something into it

Once you have it working, release pypi libraries or npm packages that can be sources, and provide your example script in a repo with a readme that explains how to run it and other scripts using estimate gas.

Bounty $8,000 in Badger for the first successful submission, that we can use to estimate gas and submit a transaction with less than 30 minutes of fumbling. You must also provide a link to pull requests back into all repos you changed.

Bonus/Second Bounty:

Get to the point where an ape_safe script can run, and submit a transaction without any user interaction using a private key from environment variables. We'd like to eventually do this via CI/CD.

Bounty: $5,000 in Badger

Submit all forked repos, and pull requests to the bounty. The repo you submit should have a readme explaining your submission and showing us how to ape.

It may be the case that brownie is the limiting factor. You're also welcome to port ape-safe to using web3.py, but the development patterns should be the same. We have quite a few scripts so we'll need to be able to easily adapt and run a few of them before validating your submission.

Contact us on our Dev Discord if you have questions, want to see some examples of how we use ape safe, or what us to test something you have written.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 13000.0 USDC (13000.0 USD @ $1.0/USDC) attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 2 weeks, 6 days from now. Please review their action plans below:

1) uxio0 has started work.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 2 days, 21 hours ago. Please review their action plans below:

1) uxio0 has started work.

Fixed issue with Mac Os: Update eth-brownie and gnosis-py to last version banteg/ape-safe#11 Implemented a simple script, shows the preview and estimates gas. Project runs using Github action in a Mac Os 10.15 (10.14 was not available on Github actions) Project allows to have multiple owners keys configured on the CI and a sender to send the tx to blockchain/gnosis tx service Example of CI running on Mac Os X: https://github.com/Uxio0/ape-hacking/runs/3559757001 Fixed gas estimation on safe ape Support badger team

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 13000.0 USDC (13000.00 USD @ $1.0/USDC) has been submitted by: