Skip to content

Commit

Permalink
changes in getTokens() (#1)
Browse files Browse the repository at this point in the history
* changes in getTokens()

An array was created with all the information of all the tokens and the getTokens() was modified to return the data from the new array.

* fix deps

* requested changes

---------

Co-authored-by: Jose Ramirez <jarcodallo@gmail.com>
  • Loading branch information
Marielbamar21 and 0xslipk authored Feb 20, 2024
1 parent 1820857 commit d9e8cdc
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 225 deletions.
240 changes: 15 additions & 225 deletions package-lock.json

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

1 change: 1 addition & 0 deletions src/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type Query {
getEstimatedAmount(amount: String! = "", from: String! = "", to: String! = ""): EstimatedAmount!
getPairTokensFromNativeCurrency(nativeCurrencies: [String!]! = []): GetPairTokens!
getTokens: Tokens!
getTokensToSwap: Tokens!
status: String!
version: String!
}
Expand Down
Loading

0 comments on commit d9e8cdc

Please sign in to comment.