@cancore/contracts 0.2.0-rc.14 → 0.2.0-rc.17
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/README.md +37 -10
- package/dist/index.d.ts +113 -7
- package/dist/index.js +244 -14
- package/dist/index.js.map +1 -1
- package/dist/networks.d.ts +2 -1
- package/package.json +1 -1
- package/spec/constants.json +1 -1
- package/spec/protocol/asyncapi.json +62 -1
- package/spec/protocol/messages.schema.json +85 -5
- package/spec/protocol/rest.schema.json +89 -3
- package/spec/protocol/vectors/messages.json +99 -1
package/README.md
CHANGED
|
@@ -322,6 +322,7 @@ the Canton traffic. Two messages, on the WebSocket or as REST bodies:
|
|
|
322
322
|
| `delivery.fill` | `orderHash`, `attempt` | `DeliveryOrder_Fill` of a Canton ticket issued to the filler |
|
|
323
323
|
| `intent.settle` | `orderHash` | `SwapIntent_SettleWithProof` of a Canton-source order the filler delivered |
|
|
324
324
|
| `holdings.transfer` | `asset`, `amount`, `toParty` | `TransferFactory_Transfer` of its own holdings to a party it names; what its open delivery orders need stays |
|
|
325
|
+
| `preapproval.create` | `admin` | the party's transfer preapproval with the registry of the instrument admin `admin` (CNRX: `CnrxTransferPreapproval`, signed by the party), so a transfer to the party completes at once instead of waiting for it to accept |
|
|
325
326
|
|
|
326
327
|
`canton.prepare` → `canton.prepared` (`operationId`, `legs`, `summary`, `expiresAt`);
|
|
327
328
|
`canton.submit` (one Ed25519 signature per leg) → `canton.submitted`.
|
|
@@ -333,6 +334,8 @@ is only what Cancore says about it, so before signing a leg the node MUST:
|
|
|
333
334
|
prepared-transaction hashing of `hashingSchemeVersion`, decode the transaction and check it
|
|
334
335
|
against `summary` for the op: template and choice, acting and receiving parties, instrument,
|
|
335
336
|
amount;
|
|
337
|
+
for `preapproval.create` the one created preapproval — of the pinned registry package, receiver
|
|
338
|
+
its own party, the asked admin, nothing else in the transaction;
|
|
336
339
|
- `kind: 'topology'` (only in `party.allocate`; the schema refuses it in any other op) — recompute
|
|
337
340
|
the multihash over `topologyTransactions` and check that they create `summary.partyId` with
|
|
338
341
|
`summary.publicKey` as its only signing key, hosted on the Cancore participant.
|
|
@@ -345,11 +348,21 @@ never taken from `summary` alone: for `delivery.fill` the `TransferFactory_Trans
|
|
|
345
348
|
other leg is the fee to the operator — against the intent it delivered for.
|
|
346
349
|
|
|
347
350
|
On any difference it does not sign. The kind of a leg is closed: an unknown kind is refused. Submit is idempotent per `operationId`. REST: `POST /v1/filler/canton/prepare`,
|
|
348
|
-
`POST /v1/filler/canton/submit`; reads of the own party: `GET /v1/filler/canton/party
|
|
349
|
-
|
|
351
|
+
`POST /v1/filler/canton/submit`; reads of the own party: `GET /v1/filler/canton/party` (with
|
|
352
|
+
`preapprovals`, the party's live transfer preapprovals),
|
|
353
|
+
`/holdings`, `/delivery-orders`, and `/intents/{orderHash}` — the live Canton-source `SwapIntent`
|
|
354
|
+
naming the party as its filler, with its committed allocation, which the node checks before
|
|
355
|
+
`ticket.receipt` (V-C1…V-C6; 404 `UNKNOWN_TICKET` when none names it). Refusals: `CANTON_NOT_READY` (409), `CANTON_REFUSED` (422),
|
|
350
356
|
`CANTON_UNAVAILABLE` (503, retry), `OPERATION_EXPIRED` (410, prepare again), plus
|
|
351
357
|
`UNKNOWN_TICKET`, `TICKET_CLOSED` and `NOT_ELIGIBLE` for an operation on someone else's ticket or party.
|
|
352
358
|
|
|
359
|
+
The filler's own routes (§3.20): Cancore staff approve the routes a filler may serve; the
|
|
360
|
+
filler switches each approved route on or off itself. `GET /v1/filler/routes` answers
|
|
361
|
+
`routes.state` — every approved route with `active`; `POST /v1/filler/routes` takes `routes.set`
|
|
362
|
+
— the full list the filler serves from now on, sealed by its message key — applies it at once and
|
|
363
|
+
answers the new `routes.state`. A listed route that is not approved refuses the whole request
|
|
364
|
+
`ROUTE_NOT_APPROVED` (403) and nothing changes. Both are REST only, rate class `service`.
|
|
365
|
+
|
|
353
366
|
`FILLER_GATEWAYS` is where the gateway key and the ticket signers of each environment are
|
|
354
367
|
published. It is empty in the RC: no gateway key exists yet.
|
|
355
368
|
|
|
@@ -433,14 +446,11 @@ source provenance.
|
|
|
433
446
|
its `HEAD` as `CONTRACTS_RELEASE.commit` and refuses a directory that is not a checkout root or
|
|
434
447
|
has uncommitted changes, so the release cannot name a commit its data did not come from.
|
|
435
448
|
|
|
436
|
-
EVM
|
|
437
|
-
[
|
|
438
|
-
[#
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
as recorded by `CONTRACTS_RELEASE.commit` and `spec/constants.json`. Before publishing
|
|
442
|
-
rc.10, merge SDK [#91](https://github.com/Cancore-io/sdk/pull/91) and pass its checks.
|
|
443
|
-
For every subsequent upstream change, run the full sync from a clean checkout of the
|
|
449
|
+
This snapshot is fully synced from the clean, merged EVM `main` commit
|
|
450
|
+
[`2f681b9`](https://github.com/Cancore-io/evm-contracts/commit/2f681b9bb74db55c0fe9fec31282bca54b997985)
|
|
451
|
+
(EVM [#120](https://github.com/Cancore-io/evm-contracts/pull/120), the dev router records), as recorded
|
|
452
|
+
by `CONTRACTS_RELEASE.commit` and `spec/constants.json`. For every subsequent upstream change, run
|
|
453
|
+
the full sync from a clean checkout of the
|
|
444
454
|
actual merged `main` commit, commit the resulting pins, and rerun the checks before
|
|
445
455
|
publishing. This resync is mandatory for merge, squash and rebase alike.
|
|
446
456
|
|
|
@@ -455,6 +465,23 @@ Full documentation: <https://docs.cancore.io/sdk/contracts>
|
|
|
455
465
|
|
|
456
466
|
## Changes
|
|
457
467
|
|
|
468
|
+
- `0.2.0-rc.17` — Canton op `preapproval.create` (CAN-2904): `params {admin}`, `summary {party,
|
|
469
|
+
admin, instrumentAllowances, requestedAt, executeBefore}`, `result {preapprovalCid}` — the filler's
|
|
470
|
+
external party signs its own transfer preapproval with a registry, the one way it can be credited
|
|
471
|
+
directly (a CNRX mint or a transfer to it otherwise needs its signature to accept). `CantonParty`
|
|
472
|
+
gains optional `preapprovals` (`CantonPreapproval {admin, contractId, instrumentAllowances,
|
|
473
|
+
executeBefore}`). Additive.
|
|
474
|
+
- `0.2.0-rc.16` — the filler's own routes (CAN-2793, protocol §3.20): REST-only frames
|
|
475
|
+
`routes.set` (F→S, the full list of routes the filler serves, sealed by its message key) and
|
|
476
|
+
`routes.state` (S→F, every route approved for the filler with `active`); `GET` and
|
|
477
|
+
`POST /v1/filler/routes`; error code `ROUTE_NOT_APPROVED` (403); types `RouteRef`, `RoutesSet`,
|
|
478
|
+
`RoutesState`. Additive.
|
|
479
|
+
- `0.2.0-rc.15` — REST read `GET /v1/filler/canton/intents/{orderHash}` (CAN-1863): the live
|
|
480
|
+
Canton-source `SwapIntent` naming the filler's party, with its committed allocation by its
|
|
481
|
+
AllocationV2 view (`CantonIntent`, `CantonAllocation`, `CantonAllocationLeg`; `$defs`
|
|
482
|
+
`cantonIntent`, `cantonAllocation`). What a filler node checks before `ticket.receipt` on a Canton
|
|
483
|
+
source (V-C1…V-C6). Additive.
|
|
484
|
+
|
|
458
485
|
- `0.2.0-rc.14` — `CANTON_PARTICIPANTS`: the Cancore participant per environment, next to
|
|
459
486
|
`FILLER_GATEWAYS` (decision Ын-1, CAN-2352). A filler node checks its party's hosting against it
|
|
460
487
|
when it signs `party.allocate`. Devnet `Cancore-devnet-1::1220…524b`; testnet and mainnet `null`.
|
package/dist/index.d.ts
CHANGED
|
@@ -915,7 +915,7 @@ type WireAsset = Hex | {
|
|
|
915
915
|
id: string;
|
|
916
916
|
};
|
|
917
917
|
declare const DECLINE_REASONS: readonly ["NO_INVENTORY", "RISK_LIMIT", "PRICE_MOVED", "PAUSED", "OTHER", "TICKET_SIGNER_UNKNOWN", "TICKET_MISMATCH", "TICKET_TTL_TOO_SHORT", "TICKET_ISSUED_LATE", "TICKET_BEYOND_DEADLINE", "ESCROW_NOT_OPEN", "ESCROW_MISMATCH", "PROOF_WINDOW_TOO_SHORT", "SKEW_MARGIN_TOO_SHORT", "DRAW_MISMATCH"];
|
|
918
|
-
declare const ERROR_CODES: readonly ["BAD_REQUEST", "UNAUTHENTICATED", "UNSUPPORTED_VERSION", "UNSUPPORTED_TYPE", "BAD_SIGNATURE", "STALE_MESSAGE", "REPLAYED_MESSAGE", "TICKET_REFUSED", "UNKNOWN_REQUEST", "UNKNOWN_TICKET", "TICKET_CLOSED", "NOT_ELIGIBLE", "RATE_LIMITED", "INTERNAL", "ATTESTATIONS_NOT_READY", "CANTON_NOT_READY", "CANTON_REFUSED", "CANTON_UNAVAILABLE", "OPERATION_EXPIRED"];
|
|
918
|
+
declare const ERROR_CODES: readonly ["BAD_REQUEST", "UNAUTHENTICATED", "UNSUPPORTED_VERSION", "UNSUPPORTED_TYPE", "BAD_SIGNATURE", "STALE_MESSAGE", "REPLAYED_MESSAGE", "TICKET_REFUSED", "UNKNOWN_REQUEST", "UNKNOWN_TICKET", "TICKET_CLOSED", "NOT_ELIGIBLE", "RATE_LIMITED", "INTERNAL", "ATTESTATIONS_NOT_READY", "CANTON_NOT_READY", "CANTON_REFUSED", "CANTON_UNAVAILABLE", "OPERATION_EXPIRED", "ROUTE_NOT_APPROVED"];
|
|
919
919
|
/** HTTP status of each error code on the REST fallback. */
|
|
920
920
|
declare const ERROR_HTTP_STATUS: Readonly<Record<ErrorCode, number>>;
|
|
921
921
|
/** `error.reason` with `TICKET_REFUSED`: the pre-ticket check that failed (S-21). */
|
|
@@ -926,11 +926,12 @@ declare const EXEMPT_REASONS: readonly ["DESTINATION_HALTED", "GATEWAY_FAULT", "
|
|
|
926
926
|
declare const QUOTE_ACK_STATUSES: readonly ["COUNTED", "LATE", "SHORT_TTL"];
|
|
927
927
|
/** Final status of a quote, `GET /v1/filler/quotes`. */
|
|
928
928
|
declare const QUOTE_FINAL_STATUSES: readonly ["COUNTED", "LATE", "SHORT_TTL", "REPLACED", "BAD_SIG", "OUTLIER", "IN_BAND", "OUT_OF_BAND", "WON", "LOST"];
|
|
929
|
-
|
|
929
|
+
/** `penalty.applied.step`: a violation recorded, a ban, a ban lifted by Cancore staff (penalties.md §4.2). */
|
|
930
|
+
declare const PENALTY_STEPS: readonly ["RECORDED", "BANNED", "UNBANNED"];
|
|
930
931
|
declare const DRAW_CLOSED_BY: readonly ["OFFER_TIMEOUT", "OFFER_DECLINE", "TICKET_DECLINE", "TICKET_EXPIRED", "FILLED"];
|
|
931
932
|
declare const TICKET_LIST_STATUSES: readonly ["OFFERED", "ISSUED"];
|
|
932
933
|
/** The Canton operations of the filler's own party (§3.19): the backend prepares and submits, the node signs with its party key. */
|
|
933
|
-
declare const CANTON_OPS: readonly ["party.allocate", "registry.accept", "delivery.fill", "intent.settle", "holdings.transfer"];
|
|
934
|
+
declare const CANTON_OPS: readonly ["party.allocate", "registry.accept", "delivery.fill", "intent.settle", "holdings.transfer", "preapproval.create"];
|
|
934
935
|
/** `holdings.transfer` result: the receiver holds it, or a TransferInstruction waits for it to accept. */
|
|
935
936
|
declare const CANTON_TRANSFER_OUTCOMES: readonly ["COMPLETED", "PENDING"];
|
|
936
937
|
declare const CANTON_LEG_KINDS: readonly ["transaction", "topology"];
|
|
@@ -1259,6 +1260,10 @@ interface CantonOpParams {
|
|
|
1259
1260
|
amount: string;
|
|
1260
1261
|
toParty: string;
|
|
1261
1262
|
};
|
|
1263
|
+
/** The party's transfer preapproval with the registry of the instrument admin `admin`: transfers to it complete at once. */
|
|
1264
|
+
'preapproval.create': {
|
|
1265
|
+
admin: string;
|
|
1266
|
+
};
|
|
1262
1267
|
}
|
|
1263
1268
|
/** What the prepared legs do, by op: the node checks it before it signs. */
|
|
1264
1269
|
interface CantonOpSummary {
|
|
@@ -1318,6 +1323,18 @@ interface CantonOpSummary {
|
|
|
1318
1323
|
inputHoldingCids: string[];
|
|
1319
1324
|
executeBefore: DecString;
|
|
1320
1325
|
};
|
|
1326
|
+
'preapproval.create': {
|
|
1327
|
+
/** The receiver: the filler's own party. */
|
|
1328
|
+
party: string;
|
|
1329
|
+
/** The registry's instrument admin, as asked. */
|
|
1330
|
+
admin: string;
|
|
1331
|
+
/** Instrument ids the preapproval is limited to; empty: every instrument of the admin. */
|
|
1332
|
+
instrumentAllowances: string[];
|
|
1333
|
+
/** Unix s. */
|
|
1334
|
+
requestedAt: DecString;
|
|
1335
|
+
/** Unix s: the preapproval expires then; renew it before. */
|
|
1336
|
+
executeBefore: DecString;
|
|
1337
|
+
};
|
|
1321
1338
|
}
|
|
1322
1339
|
/** What the committed operation created, by op. */
|
|
1323
1340
|
interface CantonOpResult {
|
|
@@ -1335,6 +1352,9 @@ interface CantonOpResult {
|
|
|
1335
1352
|
outcome: (typeof CANTON_TRANSFER_OUTCOMES)[number];
|
|
1336
1353
|
transferInstructionCid?: string;
|
|
1337
1354
|
};
|
|
1355
|
+
'preapproval.create': {
|
|
1356
|
+
preapprovalCid: string;
|
|
1357
|
+
};
|
|
1338
1358
|
}
|
|
1339
1359
|
/**
|
|
1340
1360
|
* A prepared transaction to sign. The node MUST, before signing (§3.19): recompute `hash` from
|
|
@@ -1407,8 +1427,26 @@ type CantonSubmitted = {
|
|
|
1407
1427
|
result: CantonOpResult[K];
|
|
1408
1428
|
};
|
|
1409
1429
|
}[CantonOp];
|
|
1410
|
-
|
|
1411
|
-
|
|
1430
|
+
/** A route of the catalogue: CAIP-2 source and destination. */
|
|
1431
|
+
interface RouteRef {
|
|
1432
|
+
src: string;
|
|
1433
|
+
dst: string;
|
|
1434
|
+
}
|
|
1435
|
+
/** The full list of routes the filler serves from now on (§3.20); each must be approved for it, else ROUTE_NOT_APPROVED and nothing changes. */
|
|
1436
|
+
interface RoutesSet extends F2SBase {
|
|
1437
|
+
type: 'routes.set';
|
|
1438
|
+
routes: RouteRef[];
|
|
1439
|
+
}
|
|
1440
|
+
/** Every route approved for the filler; it is asked for quotes on a route only while `active`. */
|
|
1441
|
+
interface RoutesState extends S2FBase {
|
|
1442
|
+
type: 'routes.state';
|
|
1443
|
+
fillerId: string;
|
|
1444
|
+
routes: (RouteRef & {
|
|
1445
|
+
active: boolean;
|
|
1446
|
+
})[];
|
|
1447
|
+
}
|
|
1448
|
+
type S2FMessage = AuthChallenge | AuthOk | PingS2F | PongS2F | ErrorMessage | EpochWeights | QuoteRequest | QuoteAck | QuoteReconfirm | TicketOffer | TicketIntentAck | TicketIssued | TicketExpired | OrderSettled | PenaltyApplied | SettleAttestations | CantonPrepared | CantonSubmitted | RoutesState;
|
|
1449
|
+
type F2SMessage = AuthResponse | PingF2S | PongF2S | ErrorF2S | QuoteMessage | QuoteReconfirmReply | TicketIntentMessage | TicketDecline | TicketReceiptMessage | FillReported | CantonPrepare | CantonSubmit | RoutesSet;
|
|
1412
1450
|
/** `POST /v1/filler/auth`: the bearer token of REST and of the WebSocket upgrade, bound to (fillerId, message key). */
|
|
1413
1451
|
interface AuthToken {
|
|
1414
1452
|
token: string;
|
|
@@ -1456,6 +1494,13 @@ interface PenaltyRecord {
|
|
|
1456
1494
|
details: Record<string, unknown>;
|
|
1457
1495
|
}
|
|
1458
1496
|
type PenaltyList = Page<PenaltyRecord>;
|
|
1497
|
+
/** A live transfer preapproval of the party with one registry (`preapproval.create`); `executeBefore` in unix s (the Daml Time cut to seconds). */
|
|
1498
|
+
interface CantonPreapproval {
|
|
1499
|
+
admin: string;
|
|
1500
|
+
contractId: string;
|
|
1501
|
+
instrumentAllowances: string[];
|
|
1502
|
+
executeBefore: DecString;
|
|
1503
|
+
}
|
|
1459
1504
|
/** `GET /v1/filler/canton/party`: the party registered for the fillerId and its `FillerRegistryEntry`. */
|
|
1460
1505
|
interface CantonParty {
|
|
1461
1506
|
party: string | null;
|
|
@@ -1465,6 +1510,8 @@ interface CantonParty {
|
|
|
1465
1510
|
proposalCid: string | null;
|
|
1466
1511
|
entryCid: string | null;
|
|
1467
1512
|
};
|
|
1513
|
+
/** The party's live transfer preapprovals, one per registry admin at most; absent from a gateway that predates them. */
|
|
1514
|
+
preapprovals?: CantonPreapproval[];
|
|
1468
1515
|
}
|
|
1469
1516
|
interface CantonHolding {
|
|
1470
1517
|
contractId: string;
|
|
@@ -1486,6 +1533,64 @@ interface CantonDeliveryOrder {
|
|
|
1486
1533
|
}
|
|
1487
1534
|
/** `GET /v1/filler/canton/delivery-orders`. */
|
|
1488
1535
|
type CantonDeliveryOrderList = Page<CantonDeliveryOrder>;
|
|
1536
|
+
/** One leg side of an AllocationV2 view; `otherside` is the owner of the other account. */
|
|
1537
|
+
interface CantonAllocationLeg {
|
|
1538
|
+
legId: string;
|
|
1539
|
+
side: 'SENDER' | 'RECEIVER';
|
|
1540
|
+
otherside: string | null;
|
|
1541
|
+
amount: string;
|
|
1542
|
+
instrumentId: string;
|
|
1543
|
+
}
|
|
1544
|
+
/** A Token Standard V2 allocation by its view, as the operator (an executor) reads it. */
|
|
1545
|
+
interface CantonAllocation {
|
|
1546
|
+
contractId: string;
|
|
1547
|
+
/** `<package id>:<module>:<entity>`. */
|
|
1548
|
+
templateId: string;
|
|
1549
|
+
admin: string;
|
|
1550
|
+
/** The owner of the authorizer account. */
|
|
1551
|
+
authorizer: string | null;
|
|
1552
|
+
committed: boolean;
|
|
1553
|
+
settlementId: string;
|
|
1554
|
+
executors: string[];
|
|
1555
|
+
/** Unix seconds; null when the allocation has none. */
|
|
1556
|
+
settlementDeadline: DecString | null;
|
|
1557
|
+
legs: CantonAllocationLeg[];
|
|
1558
|
+
}
|
|
1559
|
+
/**
|
|
1560
|
+
* `GET /v1/filler/canton/intents/{orderHash}`: the live Canton-source `SwapIntent` naming the party as its
|
|
1561
|
+
* filler, as that party sees it, and its committed allocation (null when not live). The node checks it
|
|
1562
|
+
* before `ticket.receipt` (fillers.md V-C1…V-C6) and recomputes `orderHash` from these fields itself.
|
|
1563
|
+
*/
|
|
1564
|
+
interface CantonIntent {
|
|
1565
|
+
intentCid: string;
|
|
1566
|
+
templateId: string;
|
|
1567
|
+
orderHash: Hex;
|
|
1568
|
+
owner: string;
|
|
1569
|
+
operator: string;
|
|
1570
|
+
filler: string;
|
|
1571
|
+
fillerId: string;
|
|
1572
|
+
requestId: string;
|
|
1573
|
+
asset: CantonAsset;
|
|
1574
|
+
/** The committed give, fee-inclusive, Daml Decimal. */
|
|
1575
|
+
amount: string;
|
|
1576
|
+
/** `Destination.Evm`. */
|
|
1577
|
+
destination: {
|
|
1578
|
+
chainId: DecString;
|
|
1579
|
+
token: Hex;
|
|
1580
|
+
recipient: Hex;
|
|
1581
|
+
};
|
|
1582
|
+
minReceived: {
|
|
1583
|
+
units: DecString;
|
|
1584
|
+
decimals: number;
|
|
1585
|
+
};
|
|
1586
|
+
feeRate: string;
|
|
1587
|
+
fillDeadline: DecString;
|
|
1588
|
+
refundAfter: DecString;
|
|
1589
|
+
/** The owner's signing time: the order's `createdAt`. */
|
|
1590
|
+
orderCreatedAt: DecString;
|
|
1591
|
+
allocationCid: string;
|
|
1592
|
+
allocation: CantonAllocation | null;
|
|
1593
|
+
}
|
|
1489
1594
|
interface DrawAttempt {
|
|
1490
1595
|
attempt: number;
|
|
1491
1596
|
tBase: DecString;
|
|
@@ -1749,7 +1854,7 @@ declare const CONTRACTS_RELEASE: {
|
|
|
1749
1854
|
readonly version: "1.4.0-dev";
|
|
1750
1855
|
readonly releaseChannel: "dev";
|
|
1751
1856
|
readonly updatedAt: "2026-07-24T19:55:00Z";
|
|
1752
|
-
readonly commit: "
|
|
1857
|
+
readonly commit: "2f681b9bb74db55c0fe9fec31282bca54b997985";
|
|
1753
1858
|
};
|
|
1754
1859
|
/**
|
|
1755
1860
|
* Per contract, the build of the release, as evm-contracts
|
|
@@ -1882,4 +1987,5 @@ declare const BYTECODE_HASHES: {
|
|
|
1882
1987
|
/** Decode a revert's 4-byte selector into the custom error it names, if it is one of ours. */
|
|
1883
1988
|
declare function describeRevert(selectorOrData: string, tables: ReadonlyArray<Readonly<Record<string, string>>>): string | undefined;
|
|
1884
1989
|
|
|
1885
|
-
export { ASYNCAPI,
|
|
1990
|
+
export { ASYNCAPI, BPS, BUILD_HASHES, BYTECODE_HASHES, CANTON_LEG_KINDS, CANTON_OPS, CANTON_ORIGIN_ID, CANTON_PARTICIPANTS, CANTON_REGISTRY_STATES, CANTON_SOURCE_ANCHOR, CANTON_TICKET_RECEIPT_TYPES, CANTON_TRANSFER_OUTCOMES, CONTRACTS_RELEASE, DAML_NUMERIC_SCALE, DECLINE_REASONS, DEPLOYMENTS, DRAND_QUICKNET, DRAW_CLOSED_BY, EIP2294_MAX_CHAIN_ID, ERROR_CODES, ERROR_HTTP_STATUS, EXEMPT_REASONS, EXPIRED_RESULTS, FEE_CLAIM_DOMAIN_NAME, FEE_CLAIM_DOMAIN_VERSION, FEE_CLAIM_TYPES, FILLER_AUTH_TYPES, FILLER_CLOSE_CODES, FILLER_GATEWAYS, FILLER_ID_PATTERN, FILLER_KEY_REGISTRATION_TYPES, FILLER_MESSAGE_TYPES, FILLER_PROTOCOL_DOMAIN, FILLER_QUOTE_TYPES, FILLER_UPGRADE_REFUSALS, FILLER_WS_BEARER_PREFIX, FILLER_WS_SUBPROTOCOL, FILL_PROOF_DOMAIN, FILL_PROOF_TYPES, FILL_PROOF_TYPE_STRING, FILL_TICKET_DOMAIN, FILL_TICKET_TYPES, GATEWAY_MESSAGE_TYPES, GRACE, INSTRUMENT_LABEL_TAG, MAX_FEE_BPS, MAX_FILL_TTL, MAX_PROOF_WINDOW, MAX_SIG_TTL, MESSAGE_DIRECTIONS, MIN_FILL_TTL, ORDER_TYPES, OWNER_LABEL_TAG, PENALTY_STEPS, PERMIT2_ADDRESS, PERMIT2_WITNESS_TYPE_STRING, PERMIT_WITNESS_TYPES, PROOF_KIND_ATTESTATION, PROTOCOL_SCHEMAS, PROTOCOL_VERSION, QUOTE_ACK_STATUSES, QUOTE_FINAL_STATUSES, QUOTE_TYPES, REST_ENDPOINTS, REST_ONLY_TYPES, SCHEMA_VOCABULARY, SET_DELAY, STAKE_BINDING_TYPES, TICKET_INTENT_TYPES, TICKET_LIST_STATUSES, TICKET_RECEIPT_TYPES, TICKET_REFUSED_REASONS, buildCantonSourceOrder, cantonInclusiveFeeSplit, cantonNetworkOfDestination, cantonSigEntries, cantonTicketReceipt, deliveryOrderCidHash, deploymentOf, describeRevert, drawValue, drawWinner, encodeCantonAmount, encodeCantonDestination, encodeCantonOutputAsset, encodeCantonRecipient, encodeType, evmAddressFromRepayTo, feeClaimDomain, fillProofDomain, fillerEnvelopeError, fillerIdHash, fillerMessageBodyHash, fillerWsProtocols, firstRoundAtOrAfter, gatewayBodyHash, hashCantonTicketReceipt, hashDomain, hashFillProof, hashFillTicket, hashFillerKeyRegistration, hashFillerMessage, hashFillerQuote, hashOrder, hashPermitWitness, hashStruct, hashTicketIntent, hashTypedData, inclusiveFeeSplit, isCantonOriginId, isCantonSource, isEoaSignature, isEvmRepayTo, jcs, messageIdRetainUntil, messageSchemaRef, permit2Domain, repayToFromEvm, repayToFromParty, requestIdHash, routerDomain, settleAttestationsErrors, settleAttestationsPayload, settleAttestationsPayloadHash, settleSigs, sourceOrderHash, typeHash };
|
|
1991
|
+
export type { AttestationCanton, AttestationEvm, AttestationsResponse, AuthChallenge, AuthOk, AuthResponse, AuthToken, CantonAllocation, CantonAllocationLeg, CantonAsset, CantonDeliveryOrder, CantonDeliveryOrderList, CantonHolding, CantonHoldingList, CantonIntent, CantonLeg, CantonLegKind, CantonLegTopology, CantonLegTransaction, CantonNetwork, CantonOp, CantonOpParams, CantonOpResult, CantonOpSummary, CantonParty, CantonPreapproval, CantonPrepare, CantonPrepared, CantonRegistryState, CantonSignature, CantonSourceIntent, CantonSourceOrder, CantonSubmit, CantonSubmitted, CantonTicketReceipt, ChallengeQuery, DecString, DeclineReason, DeploymentEnv, DrawAttempt, DrawCandidate, DrawClosedBy, DrawOutcome, DrawRecord, EpochLeaf, EpochRecord, EpochWeights, ErrorCode, ErrorF2S, ErrorMessage, EvmDeployment, ExemptReason, ExpiredResult, F2SBase, F2SEnvelope, F2SMessage, FeeClaim, FeeSplit, FillProof, FillProofJson, FillReported, FillTicket, FillerAuth, FillerCloseCode, FillerEnvelopeContext, FillerGateway, FillerKeyRegistration, FillerMessage, FillerQuote, FillerStats, GatewayInfo, GatewayMessage, Hex, JsonSchema, JsonValue, MessageDirection, Order, OrderDomain, OrderJson, OrderSettled, Page, PenaltyApplied, PenaltyList, PenaltyRecord, PenaltyStep, PermitWitness, Ping, PingF2S, PingS2F, Pong, PongF2S, PongS2F, Quote, QuoteAck, QuoteAckStatus, QuoteFinalStatus, QuoteList, QuoteMessage, QuoteReconfirm, QuoteReconfirmReply, QuoteRecord, QuoteRequest, RestEndpoint, RouteRef, RoutesSet, RoutesState, S2FBase, S2FMessage, SettleAttestations, SettleAttestationsPayload, SignedFillerKeyRegistration, StakeBinding, StakeBindingRequest, TicketDecline, TicketExpired, TicketIntent, TicketIntentAck, TicketIntentMessage, TicketIssued, TicketIssuedCanton, TicketIssuedEvm, TicketJson, TicketList, TicketOffer, TicketReceipt, TicketReceiptCanton, TicketReceiptEvm, TicketReceiptMessage, TicketRefusedReason, TimeMs, TypedDataDomain, TypedDataInput, TypedDataTypes, TypedField, TypedValue, UintLike, UnsignedErrorBody, WireAsset };
|