Skip to content

Commit

Permalink
Aug 5, 2024, 4:29 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 5, 2024
1 parent 855f0ff commit 39c4bb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/adapters/hydradx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ class HydradxBalanceAdapter extends BalanceAdapter {

public subscribeBalance(
tokenName: string,
address: string
address: string,
tokenId?: string
): Observable<BalanceData> {
const storage = this.storages.balances(address);

Expand Down
5 changes: 3 additions & 2 deletions src/balance-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ export abstract class BalanceAdapter {
if (!tokenConfig) throw new TokenNotFound(token, this.chain);
// Get chain number
const paraID = chains[this.chain].paraChainId


return tokenConfig as R;
}

public abstract subscribeBalance(
token: string,
address: string
address: string,
tokenId?: string
): Observable<BalanceData>;
}

0 comments on commit 39c4bb3

Please sign in to comment.