Skip to content

Commit de84f9d

Browse files
A1igatorclaude
andcommitted
authCapture: feeRecipient address(0) note + realistic Permit2 example nonce
- Document the feeRecipient = address(0) opt-out in the field description. The Fee System appendix already says address(0) lets the caller pick a non-zero recipient at capture/charge time, but the field description marked feeRecipient as required without flagging this opt-in. - Replace the Permit2 example nonce ("12345678901234567890", ~6.4×10¹⁸) with a realistic 78-digit uint256 value. The real wire value is uint256(payerAgnosticPaymentInfoHash); the previous placeholder understated the field width and could mislead implementers testing against the literal. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 3c305d5 commit de84f9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specs/schemes/authCapture/scheme_authCapture_evm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ AuthCapture-accepting servers advertise with scheme `authCapture`:
5353
| `captureAuthorizer` | Yes | `address` | Address authorized to authorize/capture/void/refund/charge. Committed on-chain as `PaymentInfo.operator`. |
5454
| `captureDeadline` | Yes | `uint48` | Absolute Unix seconds — capture must occur before this. Encoded as `authorizationExpiry`. |
5555
| `refundDeadline` | Yes | `uint48` | Absolute Unix seconds — refunds allowed until this. Encoded as `refundExpiry`. |
56-
| `feeRecipient` | Yes | `address` | Fee recipient (committed on-chain as `PaymentInfo.feeReceiver`). |
56+
| `feeRecipient` | Yes | `address` | Fee recipient (committed on-chain as `PaymentInfo.feeReceiver`). Set to `address(0)` to let the captureAuthorizer specify any non-zero recipient at capture/charge time. |
5757
| `minFeeBps` | Yes | `uint16` | Minimum fee in basis points (the fee floor the captureAuthorizer must take). `0` = no minimum. |
5858
| `maxFeeBps` | Yes | `uint16` | Maximum fee in basis points (the cap on the captureAuthorizer's fee). |
5959
| `autoCapture` | No | `bool` | `true` → facilitator calls `charge()` (atomic). `false``authorize()` (two-phase). Default: `false`. |
@@ -136,7 +136,7 @@ The payload carries the signature and the client-generated `salt`. The facilitat
136136
"amount": "1000000"
137137
},
138138
"spender": "0xPermit2TokenCollectorAddress",
139-
"nonce": "12345678901234567890",
139+
"nonce": "110210486920734568342928534950928740912034856789012345678901234567890123456789",
140140
"deadline": "1740675754"
141141
},
142142
"signature": "0x2d6a...571c",

0 commit comments

Comments
 (0)