Skip to content

Commit

Permalink
SuperFluids Balance (#136)
Browse files Browse the repository at this point in the history
* added superBalance field on AccountBalance Class

* updated graphql query
  • Loading branch information
vignesha22 authored Jun 30, 2022
1 parent 1929d9a commit 6d60c5b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "etherspot",
"version": "1.33.6",
"version": "1.33.7",
"description": "Etherspot SDK",
"keywords": [
"ether",
Expand Down
1 change: 1 addition & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ type Account {
}

type AccountBalance {
superBalance: BigNumber
balance: BigNumber!
token: String
}
Expand Down
1 change: 1 addition & 0 deletions src/sdk/account/account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export class AccountService extends Service {
items {
token
balance
superBalance
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/sdk/account/classes/account-balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ export class AccountBalance {

@TransformBigNumber()
balance: BigNumber;

@TransformBigNumber()
superBalance: BigNumber;
}

0 comments on commit 6d60c5b

Please sign in to comment.