# 6.1. Third-Party Developers

Third-party developers are an important part of the WinFi ecosystem. In order to support game development and operation service providers to access the WinFi metaverse, WinFi has designed a set of contract mechanisms based on the following principles:

* Third-party developers must purchase platform coin WFT and pledge it into the developer treasury DV. The more WFT the developer pledges, the higher their ranking in the DAPP and the easier it is for players to see them.
* The developer management contract DM is responsible for the service and management of third-party developers. The developer calls this contract to fill in their payment account and select the profit-sharing ratio with WinFi. The profit-sharing ratio ranges from 50% to 90%.
* With the developer code DP pledged, registered, and approved by WinFi DAO, DM will generate an ERC20 token for the developer called WFT-DP, which defaults to a price of 0.01U.
* The developer treasury contract DV will automatically exchange the WFT pledged by DP into ERC20 tokens WFT-DP and an equal amount of WFT at the current price. The treasury contract will add WFT-DP to the AMM DEX of the contract and eventually form the WFT-DP/USDT trading pair.
* If DP pledges 100,000U of WFT, DM will automatically issue 10 million WFT-DP and add 10 million DPG and 10 million WFT liquidity to the AMM DEX.
* If player P1 has 200,000 WFT in their account, they will exchange up to 1% of the liquidity of WFT-DP into WFT when entering DP's game. Players use WFT-DP to play games developed by DP.
* Players and investors can also buy and sell WFT-DP tokens directly in the DV's built-in AMM DEX.
* When a player logs out of DP's game, the system will automatically convert their WFT-DP into WFT.
* In this process, the player's login and logout of the DP game will generate buying and selling in the AMM DEX, ultimately determining the price of WFT-DP.
* The WFT-DP that P1 consumes in DP's game will be deposited into DP's management account in the DM contract. P1 can sell this part of WFT-DP to exchange for WFT and realize their income.
* If P1 gains WFT-DP income in DP's game and takes it away through flash exchange to WFT, WFT-DP will depreciate. If the depreciation exceeds 50%, the DV contract will require DP to add margin, otherwise the WFT pledged by DP will be liquidated. The AMM DEX is an important part of WinFi's built-in exchange and operates similarly to a simplified version of Uniswap V2.
