Tiny Bonds enable anyone to raise liquidity or capital in exchange for their tokens. Tiny Bonds is a virtual constant product AMM with dutch auction functionality.
- Protocol XYZ wants to sell some of their XYZ tokens for DAI, so they call
create()within theTinyBondsFactoryto create their ownTinyBondsmarket. - Protocol XYZ decides to sell
100 XYZtokens and will accept a price anywhere between10and15 DAIwith a maturity of5 days. - Price will start at
15 DAIand decrease exponentially to a floor price of10 DAIassuming no purchases are made. - Alice notices the bond price is currently
12.5 DAIwhile the markets spot is still around15 DAIso she decides to bond50 XYZtokens for625 DAI. - Over the next 5 days, Alice can linearly redeem the XYZ token that she bonded.
TinyBonds.sol:TinyBondsenable anyone to raise liquidity or capital in exchange for their tokens.TinyBondsFactory.sol: Minimal proxy factory that createsTinyBondsclones.
To install with Foundry:
forge install 0xClandestine/tiny-bonds
This project uses Foundry as the development framework.
forge install
forge build
forge test