NexBloc Smart Contract Architecture

Parent Contract:

1) Resolve Address: Ask Zone Contract

2) Add New Zone Contract: Add zone contract address to local state

3) Resolve Zone Contract Address

Zone Contract:

1) Resolve Domain: Ask bTLD Contract

2) Resolve bTLD Contract Address: Return bTLD Contract Address

3) Register New bTLD Contract: Add new bTLD contract address to local state

bTLD Contract:

1) Resolve Domain: Get value from Domain NFT

2) Resolve NFT Address

3) Add New Domain: Mint and add the address of contract to local state

ProxyAdmin Contract

ProxyAdmin Contract is the contract to which users interact. This contract acts as the root contract attached to the resolver plugins. It is responsible for adding zone contract addresses to local states and resolving them.

Zone Contract

A Zone Contract acts as a management contract that is responsible for maintaining all the records. It also acts as a bridge between the ProxyAdmin contract and bTLDMint contract, providing bTLDMint contract addresses to the root contract and calling the bTLDMint contract for minting fresh domains.

bTLDMint Contract

bTLDMint contract implements ERC721

standard to mint new domains and to register their details as NFTs. This contract works in sync with the zone contract, maintaining and resolving the records related to the minted domains.

Parent Contract: Contains Zone and Bridge information.

Zone Contract: Information for bTLD Contracts.

Bridge Contract: Acts as Interface to another chain.

Cross Bridge Contract: If chain is secure, it is native to the chain and communicates with primary chain.

bTLD Contract: Information about domains.

Domain NFT: Information for the domain name

Last updated