We don't use uniswap anymore
#!/bin/bash
set -ex
-# UniswapFactoryAddress: Migration from keep-network/uniswap
-# UNISWAP_CONTRACT_DATA is set in the CircleCI job config
-UNISWAP_FACTORY_ADDRESS=""
-
-function fetch_uniswap_factory_address() {
- gsutil -q cp gs://${CONTRACT_DATA_BUCKET}/uniswap/${UNISWAP_CONTRACT_DATA} ./
- UNISWAP_FACTORY_ADDRESS=$(cat ./${UNISWAP_CONTRACT_DATA} | grep Factory | awk '{print $2}')
-}
-
-function set_uniswap_factory_address() {
- sed -i -e "/UniswapFactoryAddress/s/0x[a-fA-F0-9]\{0,40\}/${UNISWAP_FACTORY_ADDRESS}/" ./implementation/migrations/externals.js
-}
-
# KeepRegistryAddress: Migration from keep-network/keep-tecdsa
# KEEP_REGISTRY_CONTRACT_DATA is set in the CircleCI job config
# ETH_NETWORK_ID is set in the CircleCI context for each deployed environment
@@ -28,8 +15,5 @@ function set_keep_registry_address() {
sed -i -e "/KeepRegistryAddress/s/0x[a-fA-F0-9]\{0,40\}/${KEEP_REGISTRY_ADDRESS}/" ./implementation/migrations/externals.js
}
-fetch_uniswap_factory_address
-set_uniswap_factory_address
-
fetch_keep_registry_address
set_keep_registry_address
\ No newline at end of file
