Compare commits
No commits in common. "0f9036411229d7243b8af51c2f29c57abfa6ec83" and "c3e0d54be44a3ff1ae23efb0ceac76d7df5487e6" have entirely different histories.
0f90364112
...
c3e0d54be4
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "lib/forge-std"]
|
[submodule "lib\\forge-std"]
|
||||||
path = lib/forge-std
|
path = lib\\forge-std
|
||||||
url = https://github.com/foundry-rs/forge-std
|
url = https://github.com/foundry-rs/forge-std
|
||||||
|
25
deployer.sh
25
deployer.sh
@ -6,20 +6,6 @@ START=1
|
|||||||
END=4
|
END=4
|
||||||
VERIFY_NEEDED="--verify"
|
VERIFY_NEEDED="--verify"
|
||||||
|
|
||||||
usage() {
|
|
||||||
echo "Correct deployer script usage:"
|
|
||||||
echo -e "\t-s, --start - from which contract deployment should start."
|
|
||||||
echo -e "\t-e, --end - last contract deployment to be done."
|
|
||||||
echo -e "\t-n, --network - network name to be deployed on."
|
|
||||||
echo -e "\t-b, --blockscout - should try to use blockscout as verifier."
|
|
||||||
echo -e "\nAvailable network names: ${AVAILIABLE_NETWORKS[@]}"
|
|
||||||
echo -e "\nContract enumeration:"
|
|
||||||
echo "0) WETH9"
|
|
||||||
echo "1) UniswapV2Factory"
|
|
||||||
echo "2) UniswapV2Router"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
while [[ $# -gt 0 ]];
|
while [[ $# -gt 0 ]];
|
||||||
do
|
do
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
@ -38,17 +24,6 @@ do
|
|||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-b|--blockscout)
|
|
||||||
VERIFY_NEEDED+=" --verifier blockscout"
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
-h|--help)
|
|
||||||
usage
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo -e "\nERROR: Unknown option provided\n"
|
|
||||||
usage
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user