Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change SOR paths output to include required b-sdk input #127

Merged
merged 3 commits into from
Feb 12, 2024

Conversation

franzns
Copy link
Collaborator

@franzns franzns commented Feb 8, 2024

Now returns an array of GqlSorPath:

type GqlSorPath {
    vaultVersion: Int!
    pools: [String]! #list of pool Ids
    tokens: [Token]!
    outputAmountRaw: String!
    inputAmountRaw: String!
}

type Token {
    address: String!
    decimals: Int!
}

Also changed input to also take a vault version (uses both and returns best result by default)

@franzns franzns marked this pull request as ready for review February 8, 2024 14:18
@franzns franzns merged commit 7d4ddb0 into v3-canary Feb 12, 2024
1 check passed
@gmbronco gmbronco deleted the feat/sorv2 branch March 11, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant