# TODO: check if the contract is already deployed. skip if it is
# - use cast to get the chain id using L1_RPC_URL
# - curl https://raw.githubusercontent.com/mds1/multicall/main/deployments.json
# - check if the chain id is in the deployments.json file
# - if it exists, retrieve the address from the `url` field of the json response and put in the env file
https://github.com/Snapchain/op-chain-deployment/blob/main/scripts/l2-bridge-deploy-l1-multicall.sh#L12