sepolia redeploy
This commit is contained in:
@@ -73,8 +73,8 @@ PARTY_PLANNER=$(contract PartyPlanner)
|
||||
PARTY_INFO=$(contract PartyInfo)
|
||||
PARTY_POOL_MINT_IMPL=$(contract PartyPoolMintImpl)
|
||||
PARTY_POOL_SWAP_IMPL=$(contract PartyPoolSwapImpl)
|
||||
PARTY_POOL_DEPLOYER=$(contract PartyPoolDeployer)
|
||||
PARTY_POOL_BP_DEPLOYER=$(contract PartyPoolBalancedPairDeployer)
|
||||
PARTY_POOL_INIT_CODE=$(contract PartyPoolInitCode)
|
||||
PARTY_POOL_INIT_CODE_BP=$(contract PartyPoolBalancedPairInitCode)
|
||||
|
||||
USXD=$(token USXD)
|
||||
FUSD=$(token FUSD)
|
||||
@@ -82,9 +82,13 @@ DIVE=$(token DIVE)
|
||||
BUTC=$(token BUTC)
|
||||
WTETH=$(token WTETH)
|
||||
|
||||
OUT=deployment/$CHAINID/v1
|
||||
mkdir -p $OUT
|
||||
cp -r out $OUT/
|
||||
if [ "$1" == "broadcast" ]; then
|
||||
OUT=deployment/$CHAINID/v1
|
||||
mkdir -p $OUT
|
||||
git rm -rf $OUT
|
||||
cp -r out $OUT/
|
||||
git add $OUT
|
||||
fi
|
||||
|
||||
# Build and insert the JSON object directly in jq
|
||||
jq -n \
|
||||
@@ -93,8 +97,8 @@ jq -n \
|
||||
--arg partyInfo "$PARTY_INFO" \
|
||||
--arg partyPoolMintImpl "$PARTY_POOL_MINT_IMPL" \
|
||||
--arg partyPoolSwapImpl "$PARTY_POOL_SWAP_IMPL" \
|
||||
--arg partyPoolDeployer "$PARTY_POOL_DEPLOYER" \
|
||||
--arg partyPoolBPDeployer "$PARTY_POOL_BP_DEPLOYER" \
|
||||
--arg partyPoolInitCode "$PARTY_POOL_INIT_CODE" \
|
||||
--arg partyPoolInitCodeBP "$PARTY_POOL_INIT_CODE_BP" \
|
||||
--arg usxd "$USXD" \
|
||||
--arg fusd "$FUSD" \
|
||||
--arg dive "$DIVE" \
|
||||
@@ -107,8 +111,8 @@ jq -n \
|
||||
PartyInfo: $partyInfo,
|
||||
PartyPoolMintImpl: $partyPoolMintImpl,
|
||||
PartyPoolSwapImpl: $partyPoolSwapImpl,
|
||||
PartyPoolDeployer: $partyPoolDeployer,
|
||||
PartyPoolBalancedPairDeployer: $partyPoolBPDeployer,
|
||||
PartyPoolInitCode: $partyPoolInitCode,
|
||||
PartyPoolBalancedPairInitCode: $partyPoolInitCodeBP,
|
||||
USXD: $usxd,
|
||||
FUSD: $fusd,
|
||||
DIVE: $dive,
|
||||
@@ -124,8 +128,8 @@ jq -n \
|
||||
--arg partyInfo "$PARTY_INFO" \
|
||||
--arg partyPoolMintImpl "$PARTY_POOL_MINT_IMPL" \
|
||||
--arg partyPoolSwapImpl "$PARTY_POOL_SWAP_IMPL" \
|
||||
--arg partyPoolDeployer "$PARTY_POOL_DEPLOYER" \
|
||||
--arg partyPoolBPDeployer "$PARTY_POOL_BP_DEPLOYER" \
|
||||
--arg partyPoolInitCode "$PARTY_POOL_INIT_CODE" \
|
||||
--arg partyPoolInitCodeBP "$PARTY_POOL_INIT_CODE_BP" \
|
||||
--arg usxd "$USXD" \
|
||||
--arg fusd "$FUSD" \
|
||||
--arg dive "$DIVE" \
|
||||
@@ -137,8 +141,8 @@ jq -n \
|
||||
PartyInfo.sol: $partyInfo,
|
||||
PartyPoolMintImpl: $partyPoolMintImpl,
|
||||
PartyPoolSwapImpl: $partyPoolSwapImpl,
|
||||
PartyPoolDeployer: $partyPoolDeployer,
|
||||
PartyPoolBalancedPairDeployer: $partyPoolBPDeployer,
|
||||
PartyPoolInitCode: $partyPoolInitCode,
|
||||
PartyPoolBalancedPairInitCode: $partyPoolInitCodeBP,
|
||||
USXD: $usxd,
|
||||
FUSD: $fusd,
|
||||
DIVE: $dive,
|
||||
|
||||
Reference in New Issue
Block a user