Skip to content

Commit

Permalink
fix: deploy script fix, mumbai and polygon deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanAmenechi committed Sep 23, 2022
1 parent ec7c23f commit a6c6987
Show file tree
Hide file tree
Showing 13 changed files with 2,439 additions and 147 deletions.
119 changes: 119 additions & 0 deletions broadcast/ExchangeDeployment.s.sol/137/deployExchange-1663954950.json

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions broadcast/ExchangeDeployment.s.sol/137/deployExchange-1663955866.json

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions broadcast/ExchangeDeployment.s.sol/137/deployExchange-1663958824.json

Large diffs are not rendered by default.

119 changes: 119 additions & 0 deletions broadcast/ExchangeDeployment.s.sol/137/deployExchange-1663958850.json

Large diffs are not rendered by default.

125 changes: 125 additions & 0 deletions broadcast/ExchangeDeployment.s.sol/137/deployExchange-1663958971.json

Large diffs are not rendered by default.

360 changes: 360 additions & 0 deletions broadcast/ExchangeDeployment.s.sol/137/deployExchange-1663958977.json

Large diffs are not rendered by default.

360 changes: 360 additions & 0 deletions broadcast/ExchangeDeployment.s.sol/137/deployExchange-latest.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

292 changes: 146 additions & 146 deletions broadcast/ExchangeDeployment.s.sol/80001/deployExchange-latest.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion deploy/scripts/deploy_exchange.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ then
elif [ $1 == "testnet" ]
then
ENV=$TESTNET
elif [$1 == "mainnet" ]
elif [ $1 == "mainnet" ]
then
ENV=$MAINNET
else
Expand All @@ -39,6 +39,7 @@ OUTPUT="$(forge script ExchangeDeployment \
--rpc-url $RPC_URL \
--json \
--broadcast \
--with-gas-price 200000000000 \
-s "deployExchange(address,address,address,address,address)" $ADMIN $COLLATERAL $CTF $PROXY_FACTORY $SAFE_FACTORY)"

EXCHANGE=$(echo "$OUTPUT" | grep "{" | jq -r .returns.exchange.value)
Expand Down

0 comments on commit a6c6987

Please sign in to comment.