CropXYZ White Paper
  • πŸ§‘β€πŸŒΎWelcome to your farm!
  • πŸ”–Table of Contents
  • πŸ•ΉοΈGet Started
    • Gameplay in a Nutshell
    • Plant Basics
    • Farmer Starter Packs
    • Roadmap
  • 🌾The Farm
    • πŸ₯œBean Garden
      • Black Beans
      • Chickpeas
      • Green Peas
      • Kidney Beans
      • Pinto Beans
    • πŸ“Berry Bush
      • Blackberries
      • Blueberries
      • Goji Berries
      • Raspberries
      • Strawberries
    • 🌹Flower Bed
      • Daisies
      • Hops
      • Lilies
      • Roses
      • Sunflowers
    • πŸ‡Fruit Vine
      • Cantaloupe
      • Grapes
      • Pumpkins
      • Tomatoes
      • Watermelon
    • 🌽Grain Field
      • Corn
      • Oats
      • Wheat
      • Wild Rice
  • πŸ› οΈThe Technology
    • System Overview
    • Blockchain Layer
    • Query Layer
    • Anatomy of a Plot
    • Plot Yield
  • πŸͺ™The Economy
    • Tokenomics
    • Pricing Modeling
    • Transaction Fee
    • Alpha Liquidity Pools
    • zGOLD Distribution
  • 🎊Extras
    • Releases
Powered by GitBook
On this page
  • Game Engine
  • Economic Engine
  • Address Store
  • Role Registry
  1. The Technology

Blockchain Layer

While there are over 40 smart contracts that make up the system, here are the four primary ones that contribute to the base game operation.

PreviousSystem OverviewNextQuery Layer

Last updated 1 year ago

Game Engine

Main System Controller

This is the blockchain β€œbrain” for a game. For example, in CropXYZ, all the requests that users make, in one way or another, goes through this set of smart contracts.

Contract Address:

0xaa8f7ada9e9cdcdbcc7e816047915c9ee8462d57

Polygon Link (Migrating):

Economic Engine

Complete automated market maker

This is a UniSwap-inspired constant product, automated market maker that hosts 24 different liquidity pools for CropXYZ. This is extensible enough to support any ERC20 token in relation to the internal currency (β€œzGOLD”).

Contract Address:

0xb36233e579d397bb3fc51a808f72d9ff2f187af7

Polygon Link (Migrating):

Address Store

Locate other contracts on-chain

This can be thought of as an on-chain log of the other blockchain parts a game. Inspired by ENS, it maps human-readable words to blockchain addresses. This makes it easier for developers to reference other contracts without knowing the actual addresses.

Contract Address:

0x12f885808f616b8056a37be00fdd029e1c59ab08

Polygon Link (Migrating):

Role Registry

Access control for users and contracts

When dealing with so many different contracts, there needs to be a way to manage which have access to certain functions. Within the smart contracts, there are checks with the role registry to verify that those permissions are allowed for said contract or user invocation.

Contract Address:

0x22df7c0df774c04C70d3d27b1000BcF877aFfF12

Polygon Link (Migrating):

πŸ› οΈ
Contract Address 0xaa8f7ada9e9cdcdbcc7e816047915c9ee8462d57 | PolygonScanPolygon (MATIC) Blockchain Explorer
Logo
Contract Address 0xb36233e579d397bb3fc51a808f72d9ff2f187af7 | PolygonScanPolygon (MATIC) Blockchain Explorer
Logo
Contract Address 0x12f885808f616b8056a37be00fdd029e1c59ab08 | PolygonScanPolygon (MATIC) Blockchain Explorer
Logo
Contract Address 0x22df7c0df774c04C70d3d27b1000BcF877aFfF12 | PolygonScanPolygon (MATIC) Blockchain Explorer
Logo
Page cover image