diff --git a/.env.example b/.env.example index 08b32035..8cd77948 100644 --- a/.env.example +++ b/.env.example @@ -26,15 +26,15 @@ PRICEFEED_ADDRESS=0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6 TERMS_ACCEPTED_PERMISSIONER_ADDRESS=0x8A791620dd6260079BF849Dc5567aDC3F2FdC318 TOKENIZER_ADDRESS=0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e -STAKED_LOCKING_CROWDSALE_ADDRESS=0x0B306BF915C4d645ff596e518fAf3F9669b97016 +#iptoken implementation=0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82 -USDC6_ADDRESS=0x68B1D87F95878fE05B998F19b66F4baba5De1aed -WETH_ADDRESS=0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1 -PLAIN_CROWDSALE_ADDRESS=0x7a2088a1bFc9d81c55368AE168C2C02570cB814F +#timelocked token implementation=0x0B306BF915C4d645ff596e518fAf3F9669b97016 +STAKED_LOCKING_CROWDSALE_ADDRESS=0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1 -#this is created during the tokenizer deployment -IPTOKEN_IMPLEMENTATION_ADDRESS=0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82 +USDC6_ADDRESS=0x3Aa5ebB10DC797CAC828524e59A333d0A371443c +WETH_ADDRESS=0x322813Fd9A801c5507c9de605d63CEA4f2CE6c44 +PLAIN_CROWDSALE_ADDRESS=0x09635F643e140090A9A8Dcd712eD6285858ceBef #these are generated when running the fixture scripts IPTS_ADDRESS=0x8dAF17A20c9DBA35f005b6324F493785D239719d -LOCKED_IPTS_ADDRESS=0x16eBC21B3d38Db5e3EE1a022bEBA8Ec87D4CDbe6 \ No newline at end of file +LOCKED_IPTS_ADDRESS=0x24B3c7704709ed1491473F30393FFc93cFB0FC34 \ No newline at end of file diff --git a/script/dev/CrowdSale.s.sol b/script/dev/CrowdSale.s.sol index 622b1618..eaa424c8 100644 --- a/script/dev/CrowdSale.s.sol +++ b/script/dev/CrowdSale.s.sol @@ -43,6 +43,7 @@ contract DeployStakedCrowdSale is CommonScript { stakedLockingCrowdSale.trustVestingContract(vestedDaoToken); vm.stopBroadcast(); + console.log("timelocked token implementation=%s", address(lockingCrowdsaleImplementation)); console.log("STAKED_LOCKING_CROWDSALE_ADDRESS=%s", address(stakedLockingCrowdSale)); } } diff --git a/script/dev/Tokenizer.s.sol b/script/dev/Tokenizer.s.sol index 96684539..9531fa16 100644 --- a/script/dev/Tokenizer.s.sol +++ b/script/dev/Tokenizer.s.sol @@ -25,7 +25,7 @@ contract DeployTokenizer is CommonScript { vm.stopBroadcast(); console.log("TOKENIZER_ADDRESS=%s", address(tokenizer)); - console.log("IPTOKEN_IMPLEMENTATION_ADDRESS=%s", address(initialIpTokenImplementation)); + console.log("iptoken implementation=%s", address(initialIpTokenImplementation)); } } diff --git a/setupLocal.sh b/setupLocal.sh index 6ce78c86..85f9e201 100755 --- a/setupLocal.sh +++ b/setupLocal.sh @@ -9,6 +9,14 @@ set +a fixtures=false extrafixtures=false +show_help() { + echo "Usage: setupLocal.sh [OPTION]" + echo "Sets up the local environment for the IPNFT contracts." + echo "Options:" + echo " -f also runs basic fixture scripts" + echo " -x also runs extra fixture scripts (crowdsales)" +} + # Parse command-line options while getopts "fx" opt; do case ${opt} in diff --git a/subgraph/networks.json b/subgraph/networks.json index e167cc28..edace0be 100644 --- a/subgraph/networks.json +++ b/subgraph/networks.json @@ -65,11 +65,11 @@ "startBlock": 0 }, "CrowdSale": { - "address": "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F", + "address": "0x09635F643e140090A9A8Dcd712eD6285858ceBef", "startBlock": 0 }, "StakedLockingCrowdSale": { - "address": "0x0B306BF915C4d645ff596e518fAf3F9669b97016", + "address": "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1", "startBlock": 0 }, "TermsAcceptedPermissioner": { diff --git a/subgraph/subgraph.yaml b/subgraph/subgraph.yaml index 14713803..cbb27727 100644 --- a/subgraph/subgraph.yaml +++ b/subgraph/subgraph.yaml @@ -87,7 +87,7 @@ dataSources: network: foundry source: abi: CrowdSale - address: "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F" + address: "0x09635F643e140090A9A8Dcd712eD6285858ceBef" startBlock: 0 mapping: kind: ethereum/events @@ -124,7 +124,7 @@ dataSources: network: foundry source: abi: StakedLockingCrowdSale - address: "0x0B306BF915C4d645ff596e518fAf3F9669b97016" + address: "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1" startBlock: 0 mapping: kind: ethereum/events