diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-16 05:41:09 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-16 05:41:09 +0800 |
commit | 41768617a9130828339f3c231322c176ce19fd1d (patch) | |
tree | e94bf7667f0ee36d530f0e458b4111e7ceb81a07 /packages/connect/test/fixtures/standard_relayer_api/orders.ts | |
parent | bb992f8a49b42a1cd50d5bcc868f6d69fcd1a7ae (diff) | |
download | dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar.gz dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar.bz2 dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar.lz dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar.xz dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.tar.zst dexon-0x-contracts-41768617a9130828339f3c231322c176ce19fd1d.zip |
Update test fixtures
Diffstat (limited to 'packages/connect/test/fixtures/standard_relayer_api/orders.ts')
-rw-r--r-- | packages/connect/test/fixtures/standard_relayer_api/orders.ts | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/packages/connect/test/fixtures/standard_relayer_api/orders.ts b/packages/connect/test/fixtures/standard_relayer_api/orders.ts index 6d32fd3f3..01f8974b8 100644 --- a/packages/connect/test/fixtures/standard_relayer_api/orders.ts +++ b/packages/connect/test/fixtures/standard_relayer_api/orders.ts @@ -1,23 +1,30 @@ import { BigNumber } from '@0xproject/utils'; -export const ordersResponse = [ - { - maker: '0x9e56625509c2f60af937f23b7b532600390e8c8b', - taker: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', - makerFee: new BigNumber('100000000000000'), - takerFee: new BigNumber('200000000000000'), - makerAssetAmount: new BigNumber('10000000000000000'), - takerAssetAmount: new BigNumber('20000000000000000'), - makerTokenAddress: '0x323b5d4c32345ced77393b3530b1eed0f346429d', - takerTokenAddress: '0xef7fff64389b814a946f3e92105513705ca6b990', - salt: new BigNumber('256'), - feeRecipient: '0x9e56625509c2f60af937f23b7b532600390e8c8b', - exchangeAddress: '0x9e56625509c2f60af937f23b7b532600390e8c8b', - expirationTimeSeconds: new BigNumber('42'), - ecSignature: { - v: 27, - r: '0x61a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33', - s: '0x40349190569279751135161d22529dc25add4f6069af05be04cacbda2ace2254', +import { OrdersResponse } from '../../../src/types'; + +export const ordersResponse: OrdersResponse = { + total: 984, + page: 1, + perPage: 100, + records: [ + { + order: { + makerAddress: '0x9e56625509c2f60af937f23b7b532600390e8c8b', + takerAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', + feeRecipientAddress: '0xb046140686d052fff581f63f8136cce132e857da', + senderAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', + makerAssetAmount: new BigNumber('10000000000000000'), + takerAssetAmount: new BigNumber('20000000000000000'), + makerFee: new BigNumber('100000000000000'), + takerFee: new BigNumber('200000000000000'), + expirationTimeSeconds: new BigNumber('1532560590'), + salt: new BigNumber('1532559225'), + makerAssetData: '0xf47261b04c32345ced77393b3530b1eed0f346429d', + takerAssetData: '0x0257179264389b814a946f3e92105513705ca6b990', + exchangeAddress: '0x12459c951127e0c374ff9105dda097662a027093', + signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33', + }, + metaData: {}, }, - }, -]; + ], +}; |