primitivefinance / portfolio

Portfolio is an automated market making protocol for implementing custom strategies at the lowest cost possible.

Home Page:https://www.primitive.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate: Tokens with fee on transfer, unsupported

Alexangelj opened this issue · comments

Description

Tokens that have fees on transfer are not tracked by the settlement function, since there are no checks after a transfer has been done. The debt is considered settled.

This could be a critical bug if we can trick the contract into considering a token "paid for" even if the token transferred in zero because it had 100% fee on transfer.