- make new workspace
- delete default contracts
- paste in Grill2.sol, Burger.sol, Metabull.sol, PhysicalBull.sol
- open .deps/npm/erc721a/contracts/
-
- replace code for erc721a.sol and ierc721.sol from this repo
- set compiler to 0.8.9
- enable gas optimization (200)
- change environment to 'injected web3'
- verify account/balance/chainId
Deploy each contract in order using the following parameters
- grill1 address: 0xE11AF478aF241FAb926f4c111d50139Ae003F7fd
- gas cost at 40 gwei: 0.07543624
- tokenURI: baselink.com/{}.json
- grill2 address: < grill2 addr >
- gas cost at 40 gwei: 0.0799362
- tokenURI: baselink.com/ (post reveal will be: baselink.io/<>.json)
- burger address: < burger addr >
- grill2 address: < grill2 addr >
-
- Need to replace erc721a.sol and ierc721a.sol in .deps
- gas cost at 40 gwei: 0.08037496
- vault address: < receiver of erc20 >
- erc20 address: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (USDC)
- burger address: < burger addr >
- grill2 address: < grill2 addr >
- gas cost at 40 gwei: 0.04133816
Assuming 40 gwei:
- grill2: 0.07543624
- burger: 0.0799362
- metabull: 0.08037496
- phybull: 0.04133816
- total: 0.27708556
- Step 1: setProxyRegistry(), function 15 @ https://etherscan.io/address/0x71B11Ac923C967CD5998F23F6dae0d779A6ac8Af#writeContract
- address: 0x90DD49e039B6C1343cDd59c7032c51a9f769823F
- Step 2: setProxyForAccount(), function 10 @ https://etherscan.io/address/0x90dd49e039b6c1343cdd59c7032c51a9f769823f#writeContract
- account: 0xE11AF478aF241FAb926f4c111d50139Ae003F7fd
- operator: 0x90DD49e039B6C1343cDd59c7032c51a9f769823F
- Grill2: https://etherscan.io/address/0x90DD49e039B6C1343cDd59c7032c51a9f769823F
- Burger: https://etherscan.io/address/0x29ef5b777A0FB28c55C31e9F765bfBE42f15B866
- Metabull: https://etherscan.io/address/0x32c8900e2727fF1A6EDAb6ec0C99C6d820edf91E
- Phybull: https://etherscan.io/address/0xcfb73F8020FB3F1a1C1300522C9A2373E32B3d6f