-
Notifications
You must be signed in to change notification settings - Fork 0
add oneInch v6 swap api #12
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
base: master
Are you sure you want to change the base?
add oneInch v6 swap api #12
Conversation
"cors": "^2.8.5", | ||
"dotenv": "^16.0.0", | ||
"express": "^4.18.1", | ||
"express": "^4.21.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was it needed to update the dependencies ?
return new Ok( | ||
const quoteData: OneInchQuoteResponse = r.data; | ||
|
||
// logger.debug('OneInch quote response', r.data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unnecessary comments
chainId, | ||
); | ||
|
||
// logger.debug('normalizedResponse', normalizedResponse); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unncessary comments
); | ||
sellTokenAmount, | ||
); | ||
// logger.debug('normalizedResponse', normalizedResponse); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unncessary comments
); | ||
|
||
return new Ok( | ||
// logger.debug(`OneInch swap response ${JSON.stringify(r.data)}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unncessary comments
'0x111111125421ca6dc452d289314280a0f8842a65', | ||
[SupportedChainId.OPTIMISM]: '0x111111125421ca6dc452d289314280a0f8842a65', | ||
[SupportedChainId.MAINNET]: '0x111111125421ca6dc452d289314280a0f8842a65', | ||
[SupportedChainId.BASE]: '0x111111125421ca6dc452d289314280a0f8842a65', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do their contract have the same address on all chains ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
No description provided.