Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Fuse Fei strategies #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions scripts/turboDeploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

RPC_URL=# e.g. http://127.0.0.1:8545/
PRIVATE_KEY=#fill in private key

# Fuse pool 18 config
POOL_18_FEI_C_TOKEN='0x17b1A2E012cC4C31f83B90FF11d3942857664efc';
POOL_18_NAME='Fuse Pool 18 FEI ERC4626 Vault';
POOL_18_SYMBOL='4626-fFEI-18';

# 1. Deploy Pool 18 Fei strategy
POOL_18_STRAGEGY=$(forge create FuseERC4626 --constructor-args $POOL_18_FEI_C_TOKEN $POOL_18_NAME $POOL_18_SYMBOL --rpc-url $RPC_URL --private-key $PRIVATE_KEY | grep 'Deployed to:' | awk '{print $NF}')

echo "POOL_18_STRATEGY=$POOL_18_STRAGEGY"