@silvana-one/orderbook 1.1.39 → 1.1.41
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/node/index.cjs +112 -17
- package/dist/node/orderbook.d.ts +7 -1
- package/dist/node/orderbook.js +10 -1
- package/dist/node/orderbook.js.map +1 -1
- package/dist/node/proto/silvana/ledger/v1/ledger_pb.d.ts +635 -1
- package/dist/node/proto/silvana/ledger/v1/ledger_pb.js +124 -13
- package/dist/node/proto/silvana/ledger/v1/ledger_pb.js.map +1 -1
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.d.ts +52 -0
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.js +11 -1
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.d.ts +65 -1
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.js +19 -3
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.js.map +1 -1
- package/dist/node/settlement.d.ts +9 -2
- package/dist/node/settlement.js +11 -2
- package/dist/node/settlement.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/orderbook.d.ts +7 -1
- package/dist/web/orderbook.js +10 -1
- package/dist/web/orderbook.js.map +1 -1
- package/dist/web/proto/silvana/ledger/v1/ledger_pb.d.ts +635 -1
- package/dist/web/proto/silvana/ledger/v1/ledger_pb.js +124 -13
- package/dist/web/proto/silvana/ledger/v1/ledger_pb.js.map +1 -1
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.d.ts +52 -0
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.js +11 -1
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.d.ts +65 -1
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.js +19 -3
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.js.map +1 -1
- package/dist/web/settlement.d.ts +9 -2
- package/dist/web/settlement.js +11 -2
- package/dist/web/settlement.js.map +1 -1
- package/package.json +1 -1
- package/src/orderbook.ts +14 -0
- package/src/proto/silvana/ledger/v1/ledger_pb.ts +734 -13
- package/src/proto/silvana/orderbook/v1/orderbook_pb.ts +62 -1
- package/src/proto/silvana/settlement/v1/settlement_pb.ts +77 -3
- package/src/settlement.ts +19 -0
|
@@ -1093,6 +1093,12 @@ export type PrepareTransactionRequest = Message<"silvana.ledger.v1.PrepareTransa
|
|
|
1093
1093
|
*/
|
|
1094
1094
|
value: SplitCcParams;
|
|
1095
1095
|
case: "splitCc";
|
|
1096
|
+
} | {
|
|
1097
|
+
/**
|
|
1098
|
+
* @generated from field: silvana.ledger.v1.ExecuteMultiCallParams execute_multicall = 22;
|
|
1099
|
+
*/
|
|
1100
|
+
value: ExecuteMultiCallParams;
|
|
1101
|
+
case: "executeMulticall";
|
|
1096
1102
|
} | {
|
|
1097
1103
|
case: undefined;
|
|
1098
1104
|
value?: undefined;
|
|
@@ -1405,6 +1411,628 @@ export type SplitCcParams = Message<"silvana.ledger.v1.SplitCcParams"> & {
|
|
|
1405
1411
|
* Use `create(SplitCcParamsSchema)` to create a new message.
|
|
1406
1412
|
*/
|
|
1407
1413
|
export declare const SplitCcParamsSchema: GenMessage<SplitCcParams>;
|
|
1414
|
+
/**
|
|
1415
|
+
* Execute_MultiCall — atomic batch of operations via MultiCall DAR nonconsuming choice.
|
|
1416
|
+
* Operations are executed sequentially within a single Canton transaction.
|
|
1417
|
+
* Amulet and holdings pools are threaded through operations (change from one feeds the next).
|
|
1418
|
+
*
|
|
1419
|
+
* @generated from message silvana.ledger.v1.ExecuteMultiCallParams
|
|
1420
|
+
*/
|
|
1421
|
+
export type ExecuteMultiCallParams = Message<"silvana.ledger.v1.ExecuteMultiCallParams"> & {
|
|
1422
|
+
/**
|
|
1423
|
+
* Ordered list of operations to execute
|
|
1424
|
+
*
|
|
1425
|
+
* @generated from field: repeated silvana.ledger.v1.MultiCallOp operations = 1;
|
|
1426
|
+
*/
|
|
1427
|
+
operations: MultiCallOp[];
|
|
1428
|
+
/**
|
|
1429
|
+
* Input amulet pool (for CC operations)
|
|
1430
|
+
*
|
|
1431
|
+
* @generated from field: repeated string amulet_cids = 2;
|
|
1432
|
+
*/
|
|
1433
|
+
amuletCids: string[];
|
|
1434
|
+
/**
|
|
1435
|
+
* Input holdings pool (for CIP-56 operations)
|
|
1436
|
+
*
|
|
1437
|
+
* @generated from field: repeated string holding_cids = 3;
|
|
1438
|
+
*/
|
|
1439
|
+
holdingCids: string[];
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* Describes the message silvana.ledger.v1.ExecuteMultiCallParams.
|
|
1443
|
+
* Use `create(ExecuteMultiCallParamsSchema)` to create a new message.
|
|
1444
|
+
*/
|
|
1445
|
+
export declare const ExecuteMultiCallParamsSchema: GenMessage<ExecuteMultiCallParams>;
|
|
1446
|
+
/**
|
|
1447
|
+
* A single operation within an Execute_MultiCall batch.
|
|
1448
|
+
* Mirrors all 16 Daml MultiCallOp variants from multicall-v0 DAR.
|
|
1449
|
+
*
|
|
1450
|
+
* @generated from message silvana.ledger.v1.MultiCallOp
|
|
1451
|
+
*/
|
|
1452
|
+
export type MultiCallOp = Message<"silvana.ledger.v1.MultiCallOp"> & {
|
|
1453
|
+
/**
|
|
1454
|
+
* @generated from oneof silvana.ledger.v1.MultiCallOp.op
|
|
1455
|
+
*/
|
|
1456
|
+
op: {
|
|
1457
|
+
/**
|
|
1458
|
+
* CC operations
|
|
1459
|
+
*
|
|
1460
|
+
* @generated from field: silvana.ledger.v1.McBatchPay batch_pay = 1;
|
|
1461
|
+
*/
|
|
1462
|
+
value: McBatchPay;
|
|
1463
|
+
case: "batchPay";
|
|
1464
|
+
} | {
|
|
1465
|
+
/**
|
|
1466
|
+
* @generated from field: silvana.ledger.v1.McSplitAmulet split_amulet = 2;
|
|
1467
|
+
*/
|
|
1468
|
+
value: McSplitAmulet;
|
|
1469
|
+
case: "splitAmulet";
|
|
1470
|
+
} | {
|
|
1471
|
+
/**
|
|
1472
|
+
* @generated from field: silvana.ledger.v1.McCreateTransferOffer create_transfer_offer = 11;
|
|
1473
|
+
*/
|
|
1474
|
+
value: McCreateTransferOffer;
|
|
1475
|
+
case: "createTransferOffer";
|
|
1476
|
+
} | {
|
|
1477
|
+
/**
|
|
1478
|
+
* @generated from field: silvana.ledger.v1.McUnlockExpiredAmulet unlock_expired_amulet = 12;
|
|
1479
|
+
*/
|
|
1480
|
+
value: McUnlockExpiredAmulet;
|
|
1481
|
+
case: "unlockExpiredAmulet";
|
|
1482
|
+
} | {
|
|
1483
|
+
/**
|
|
1484
|
+
* DVP operations
|
|
1485
|
+
*
|
|
1486
|
+
* @generated from field: silvana.ledger.v1.McProposeDvp propose_dvp = 3;
|
|
1487
|
+
*/
|
|
1488
|
+
value: McProposeDvp;
|
|
1489
|
+
case: "proposeDvp";
|
|
1490
|
+
} | {
|
|
1491
|
+
/**
|
|
1492
|
+
* @generated from field: silvana.ledger.v1.McAcceptDvp accept_dvp = 4;
|
|
1493
|
+
*/
|
|
1494
|
+
value: McAcceptDvp;
|
|
1495
|
+
case: "acceptDvp";
|
|
1496
|
+
} | {
|
|
1497
|
+
/**
|
|
1498
|
+
* @generated from field: silvana.ledger.v1.McAllocate allocate = 5;
|
|
1499
|
+
*/
|
|
1500
|
+
value: McAllocate;
|
|
1501
|
+
case: "allocate";
|
|
1502
|
+
} | {
|
|
1503
|
+
/**
|
|
1504
|
+
* @generated from field: silvana.ledger.v1.McAllocateCC allocate_cc = 6;
|
|
1505
|
+
*/
|
|
1506
|
+
value: McAllocateCC;
|
|
1507
|
+
case: "allocateCc";
|
|
1508
|
+
} | {
|
|
1509
|
+
/**
|
|
1510
|
+
* @generated from field: silvana.ledger.v1.McAcceptDvpAndAllocate accept_dvp_and_allocate = 7;
|
|
1511
|
+
*/
|
|
1512
|
+
value: McAcceptDvpAndAllocate;
|
|
1513
|
+
case: "acceptDvpAndAllocate";
|
|
1514
|
+
} | {
|
|
1515
|
+
/**
|
|
1516
|
+
* @generated from field: silvana.ledger.v1.McAcceptDvpAndAllocateCC accept_dvp_and_allocate_cc = 8;
|
|
1517
|
+
*/
|
|
1518
|
+
value: McAcceptDvpAndAllocateCC;
|
|
1519
|
+
case: "acceptDvpAndAllocateCc";
|
|
1520
|
+
} | {
|
|
1521
|
+
/**
|
|
1522
|
+
* CIP-56 operations
|
|
1523
|
+
*
|
|
1524
|
+
* @generated from field: silvana.ledger.v1.McTransfer transfer = 9;
|
|
1525
|
+
*/
|
|
1526
|
+
value: McTransfer;
|
|
1527
|
+
case: "transfer";
|
|
1528
|
+
} | {
|
|
1529
|
+
/**
|
|
1530
|
+
* @generated from field: silvana.ledger.v1.McAcceptTransferInstruction accept_transfer_instruction = 14;
|
|
1531
|
+
*/
|
|
1532
|
+
value: McAcceptTransferInstruction;
|
|
1533
|
+
case: "acceptTransferInstruction";
|
|
1534
|
+
} | {
|
|
1535
|
+
/**
|
|
1536
|
+
* @generated from field: silvana.ledger.v1.McWithdrawAllocation withdraw_allocation = 15;
|
|
1537
|
+
*/
|
|
1538
|
+
value: McWithdrawAllocation;
|
|
1539
|
+
case: "withdrawAllocation";
|
|
1540
|
+
} | {
|
|
1541
|
+
/**
|
|
1542
|
+
* Preapproval / onboarding
|
|
1543
|
+
*
|
|
1544
|
+
* @generated from field: silvana.ledger.v1.McCreateTransferPreapproval create_transfer_preapproval = 10;
|
|
1545
|
+
*/
|
|
1546
|
+
value: McCreateTransferPreapproval;
|
|
1547
|
+
case: "createTransferPreapproval";
|
|
1548
|
+
} | {
|
|
1549
|
+
/**
|
|
1550
|
+
* @generated from field: silvana.ledger.v1.McCreateTransferPreapprovalProposal create_transfer_preapproval_proposal = 13;
|
|
1551
|
+
*/
|
|
1552
|
+
value: McCreateTransferPreapprovalProposal;
|
|
1553
|
+
case: "createTransferPreapprovalProposal";
|
|
1554
|
+
} | {
|
|
1555
|
+
/**
|
|
1556
|
+
* @generated from field: silvana.ledger.v1.McCreateUserServiceRequest create_user_service_request = 16;
|
|
1557
|
+
*/
|
|
1558
|
+
value: McCreateUserServiceRequest;
|
|
1559
|
+
case: "createUserServiceRequest";
|
|
1560
|
+
} | {
|
|
1561
|
+
case: undefined;
|
|
1562
|
+
value?: undefined;
|
|
1563
|
+
};
|
|
1564
|
+
};
|
|
1565
|
+
/**
|
|
1566
|
+
* Describes the message silvana.ledger.v1.MultiCallOp.
|
|
1567
|
+
* Use `create(MultiCallOpSchema)` to create a new message.
|
|
1568
|
+
*/
|
|
1569
|
+
export declare const MultiCallOpSchema: GenMessage<MultiCallOp>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Batch payment to multiple recipients (using TransferPreapprovals)
|
|
1572
|
+
*
|
|
1573
|
+
* @generated from message silvana.ledger.v1.McBatchPay
|
|
1574
|
+
*/
|
|
1575
|
+
export type McBatchPay = Message<"silvana.ledger.v1.McBatchPay"> & {
|
|
1576
|
+
/**
|
|
1577
|
+
* @generated from field: repeated silvana.ledger.v1.McPaymentTarget targets = 1;
|
|
1578
|
+
*/
|
|
1579
|
+
targets: McPaymentTarget[];
|
|
1580
|
+
};
|
|
1581
|
+
/**
|
|
1582
|
+
* Describes the message silvana.ledger.v1.McBatchPay.
|
|
1583
|
+
* Use `create(McBatchPaySchema)` to create a new message.
|
|
1584
|
+
*/
|
|
1585
|
+
export declare const McBatchPaySchema: GenMessage<McBatchPay>;
|
|
1586
|
+
/**
|
|
1587
|
+
* @generated from message silvana.ledger.v1.McPaymentTarget
|
|
1588
|
+
*/
|
|
1589
|
+
export type McPaymentTarget = Message<"silvana.ledger.v1.McPaymentTarget"> & {
|
|
1590
|
+
/**
|
|
1591
|
+
* Receiver party ID (server resolves preapproval CID)
|
|
1592
|
+
*
|
|
1593
|
+
* @generated from field: string receiver_party = 1;
|
|
1594
|
+
*/
|
|
1595
|
+
receiverParty: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* Decimal string amount in CC
|
|
1598
|
+
*
|
|
1599
|
+
* @generated from field: string amount = 2;
|
|
1600
|
+
*/
|
|
1601
|
+
amount: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Optional payment description
|
|
1604
|
+
*
|
|
1605
|
+
* @generated from field: optional string description = 3;
|
|
1606
|
+
*/
|
|
1607
|
+
description?: string;
|
|
1608
|
+
};
|
|
1609
|
+
/**
|
|
1610
|
+
* Describes the message silvana.ledger.v1.McPaymentTarget.
|
|
1611
|
+
* Use `create(McPaymentTargetSchema)` to create a new message.
|
|
1612
|
+
*/
|
|
1613
|
+
export declare const McPaymentTargetSchema: GenMessage<McPaymentTarget>;
|
|
1614
|
+
/**
|
|
1615
|
+
* Split amulets into equal parts (Daml: Op_SplitAmulet)
|
|
1616
|
+
* Server injects amuletRulesCid, openMiningRoundCid, expectedDso from scan API context.
|
|
1617
|
+
*
|
|
1618
|
+
* @generated from message silvana.ledger.v1.McSplitAmulet
|
|
1619
|
+
*/
|
|
1620
|
+
export type McSplitAmulet = Message<"silvana.ledger.v1.McSplitAmulet"> & {
|
|
1621
|
+
/**
|
|
1622
|
+
* Decimal amount per output amulet
|
|
1623
|
+
*
|
|
1624
|
+
* @generated from field: string amount = 1;
|
|
1625
|
+
*/
|
|
1626
|
+
amount: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* Number of output amulets
|
|
1629
|
+
*
|
|
1630
|
+
* @generated from field: uint32 count = 2;
|
|
1631
|
+
*/
|
|
1632
|
+
count: number;
|
|
1633
|
+
};
|
|
1634
|
+
/**
|
|
1635
|
+
* Describes the message silvana.ledger.v1.McSplitAmulet.
|
|
1636
|
+
* Use `create(McSplitAmuletSchema)` to create a new message.
|
|
1637
|
+
*/
|
|
1638
|
+
export declare const McSplitAmuletSchema: GenMessage<McSplitAmulet>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Create a CC transfer offer (Daml: Op_CreateTransferOffer)
|
|
1641
|
+
* Server injects offerDso from scan API context.
|
|
1642
|
+
*
|
|
1643
|
+
* @generated from message silvana.ledger.v1.McCreateTransferOffer
|
|
1644
|
+
*/
|
|
1645
|
+
export type McCreateTransferOffer = Message<"silvana.ledger.v1.McCreateTransferOffer"> & {
|
|
1646
|
+
/**
|
|
1647
|
+
* Receiver party ID
|
|
1648
|
+
*
|
|
1649
|
+
* @generated from field: string receiver = 1;
|
|
1650
|
+
*/
|
|
1651
|
+
receiver: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* Decimal string amount in CC
|
|
1654
|
+
*
|
|
1655
|
+
* @generated from field: string amount = 2;
|
|
1656
|
+
*/
|
|
1657
|
+
amount: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* Transfer description
|
|
1660
|
+
*
|
|
1661
|
+
* @generated from field: string description = 3;
|
|
1662
|
+
*/
|
|
1663
|
+
description: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* ISO8601 expiry timestamp
|
|
1666
|
+
*
|
|
1667
|
+
* @generated from field: string expires_at = 4;
|
|
1668
|
+
*/
|
|
1669
|
+
expiresAt: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* Client-provided tracking ID
|
|
1672
|
+
*
|
|
1673
|
+
* @generated from field: string tracking_id = 5;
|
|
1674
|
+
*/
|
|
1675
|
+
trackingId: string;
|
|
1676
|
+
};
|
|
1677
|
+
/**
|
|
1678
|
+
* Describes the message silvana.ledger.v1.McCreateTransferOffer.
|
|
1679
|
+
* Use `create(McCreateTransferOfferSchema)` to create a new message.
|
|
1680
|
+
*/
|
|
1681
|
+
export declare const McCreateTransferOfferSchema: GenMessage<McCreateTransferOffer>;
|
|
1682
|
+
/**
|
|
1683
|
+
* Unlock an expired locked amulet (Daml: Op_UnlockExpiredAmulet)
|
|
1684
|
+
* Server injects openRoundCid from scan API context.
|
|
1685
|
+
*
|
|
1686
|
+
* @generated from message silvana.ledger.v1.McUnlockExpiredAmulet
|
|
1687
|
+
*/
|
|
1688
|
+
export type McUnlockExpiredAmulet = Message<"silvana.ledger.v1.McUnlockExpiredAmulet"> & {
|
|
1689
|
+
/**
|
|
1690
|
+
* @generated from field: string locked_amulet_cid = 1;
|
|
1691
|
+
*/
|
|
1692
|
+
lockedAmuletCid: string;
|
|
1693
|
+
};
|
|
1694
|
+
/**
|
|
1695
|
+
* Describes the message silvana.ledger.v1.McUnlockExpiredAmulet.
|
|
1696
|
+
* Use `create(McUnlockExpiredAmuletSchema)` to create a new message.
|
|
1697
|
+
*/
|
|
1698
|
+
export declare const McUnlockExpiredAmuletSchema: GenMessage<McUnlockExpiredAmulet>;
|
|
1699
|
+
/**
|
|
1700
|
+
* Propose a DVP settlement (buyer creates DvpProposal)
|
|
1701
|
+
*
|
|
1702
|
+
* @generated from message silvana.ledger.v1.McProposeDvp
|
|
1703
|
+
*/
|
|
1704
|
+
export type McProposeDvp = Message<"silvana.ledger.v1.McProposeDvp"> & {
|
|
1705
|
+
/**
|
|
1706
|
+
* Settlement proposal ID (server looks up terms)
|
|
1707
|
+
*
|
|
1708
|
+
* @generated from field: string proposal_id = 1;
|
|
1709
|
+
*/
|
|
1710
|
+
proposalId: string;
|
|
1711
|
+
};
|
|
1712
|
+
/**
|
|
1713
|
+
* Describes the message silvana.ledger.v1.McProposeDvp.
|
|
1714
|
+
* Use `create(McProposeDvpSchema)` to create a new message.
|
|
1715
|
+
*/
|
|
1716
|
+
export declare const McProposeDvpSchema: GenMessage<McProposeDvp>;
|
|
1717
|
+
/**
|
|
1718
|
+
* Accept an existing DvpProposal (seller)
|
|
1719
|
+
*
|
|
1720
|
+
* @generated from message silvana.ledger.v1.McAcceptDvp
|
|
1721
|
+
*/
|
|
1722
|
+
export type McAcceptDvp = Message<"silvana.ledger.v1.McAcceptDvp"> & {
|
|
1723
|
+
/**
|
|
1724
|
+
* @generated from field: string proposal_id = 1;
|
|
1725
|
+
*/
|
|
1726
|
+
proposalId: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* @generated from field: string dvp_proposal_cid = 2;
|
|
1729
|
+
*/
|
|
1730
|
+
dvpProposalCid: string;
|
|
1731
|
+
};
|
|
1732
|
+
/**
|
|
1733
|
+
* Describes the message silvana.ledger.v1.McAcceptDvp.
|
|
1734
|
+
* Use `create(McAcceptDvpSchema)` to create a new message.
|
|
1735
|
+
*/
|
|
1736
|
+
export declare const McAcceptDvpSchema: GenMessage<McAcceptDvp>;
|
|
1737
|
+
/**
|
|
1738
|
+
* Allocate non-CC tokens (CIP-56 holdings) against a Dvp contract
|
|
1739
|
+
*
|
|
1740
|
+
* @generated from message silvana.ledger.v1.McAllocate
|
|
1741
|
+
*/
|
|
1742
|
+
export type McAllocate = Message<"silvana.ledger.v1.McAllocate"> & {
|
|
1743
|
+
/**
|
|
1744
|
+
* @generated from field: string proposal_id = 1;
|
|
1745
|
+
*/
|
|
1746
|
+
proposalId: string;
|
|
1747
|
+
/**
|
|
1748
|
+
* @generated from field: string dvp_cid = 2;
|
|
1749
|
+
*/
|
|
1750
|
+
dvpCid: string;
|
|
1751
|
+
};
|
|
1752
|
+
/**
|
|
1753
|
+
* Describes the message silvana.ledger.v1.McAllocate.
|
|
1754
|
+
* Use `create(McAllocateSchema)` to create a new message.
|
|
1755
|
+
*/
|
|
1756
|
+
export declare const McAllocateSchema: GenMessage<McAllocate>;
|
|
1757
|
+
/**
|
|
1758
|
+
* Allocate CC (amulets) against a Dvp contract
|
|
1759
|
+
*
|
|
1760
|
+
* @generated from message silvana.ledger.v1.McAllocateCC
|
|
1761
|
+
*/
|
|
1762
|
+
export type McAllocateCC = Message<"silvana.ledger.v1.McAllocateCC"> & {
|
|
1763
|
+
/**
|
|
1764
|
+
* @generated from field: string proposal_id = 1;
|
|
1765
|
+
*/
|
|
1766
|
+
proposalId: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* @generated from field: string dvp_cid = 2;
|
|
1769
|
+
*/
|
|
1770
|
+
dvpCid: string;
|
|
1771
|
+
};
|
|
1772
|
+
/**
|
|
1773
|
+
* Describes the message silvana.ledger.v1.McAllocateCC.
|
|
1774
|
+
* Use `create(McAllocateCCSchema)` to create a new message.
|
|
1775
|
+
*/
|
|
1776
|
+
export declare const McAllocateCCSchema: GenMessage<McAllocateCC>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Accept DvpProposal + allocate non-CC tokens in a single operation (compose mode)
|
|
1779
|
+
*
|
|
1780
|
+
* @generated from message silvana.ledger.v1.McAcceptDvpAndAllocate
|
|
1781
|
+
*/
|
|
1782
|
+
export type McAcceptDvpAndAllocate = Message<"silvana.ledger.v1.McAcceptDvpAndAllocate"> & {
|
|
1783
|
+
/**
|
|
1784
|
+
* @generated from field: string proposal_id = 1;
|
|
1785
|
+
*/
|
|
1786
|
+
proposalId: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* @generated from field: string dvp_proposal_cid = 2;
|
|
1789
|
+
*/
|
|
1790
|
+
dvpProposalCid: string;
|
|
1791
|
+
};
|
|
1792
|
+
/**
|
|
1793
|
+
* Describes the message silvana.ledger.v1.McAcceptDvpAndAllocate.
|
|
1794
|
+
* Use `create(McAcceptDvpAndAllocateSchema)` to create a new message.
|
|
1795
|
+
*/
|
|
1796
|
+
export declare const McAcceptDvpAndAllocateSchema: GenMessage<McAcceptDvpAndAllocate>;
|
|
1797
|
+
/**
|
|
1798
|
+
* Accept DvpProposal + allocate CC in a single operation (compose mode)
|
|
1799
|
+
*
|
|
1800
|
+
* @generated from message silvana.ledger.v1.McAcceptDvpAndAllocateCC
|
|
1801
|
+
*/
|
|
1802
|
+
export type McAcceptDvpAndAllocateCC = Message<"silvana.ledger.v1.McAcceptDvpAndAllocateCC"> & {
|
|
1803
|
+
/**
|
|
1804
|
+
* @generated from field: string proposal_id = 1;
|
|
1805
|
+
*/
|
|
1806
|
+
proposalId: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* @generated from field: string dvp_proposal_cid = 2;
|
|
1809
|
+
*/
|
|
1810
|
+
dvpProposalCid: string;
|
|
1811
|
+
};
|
|
1812
|
+
/**
|
|
1813
|
+
* Describes the message silvana.ledger.v1.McAcceptDvpAndAllocateCC.
|
|
1814
|
+
* Use `create(McAcceptDvpAndAllocateCCSchema)` to create a new message.
|
|
1815
|
+
*/
|
|
1816
|
+
export declare const McAcceptDvpAndAllocateCCSchema: GenMessage<McAcceptDvpAndAllocateCC>;
|
|
1817
|
+
/**
|
|
1818
|
+
* CIP-56 token transfer (Daml: Op_Transfer)
|
|
1819
|
+
* Agent provides transfer_factory_cid, expected_admin, and full Transfer details.
|
|
1820
|
+
* Server injects ExtraArgs (amulet-rules, open-round context) unless extra_args_json is provided.
|
|
1821
|
+
*
|
|
1822
|
+
* @generated from message silvana.ledger.v1.McTransfer
|
|
1823
|
+
*/
|
|
1824
|
+
export type McTransfer = Message<"silvana.ledger.v1.McTransfer"> & {
|
|
1825
|
+
/**
|
|
1826
|
+
* Agent-provided (e.g., ExternalPartyAmuletRules CID)
|
|
1827
|
+
*
|
|
1828
|
+
* @generated from field: string transfer_factory_cid = 1;
|
|
1829
|
+
*/
|
|
1830
|
+
transferFactoryCid: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* Agent-provided (e.g., DSO party)
|
|
1833
|
+
*
|
|
1834
|
+
* @generated from field: string expected_admin = 2;
|
|
1835
|
+
*/
|
|
1836
|
+
expectedAdmin: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* Typed CIP-56 Transfer object
|
|
1839
|
+
*
|
|
1840
|
+
* @generated from field: silvana.ledger.v1.McTransferDetails transfer = 3;
|
|
1841
|
+
*/
|
|
1842
|
+
transfer?: McTransferDetails;
|
|
1843
|
+
/**
|
|
1844
|
+
* Optional: if empty, server builds default amulet ExtraArgs
|
|
1845
|
+
*
|
|
1846
|
+
* @generated from field: optional string extra_args_json = 4;
|
|
1847
|
+
*/
|
|
1848
|
+
extraArgsJson?: string;
|
|
1849
|
+
};
|
|
1850
|
+
/**
|
|
1851
|
+
* Describes the message silvana.ledger.v1.McTransfer.
|
|
1852
|
+
* Use `create(McTransferSchema)` to create a new message.
|
|
1853
|
+
*/
|
|
1854
|
+
export declare const McTransferSchema: GenMessage<McTransfer>;
|
|
1855
|
+
/**
|
|
1856
|
+
* CIP-56 Transfer object fields (matches Daml Splice.Api.Token.TransferInstructionV1.Transfer)
|
|
1857
|
+
*
|
|
1858
|
+
* @generated from message silvana.ledger.v1.McTransferDetails
|
|
1859
|
+
*/
|
|
1860
|
+
export type McTransferDetails = Message<"silvana.ledger.v1.McTransferDetails"> & {
|
|
1861
|
+
/**
|
|
1862
|
+
* Sender party ID
|
|
1863
|
+
*
|
|
1864
|
+
* @generated from field: string sender = 1;
|
|
1865
|
+
*/
|
|
1866
|
+
sender: string;
|
|
1867
|
+
/**
|
|
1868
|
+
* Receiver party ID
|
|
1869
|
+
*
|
|
1870
|
+
* @generated from field: string receiver = 2;
|
|
1871
|
+
*/
|
|
1872
|
+
receiver: string;
|
|
1873
|
+
/**
|
|
1874
|
+
* Decimal string
|
|
1875
|
+
*
|
|
1876
|
+
* @generated from field: string amount = 3;
|
|
1877
|
+
*/
|
|
1878
|
+
amount: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* InstrumentId.admin
|
|
1881
|
+
*
|
|
1882
|
+
* @generated from field: string instrument_admin = 4;
|
|
1883
|
+
*/
|
|
1884
|
+
instrumentAdmin: string;
|
|
1885
|
+
/**
|
|
1886
|
+
* InstrumentId.id
|
|
1887
|
+
*
|
|
1888
|
+
* @generated from field: string instrument_id = 5;
|
|
1889
|
+
*/
|
|
1890
|
+
instrumentId: string;
|
|
1891
|
+
/**
|
|
1892
|
+
* ISO8601 timestamp
|
|
1893
|
+
*
|
|
1894
|
+
* @generated from field: string requested_at = 6;
|
|
1895
|
+
*/
|
|
1896
|
+
requestedAt: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* ISO8601 timestamp
|
|
1899
|
+
*
|
|
1900
|
+
* @generated from field: string execute_before = 7;
|
|
1901
|
+
*/
|
|
1902
|
+
executeBefore: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* Metadata.values (e.g., {"splice.lfdecentralizedtrust.org/reason": "ref"})
|
|
1905
|
+
*
|
|
1906
|
+
* @generated from field: map<string, string> meta = 8;
|
|
1907
|
+
*/
|
|
1908
|
+
meta: {
|
|
1909
|
+
[key: string]: string;
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
/**
|
|
1913
|
+
* Describes the message silvana.ledger.v1.McTransferDetails.
|
|
1914
|
+
* Use `create(McTransferDetailsSchema)` to create a new message.
|
|
1915
|
+
*/
|
|
1916
|
+
export declare const McTransferDetailsSchema: GenMessage<McTransferDetails>;
|
|
1917
|
+
/**
|
|
1918
|
+
* Accept a CIP-56 transfer instruction (Daml: Op_AcceptTransferInstruction)
|
|
1919
|
+
* Server injects ExtraArgs unless extra_args_json is provided.
|
|
1920
|
+
*
|
|
1921
|
+
* @generated from message silvana.ledger.v1.McAcceptTransferInstruction
|
|
1922
|
+
*/
|
|
1923
|
+
export type McAcceptTransferInstruction = Message<"silvana.ledger.v1.McAcceptTransferInstruction"> & {
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from field: string transfer_instruction_cid = 1;
|
|
1926
|
+
*/
|
|
1927
|
+
transferInstructionCid: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* Optional: server builds default if empty
|
|
1930
|
+
*
|
|
1931
|
+
* @generated from field: optional string extra_args_json = 2;
|
|
1932
|
+
*/
|
|
1933
|
+
extraArgsJson?: string;
|
|
1934
|
+
};
|
|
1935
|
+
/**
|
|
1936
|
+
* Describes the message silvana.ledger.v1.McAcceptTransferInstruction.
|
|
1937
|
+
* Use `create(McAcceptTransferInstructionSchema)` to create a new message.
|
|
1938
|
+
*/
|
|
1939
|
+
export declare const McAcceptTransferInstructionSchema: GenMessage<McAcceptTransferInstruction>;
|
|
1940
|
+
/**
|
|
1941
|
+
* Withdraw a CIP-56 allocation (Daml: Op_WithdrawAllocation)
|
|
1942
|
+
* Server injects ExtraArgs unless extra_args_json is provided.
|
|
1943
|
+
*
|
|
1944
|
+
* @generated from message silvana.ledger.v1.McWithdrawAllocation
|
|
1945
|
+
*/
|
|
1946
|
+
export type McWithdrawAllocation = Message<"silvana.ledger.v1.McWithdrawAllocation"> & {
|
|
1947
|
+
/**
|
|
1948
|
+
* @generated from field: string allocation_cid = 1;
|
|
1949
|
+
*/
|
|
1950
|
+
allocationCid: string;
|
|
1951
|
+
/**
|
|
1952
|
+
* Optional: server builds default if empty
|
|
1953
|
+
*
|
|
1954
|
+
* @generated from field: optional string extra_args_json = 2;
|
|
1955
|
+
*/
|
|
1956
|
+
extraArgsJson?: string;
|
|
1957
|
+
};
|
|
1958
|
+
/**
|
|
1959
|
+
* Describes the message silvana.ledger.v1.McWithdrawAllocation.
|
|
1960
|
+
* Use `create(McWithdrawAllocationSchema)` to create a new message.
|
|
1961
|
+
*/
|
|
1962
|
+
export declare const McWithdrawAllocationSchema: GenMessage<McWithdrawAllocation>;
|
|
1963
|
+
/**
|
|
1964
|
+
* Create a TransferPreapproval (Daml: Op_CreateTransferPreapproval)
|
|
1965
|
+
*
|
|
1966
|
+
* @generated from message silvana.ledger.v1.McCreateTransferPreapproval
|
|
1967
|
+
*/
|
|
1968
|
+
export type McCreateTransferPreapproval = Message<"silvana.ledger.v1.McCreateTransferPreapproval"> & {
|
|
1969
|
+
/**
|
|
1970
|
+
* @generated from field: string operator = 1;
|
|
1971
|
+
*/
|
|
1972
|
+
operator: string;
|
|
1973
|
+
/**
|
|
1974
|
+
* @generated from field: string instrument_admin = 2;
|
|
1975
|
+
*/
|
|
1976
|
+
instrumentAdmin: string;
|
|
1977
|
+
/**
|
|
1978
|
+
* @generated from field: repeated silvana.ledger.v1.McInstrumentAllowance instrument_allowances = 3;
|
|
1979
|
+
*/
|
|
1980
|
+
instrumentAllowances: McInstrumentAllowance[];
|
|
1981
|
+
};
|
|
1982
|
+
/**
|
|
1983
|
+
* Describes the message silvana.ledger.v1.McCreateTransferPreapproval.
|
|
1984
|
+
* Use `create(McCreateTransferPreapprovalSchema)` to create a new message.
|
|
1985
|
+
*/
|
|
1986
|
+
export declare const McCreateTransferPreapprovalSchema: GenMessage<McCreateTransferPreapproval>;
|
|
1987
|
+
/**
|
|
1988
|
+
* @generated from message silvana.ledger.v1.McInstrumentAllowance
|
|
1989
|
+
*/
|
|
1990
|
+
export type McInstrumentAllowance = Message<"silvana.ledger.v1.McInstrumentAllowance"> & {
|
|
1991
|
+
/**
|
|
1992
|
+
* Instrument identifier
|
|
1993
|
+
*
|
|
1994
|
+
* @generated from field: string id = 1;
|
|
1995
|
+
*/
|
|
1996
|
+
id: string;
|
|
1997
|
+
};
|
|
1998
|
+
/**
|
|
1999
|
+
* Describes the message silvana.ledger.v1.McInstrumentAllowance.
|
|
2000
|
+
* Use `create(McInstrumentAllowanceSchema)` to create a new message.
|
|
2001
|
+
*/
|
|
2002
|
+
export declare const McInstrumentAllowanceSchema: GenMessage<McInstrumentAllowance>;
|
|
2003
|
+
/**
|
|
2004
|
+
* Create a TransferPreapproval proposal (Daml: Op_CreateTransferPreapprovalProposal)
|
|
2005
|
+
* Server injects proposalExpectedDso from scan API context.
|
|
2006
|
+
*
|
|
2007
|
+
* @generated from message silvana.ledger.v1.McCreateTransferPreapprovalProposal
|
|
2008
|
+
*/
|
|
2009
|
+
export type McCreateTransferPreapprovalProposal = Message<"silvana.ledger.v1.McCreateTransferPreapprovalProposal"> & {
|
|
2010
|
+
/**
|
|
2011
|
+
* @generated from field: string provider = 1;
|
|
2012
|
+
*/
|
|
2013
|
+
provider: string;
|
|
2014
|
+
};
|
|
2015
|
+
/**
|
|
2016
|
+
* Describes the message silvana.ledger.v1.McCreateTransferPreapprovalProposal.
|
|
2017
|
+
* Use `create(McCreateTransferPreapprovalProposalSchema)` to create a new message.
|
|
2018
|
+
*/
|
|
2019
|
+
export declare const McCreateTransferPreapprovalProposalSchema: GenMessage<McCreateTransferPreapprovalProposal>;
|
|
2020
|
+
/**
|
|
2021
|
+
* Create a UserService request (Daml: Op_CreateUserServiceRequest)
|
|
2022
|
+
*
|
|
2023
|
+
* @generated from message silvana.ledger.v1.McCreateUserServiceRequest
|
|
2024
|
+
*/
|
|
2025
|
+
export type McCreateUserServiceRequest = Message<"silvana.ledger.v1.McCreateUserServiceRequest"> & {
|
|
2026
|
+
/**
|
|
2027
|
+
* @generated from field: string operator = 1;
|
|
2028
|
+
*/
|
|
2029
|
+
operator: string;
|
|
2030
|
+
};
|
|
2031
|
+
/**
|
|
2032
|
+
* Describes the message silvana.ledger.v1.McCreateUserServiceRequest.
|
|
2033
|
+
* Use `create(McCreateUserServiceRequestSchema)` to create a new message.
|
|
2034
|
+
*/
|
|
2035
|
+
export declare const McCreateUserServiceRequestSchema: GenMessage<McCreateUserServiceRequest>;
|
|
1408
2036
|
/**
|
|
1409
2037
|
* @generated from message silvana.ledger.v1.PrepareTransactionResponse
|
|
1410
2038
|
*/
|
|
@@ -2139,7 +2767,13 @@ export declare enum TransactionOperation {
|
|
|
2139
2767
|
*
|
|
2140
2768
|
* @generated from enum value: TRANSACTION_OPERATION_SPLIT_CC = 13;
|
|
2141
2769
|
*/
|
|
2142
|
-
SPLIT_CC = 13
|
|
2770
|
+
SPLIT_CC = 13,
|
|
2771
|
+
/**
|
|
2772
|
+
* MultiCall (atomic batch of operations via Execute_MultiCall DAR choice)
|
|
2773
|
+
*
|
|
2774
|
+
* @generated from enum value: TRANSACTION_OPERATION_EXECUTE_MULTICALL = 14;
|
|
2775
|
+
*/
|
|
2776
|
+
EXECUTE_MULTICALL = 14
|
|
2143
2777
|
}
|
|
2144
2778
|
/**
|
|
2145
2779
|
* Describes the enum silvana.ledger.v1.TransactionOperation.
|