Skip to content

Commit

Permalink
added a/b symbol for PoolPairData (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Aug 10, 2021
1 parent a684878 commit 739f9f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/whale-api-client/__tests__/api/poolpairs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,13 @@ describe('list', () => {
status: true,
tokenA: {
id: '2',
symbol: 'B',
reserve: '50',
blockCommission: '0'
},
tokenB: {
id: '0',
symbol: 'DFI',
reserve: '300',
blockCommission: '0'
},
Expand Down Expand Up @@ -167,11 +169,13 @@ describe('get', () => {
status: true,
tokenA: {
id: expect.any(String),
symbol: 'A',
reserve: '100',
blockCommission: '0'
},
tokenB: {
id: expect.any(String),
id: '0',
symbol: 'DFI',
reserve: '200',
blockCommission: '0'
},
Expand Down
2 changes: 2 additions & 0 deletions packages/whale-api-client/src/api/poolpairs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ export interface PoolPairData {
status: string
tokenA: {
id: string
symbol: string
reserve: string // BigNumber
blockCommission: string // BigNumber
}
tokenB: {
id: string
symbol: string
reserve: string // BigNumber
blockCommission: string // BigNumber
}
Expand Down

0 comments on commit 739f9f9

Please sign in to comment.