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.
Last updated
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.
Last updated
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.
0xaa8f7ada9e9cdcdbcc7e816047915c9ee8462d57
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â).
0xb36233e579d397bb3fc51a808f72d9ff2f187af7
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.
0x12f885808f616b8056a37be00fdd029e1c59ab08
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.
0x22df7c0df774c04C70d3d27b1000BcF877aFfF12