Fees
Memez.gg has a versatile fee mechanism enforced by the contracts. Each integrator is able to customize their fees parameters.
The system supports 0 fees.
Fee Mechanism
Depending on the fee, it can be defined in basis points percentage or in a nominal value. The fees are collected by the stake holders depending on how the configuration is set.
Fees Configuration
Each fee below requires the following configuration:
Fee Value
Address of fee recipients
Percentage that each recipient should receive in basis points.
If we set the Creation Fee to 2 Sui and the recipients to be the following: Alice (20%), Bob (50%) and Jose (30%).
At pool creation, the contract will automatically send 0.4 Sui to Alice, 1 Sui to Bob and 0.6 Sui to Jose. The system supports dynamic fee recipients at pool creation and system enforced ones as well. For example, we can set that 20% of the creation fee always goes to the integrator, while the rest of the fees recipients are set dynamically at pool creation.
Creation: This fee is collected when a pool is created and it is defined in a nominal value. It is always charged in Sui.
Swap: This fee is collected on every swap and is defined in percentage. It is taken both in Sui and the meme coin.
Migration: This fee is charged in Sui from the liquidity being migrated in percentage.
Allocation: This fee is charged in meme coin after migration in percentage.
The fees configuration can be fetched via the SDK using the following method.
At pool creation, the caller can pass an array of stakeholders (Sui addresses) to set dynamic fee recipients. This has to match the number of fees distribution set by the integrator. For example: if the integrator sets the creation fee to be 2 Sui and have 3 recipients and one recipient to always be the system. The pool creator must pass two additional addresses dynamically.
Recrd Configuration
The Recrd fees configuration has 4 recipients and creation, swap, migration and allocation fees.
Two recipients are dynamically set at pool creation by passing their addresses here.
The other two recipients are set by the system. They are the Recrd and IPX treasury.
3 Sui
1 %
5%
3%
2 Sui for Recrd
25% Token Creator
25% Token Creator
1% Token Creator
1 Sui for IPX
25% Video Creator
25% Video Creator
1% Video Creator
50% Recrd
40% Recrd
1% Recrd
10 % IPX
Last updated
Was this helpful?