Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions examples/signatureTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,21 @@ async function main() {
gnosisSafeAddress,
);

// Client used with a Polymarket Deposit Wallet: Signature type 3
const depositWalletAddress = "0x...";
const depositWalletClient = new ClobClient(
host,
chainId,
wallet,
creds,
SignatureType.POLY_DEPOSIT_WALLET,
depositWalletAddress,
);

void clobClient;
void polyProxyClient;
void polyGnosisSafeClient;
void depositWalletClient;
}

main();
6 changes: 6 additions & 0 deletions src/order-utils/model/signature-types.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ export enum SignatureType {
* EIP712 signatures signed by EOAs that own Polymarket Gnosis safes
*/
POLY_GNOSIS_SAFE = 2,

/**
* EIP712 signatures signed by EOAs that own Polymarket Deposit Wallets.
* Validated on-chain via ERC-1271 isValidSignature() with ERC-7739 nested domain wrapping.
*/
POLY_DEPOSIT_WALLET = 3,
}
Loading