Hunt Town is a web3 builders' guild where builders come together to contribute to the expansion of web3 culture and products.
- Building.sol: A NFT with ERC721 interface, that can only be minted by locking-up 1,000 HUNT tokens on the TownHall contract for 1 year.
- Locked-up tokens are returned when the NFT gets burned after the lock-up period
- Building NFT is a membership pass required to enter the Hunt Town Discord group
- Members with verified Building NFTs will receive BUILD points in the Hunt Town Discord group everyday
- TownHall.sol: A front facing contract that mints / burns Building NFTs.
- TownHall: 0xb09A1410cF4C49F92482F5cd2CbF19b638907193
- TownZap: 0xf855C0C7BBb9C9094Fea6A10e052953C8fCa985b
- Building NFT: 0x0c9Bb1ffF512a5B4F01aCA6ad964Ec6D7fC60c96
- Mini Building NFT (Deployed on Base via Mint Club V2 protocol): 0x475f8E3eE5457f7B4AAca7E989D35418657AdF2a
npx hardhat test
npx hardhat run scripts/deploy.js
·---------------------------------------|---------------------------|---------------|-----------------------------·
| Solc version: 0.8.17 · Optimizer enabled: true · Runs: 20000 · Block limit: 30000000 gas │
········································|···························|···············|······························
| Methods · 15 gwei/gas · 1398.70 usd/eth │
··················|·····················|·············|·············|···············|···············|··············
| Contract · Method · Min · Max · Avg · # calls · usd (avg) │
··················|·····················|·············|·············|···············|···············|··············
| Building · approve · 48607 · 48619 · 48613 · 2 · 1.02 │
··················|·····················|·············|·············|···············|···············|··············
| Building · burn · 45720 · 50129 · 46602 · 5 · 0.98 │
··················|·····················|·············|·············|···············|···············|··············
| Building · safeMint · 124729 · 152729 · 126596 · 15 · 2.66 │
··················|·····················|·············|·············|···············|···············|··············
| Building · setTownHall · - · - · 46231 · 21 · 0.97 │
··················|·····················|·············|·············|···············|···············|··············
| Building · transferFrom · - · - · 65287 · 2 · 1.37 │
··················|·····················|·············|·············|···············|···············|··············
| ERC20 · approve · - · - · 59999 · 8 · 1.26 │
··················|·····················|·············|·············|···············|···············|··············
| HuntTokenMock · approve · 46248 · 46260 · 46251 · 24 · 0.97 │
··················|·····················|·············|·············|···············|···············|··············
| HuntTokenMock · transfer · 51495 · 51507 · 51498 · 28 · 1.08 │
··················|·····················|·············|·············|···············|···············|··············
| TownHall · burn · 68846 · 86936 · 71107 · 8 · 1.49 │
··················|·····················|·············|·············|···············|···············|··············
| TownHall · mint · 192720 · 208720 · 195889 · 23 · 4.11 │
··················|·····················|·············|·············|···············|···············|··············
| TownHallZap · convertAndMint · 398944 · 844707 · 621826 · 8 · 13.05 │
··················|·····················|·············|·············|···············|···············|··············
| TownHallZap · convertETHAndMint · 320933 · 629642 · 424165 · 12 · 8.90 │
··················|·····················|·············|·············|···············|···············|··············
| TownHallZap · mintBulk · - · - · 1510799 · 5 · 31.70 │
··················|·····················|·············|·············|···············|···············|··············
| Deployments · · % of limit · │
········································|·············|·············|···············|···············|··············
| Building · - · - · 2253552 · 7.5 % · 47.28 │
········································|·············|·············|···············|···············|··············
| HuntTokenMock · - · - · 1140679 · 3.8 % · 23.93 │
········································|·············|·············|···············|···············|··············
| TownHall · - · - · 730271 · 2.4 % · 15.32 │
········································|·············|·············|···············|···············|··············
| TownHallZap · 1306268 · 1306349 · 1306284 · 4.4 % · 27.41 │
·---------------------------------------|-------------|-------------|---------------|---------------|-------------·