Function: setTraderReferralCodeByUser(byte[32] _code)
This sets the trader's referral code — callable by user.
Inputs
_codeControl: Fully controlled by caller.
Constraints: None.
Impact: The referral code.
Branches and code coverage
Intended branches
The referral code is correctly set for
msg.sender.
Negative behavior
N/A.
Function call analysis
No external function calls found.