Crates.io | snapshots |
lib.rs | snapshots |
version | 0.2.8 |
source | src |
created_at | 2022-01-22 04:59:16.037436 |
updated_at | 2022-04-17 09:32:55.680218 |
description | Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances. |
homepage | https://saber.so |
repository | https://github.com/saber-hq/snapshots |
max_upload_size | |
id | 518948 |
size | 21,917 |
Voting Escrow Snapshots: Historical snapshots of previous voting escrow balances.
There are several instances in which one may want to use an instantaneous snapshot of all vote escrow balances, for example:
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.
The [snapshots] program is licensed under the Affero General Public License version 3.