Security
In short: your wallet is never at risk from Frank, and the treasury has no way to send assets out. Holding FRANK still carries risk.
Frank moves balances on a chain, so its safety has to come from code the agent can't edit, not from the model behaving well.
What holds up
These were checked and work as intended:
- Reentrancy is blocked on every state-changing path, and on views.
- Transfers are checked exactly, so fee-on-transfer tokens are rejected on the way in.
- Bonding and redeeming only ever pull from the caller. Nobody can spend someone else's allowance, and the frontend approves exact amounts, not unlimited.
- Vault admission pins the vault's code and requires an empty vault, blocking share-inflation tricks.
- Gaming the price by donating assets loses the donor money.
Protections in the app
On top of the contracts, the app adds its own checks:
- A human approves every new market, and the approval is tied to the exact terms, so nothing different can be signed.
- Frank doesn't pick prices. A pricing service with fixed rules sets them, and refuses any rate that wouldn't be backed by the treasury or that strays too far from market prices.
- An issuance ceiling. A round of new markets can only create a small share of the existing
FRANKsupply, split by how risky each asset is. - Markets are watched. They're repriced on drift, renewed daily and closed automatically when price data goes bad.
- Upgrade proposals are pinned to the exact code they install, and the agent can't cancel or replace the human's proposals.
- The signer caps gas and fees and limits how often it signs.
Risks for holders
- No guaranteed price. If the treasury takes a token that later loses value, every
FRANKis backed by less. - New
FRANKdilutes. Every bond addsFRANKto the supply straight away. - Pausing stops redemption. The governor can pause the treasury at any time. Claims and pool trading keep working.
- The fee can change at once, up to
20%. Set the most fee you'll accept when you redeem; a higher fee makes the redemption fail instead of charging you. - Upgrades wait
24hours in public before anyone can execute them.