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

feat: add swap quote interface #57

Conversation

janndriessen
Copy link
Collaborator

  • Adds a first interface for SwapQuote

@janndriessen janndriessen requested a review from 0xonramp May 23, 2024 15:58
outputAmount: res.buyAmount,
callData: res.data,
slippage: slippage ?? 0,
// TODO: add swap data
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be tackled in another PR

path: ['', ''],
fees: [300],
pool: '0x0000000000000000000000000000000000000000',
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That#s why this is all just fake swap data for now

Copy link
Collaborator

@0xonramp 0xonramp May 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was going to ask about it - thank you for the heads up 👍

@janndriessen janndriessen merged commit e877433 into feat/add-swap-quote-provider-protocol May 23, 2024
1 check passed
@janndriessen janndriessen deleted the feat/add-swap-quote-interface branch May 23, 2024 19:31
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.

2 participants