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/src/types.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/src/types.ts')
-rw-r--r-- | packages/connect/src/types.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/connect/src/types.ts b/packages/connect/src/types.ts index 8c2eaff7d..42417f709 100644 --- a/packages/connect/src/types.ts +++ b/packages/connect/src/types.ts @@ -7,7 +7,7 @@ export interface Client { getOrderAsync: (orderHash: string) => Promise<APIOrder>; getOrderbookAsync: (request: OrderbookRequest, requestOpts?: PagedRequestOpts) => Promise<OrderbookResponse>; getOrderConfigAsync: (request: OrderConfigRequest) => Promise<OrderConfigResponse>; - getFeeRecipientsAsync: () => Promise<PaginatedCollection<string>>; + getFeeRecipientsAsync: () => Promise<FeeRecipientsResponse>; submitOrderAsync: (signedOrder: SignedOrder) => Promise<void>; } @@ -147,6 +147,8 @@ export interface OrderConfigResponse { senderAddress: string; } +export type FeeRecipientsResponse = PaginatedCollection<string>; + export interface PagedRequestOpts { page?: number; perPage?: number; |