Learn about the fee structure in Shibaswap v1, including liquidity provider fees and protocol fees.
token0_pool * token1_pool
at the end of the previous transaction.
feeTo
is not address(0)
(0x0000000000000000000000000000000000000000
), indicating that feeTo
is the recipient of the charge.
This amount would not affect the fee paid by traders, but would affect the amount received by liquidity providers.
Rather than calculating this charge on swaps, which would significantly increase gas costs for all users, the charge is instead calculated when liquidity is added or removed.
feeTo
and feeToSetter
addresses:
Protocol | Swap Fee | LP Fee | Protocol Fee |
---|---|---|---|
Shibaswap v1 | 0.3% | 0.3% | 0% (potential 0.05%) |
Uniswap v2 | 0.3% | 0.3% | 0% (potential 0.05%) |
SushiSwap | 0.3% | 0.25% | 0.05% |