Skip to content

Conversation

@m30m
Copy link
Contributor

@m30m m30m commented Sep 20, 2024

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.

@vercel
Copy link

vercel bot commented Sep 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:37pm
pyth-staking-v2-mainnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:37pm
staking-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 20, 2024 4:37pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Sep 20, 2024 4:37pm

Copy link
Contributor

@danimhr danimhr left a 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(
Copy link
Contributor

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(
Copy link
Contributor

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) {
Copy link
Contributor

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])

@m30m m30m merged commit a01cb0e into main Sep 20, 2024
7 checks passed
@m30m m30m deleted the per-limo-ex branch September 20, 2024 17:00
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.

3 participants