Canoe Finance
Revenue Sharing Contract
Different projects will charge a handling fee on top of the user's payment, and the contract is divided into two major sections:
  • Additional projects will incur an increase in the handling fee ratio.
  • The number of tokens exchanged after the user deducts the handling fee.
On the corresponding interface, the contract uploads the fee ratio charged by different projects to the principal, which is shown on the screen.
When the user performs a swap (a project => 20%, b project => 30%), the user will be charged after the corresponding fee is charged.
The handling fee payment amount is swapped. Payment of the handling fee to the already-connected project party, project party management, and so on are just a few of the many other functions.
MetaDex-Swap/MetaDexSwap.sol at main · Canoe-Finance/MetaDex-Swap
Swap revenue sharing contract
Copy link