tine
Start earning

Security review

Tine v7 · · Download PDF

Scope

The review covers wstETH custody, TINE emissions, term bonuses and governance. It also covers the backing index, ETH router, Lens, NFT renderer, Uniswap v4 hook, liquidity launch and the website’s deposit, renewal and withdrawal flows.

The reviewed source is Git revision f48be1a. Production bytecode, the live site’s deployment configuration and control of the signing keys require separate verification.

Source revision and SHA-256 hashes
Git revision
f48be1a59a2b4299cb90d1d7e9f69b79d1073931
Tracked repository archive · SHA-256
259b7a0941ef5c8f936dbe151bd9ecb37f2630a3d2d7b81bb3ca91cace3962c5
contracts/TineSavings.sol · SHA-256
241dbd8a572892b4b7a6191ed410be56e398061064392f947ffd35474f3c350c
contracts/TineRouter.sol · SHA-256
85b632236ebb13ed964b623d01ab2a0a53b98098f8c9ff4213ff0e4d881cbdf7
web/assets/app.js · SHA-256
d4d6fe21d575639f15cde8aa39a48013aa36308a17b9ac35358cc788aad9d509

Verify the archive from a checkout
git -c tar.umask=0002 archive --format=tar f48be1a | sha256sum

Accepted findings

ECO-1 · A new deposit shares the pool’s capture clock

Potentially high impact if the backing rate is wrong. CaptureLimit.retention(elapsed) sets the minimum fraction of pool units that _capture must retain. Its fixed 50% annual compounded growth ceiling means that after one year at least two thirds stay as principal, even if the index reports tenfold growth. New deposits share the pool’s elapsed time, so a long gap between positive captures weakens that protection. Why accepted. The project identified this risk during design and considers the cap sufficient for wstETH given its choice of asset and reviewed backing index.

GOV-1 · Governance can shorten the initial 48-hour delay

The launch configuration uses a two-of-three Safe. The developer controls two keys. Changing the delay must itself wait out the current delay. Once the change takes effect, later proposals can execute sooner. Why accepted. The project wants governance to be able to evolve after launch and accepts that 48 hours is an initial setting.

CORE-1 · A new term immediately shares in forfeited bonuses

If another saver leaves early just after you start a term, your weight counts toward their forfeited bonus. Other eligible savers then receive a smaller share. You must keep the corresponding funds through your own maturity to collect yours. Why accepted. The project considers that commitment sufficient. Longer terms carry more weight, and immediate eligibility keeps the allocation rule simple.

CORE-5 · A yield update can cross a maturity

When an update spans a maturity, the pool allocates that interval’s yield using the weights in force before the first expiry. If two positions have equal weight and one matures between updates, each receives six of twelve bonus shares for that interval. Update timing can therefore affect the final bonus. Decision. The project chose to give both equal-weight positions their full share of that interval.

Website and integrations