[REPORT] UniFat <> Gaming DAO - Milestone 2&3

Link (Mobile-friendly): unifat[.]xyz

Milestone: Frontend + Backend: Ranking Reward, Single/Multi Dragon Dungeons: $3500 (Including the payout for the rust contract development)

As discussed for the first milestone we focused on the following parts:

Ranking Reward:
There are a total of 11 types of Ranking Rewards, including Ranking based on 7 attributes, as well as rankings based on the quantity of Obsidian, backpacks, and Dragons. All rankings are recorded and sorted by smart contracts. Users only need to click “Join” to participate. The rewards are distributed in two forms: Tokens and NFTs, both automatically allocated by the contract. After the Ranking Reward expires, winning users can claim their rewards themselves.

Hatch:
Users select their DragonEgg, click on “Hatch”, sign the transaction, and complete the hatching process. Hatching will result in a significant increase in various attributes, all calculated and completed by smart contracts.

Single/Multi Dragon Dungeons:
The Dungeon is UniFat’s pioneering automatic turn-based mode. Users select their Dragons to participate and execute Dungeon transactions. Within the smart contract, the turn-based mode randomly matches Dragons, Bosses, and soldiers until one side is defeated. Defeating any enemy or clearing the Dungeon may yield a chance to obtain their loot drop. Loot comes in two forms: NFTs and Tokens. Users can use NFT loot to enhance their Dragons for more challenging Dungeon challenges.

Usable Methods in the Smart Contract as of now:

inscribe: Inscription operations, including Deploy, Mint, Transfer, Wrap, SetPrice, Exchange, Evolution, Hatch, Awakening
upgrade_point: Attribute point update, consumes UpgradeCards with Level=1
upgrade_star: Star level upgrade, consumes UpgradeCards with Level=2
upgrade_level: Level upgrade, consumes UpgradeCards with Level=5
withdraw_fee: Withdrawal fee, UniFat’s Inscription is an open platform where any user can create inscriptions. Users can collect fees when minting inscriptions. This method is used to withdraw these fees.
withdraw_token_fee: Similar to withdraw_fee, this method is used to withdraw fees for different NRC141Tokens.
trigger_inscription: Only one Deploy is allowed per day for an inscription. If there are multiple inscriptions within one day, there will be a bidding mode. This method is used to trigger the creation of the winning inscription.
set_awake_need_amount: Modify the token amount required for DragonEgg awakening. Only UniFat Owner and NFT Owner have permission to modify.
withdraw_refer_near_fee: Claim Referral Fee, UniFat has an on-chain Referral feature.
claim_nrc20_airdrop: Claim NFT airdrop, pure on-chain data.
claim_airdrop: Claim UniFat’s set airdrop, this airdrop data is passed in off-chain.
claim_farming: Claim Farming rewards.
register_farming: Register Farming, users need to register first before using Farming functionality.
cancel_stake_farming_token: Withdraw staked tokens.
cancel_stake_farming_booster_token: Withdraw staked UniFat Tokens.
sacrifice: Sacrifice, currently sacrificing Obsidian to receive rewards. The event has ended, and more features will be released in the future.
daily_treasure_chest_claim: Claim daily treasure chests. Treasure chests can contain all items from the DragonWorld game. Currently, only claiming treasure chests is available; opening them is not yet possible.
request_ranking: Request Join Ranking rewards. The contract will record user data and sort it.
claim_ranking_reward: Claim Ranking rewards. The RankingReward event has ended, and winners can claim their rewards.
challenge_single_dungeon: Challenge the single dungeon. It’s an automatic turn-based system that also automatically uses items and even invites helpers. Not all features have been released yet. Upon completion, you can obtain rewards for clearing the dungeon and defeating the boss.

Query methods:

