-
Notifications
You must be signed in to change notification settings - Fork 192
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: limo simple searcher #1943
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
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.
Should'nt we update the version of SDK?
} | ||
} | ||
console.log( | ||
`Bid status for bid ${bidStatus.id}: ${bidStatus.type.replaceAll( |
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.
I think we dont need this part anymore. statuses are: [pending, submitted, lost, won]
Previously we used this line for simulated_failed
status which is deprecated.
const outputMintDecimals = await this.clientLimo.getOrderOutputMintDecimals( | ||
order | ||
); | ||
const inputAmount = new Decimal( |
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.
maybe calculate outputAmount like this?
.alias("help", "h") | ||
.parseSync(); | ||
async function run() { | ||
if (SVM_CONSTANTS[argv.chainId] === undefined) { |
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.
if (!SVM_CONSTANTS[argv.chainId])
This PR adds a new searcher example which is integrated with the limo program. This can be used to understand how svm integrations would look like in the future.