Share Based Accounting
How do you double every balance on a chain, at the same instant, for the price of one transaction? You never store the balances.
The formula
balance = shares × splitFactorThe contract stores your shares. They change only when you deposit, withdraw or transfer. The split factor is one number shared by everyone, and it starts at 1.
A split writes that one number. Every wallet, every app and every explorer that reads balanceOf sees the doubled balance on the next block.
One share, one FISSIP
Shares are created by deposits and only by deposits:
| Action | Shares | FISSIP held by the contract |
|---|---|---|
| Deposit 1,000 FISSIP | +1,000 | +1,000 |
| Split | unchanged | unchanged |
| Withdraw 1,000 shares | −1,000 | −1,000 |
After any number of splits, the contract holds exactly one FISSIP per share. Backing is not a target or a ratio to maintain. It is an identity.
A full round trip
You deposit 1,000 FISSIP and hold through two splits.
| Moment | Shares | SFISSIP balance |
|---|---|---|
| Deposit | 1,000 | 1,000 |
| After split I | 1,000 | 2,000 |
| After split II | 1,000 | 4,000 |
| Withdraw everything | 0 | 0 |
You receive 1,000 FISSIP back, each one worth what the market says, and you keep the bonus you earned along the way.
A regular ERC-20
SFISSIP behaves like any token: transfer, approve, transferFrom, 18 decimals. Allowances are stored in shares too, so an approval given before a split still covers the same position after it.
For integrations that prefer fixed units, the share level is exposed directly:
| Function | Purpose |
|---|---|
sharesOf(account) | Shares held |
transferShares(to, shares) | Transfer in shares |
amountToShares(amount) | Convert a balance to shares |
sharesToAmount(shares) | Convert shares to a balance |
Rounding
One share is the smallest unit. After a split, a transfer of an odd number of base units rounds down to a whole share. The difference is far below anything visible: fractions of a billionth of a billionth of a token.
