Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Doc/add example signature type2 comment#257

Open
LINWANHAW wants to merge 2 commits into
Polymarket:mainfrom
LINWANHAW:doc/add_signatureType2_comment
Open

Doc/add example signature type2 comment#257
LINWANHAW wants to merge 2 commits into
Polymarket:mainfrom
LINWANHAW:doc/add_signatureType2_comment

Conversation

@LINWANHAW
Copy link
Copy Markdown

@LINWANHAW LINWANHAW commented Jan 8, 2026

Note

Docs/examples updates

  • Clarifies signatureType options by adding comment for type 2 (EOAs for Polymarket Gnosis safes) in README.md and examples/order.ts.
  • Fixes typo UDSC -> USDC in funding address comments in README.md and examples/order.ts.

Written by Cursor Bugbot for commit 05d92a0. This will update automatically on new commits. Configure here.

Copilot AI review requested due to automatic review settings January 8, 2026 12:02
@LINWANHAW LINWANHAW requested a review from a team as a code owner January 8, 2026 12:02
@LINWANHAW LINWANHAW changed the title Doc/add signature type2 comment Doc/add example signature type2 comment Jan 8, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds documentation for signature type 2 (Gnosis safe) and corrects a spelling error (UDSC → USDC) in example files.

Key changes:

  • Fixed spelling of "USDC" in funder variable comments
  • Added documentation comment for signature type 2

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
examples/order.ts Corrected USDC spelling and added signature type 2 comment
README.md Corrected USDC spelling and added signature type 2 comment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md

//0: Browser Wallet(Metamask, Coinbase Wallet, etc)
//1: Magic/Email Login
//2: Signed by EOAs that own Polymarket Gnosis safes
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The comment could be simplified for consistency with the existing documentation in examples/signatureTypes.ts. Consider using "Polymarket Gnosis safe" instead of "Signed by EOAs that own Polymarket Gnosis safes" to match the pattern established by the other signature type comments and maintain clarity.

Suggested change
//2: Signed by EOAs that own Polymarket Gnosis safes
//2: Polymarket Gnosis safe

Copilot uses AI. Check for mistakes.
Comment thread examples/order.ts

//0: Browser Wallet(Metamask, Coinbase Wallet, etc)
//1: Magic/Email Login
//2: Signed by EOAs that own Polymarket Gnosis safes
Copy link

Copilot AI Jan 8, 2026

Choose a reason for hiding this comment

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

The comment could be simplified for consistency with the existing documentation in examples/signatureTypes.ts. Consider using "Polymarket Gnosis safe" instead of "Signed by EOAs that own Polymarket Gnosis safes" to match the pattern established by the other signature type comments and maintain clarity.

Suggested change
//2: Signed by EOAs that own Polymarket Gnosis safes
//2: Polymarket Gnosis safe

Copilot uses AI. Check for mistakes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants