Skip to content

Y2K-Finance/Earthquake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Y2K

image

Contracts

Contract Arbitrum Address
Controller https://arbiscan.io/address/0x225aCF1D32f0928A96E49E6110abA1fdf777C85f
Vault Factory https://arbiscan.io/address/0x984e0eb8fb687afa53fc8b33e12e04967560e092
Rewards Factory https://arbiscan.io/address/0x9889Fca1d9A5D131F5d4306a2BC2F293cAfAd2F3
Y2K token https://arbiscan.io/address/0x65c936f008BC34fE819bce9Fa5afD9dc2d49977f
Y2K treasury https://arbiscan.io/address/0x5c84cf4d91dc0acde638363ec804792bb2108258

Earthquake V2 Documentation

Foundry / Forge

Resources

Quickstart

Requirements Install Foundry

  • Forge/Foundryup

    • You'll know you've done it right if you can run forge --version
  • Git

    • You'll know you've done it right if you can run git --version
  • Install libs forge update

Deploy

Test in Mainnet Fork

  • make sure to create .env with variables in .env.example
  • currenlty foundry is configured to only run tests in test/v2
  • run forge coverage to see test coverage for V2. Tests for legacy_v1 will not be accounted for
forge test -vv

Makefile

make install