@lufycz/sushi-vesting-query
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

sushi-vesting-query

This is a script that fetches the pending and harvested Sushi at the specified blocks, and then calculates the resulting vested Sushi.

Run

yarn

yarn run standalone -s <startBlock> -e <endBlock> -c <claimBlock>

Resulting files will be under the /outputs folder

Options

-s - Start Block, defaults to 10959148 (vesting start), defines the start of the period of the calculation

-e - End Block, required, defines the end of the period of the calculation

-c - Claim Block, default to current block height, defines the block of the snapshot of claimed amounts

Blacklist was generated like this:

yarn run standalone -e 12148193

yarn run generate-blacklist -l 6666666666666666666666 -i outputs/amounts-10959148-12148193.json

To replicate, make sure to start with a clean blacklist ([]), otherwise you'll get an empty output from generate-blacklist.

Readme

Keywords

none

Package Sidebar

Install

npm i @lufycz/sushi-vesting-query

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

56.1 kB

Total Files

32

Last publish

Collaborators

  • lufycz