Made in solidarity by Architect
yarn install
Add Vault:
- Add Vault to VaultNames list in
scripts/types.ts - Create entry and add Vault data in
scripts/vaultData.ts - (If Necessary): Get ABI from ftmscan and paste into new .json entry in
scripts/abi, add to exported abis inscripts/abi/abi.ts - Get pre exploit full price per share: Add vault address to tenderly.co. Simulate a
getFullPricePerShare()on that contract with specific block number:25345003(This is the block before the first exploit was executed)
Add Users:
- (If Necessary): Create entry for new vault in
scripts/affectedUsersand add to exported affected users object inscripts/affectedUsers/affectedUsers.ts - Add list of users to
AffectedUsersCollectionwith their discord / tg tag. TS will ensure you are adding in the correct format
Run:
yarn users-pre-exploit-shares
Output is put into output.csv in a CSV format.
Output values are in decimal format (assuming 18 decimals for all tokens)
To add CSV records to a google sheet, PASTE, select pasted cell, and split text into columns:
