What it does
- A schedule defines a start, a duration, and (optionally) a cliff before anything unlocks.
- The amount claimable grows linearly with elapsed time; the beneficiary claims whatever has vested so far whenever they like.
- Already-vested tokens cannot be clawed back.
tests.rs covering the unlock math, included below so you can verify the schedule behaves as described.
Interface
The schedule setup, claim, and query messages are inmsg.rs; the release calculation is in contract.rs.
