Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 1.99 KB

README.md

File metadata and controls

64 lines (51 loc) · 1.99 KB

Geo Web Project

Coverage Status

Live at http://cadastre.geoweb.eth.link/ or ipns://cadastre.geoweb.eth

Setup

Make sure to make a .env file in the root of your project based off the .env.example file.

Tasks

Deploy

npx hardhat deploy --network <NETWORK>

The deploy tasks will deploy all core contracts with default parameters and roles. Each contract has its own subtask that will be run.

Architecture

Show source code
```mermaid
classDiagram
 class Parcel {
	 build() BUILD_ROLE
	 destroy() DESTROY_ROLE
 }
 class ERC721License {
	 safeMint() MINT_ROLE
	 burn() BURN_ROLE
	 pause() PAUSE_ROLE
	 unpause() PAUSE_ROLE
 }
 class AuctionSuperApp {
	 IClaimer claimer
	 IClaimer reclaimer
	 ERC721License license
	 pause() PAUSE_ROLE
	 unpause() PAUSE_ROLE
 }
 class FairLaunchClaimer {
	 ERC721License license
	 Parcel parcel
	 claim() CLAIM_ROLE
	 pause() PAUSE_ROLE
	 unpause() PAUSE_ROLE
 }

 AuctionSuperApp ..> FairLaunchClaimer
 AuctionSuperApp ..> ERC721License
 FairLaunchClaimer ..> Parcel
 FairLaunchClaimer ..> ERC721License
 FairLaunchClaimer --o Parcel : BUILD_ROLE
 FairLaunchClaimer --o ERC721License: MINT_ROLE
 AuctionSuperApp --o FairLaunchClaimer : CLAIM_ROLE
 AuctionSuperApp --o ERC721License : OPERATOR_ROLE