Casino Affiliate
Become an Overtime Casino Affiliate
How it works
function placeBet(
address collateral,
uint amount,
BetType betType,
uint8 selection,
address _referrer // ← your affiliate wallet
) external;function _payReferrer(address _user, address _collateral, uint _amount) internal {
if (address(referrals) == address(0)) return;
address referrer = referrals.referrals(_user);
if (referrer == address(0)) return;
uint referrerFee = referrals.getReferrerFee(referrer);
if (referrerFee == 0) return;
uint referrerAmount = (_amount * referrerFee) / ONE;
if (referrerAmount > 0) {
// transfer the cut, emit event
}
}How to set up
1. Get a wallet to receive payouts
2. Generate a referral link
3. Distribute your link
4. (Optional) Embed the contracts in your own product
How much you earn
Why this is structurally different from a traditional affiliate program
Best practices
Frequently asked
Last updated