Accepted tokens like USDT, STA, PAXG charge a fee on transfer, that isn't accounted during the minting of AssetToken
when a user provides liquidity to the protocol.
Let's assume a user provides 10,000 USDT as liquidity, according to the logic in deposit
that same amount is used to mint AssetToken
:
But since a fee is charged the actual quantity deposited in AssetToken
will be less than amount
. So the liquidity provider will receive an amount of AssetToken
greater than the actual deposit.
Liquidity providers can receive more AssetToken
than the their actual deposits, giving them a bigger ownership of the pool that they actually own.
Manual.
Read the balance of token in AssetToken
before and after the deposit to calculate a delta that represents the actual amount deposited by the user to know how many tokens to mint and use the delta to calculate the fee.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.