/PHIMaterial

Primary LanguageSolidityMIT LicenseMIT

PHI Material Open in Gitpod Github ActionsFoundryLicense: MIT

🏁 OverView

OverView

The Phi platform is a sophisticated ecosystem comprised of a number of smart contracts, each with a specific role in the game dynamics and user-generated content production.

These contracts key components are:

  • PhiDaily.sol manages a daily reward system where users can earn coupons for regular logins and activity on Polygon. These coupons can be used to obtain MaterialObjects.

  • EmissionLogic.sol controls the emission logic for MaterialObjects, managing their frequency and quantity.

  • MaterialObject.sol and CraftableObject.sol: These contracts represent unique digital assets and the materials necessary to create them, respectively. Assets can take various forms such as in-game items or characters.

  • CraftLogic.sol and UGCCraftLogic.sol: CraftLogic for managing the crafting process in a blockchain-based game. Users can create and update crafting recipes, each of which consists of materials and artifacts and potentially requires a catalyst.

  • UGCCraftableObject.sol and UGCCraftableObjectFactory.sol: These contracts allow users to create their unique assets known as User Generated Content (UGC). These UGCCraftableObjects serve as materials and catalysts in CraftLogic recipes and are incorporated into the Phi ecosystem.

Thus, the Phi ecosystem fosters an interactive environment where users are encouraged to regularly engage and produce content, driving the dynamics of the game while ensuring the continuous generation and distribution of assets.

🧐 Architecture

  • OverviewOverView
  • Sol2UML Sol2UML

Get Coupon for Verify and Earn Material Object

If you make Polygon tx today, you can obtain coupons by using a cURL command to make a request to the API. Please replace with your actual address.

 curl "https://utils-api.phi.blue/v1/philand/dailyquest/verify?address=<Your Address>"

✍️ Related Link

🔧 Contracts

  • PhiDaily: 0xa4a057e817a220E4a9466E7877adbDB917a9d8D9
  • EmissionLogic: 0x97895Ed981392b9d93e679E72bad1EA263d5De6F
  • MaterialObject: 0x27996B7f37a5455E41aE6292fd00d21df1Fb82f1
  • CraftableObject: 0xC73ea6afE94E5E473845Db007DB11a2E8a6847e0
  • CraftLogic: 0x00b12c2bd5279341a97872428f1083856270c446
  • UGCCraftLogic: 0x7c79490391a5c0186018c0481c3cef67d7ea1186
  • UGCCraftableObjectFactory: 0x8D851B86cD299f9020a529A0975365eCFc1048BB
  • UGCCraftableObject 0x7b90d9f3399091bc1f9aae0417e9ff99ab644bc6

🎈 License

This project is licensed under MIT.

🎉 Acknowledgements