Skip to content

leomassazza/perps-risk-control-module

Repository files navigation

perps-risk-control-module

Welcome to perps-risk-control-module!

This repository houses the contracts needed to enable risk control module as proposed in SIP-2048: MaxMarketValue Risk Control Module.

Development

git clone [email protected]:leomassazza/perps-risk-control-module.git
cd ./perps-risk-control-module

# Install all dependencies.
yarn 

# Compile contracts via Hardhat
yarn run compile

Test module

There's a script to verify the module functionality. In order to use it, fork optimism network with hardhat (i.e. in a Synthetix repo, npm run fork:ovm) and execute.

npx hardhat run ./scripts/testRiskControlModule.js

Implementation notes

xxxx TBD

About

SIP-2048: MaxMarketValue Risk Control Module contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published