02 · The hooks
Split stream
A buy fee in the launch token, divided across up to four wallets.
Split stream takes a fee from buys and pays it out immediately, by weight, to the recipients you named.
What a trader sees
On a buy, a slice of the launch tokens they would have received is taken and sent to the recipients. The trader receives the rest. A sell pays this fee nothing.
Example
The fee is 1%, and the weights are 70% treasury and 30% builder. On a buy that produces 100 launch tokens before the fee, 1 token is taken. Treasury gets 0.70 and the builder gets 0.30. If the math leaves a wei, the last recipient with a weight gets it.
What you set
- The fee, in Uniswap pips. 10,000 is 1%. 1,000,000 is 100%.
- Up to four recipient addresses and a weight for each. Weights of zero are skipped. The weights you use must add up to 10,000.
The pool fee starts at the opening sqrt price and rises as sqrt price moves away.