Mark Spanbroek
8ff26ca577
vault: flow to multiple recipients
...
- changes balance from uint256 -> uint128
so that entire Balance can be read or written
with a single operation
- moves Lock to library
- simplifies lock checks
2025-01-28 10:31:39 +01:00
Mark Spanbroek
3767d9afba
vault: improve naming of public functions
2025-01-28 10:22:17 +01:00
Mark Spanbroek
b3fbc19bf5
vault: designate tokens that flow
2025-01-22 15:58:34 +01:00
Mark Spanbroek
f59ec3d5e2
vault: flow tokens from one recipient to the other
2025-01-22 15:07:51 +01:00
Mark Spanbroek
922121e659
vault: allow recipient to withdraw
2025-01-22 11:59:51 +01:00
Mark Spanbroek
bd9d88443c
vault: lock is deleted upon withdrawal
2025-01-22 11:59:51 +01:00
Mark Spanbroek
bfd3c43555
vault: lock up tokens until expiry time
2025-01-22 11:59:51 +01:00
Mark Spanbroek
43f310518f
vault: designate tokens for a single recipient
2025-01-22 11:59:51 +01:00
Mark Spanbroek
2412eb092e
vault: transfer tokens from one recipient to the other
2025-01-22 11:59:51 +01:00
Mark Spanbroek
69b2b4fd90
vault: burning funds
2025-01-22 11:59:51 +01:00
Mark Spanbroek
7e6bc18b19
vault: change data structure to be recipient oriented
2025-01-22 11:59:51 +01:00
Mark Spanbroek
5a2e183610
vault: deposit and withdraw
2025-01-22 11:59:51 +01:00