In reading through all of the swap module specifications, I don’t see any thought given to yield farming.
On a traditional dex, Liquidity Providers receive LP Tokens which represent their title to remove a specified percentage of the pool. One approach could be to expand this model for founders to provide farming incentives to their community. Founders could receive FP Tokens (i.e., Farming Provider Tokens). These FP Tokens would be the mechanism by which Farming Providers are able to remove a specified percentage of the farming rewards. With this in mind, it would useful to allow those who hold FP Tokens to be able to effectively burn them (perhaps by sending the TRANSFER
transaction to an OP_RETURN
script that contains no data) so as to give Liquidity Providers on-chain proof that the supply of BRC-20 tokens allocated to rewards cannot be rugged.
Any thoughts on the pros and cons of mainnet DeFi vs the Fractal layer (aside from bridging risks, fee differences, and block speed)?
From the perspective of the brc20 core, there is no need to deal with special processing when inscribing withdrawal inscriptions, only the balance withdrawal needs to be processed when sending. Like the transfer inscription, when the withdrawal inscription is sent directly to the miner, it will be successfully withdrawn to the sender himself.