resolutionSigner.
After settlement, holders can call claimHolderPayout() and writers can call claimWriterCollateral().
Contract: ConvallaxCore — 0xc760F8f6B8830463822be9F68eB10e1b5Dace378
Function Signature
Parameters
The expired option series to settle.
Resolution price in basis points (0–100).
0 = NO wins, 100 = YES wins, or any value for VWAP.Attestation expiry (Unix timestamp). Must be ≥
block.timestamp.EIP-712 signature from the resolution signer over the
SettlementAttestation struct.EIP-712 Domain
| Field | Value |
|---|---|
name | ConvallaxCore |
version | 1 |
chainId | 80002 |
verifyingContract | 0xc760F8f6B8830463822be9F68eB10e1b5Dace378 |
Attestation Struct
Getting the Attestation
UsePOST /settlement/prepare to compute the VWAP and receive the signed attestation. Pass the returned values directly to this function.
Prerequisites
block.timestamp ≥ expiry— the option must have expired- The series must not already be settled
- The caller must hold option tokens for the series, or be the contract owner
block.timestamp ≤ validUntil— the attestation must not have expired- The signature must recover to the registered
resolutionSigner
Example
Reverts
| Condition | Reason |
|---|---|
| Not yet expired | SeriesNotExpired(seriesId) |
| Already settled | AlreadySettled(seriesId) |
| Attestation expired | AttestationExpired |
| Invalid signer | InvalidSigner |
| Caller has no tokens and is not owner | NotHolderOrOwner |