query_create_fee: Query the inscription creation fee.
query_best_price: Query the latest inscription deployment price.
query_protocol_fee: Query the protocol fee.
query_protocol_token_fee: Query the protocol fee for a specific token.
query_protocol_fee_rate: Query the protocol fee rate.
query_exchange_fee_rate: Query the exchange fee rate.
query_next_inscription_id: Query the ID of the next inscription.
query_inscription_by_tick: Query inscription information by Tick Name.
query_inscription_by_id: Query inscription information by inscription ID.
query_ticks: Paginate all ticks.
query_nft: Query NFT information.
query_nfts: Batch query NFT information.
query_nft_and_awake: Query NFT and awakening information.
query_user_balance: Query the user’s Obsidian balance. UniFat never allows users to recharge. Only Obsidian balance is available here.
query_user_mint_balance: Query the number of inscriptions minted by the user.
query_user_pay_fee: Query the fee paid by the user for minting inscriptions.
query_user_count: Query the number of users for a specific inscription.
query_user_nft_id: Query all ID information of a user’s specific NFT.
query_nrc20_history: Query the history of a specific NFT Exchange.
query_nrc20_history_max_id: Query the maximum ID of the NFT Exchange.
query_nrc20_evolution_history: Query the evolution history of a specific NFT.
query_nrc20_evolution_history_max_id: Query the maximum ID of the evolution.
query_nrc20_awake_history: Query the awakening history of a specific NFT.
query_nrc20_awake_history_max_id: Query the maximum ID of the awakening.
query_awake_info: Query awakening information.
query_awake_amount: Query the amount required for awakening.
query_awake_need_amount: Query the amount required for awakening.
query_black_list: Query the blacklist.
query_refer_fee: Query the referral fee rate.
query_refer_near_fee: Query the Near referral fee.
query_recommender: Query the recommender.
query_invited_users: Query the list of invited users.
query_invited_count: Query the number of invitations.
query_airdrop_amount: Query the airdrop amount.
query_nrc_airdrop_claim_history: Query the claim history of NRC20 airdrops.
query_airdrop_claim_history: Query the claim history of airdrops.
query_buy_backpack_cost: Query the cost of buying a backpack.
query_farming_reward: Query the number of farming rewards available for claiming.
query_user_token_balance: Query the user’s Obsidian token balance.
query_user_farm_stake_info: Query the user’s stake information on Farming.
query_farm_info: Query Farming information.
query_sacrifice_info: Query sacrifice information.
query_user_sacrifice_record: Query the user’s sacrifice records.
query_user_backpack_count: Query the user’s backpack count.
query_daily_treasure_chest_claim_count: Query the daily treasure chest claim count.
query_last_daily_treasure_chest_claim_time: Query the user’s last time they claimed a treasure chest.
query_daily_treasure_chest_claim_limit: Query the limit for treasure chest claims. Currently, it is Stake 3000DGS.
query_ranking_info: Query Ranking reward information.
query_ranking_list: Query information of users who received Ranking rewards.
query_single_dungeon_info: Query Dungeon information.
query_dungeon_pass_count: Query the number of times the dungeon has been cleared.
query_dgs_claim_discount: Query the discount rate based on the user’s stake of DGS.

Owner methods:

set_awake_direction: Set parameters for awakening direction. Different directions can have different awakening tokens.
set_nrc20_airdrop_config: Set parameters for NRC20 airdrops.
set_airdrop_amount: Set the amount for airdrops.
set_refer_fee_rate: Set the referral fee rate.
set_protocol_fee_rate: Set the inscription protocol fee rate.
set_exchange_fee_rate: Set the exchange fee rate.
set_create_fee: Set the fee for creating inscriptions.
set_awake_fee: Set the fee rate for awakening.
set_deploy_interval: Set the deployment interval for inscriptions, currently set to 1 day.
set_black_list: Set the blacklist, mainly to restrict bot users.
enable_nep_wrap: Enable the Wrap function for inscriptions, which can wrap into NRC141 tokens or NFTs.
withdraw_protocol_fee: Withdraw Near protocol fees.
withdraw_protocol_token_fee: Withdraw token protocol fees.
update_inscription_fees: Update the fees for inscriptions.
create_farming: Create a farming.
update_farming: Update farming data.
update_token_booster: Update booster data for farming tokens.
update_inscription_booster: Update booster data for NFT skills.
add_single_dungeon: Add a single dungeon.
update_single_dungeon: Update single dungeon data.
update_sacrifice: Update Obsidian sacrifice parameters.
add_ranking: Add RankingReward data.
update_ranking: Update Ranking data.

For the next steps, we will implement an equipment and skill system, as well as a PvP system, while also opening up storylines to narrate the legendary tales of the entire DragonWorld.