This repository contains core smart contracts of Depeg Swaps.
Install required dependencies
forge installTo build & compile all contracts for testing purposes run :
forge buildFor production you need to use the optimized build with IR compilation turned on by setting the FOUNDRY_PROFILE environment variable to optimized:
FOUNDRY_PROFILE=optimized forge buildTo install kontrol use below commands :
bash <(curl https://kframework.org/install): install kup package manager.
kup install kontrol: install Kontrol.
kup list kontrol: list available Kontrol versions.To run test, use this command :
forge testTo run Formal verification proofs, use below commands :
export FOUNDRY_PROFILE=kontrol-properties
kontrol build
kontrol prove