diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-23 09:01:45 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-25 08:30:56 +0800 |
commit | 7d5a23969d5514ca3c942f11a48a8e858b9d0188 (patch) | |
tree | cded564fcb1d79e132bd0e85bbb28ef0648cb59e /packages/contracts/test/utils/constants.ts | |
parent | 56c3c29febe6264eee7f1c3f1ed8f1dc7c4685c6 (diff) | |
download | dexon-sol-tools-7d5a23969d5514ca3c942f11a48a8e858b9d0188.tar dexon-sol-tools-7d5a23969d5514ca3c942f11a48a8e858b9d0188.tar.gz dexon-sol-tools-7d5a23969d5514ca3c942f11a48a8e858b9d0188.tar.bz2 dexon-sol-tools-7d5a23969d5514ca3c942f11a48a8e858b9d0188.tar.lz dexon-sol-tools-7d5a23969d5514ca3c942f11a48a8e858b9d0188.tar.xz dexon-sol-tools-7d5a23969d5514ca3c942f11a48a8e858b9d0188.tar.zst dexon-sol-tools-7d5a23969d5514ca3c942f11a48a8e858b9d0188.zip |
Add reentrancy tests for fillOrder and wrapper functions
Diffstat (limited to 'packages/contracts/test/utils/constants.ts')
-rw-r--r-- | packages/contracts/test/utils/constants.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/contracts/test/utils/constants.ts b/packages/contracts/test/utils/constants.ts index 65eaee398..7060b5091 100644 --- a/packages/contracts/test/utils/constants.ts +++ b/packages/contracts/test/utils/constants.ts @@ -51,4 +51,20 @@ export const constants = { WORD_LENGTH: 32, ZERO_AMOUNT: new BigNumber(0), PERCENTAGE_DENOMINATOR: new BigNumber(10).pow(18), + FUNCTIONS_WITH_MUTEX: [ + 'FILL_ORDER', + 'FILL_OR_KILL_ORDER', + 'FILL_ORDER_NO_THROW', + 'BATCH_FILL_ORDERS', + 'BATCH_FILL_OR_KILL_ORDERS', + 'BATCH_FILL_ORDERS_NO_THROW', + 'MARKET_BUY_ORDERS', + 'MARKET_BUY_ORDERS_NO_THROW', + 'MARKET_SELL_ORDERS', + 'MARKET_SELL_ORDERS_NO_THROW', + 'MATCH_ORDERS', + 'CANCEL_ORDER', + 'CANCEL_ORDERS_UP_TO', + 'SET_SIGNATURE_VALIDATOR_APPROVAL', + ], }; |