diff --git a/Makefile b/Makefile index 3b513cc..a2fd5d8 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ all :; source .env.local && dapp --use solc:0.5.16 build flat :; source .env.local && dapp --use solc:0.5.16 flat clean :; dapp clean test :; dapp test -deploy :; dapp create Staker -.PHONY: all flat clean test +salt :; @create3 -s 00000000000000 +deploy :; @bash ./bin/deploy.sh $(chain) + +.PHONY: all flat clean test salt deploy diff --git a/bin/deploy.sh b/bin/deploy.sh index 24e57e2..896cd69 100644 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -3,8 +3,8 @@ set -eo pipefail chain=${1:?} -addr=0x000000000f681D85374225EdEeADC25560C1fb3F -salt=0xa4390aa887eb9fe9ed94283ed393bbfeb0b301e904fac48ba5d3c176f41851c1 +addr=0x004873d8BA419DE183c0219456D515aEd89241b3 +salt=0x90ec0e33b05c6c547ab8b9864b3104c2438c6ef55ed50fc6799b663420b585b1 c3=0x0000000000C76fe1798a428F60b27c6724e03408 deployer=0x0f14341A7f464320319025540E8Fe48Ad0fe5aec