Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sajanrajdev committed May 28, 2024
1 parent e840cc1 commit 11a50d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/issue/1536/divest_voter_cvx.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def approve_contract_access_to_voter():

safe.post_safe_tx()


def transfer_fees_to_voter():
"""
Transfer CVX and cvxCRV accumulated fees from Trops to Voter
Expand All @@ -49,7 +50,7 @@ def transfer_fees_to_voter():
tokens = [cvx, cvxcrv, bvecvx, bcvxcrv, bvecvxcvxf, bvecvxcvxf_lp]

safe.take_snapshot(tokens)

for token in tokens:
if token.balanceOf(TROPS) > 0:
token.transfer(VOTER, token.balanceOf(TROPS))
Expand Down

0 comments on commit 11a50d7

Please sign in to comment.