- General Notes:
- Utilization is used internally, which is 1/collateral ratio. However, Collateral ratio is shown on to the user.
Generating Typechain classes:
Typechain classes must be generated in order to run. To do so, either run yarn prebuild
or yarn build
.
https://synths.yam.xyz/ - V2 website
https://develop.synths.yam.xyz/ - Development builds
For manual testing on forked mainnet, follow these steps:
git clone
this repository- run
yarn
to install all dependencies - In a second terminal, run
yarn fork
to active the Hardhat forked mainnet - Read the output and find one of the test accounts listed by Hardhat.
- In your browser's Metamask, connect to the local chain at
localhost:8545
- In Metamask, import the private key of the account found in step 4
- You are ready to test with 10,000 ETH in your wallet
- Dev Notes:
- Be mindful to reset your wallet after running an instance of the forked chain