Constructor
Sets
owner to msg.sender. Fee starts at 0%.
Functions
split
collector) and treasury.
Requirements:
- Not paused
amountbetween 1 and 1,000,000 (inclusive)- Caller has approved sufficient USDC on the splitter
- Transfers
amount - feetocollector - Transfers
feeto treasury (if fee > 0) - Emits
Splitevent
setFee
setTreasury
setPaused
Events
Split
split() call.
Constants
State variables
ABI (human-readable)
Fee calculation
At the current fee of 0%, all amounts go directly to the publisher.