diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 9b1497ca..fc9cba49 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -6,11 +6,12 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.9' - cache: 'pip' - - run: pip install --upgrade pip - - run: pip install -r requirements.txt - - run: black . --check --diff + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.9" + cache: "pip" + - run: pip install --upgrade pip + - run: pip install setuptools wheel + - run: pip install -r requirements.txt + - run: black . --check --diff diff --git a/.gitignore b/.gitignore index 4ef2f3bc..1174910b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# brownie/python/pytest +# brownie/python/pytest/web3 __pycache__ .history .hypothesis/ @@ -7,6 +7,7 @@ reports/ .env *venv* .pytest_cache +.build/ # editors .idea/ diff --git a/helpers/addresses.py b/helpers/addresses.py index c73be5ea..93601578 100644 --- a/helpers/addresses.py +++ b/helpers/addresses.py @@ -719,6 +719,7 @@ "quest_board_veliq": "0xcbd27bf506aB5580Ef86Fe6a169449bc24Be471B", }, }, + "gitcoin": {"matching_pools_funds": "0xde21F729137C5Af1b01d73aF1dC21eFfa2B8a0d6"}, "llamapay": "0x3E67cc2C7fFf86d9870dB9D02c43e789B52FB296", } diff --git a/scripts/issue/1551/pay_gitcoin_grant_budget.py b/scripts/issue/1551/pay_gitcoin_grant_budget.py new file mode 100644 index 00000000..30144d88 --- /dev/null +++ b/scripts/issue/1551/pay_gitcoin_grant_budget.py @@ -0,0 +1,10 @@ +from great_ape_safe import GreatApeSafe +from helpers.addresses import r + + +def main(): + vault = GreatApeSafe(r.badger_wallets.treasury_vault_multisig) + usdc = vault.contract(r.treasury_tokens.USDC) + vault.take_snapshot([usdc]) + usdc.transfer(r.gitcoin.matching_pools_funds, 250_000e6) + vault.post_safe_tx()