@ftptech/x402-canton-core 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +17 -136
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -56,18 +56,15 @@ export declare function payloadPayer(p: {
|
|
|
56
56
|
* other value matches only by exact string equality (multi-asset tokens). */
|
|
57
57
|
export declare function assetMatches(a: string, b: string): boolean;
|
|
58
58
|
/** Which on-ledger primitive carries the actual CC movement.
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
|
|
68
|
-
* are handled at verify/settle. The three branches are independent + additive
|
|
69
|
-
* (see specs/scheme_exact_canton.upstream.md § Method Coexistence). */
|
|
70
|
-
export type CantonTransferMethod = "external-party-amulet-rules" | "cip56-transfer-factory" | "allocation-api" | "allocation-direct";
|
|
59
|
+
* allocation-direct (CIP-56 DVP "2-tx DIRECT", Design B): the payer LOCKS funds
|
|
60
|
+
* via AllocationFactory_Allocate naming the MERCHANT (payTo) as
|
|
61
|
+
* transferLeg.receiver AND the facilitator as settlement.executor; the
|
|
62
|
+
* facilitator then settles in ONE tx via DirectSettlementConsent_Execute (a
|
|
63
|
+
* standing both-party consent), which runs Allocation_ExecuteTransfer paying the
|
|
64
|
+
* merchant DIRECTLY — no escrow contract, no facilitator-owned forward leg, no
|
|
65
|
+
* facilitator custody. See daml/x402-direct +
|
|
66
|
+
* specs/scheme_exact_canton.upstream.md § Design B. */
|
|
67
|
+
export type CantonTransferMethod = "allocation-direct";
|
|
71
68
|
/** Canton-specific `extra` block in 402 PaymentRequirements.
|
|
72
69
|
*
|
|
73
70
|
* x402-ENVELOPE upstream convention renames (PR #2634 review):
|
|
@@ -85,70 +82,6 @@ export type CantonTransferMethod = "external-party-amulet-rules" | "cip56-transf
|
|
|
85
82
|
* Read via `extraFeePayer` / `extraMethod` (prefer new, fall back to old). The
|
|
86
83
|
* discriminator stays the `transferMethod` literal so the union narrows. */
|
|
87
84
|
export type CantonPaymentRequirementsExtra = {
|
|
88
|
-
transferMethod: "external-party-amulet-rules";
|
|
89
|
-
facilitatorParty: string;
|
|
90
|
-
/** x402-ENVELOPE name for the GS-traffic fee payer (alias of
|
|
91
|
-
* facilitatorParty). Optional so deployed 402s without it still type. */
|
|
92
|
-
feePayer?: string;
|
|
93
|
-
/** x402-ENVELOPE name for the method discriminator (alias of
|
|
94
|
-
* transferMethod). */
|
|
95
|
-
assetTransferMethod?: "external-party-amulet-rules";
|
|
96
|
-
synchronizerId: string;
|
|
97
|
-
merchantContractCid?: string;
|
|
98
|
-
memo?: string;
|
|
99
|
-
} | {
|
|
100
|
-
transferMethod: "cip56-transfer-factory";
|
|
101
|
-
facilitatorParty: string;
|
|
102
|
-
feePayer?: string;
|
|
103
|
-
assetTransferMethod?: "cip56-transfer-factory";
|
|
104
|
-
synchronizerId: string;
|
|
105
|
-
transferFactoryCid: string;
|
|
106
|
-
/** Hash-prefixed templateId of the factory contract, same form
|
|
107
|
-
* Canton emits on createdEvent.templateId. Lets the client submit
|
|
108
|
-
* TransferFactory_Transfer without its own Scan registry lookup. */
|
|
109
|
-
transferFactoryTemplateId: string;
|
|
110
|
-
instrumentId: {
|
|
111
|
-
admin: string;
|
|
112
|
-
id: string;
|
|
113
|
-
};
|
|
114
|
-
memo?: string;
|
|
115
|
-
} | {
|
|
116
|
-
/** CIP-56 DVP Allocation method (PRIMARY end-state). The payer LOCKS
|
|
117
|
-
* funds via AllocationFactory_Allocate naming the facilitator as
|
|
118
|
-
* settlement.executor; the facilitator then submits
|
|
119
|
-
* Allocation_ExecuteTransfer (sponsored gas). See
|
|
120
|
-
* specs/scheme_exact_canton.upstream.md. */
|
|
121
|
-
transferMethod: "allocation-api";
|
|
122
|
-
/** The facilitator's own party id. Also bound as settlement.executor. */
|
|
123
|
-
facilitatorParty: string;
|
|
124
|
-
/** x402-ENVELOPE fee payer (alias of facilitatorParty). */
|
|
125
|
-
feePayer?: string;
|
|
126
|
-
/** x402-ENVELOPE method discriminator name (= "allocation-api"). */
|
|
127
|
-
assetTransferMethod?: "allocation-api";
|
|
128
|
-
synchronizerId: string;
|
|
129
|
-
/** The Allocation factory cid the client exercises
|
|
130
|
-
* AllocationFactory_Allocate against (resolved from the registry's
|
|
131
|
-
* POST /registry/allocation-instruction/v1/allocation-factory). */
|
|
132
|
-
allocationFactoryCid: string;
|
|
133
|
-
/** Hash-prefixed templateId of the AllocationFactory (informational;
|
|
134
|
-
* the resolved factoryId comes back in the registry response). */
|
|
135
|
-
allocationFactoryTemplateId: string;
|
|
136
|
-
instrumentId: {
|
|
137
|
-
admin: string;
|
|
138
|
-
id: string;
|
|
139
|
-
};
|
|
140
|
-
/** The party that will submit Allocation_ExecuteTransfer. For the
|
|
141
|
-
* sponsored flow this EQUALS facilitatorParty and is bound during
|
|
142
|
-
* verification (settlement.executor == facilitatorParty). */
|
|
143
|
-
executor: string;
|
|
144
|
-
/** Relative deadline (seconds from now) the client uses to compute
|
|
145
|
-
* the SettlementInfo.allocateBefore absolute time. */
|
|
146
|
-
allocateBeforeSeconds: number;
|
|
147
|
-
/** Relative deadline (seconds from now) for SettlementInfo.settleBefore.
|
|
148
|
-
* MUST be strictly after allocateBefore. */
|
|
149
|
-
settleBeforeSeconds: number;
|
|
150
|
-
memo?: string;
|
|
151
|
-
} | {
|
|
152
85
|
/** CIP-56 DVP "2-tx DIRECT" Allocation method (Design B). The payer LOCKS
|
|
153
86
|
* funds via AllocationFactory_Allocate naming the MERCHANT (payTo) as
|
|
154
87
|
* transferLeg.receiver AND the facilitator as settlement.executor; the
|
|
@@ -167,13 +100,6 @@ export type CantonPaymentRequirementsExtra = {
|
|
|
167
100
|
/** x402-ENVELOPE method discriminator name (= "allocation-direct"). */
|
|
168
101
|
assetTransferMethod?: "allocation-direct";
|
|
169
102
|
synchronizerId: string;
|
|
170
|
-
/** The Allocation factory cid the client exercises
|
|
171
|
-
* AllocationFactory_Allocate against (resolved from the registry's
|
|
172
|
-
* POST /registry/allocation-instruction/v1/allocation-factory). */
|
|
173
|
-
allocationFactoryCid: string;
|
|
174
|
-
/** Hash-prefixed templateId of the AllocationFactory (informational;
|
|
175
|
-
* the resolved factoryId comes back in the registry response). */
|
|
176
|
-
allocationFactoryTemplateId: string;
|
|
177
103
|
instrumentId: {
|
|
178
104
|
admin: string;
|
|
179
105
|
id: string;
|
|
@@ -200,59 +126,6 @@ export type CantonPaymentRequirementsExtra = {
|
|
|
200
126
|
* new emitters set BOTH (`payer` primary + `payerParty` legacy). Read via
|
|
201
127
|
* `payloadPayer` (prefer `payer`, fall back to `payerParty`). */
|
|
202
128
|
export type CantonPaymentPayload = {
|
|
203
|
-
transferMethod: "external-party-amulet-rules";
|
|
204
|
-
transferCommandCid: string;
|
|
205
|
-
/** Payer party id (phdargen naming, primary). */
|
|
206
|
-
payer?: string;
|
|
207
|
-
/** Legacy payer party id (deployed-facilitator compat). Read via payloadPayer. */
|
|
208
|
-
payerParty?: string;
|
|
209
|
-
nonce: number;
|
|
210
|
-
signatureProof?: string;
|
|
211
|
-
/** updateId of the TransferCommand_Create transaction (relay path only).
|
|
212
|
-
* When present, the facilitator records it for traffic-burn attribution
|
|
213
|
-
* alongside the Send updateId. Optional: absent for direct-key signers. */
|
|
214
|
-
createUpdateId?: string;
|
|
215
|
-
} | {
|
|
216
|
-
transferMethod: "cip56-transfer-factory";
|
|
217
|
-
/** Payer party id (phdargen naming, primary). */
|
|
218
|
-
payer?: string;
|
|
219
|
-
/** Legacy payer party id (deployed-facilitator compat). Read via payloadPayer. */
|
|
220
|
-
payerParty?: string;
|
|
221
|
-
/** Canton ledger updateId of the TransferFactory_Transfer exercise.
|
|
222
|
-
* Required when the registry returned
|
|
223
|
-
* TransferInstructionResult_Completed (settlement already on-ledger;
|
|
224
|
-
* the updateId is the proof). */
|
|
225
|
-
updateId?: string;
|
|
226
|
-
/** Contract id of a TransferInstruction returned when the result is
|
|
227
|
-
* TransferInstructionResult_Pending; /settle waits for it. */
|
|
228
|
-
transferInstructionCid?: string;
|
|
229
|
-
signatureProof?: string;
|
|
230
|
-
} | {
|
|
231
|
-
transferMethod: "allocation-api";
|
|
232
|
-
/** Payer party id (phdargen naming, primary). */
|
|
233
|
-
payer?: string;
|
|
234
|
-
/** Legacy payer party id (deployed-facilitator compat). Read via payloadPayer. */
|
|
235
|
-
payerParty?: string;
|
|
236
|
-
/** Contract id of the live Allocation (the _Completed case — Amulet
|
|
237
|
-
* creates it synchronously). This is the proof the facilitator verifies
|
|
238
|
-
* (participant ACS read) and then executes. */
|
|
239
|
-
allocationCid?: string;
|
|
240
|
-
/** Contract id of a still-pending AllocationInstruction (the _Pending
|
|
241
|
-
* case). Track A is sync-only: the facilitator rejects a pending-only
|
|
242
|
-
* payload with invalid_exact_canton_allocation_pending. */
|
|
243
|
-
allocationInstructionCid?: string;
|
|
244
|
-
/** Design A — the X402Escrow cid the facilitator exercises
|
|
245
|
-
* X402Escrow_Settle on; present for the escrow flow. When set, the
|
|
246
|
-
* standard /settle settles via the EscrowService's ATOMIC settleAtomic
|
|
247
|
-
* (v0.3.0: ONE X402Escrow_Settle tx that runs Allocation_ExecuteTransfer
|
|
248
|
-
* AND forwards facilitator->merchant in the same transaction) instead of
|
|
249
|
-
* the direct Allocation_ExecuteTransfer (which fails the 3-party auth).
|
|
250
|
-
* Absent → the plain sponsored allocation execute path. */
|
|
251
|
-
escrowCid?: string;
|
|
252
|
-
/** Optional Ed25519 proof over the prepared-tx hash of the
|
|
253
|
-
* AllocationFactory_Allocate exercise. */
|
|
254
|
-
signatureProof?: string;
|
|
255
|
-
} | {
|
|
256
129
|
/** CIP-56 DVP "2-tx DIRECT" (Design B). The payer LOCKED funds via
|
|
257
130
|
* AllocationFactory_Allocate with transferLeg.receiver = the MERCHANT
|
|
258
131
|
* (payTo) and settlement.executor = the facilitator; the facilitator then
|
|
@@ -283,6 +156,14 @@ export type CantonPaymentPayload = {
|
|
|
283
156
|
/** Optional Ed25519 proof over the prepared-tx hash of the
|
|
284
157
|
* AllocationFactory_Allocate exercise. */
|
|
285
158
|
signatureProof?: string;
|
|
159
|
+
/** updateId of the AllocationFactory_Allocate (the ALLOCATE/create tx, the
|
|
160
|
+
* FIRST of the two on-ledger DVP txs). allocation-direct is two GS-billed
|
|
161
|
+
* txs — the allocate (payer) then DirectSettlementConsent_Execute
|
|
162
|
+
* (facilitator). When present the facilitator records it for traffic-burn
|
|
163
|
+
* attribution ALONGSIDE the settle updateId so attribution covers BOTH txs
|
|
164
|
+
* (exactly like v1's createUpdateId above). Optional: absent for direct-key
|
|
165
|
+
* signers; the relay path surfaces it via the allocate's submission result. */
|
|
166
|
+
createUpdateId?: string;
|
|
286
167
|
};
|
|
287
168
|
/** Resource being paid for. Echoed from the server's 402 PAYMENT-REQUIRED
|
|
288
169
|
* header into every PaymentPayload per x402 v2. */
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,8CAA8C;AAC9C,MAAM,MAAM,aAAa,GACrB,eAAe,GACf,gBAAgB,GAChB,UAAU,MAAM,EAAE,CAAC;AAEvB;;;;;;4EAM4E;AAC5E,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,cAAc,CAAC;AAEnD;;;yCAGyC;AACzC,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAI3D;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,GAAG,MAAM,GAAG,SAAS,CAErB;A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