THORChain accepts messages of type SWAP
and ADD
that contain affiliate fees.
Affiliate fees are defined in basis points, for example an affiliate fee of 100 (of 10000) is 1%.
Affiliate fees are indicated by MEMO as described in https://docs.thorchain.org/developers/transaction-memos
THORChain does not do any bounds checking on the affiliate fee percentage, which can result in payment of unlimited affiliate fees to an attacker.