Treasury · Phase 2
Exit buyback in timelocked tranches
Pay a leaving member the formula buyout in installments the village can afford, in a form the member can rely on.
- Parties
- leaving member, council
- Tools
- Bitcoin Core or Liana for the descriptor, Member's own signer
- Maturity
- Proven tools
What Bitcoin enforces
Once funded, the village cannot take an installment back before its reclaim date, and the member can take it alone on its date.
One output per installment, funded when the buyout is agreed: the leaver alone after the installment date; leaver plus 2 council at any time (early release); 3 council after the date plus one year (unclaimed, held for the estate).
What the agreement enforces
Buyout amount, currency election, schedule and the effect of funding.
Occupancy agreement (buyout formula); buyout agreement (Ricardian)
Who can move it, and when
| Signers | Only after |
|---|---|
| leaver alone | after 1830297600 (2028-01-01) |
| leaver_e + any 2 of C1..C5 | At any time |
| any 3 of C1r..C5r | after 1861920000 (2029-01-01) |
What can go wrong
| Failure | What limits the harm |
|---|---|
| Member dies or loses keys | Council reclaims after a year and pays the estate under the agreement |
| Village cannot fund all tranches at once | Fund tranches as cash allows; the agreement carries the rest |
| Price moves after funding | Member elects bitcoin knowingly or is paid in dollars |
The clause
The buyout amount is set by the formula in the Occupancy Agreement. If the Member elects payment in bitcoin, funding an installment output whose payout path the Member alone controls on its date is payment in full of that installment, and the Member bears price changes after funding.
What gets recorded
- Buyout agreement hash and signatures in the register
- Tranche outputs and their descriptors given to the member
The code
Policy
or(80@and(pk(leaver),after(1830297600)),20@or(15@and(pk(leaver_e),thresh(2,pk(C1),pk(C2),pk(C3),pk(C4),pk(C5))),5@and(thresh(3,pk(C1r),pk(C2r),pk(C3r),pk(C4r),pk(C5r)),after(1861920000))))Descriptor (SegWit)
wsh(andor(pk(leaver),after(1830297600),or_i(and_v(v:thresh(3,pkh(C1r),a:pkh(C2r),a:pkh(C3r),a:pkh(C4r),a:pkh(C5r)),after(1861920000)),and_v(v:pkh(leaver_e),thresh(2,pkh(C1),a:pkh(C2),a:pkh(C3),a:pkh(C4),a:pkh(C5))))))Descriptor (Taproot)
tr(NUMS,{{and_v(v:multi_a(3,C1r,C2r,C3r,C4r,C5r),after(1861920000)),and_v(v:pk(leaver_e),multi_a(2,C1,C2,C3,C4,C5))},and_v(v:pk(leaver),after(1830297600))})Sources
- Todd, Peter. BIP 65: OP_CHECKLOCKTIMEVERIFY. Bitcoin Improvement Proposals (GitHub). Accessed 2026-11-30.
- Kerin, T.; Friedenbach, M.. BIP 113: Median time-past as endpoint for lock-time calculations. bitcoin/bips repository, 2015-08-10. Accessed 2026-11-30.