Skip to content

Commit

Permalink
fix docs for PhysicalClaim and ERC721LazyPayableCLaim (#92)
Browse files Browse the repository at this point in the history
* fix typo and optimization runs for ERC721LazyPayableClaim

* fix documented verification params for PhysicalClaim deploy script
  • Loading branch information
ediep authored May 28, 2024
1 parent e987266 commit 3afe2ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/manifold/script/ERC721LazyPayableClaim.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ contract DeployERC721LazyPayableClaim is Script {
// uint256 deployerPrivateKey = pk; // uncomment this when testing on goerli
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); // comment this out when testing on goerli
vm.startBroadcast(deployerPrivateKey);
// forge script scripts/ERC721LazyPayableClaim.s.sol --optimizer-runs 800 --rpc-url <YOUR_NODE> --broadcast
// forge verify-contract --compiler-version 0.8.17 --optimizer-runs 800 --chain goerli <DEPLOYED_ADDRESS> contracts/lazyclaim/ERC721LazyPayableClaim.sol:ERC721LazyPayableClaim --constructor-args $(cast abi-encode "constructor(address,address,address)" "${INITIAL_OWNER}" "0x00000000000076A84feF008CDAbe6409d2FE638B", "0x00000000000000447e69651d841bD8D104Bed493") --watch
// forge script script/ERC721LazyPayableClaim.s.sol --optimizer-runs 500 --rpc-url <YOUR_NODE> --broadcast
// forge verify-contract --compiler-version 0.8.17 --optimizer-runs 500 --chain goerli <DEPLOYED_ADDRESS> contracts/lazyclaim/ERC721LazyPayableClaim.sol:ERC721LazyPayableClaim --constructor-args $(cast abi-encode "constructor(address,address,address)" "${INITIAL_OWNER}" "0x00000000000076A84feF008CDAbe6409d2FE638B" "0x00000000000000447e69651d841bD8D104Bed493") --watch
new ERC721LazyPayableClaim{salt: 0x4552433732314c617a7950617961626c65436c61696d4552433732314c617a79}(initialOwner, DELEGATION_REGISTRY, DELEGATION_REGISTRY_V2);
vm.stopBroadcast();
}
}
}
4 changes: 2 additions & 2 deletions packages/manifold/script/PhysicalClaim.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ contract DeployPhysicalClaim is Script {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); // comment this out when testing on goerli
vm.startBroadcast(deployerPrivateKey);
// forge script script/PhysicalClaim.s.sol --optimizer-runs 1000 --rpc-url <YOUR_NODE> --broadcast
// forge verify-contract --compiler-version 0.8.17 --optimizer-runs 1000 --chain goerli <DEPLOYED_ADDRESS> contracts/physicalclaim/PhysicalClaim.sol:PhysicalClaim --constructor-args $(cast abi-encode "constructor(address)" "${INITIAL_OWNER}") --watch
// forge verify-contract --compiler-version 0.8.17 --optimizer-runs 1000 --chain goerli <DEPLOYED_ADDRESS> contracts/physicalclaim/PhysicalClaim.sol:PhysicalClaim --constructor-args $(cast abi-encode "constructor(address,address)" "${INITIAL_OWNER}" "0x0000000000000000000000000000000000000000") --watch
new PhysicalClaim{salt: 0x4c657427732067657420506879736963616c2000000000000000000000000000}(initialOwner, address(0));
vm.stopBroadcast();
}
}
}

0 comments on commit 3afe2ea

Please sign in to comment.