makerdao / dss-simulation-scripts

Apache License 2.0
2 stars 6 forks source link

dss-simulation-scripts

Start the server

./bin/start.sh

Running Scripts

Trigger ES

HARDHAT_NETWORK=localhost ./scripts/cageMCD.js

Void the OSM for ETH

HARDHAT_NETWORK=localhost ./scripts/voidOSM.js

warp ahead by seconds

HARDHAT_NETWORK=localhost ./scripts/warp.js 7200

set the OSM price for an asset

HARDHAT_NETWORK=localhost ./scripts/setOSMPrice.js "ETH-A" ${PIP_ETH} 4000

debug notes

or look at the trace output with:

seth run-tx 0x6ecf099be8178c9a2e7d67f57f3a141e13f2393f15fff35e577fd1b3f3fc697d --trace