The Split Mechanism
A split is not a vote and not a promise. It is a rule, written in the contract, that anyone can execute the moment it is true.
The trigger
A split executes when three conditions hold together:
- The price has doubled. The average market price over the averaging window is at least twice the reference price.
- Enough time has passed. The minimum delay since the previous split is over.
- The cap is not reached. The number of splits is below the maximum.
When they hold, anyone can call executeSplit(). The caller receives a small ETH tip, paid by the treasury when it holds ETH.
What happens in that transaction
| Step | Effect |
|---|---|
| 1 | The split factor doubles. Every SFISSIP balance doubles with it |
| 2 | The reference price is set to the average price of this split |
| 3 | The epoch closes. The stock tokens collected during it are assigned to holders |
| 4 | A new epoch starts |
The market is not touched. No token is bought, sold or moved. A split is not a trade.
An example
The reference price is 0.01. You hold 1,000 SFISSIP.
| Moment | Price per SFISSIP | Your balance | Your position |
|---|---|---|---|
| Start | 0.010 | 1,000 | 10 |
| Price doubles | 0.020 | 1,000 | 20 |
| Split I | 0.010 | 2,000 | 20 |
| Price doubles again | 0.020 | 2,000 | 40 |
| Split II | 0.010 | 4,000 | 40 |
The value of your position comes from the market. The split turns it into a count you can see.
An average, not a spike
The trigger reads an average price over a window, not the last trade. A single large buy cannot force a split.
The protocol records price samples onchain. Anyone can record one. Between two samples, the lower of the two prices is the one that counts, so an inflated sample is ignored. A split also needs a minimum number of samples inside the window.
The reference only moves forward
After a split, the next one needs a new doubling from the price of that split. If the price falls back, nothing is undone: balances stay doubled and the reference stays where it is.
Reading the state
| Function | Returns |
|---|---|
splitCount() | Number of splits executed |
splitFactor() | Current multiplier |
referencePrice() | Current reference |
nextTriggerPrice() | Average price that triggers the next split |
twapPrice() | Current average price |
canSplit() | Whether a split can be executed now |
