diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-08-10 08:02:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-10 08:02:43 +0800 |
commit | 719699eb3072a85112107f3c76816909f53bce5a (patch) | |
tree | 6bb3ee193d62c3b6fdc6438fe6eb702d3db1f3d2 /packages/sra-api/src/examples/relayerApiOrderbookResponse.ts | |
parent | f97ec000e109341f7b200d0ff9ff324bf3f97d3e (diff) | |
parent | 889ec81ff332f755d3b7e414c4e48afb52123d9c (diff) | |
download | dexon-sol-tools-719699eb3072a85112107f3c76816909f53bce5a.tar dexon-sol-tools-719699eb3072a85112107f3c76816909f53bce5a.tar.gz dexon-sol-tools-719699eb3072a85112107f3c76816909f53bce5a.tar.bz2 dexon-sol-tools-719699eb3072a85112107f3c76816909f53bce5a.tar.lz dexon-sol-tools-719699eb3072a85112107f3c76816909f53bce5a.tar.xz dexon-sol-tools-719699eb3072a85112107f3c76816909f53bce5a.tar.zst dexon-sol-tools-719699eb3072a85112107f3c76816909f53bce5a.zip |
Merge pull request #916 from 0xProject/feature/sra/add-sra-package
Add the sra-api package (OpenAPI Spec)
Diffstat (limited to 'packages/sra-api/src/examples/relayerApiOrderbookResponse.ts')
-rw-r--r-- | packages/sra-api/src/examples/relayerApiOrderbookResponse.ts | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/packages/sra-api/src/examples/relayerApiOrderbookResponse.ts b/packages/sra-api/src/examples/relayerApiOrderbookResponse.ts new file mode 100644 index 000000000..40c09eff9 --- /dev/null +++ b/packages/sra-api/src/examples/relayerApiOrderbookResponse.ts @@ -0,0 +1,54 @@ +export const relayerApiOrderbookResponse = { + bids: { + total: 325, + page: 2, + perPage: 100, + records: [ + { + order: { + makerAddress: '0x9e56625509c2f60af937f23b7b532600390e8c8b', + takerAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', + feeRecipientAddress: '0xb046140686d052fff581f63f8136cce132e857da', + senderAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', + makerAssetAmount: '10000000000000000', + takerAssetAmount: '20000000000000000', + makerFee: '100000000000000', + takerFee: '200000000000000', + expirationTimeSeconds: '1532560590', + salt: '1532559225', + makerAssetData: '0xf47261b04c32345ced77393b3530b1eed0f346429d', + takerAssetData: '0x0257179264389b814a946f3e92105513705ca6b990', + exchangeAddress: '0x12459c951127e0c374ff9105dda097662a027093', + signature: '0x012761a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b351bc33', + }, + metaData: {}, + }, + ], + }, + asks: { + total: 500, + page: 2, + perPage: 100, + records: [ + { + order: { + makerAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', + takerAddress: '0x9e56625509c2f60af937f23b7b532600390e8c8b', + feeRecipientAddress: '0xb046140686d052fff581f63f8136cce132e857da', + senderAddress: '0xa2b31dacf30a9c50ca473337c01d8a201ae33e32', + makerAssetAmount: '20000000000000000', + takerAssetAmount: '10000000000000000', + makerFee: '200000000000000', + takerFee: '100000000000000', + expirationTimeSeconds: '1532560590', + salt: '1532559225', + makerAssetData: '0x0257179264389b814a946f3e92105513705ca6b990', + takerAssetData: '0xf47261b04c32345ced77393b3530b1eed0f346429d', + exchangeAddress: '0x12459c951127e0c374ff9105dda097662a027093', + signature: '0x013842a3ed31b43c8780e905a260a35faefcc527be7516aa11c0256729b5b3518891', + }, + metaData: {}, + }, + ], + }, +}; |