Skip to content

Contracts ​

Four contracts, each with one job.

ContractJob
FissipTokenSFISSIP. Holds the deposited FISSIP, stores shares, applies the split factor
SplitEngineSamples the market price, checks the trigger, executes the split
BonusTreasuryTracks holding time, converts ETH into stock tokens, pays the bonus
FissipRouterBuy and deposit, or withdraw and sell, in one transaction

Addresses will be published here at deployment.

FissipToken ​

FunctionPurpose
deposit(shares, to)Deposit FISSIP, receive SFISSIP
withdraw(shares, to)Return SFISSIP, receive FISSIP
balanceOf(account)Shares × split factor
sharesOf(account)Shares
splitFactor() / splitCount()Current multiplier, number of splits
base()The FISSIP token address

Only the Split Engine can apply a split. Nobody can mint SFISSIP without depositing.

SplitEngine ​

FunctionPurpose
executeSplit()Execute the split. Open to anyone
poke()Record a price sample. Open to anyone
canSplit()Whether the conditions hold now
referencePrice() / nextTriggerPrice()Reference and trigger
twapPrice() / spotPrice()Average and current price

The engine only reads the market. It holds no funds and cannot trade.

BonusTreasury ​

FunctionPurpose
claimAll()Collect every pending bonus
claim(epochIds)Collect specific epochs
pendingBonus(account)Bonus waiting for an account
currentWeight(account)Weight in the running epoch
currentEpoch()Running epoch number

FissipRouter ​

FunctionPurpose
buy(minAmountOut, to)Send ETH, receive SFISSIP
sell(amount, minEthOut, to)Send SFISSIP, receive ETH

Both take a minimum output, so a trade that would execute worse than you accepted reverts.

Events ​

EventEmitted when
Split(splitCount, splitFactor, referencePrice, timestamp)A split executes
SplitApplied(splitCount, splitFactor)The token applies it
EpochClosed(epoch, totalShareSeconds)An epoch closes
BonusClaimed(holder, epoch, stockToken, amount)A bonus is collected