Skip to content

Commit

Permalink
Update runlog (#2225)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro authored Sep 11, 2024
1 parent d820c56 commit e887557
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions brownie/runlogs/2024_09_strategist.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,67 @@ def main():
)

print(to_gnosis_json(txs, OETHB_STRATEGIST, "8453"))

# -------------------------------------
# Sep 11, 2024 - OETH Buyback
# -------------------------------------
from buyback import *
def main():
txs = []

oeth_for_ogn, oeth_for_cvx = get_balance_splits(OETH)

with TemporaryFork():
txs.append(
build_1inch_buyback_tx(
OETH,
OGN,
oeth_for_ogn,
3.5
)
)

txs.append(
build_1inch_buyback_tx(
OETH,
CVX,
oeth_for_cvx,
2
)
)

txs.append(
cvx_locker.processExpiredLocks(True, std)
)

print(to_gnosis_json(txs))

# -------------------------------------
# Sep 11, 2024 - OUSD Buyback
# -------------------------------------
from buyback import *
def main():
txs = []

ousd_for_ogn, ousd_for_cvx = get_balance_splits(OUSD)

with TemporaryFork():
txs.append(
build_1inch_buyback_tx(
OUSD,
OGN,
ousd_for_ogn,
3
)
)

txs.append(
build_1inch_buyback_tx(
OUSD,
CVX,
ousd_for_cvx,
2
)
)

print(to_gnosis_json(txs))

0 comments on commit e887557

Please sign in to comment.