On-chain fee splitting contract for partner referrals, revenue shares, and multi-party fee distribution. Supports up to 10 recipients, minimum payout thresholds, ERC-20 and ETH, with push/pull payment patterns.
Category: contracts
Files: 11
Chains: Ethereum, Arbitrum, Base, Optimism
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title Fee Splitter /// @notice On-chain fee splitting contract (partner referrals, revenue shares). contract FeeSplitter { address public immutable owner; uint256 public constant VERSION = 1; event Initialized(address indexed deployer); constructor() { owner = msg.sender; emit Initialized(msg.sender); } // ... full implementation in purchased package }