diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-12 01:21:37 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | bc7672652ecbb39c57955d47cb96a8b9d558ba70 (patch) | |
tree | 0c3b623a3c7453ffe6643b40f03f9582d30af22c /packages/contracts/src/utils/order_utils.ts | |
parent | cc77f8489e5a176406d4871772fcbae58703bafc (diff) | |
download | dexon-0x-contracts-bc7672652ecbb39c57955d47cb96a8b9d558ba70.tar.gz dexon-0x-contracts-bc7672652ecbb39c57955d47cb96a8b9d558ba70.tar.zst dexon-0x-contracts-bc7672652ecbb39c57955d47cb96a8b9d558ba70.zip |
makerAssetProxyData/takerAssetProxyData -> makerAssetData/takerAssetData
Diffstat (limited to 'packages/contracts/src/utils/order_utils.ts')
-rw-r--r-- | packages/contracts/src/utils/order_utils.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/contracts/src/utils/order_utils.ts b/packages/contracts/src/utils/order_utils.ts index 8eb4da35a..052ae89d6 100644 --- a/packages/contracts/src/utils/order_utils.ts +++ b/packages/contracts/src/utils/order_utils.ts @@ -35,8 +35,8 @@ export const orderUtils = { takerFee: signedOrder.takerFee, expirationTimeSeconds: signedOrder.expirationTimeSeconds, salt: signedOrder.salt, - makerAssetProxyData: signedOrder.makerAssetProxyData, - takerAssetProxyData: signedOrder.takerAssetProxyData, + makerAssetData: signedOrder.makerAssetData, + takerAssetData: signedOrder.takerAssetData, }; return orderStruct; }, @@ -54,8 +54,8 @@ export const orderUtils = { 'uint256 takerFee', 'uint256 expirationTimeSeconds', 'uint256 salt', - 'bytes makerAssetProxyData', - 'bytes takerAssetProxyData', + 'bytes makerAssetData', + 'bytes takerAssetData', ]); const orderParamsHashBuff = crypto.solSHA3([ order.exchangeAddress, @@ -70,8 +70,8 @@ export const orderUtils = { order.takerFee, order.expirationTimeSeconds, order.salt, - ethUtil.toBuffer(order.makerAssetProxyData), - ethUtil.toBuffer(order.takerAssetProxyData), + ethUtil.toBuffer(order.makerAssetData), + ethUtil.toBuffer(order.takerAssetData), ]); const orderSchemaHashHex = `0x${orderSchemaHashBuff.toString('hex')}`; const orderParamsHashHex = `0x${orderParamsHashBuff.toString('hex')}`; |