diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-14 09:27:00 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:18 +0800 |
commit | 6be5fe928e4820ed674c7a8f74fd24b63871b4c7 (patch) | |
tree | eb518ca1066477d1b509490999f0cc647707e5d4 /packages/contracts/src/utils | |
parent | 167654c9a0403a11dcccde7e93d8baed52c17786 (diff) | |
download | dexon-sol-tools-6be5fe928e4820ed674c7a8f74fd24b63871b4c7.tar dexon-sol-tools-6be5fe928e4820ed674c7a8f74fd24b63871b4c7.tar.gz dexon-sol-tools-6be5fe928e4820ed674c7a8f74fd24b63871b4c7.tar.bz2 dexon-sol-tools-6be5fe928e4820ed674c7a8f74fd24b63871b4c7.tar.lz dexon-sol-tools-6be5fe928e4820ed674c7a8f74fd24b63871b4c7.tar.xz dexon-sol-tools-6be5fe928e4820ed674c7a8f74fd24b63871b4c7.tar.zst dexon-sol-tools-6be5fe928e4820ed674c7a8f74fd24b63871b4c7.zip |
Removed takerTokenAddress and makerTokenAddress from Order struct.
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r-- | packages/contracts/src/utils/order_utils.ts | 6 | ||||
-rw-r--r-- | packages/contracts/src/utils/types.ts | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/packages/contracts/src/utils/order_utils.ts b/packages/contracts/src/utils/order_utils.ts index 052ae89d6..18892b4d4 100644 --- a/packages/contracts/src/utils/order_utils.ts +++ b/packages/contracts/src/utils/order_utils.ts @@ -26,8 +26,6 @@ export const orderUtils = { const orderStruct = { makerAddress: signedOrder.makerAddress, takerAddress: signedOrder.takerAddress, - makerTokenAddress: signedOrder.makerTokenAddress, - takerTokenAddress: signedOrder.takerTokenAddress, feeRecipientAddress: signedOrder.feeRecipientAddress, makerTokenAmount: signedOrder.makerTokenAmount, takerTokenAmount: signedOrder.takerTokenAmount, @@ -45,8 +43,6 @@ export const orderUtils = { 'address exchangeAddress', 'address makerAddress', 'address takerAddress', - 'address makerTokenAddress', - 'address takerTokenAddress', 'address feeRecipientAddress', 'uint256 makerTokenAmount', 'uint256 takerTokenAmount', @@ -61,8 +57,6 @@ export const orderUtils = { order.exchangeAddress, order.makerAddress, order.takerAddress, - order.makerTokenAddress, - order.takerTokenAddress, order.feeRecipientAddress, order.makerTokenAmount, order.takerTokenAmount, diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts index f51dd5a1d..d692bed61 100644 --- a/packages/contracts/src/utils/types.ts +++ b/packages/contracts/src/utils/types.ts @@ -139,8 +139,6 @@ export interface SignedOrder extends UnsignedOrder { export interface OrderStruct { makerAddress: string; takerAddress: string; - makerTokenAddress: string; - takerTokenAddress: string; feeRecipientAddress: string; makerTokenAmount: BigNumber; takerTokenAmount: BigNumber; |