add twap switch

This commit is contained in:
owen05
2021-01-19 17:10:46 +08:00
parent 059778b27b
commit 8b683af08f
34 changed files with 519 additions and 174 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
truffle compile --all
# truffle compile --all
if [ "$1"x = "proxy-dpp"x ]
then
@@ -31,6 +31,11 @@ then
truffle test ./test/V2Proxy/proxy.incentive.test.ts
fi
if [ "$1"x = "proxy-twap"x ]
then
truffle test ./test/V2Proxy/proxy.twap.test.ts
fi
# if [ "$1"x = "route-incentive"x ]
# then
# truffle test ./test/Route/Incentive.test.ts