Skip to content

Latest commit

 

History

History
219 lines (211 loc) · 8.78 KB

AffiliatesEvents.md

File metadata and controls

219 lines (211 loc) · 8.78 KB

AffiliatesEvents.sol

View Source: contracts/events/AffiliatesEvents.sol

↗ Extends: ModulesCommonEvents ↘ Derived Contracts: Affiliates, ISovryn

AffiliatesEvents contract

Events

event SetAffiliatesReferrer(address indexed user, address indexed referrer);
event SetAffiliatesReferrerFail(address indexed user, address indexed referrer, bool  alreadySet, bool  userNotFirstTrade);
event SetUserNotFirstTradeFlag(address indexed user);
event PayTradingFeeToAffiliate(address indexed referrer, address  trader, address indexed token, bool indexed isHeld, uint256  tradingFeeTokenAmount, uint256  tokenBonusAmount, uint256  sovBonusAmount, uint256  sovBonusAmountPaid);
event PayTradingFeeToAffiliateFail(address indexed referrer, address  trader, address indexed token, uint256  tradingFeeTokenAmount, uint256  tokenBonusAmount, uint256  sovBonusAmount, uint256  sovBonusAmountTryingToPaid);
event WithdrawAffiliatesReferrerTokenFees(address indexed referrer, address indexed receiver, address indexed tokenAddress, uint256  amount);

Functions

Contracts