snapshots

Crates.io Docs.rs License Build Status Contributors NPM

Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances.

Motivation

There are several instances in which one may want to use an instantaneous snapshot of all vote escrow balances, for example:

Mechanism

veToken balances are recorded for every period. A period is recorded for every 3 days.

There are two accounts that are used to compute historical balances:

Any time someone refreshes and/or modifies their vote escrow, they should refresh their [EscrowHistory] accounts.

License

The [snapshots] program is licensed under the Affero General Public License version 3.