aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2017-11-13 06:24:31 +0800
committerJacob Evans <jacob@dekz.net>2017-11-13 06:24:31 +0800
commitfdb3fa6801e07972f53a05c312c2ee933809f823 (patch)
tree83ae953740ee653cf0efcf4ef16ef737714be9f8 /src/utils
parent3e2a614eb9a4f1219e2f11ea29c8a7cd59dd74dd (diff)
downloaddexon-sol-tools-fdb3fa6801e07972f53a05c312c2ee933809f823.tar
dexon-sol-tools-fdb3fa6801e07972f53a05c312c2ee933809f823.tar.gz
dexon-sol-tools-fdb3fa6801e07972f53a05c312c2ee933809f823.tar.bz2
dexon-sol-tools-fdb3fa6801e07972f53a05c312c2ee933809f823.tar.lz
dexon-sol-tools-fdb3fa6801e07972f53a05c312c2ee933809f823.tar.xz
dexon-sol-tools-fdb3fa6801e07972f53a05c312c2ee933809f823.tar.zst
dexon-sol-tools-fdb3fa6801e07972f53a05c312c2ee933809f823.zip
Added specs for allowance and balance changes
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/order_state_utils.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils/order_state_utils.ts b/src/utils/order_state_utils.ts
index ff5c1880d..fde7a7e02 100644
--- a/src/utils/order_state_utils.ts
+++ b/src/utils/order_state_utils.ts
@@ -72,9 +72,7 @@ export class OrderStateUtils {
const fillableMakerTokenAmount = BigNumber.min([makerProxyAllowance, makerBalance]);
// min ^, remaining order maker token amount
const remainingFillableMakerTokenAmount = BigNumber.min(fillableMakerTokenAmount, remainingMakerTokenAmount);
- // TODO
// edge case when maker token is ZRX
- // rounding issues, check if its fillabae
const orderRelevantState = {
makerBalance,
makerProxyAllowance,