Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Deployment/verification stuff for the first objective batch of contracts

Notifications You must be signed in to change notification settings

alisonruthhughes/First-Objectives

 
 

Repository files navigation

Pre-Deployment

First:

  • 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

Next:

  • set compiler to 0.8.9
  • enable gas optimization (200)

Finally,

  • change environment to 'injected web3'
  • verify account/balance/chainId

Deployment

Deploy each contract in order using the following parameters

Grill Deployment:

  • grill1 address: 0xE11AF478aF241FAb926f4c111d50139Ae003F7fd
  • gas cost at 40 gwei: 0.07543624

Burger Deployment:

  • tokenURI: baselink.com/{}.json
  • grill2 address: < grill2 addr >
  • gas cost at 40 gwei: 0.0799362

Metabull Deployment:

  • 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

Phybull Deployment:

  • vault address: < receiver of erc20 >
  • erc20 address: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (USDC)
  • burger address: < burger addr >
  • grill2 address: < grill2 addr >
  • gas cost at 40 gwei: 0.04133816

Gas Usage

Assuming 40 gwei:

  • grill2: 0.07543624
  • burger: 0.0799362
  • metabull: 0.08037496
  • phybull: 0.04133816
  • total: 0.27708556

Setting Proxy

Test Server:

Live deploys:

About

Deployment/verification stuff for the first objective batch of contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 100.0%