Function setReferrerFee(uint48 fee_) external
Allow any user to set a fee value if their address will be used as
Referrer
address.There is a limit on the maximum fee value.
This value can be used inside the
purchase
function to calculatetoReferrer
fee value. The user calling thepurchase
function controls thereferrer_
address theirself, so there are no problems associated with this.Could be used to front-run users (as mentioned in audit #1)