Skip to content

Update workflows according to benchmarking tests#6

Open
yashovardhan wants to merge 1 commit into
mainfrom
feat/benchmarking-updates
Open

Update workflows according to benchmarking tests#6
yashovardhan wants to merge 1 commit into
mainfrom
feat/benchmarking-updates

Conversation

@yashovardhan

Copy link
Copy Markdown
Member

Update prediction market workflows according to issues faced


## Fund from another chain

Polymarket predict uses Polygon (`137`). If USDC.e on the owner EOA is insufficient but USDC exists elsewhere, bridge before `predict deposit` (see [swap.md](swap.md), [bridge.md](../workflows/bridge.md)):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is fitting to benchmarks. It should check wallet balance instead, giving option to swap and bridge.

Fund from another chain is not accurate.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same for other SKILL file.

Comment on lines +26 to +29
| Token | Polygon contract | Used by `predict deposit`? |
| --- | --- | --- |
| **USDC.e** (bridged) | `0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174` | **Yes** — wrap source for pUSD |
| Native USDC (Circle) | `0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359` | **No** — balance here does not fund deposit |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we need to define, should work fine without this.

Typical order:

1. One-time setup (if needed) — `predict setup`, credentials, approvals.
2. Fund — ensure pUSD or USDC.e on Polygon; bridge from other chains when needed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you check if pUSD is working? For me USDC.e was only working. Also, it can be swapped.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah usdc.e is only working. I kept pusd thinking it worked for you

@arch1995 arch1995 Jun 2, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

If you pUSD, you can directly transfer it to the deposit wallet

@yashovardhan yashovardhan force-pushed the feat/benchmarking-updates branch from 3b1703e to 89f42c8 Compare June 4, 2026 18:35
@yashovardhan yashovardhan force-pushed the feat/benchmarking-updates branch from 33652cf to 72377d2 Compare June 5, 2026 17:50
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