@cancore/contracts 0.2.0-rc.10 → 0.2.0-rc.14

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.
@@ -463,18 +463,211 @@
463
463
  }
464
464
  }
465
465
  ],
466
+ "canton.prepare": [
467
+ {
468
+ "type": "canton.prepare",
469
+ "id": "cp-1",
470
+ "fillerId": "acme-markets",
471
+ "sentAt": 1789990000000,
472
+ "msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
473
+ "op": "party.allocate",
474
+ "params": {
475
+ "publicKey": "0x1111111111111111111111111111111111111111111111111111111111111111"
476
+ }
477
+ },
478
+ {
479
+ "type": "canton.prepare",
480
+ "id": "cp-2",
481
+ "fillerId": "acme-markets",
482
+ "sentAt": 1789990100000,
483
+ "msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
484
+ "op": "registry.accept",
485
+ "params": {}
486
+ },
487
+ {
488
+ "type": "canton.prepare",
489
+ "id": "cp-3",
490
+ "fillerId": "acme-markets",
491
+ "sentAt": 1790000026000,
492
+ "msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
493
+ "op": "delivery.fill",
494
+ "params": {
495
+ "orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
496
+ "attempt": 2
497
+ }
498
+ },
499
+ {
500
+ "type": "canton.prepare",
501
+ "id": "cp-4",
502
+ "fillerId": "acme-markets",
503
+ "sentAt": 1790000700000,
504
+ "msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
505
+ "op": "intent.settle",
506
+ "params": {
507
+ "orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b"
508
+ }
509
+ },
510
+ {
511
+ "type": "canton.prepare",
512
+ "id": "cp-5",
513
+ "fillerId": "acme-markets",
514
+ "sentAt": 1790001000000,
515
+ "msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
516
+ "op": "holdings.transfer",
517
+ "params": {
518
+ "asset": {
519
+ "admin": "cancore-registry::1220aa",
520
+ "id": "CNRX"
521
+ },
522
+ "amount": "250.5",
523
+ "toParty": "alice::1220f0e1d2c3b4a5968778695a4b3c2d1e0ff0e1d2c3b4a5968778695a4b3c2d1e0f"
524
+ }
525
+ }
526
+ ],
527
+ "canton.prepared": [
528
+ {
529
+ "type": "canton.prepared",
530
+ "id": "g-19",
531
+ "fillerId": "acme-markets",
532
+ "sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
533
+ "sentAt": 1789990000200,
534
+ "re": "cp-1",
535
+ "operationId": "op-1",
536
+ "op": "party.allocate",
537
+ "legs": [
538
+ {
539
+ "legId": "topology-0",
540
+ "kind": "topology",
541
+ "hash": "0x12203d71f7c09428bb0f75651436e3a1c92b3a12490049882ff50711337cf5c9de0a",
542
+ "topologyTransactions": [
543
+ "CgMyLjESBTAuMC4x",
544
+ "CgMyLjESBTAuMC4y"
545
+ ]
546
+ }
547
+ ],
548
+ "summary": {
549
+ "partyId": "acme-markets::1220a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
550
+ "publicKey": "0x1111111111111111111111111111111111111111111111111111111111111111",
551
+ "hosting": {
552
+ "participantUid": "PAR::cancore::1220c0ffee",
553
+ "permission": "CONFIRMATION",
554
+ "threshold": 1
555
+ }
556
+ },
557
+ "expiresAt": 1789990300200
558
+ },
559
+ {
560
+ "type": "canton.prepared",
561
+ "id": "g-20",
562
+ "fillerId": "acme-markets",
563
+ "sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
564
+ "sentAt": 1790000026300,
565
+ "re": "cp-3",
566
+ "operationId": "op-3",
567
+ "op": "delivery.fill",
568
+ "legs": [
569
+ {
570
+ "legId": "delivery-fill-0",
571
+ "kind": "transaction",
572
+ "hash": "0xf85381267321fc9b5122e45db048de3313dbc0dce8b36202673245d6c6d92840",
573
+ "preparedTransaction": "CgMyLjESBTAuMC4x",
574
+ "hashingSchemeVersion": "HASHING_SCHEME_VERSION_V2"
575
+ }
576
+ ],
577
+ "summary": {
578
+ "orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
579
+ "attempt": 2,
580
+ "deliveryOrderCid": "00a1b2c3d4e5f6#fixture-delivery-order",
581
+ "recipient": "alice::1220f0e1d2c3b4a5968778695a4b3c2d1e0ff0e1d2c3b4a5968778695a4b3c2d1e0f",
582
+ "asset": {
583
+ "admin": "cancore-registry::1220aa",
584
+ "id": "CNRX"
585
+ },
586
+ "amount": "999.0",
587
+ "repayTo": "0x0000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc",
588
+ "validUntil": "1790000400",
589
+ "inputHoldingCids": [
590
+ "00h1",
591
+ "00h2"
592
+ ],
593
+ "executeBefore": "1790000400",
594
+ "transferFactoryCid": "00tf"
595
+ },
596
+ "expiresAt": 1790000326300
597
+ }
598
+ ],
599
+ "canton.submit": [
600
+ {
601
+ "type": "canton.submit",
602
+ "id": "cs-3",
603
+ "fillerId": "acme-markets",
604
+ "sentAt": 1790000027000,
605
+ "msgSig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
606
+ "operationId": "op-3",
607
+ "signatures": [
608
+ {
609
+ "legId": "delivery-fill-0",
610
+ "signature": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
611
+ }
612
+ ]
613
+ }
614
+ ],
615
+ "canton.submitted": [
616
+ {
617
+ "type": "canton.submitted",
618
+ "id": "g-21",
619
+ "fillerId": "acme-markets",
620
+ "sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
621
+ "sentAt": 1790000029000,
622
+ "re": "cs-3",
623
+ "operationId": "op-3",
624
+ "op": "delivery.fill",
625
+ "updateId": "1220ab0c",
626
+ "result": {
627
+ "receiptCid": "00c1d2"
628
+ }
629
+ },
630
+ {
631
+ "type": "canton.submitted",
632
+ "id": "g-22",
633
+ "fillerId": "acme-markets",
634
+ "sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
635
+ "sentAt": 1789990002000,
636
+ "re": "cs-1",
637
+ "operationId": "op-1",
638
+ "op": "party.allocate",
639
+ "result": {
640
+ "partyId": "acme-markets::1220a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90"
641
+ }
642
+ },
643
+ {
644
+ "type": "canton.submitted",
645
+ "id": "g-23",
646
+ "fillerId": "acme-markets",
647
+ "sig": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b",
648
+ "sentAt": 1790001002000,
649
+ "re": "cs-5",
650
+ "operationId": "op-5",
651
+ "op": "holdings.transfer",
652
+ "updateId": "1220ab0d",
653
+ "result": {
654
+ "outcome": "PENDING",
655
+ "transferInstructionCid": "00ti"
656
+ }
657
+ }
658
+ ],
466
659
  "settle.attestations": [
467
660
  {
468
661
  "type": "settle.attestations",
469
662
  "id": "g-sa-1",
470
663
  "fillerId": "acme-markets",
471
664
  "sentAt": 1790000160000,
472
- "orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
665
+ "orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
473
666
  "attempt": 0,
474
667
  "sourceChainId": "eip155:11155111",
475
668
  "proof": {
476
669
  "kind": 1,
477
- "orderHash": "0x585ec61a0813109803da9d47aea37a165f7df1371553f1e4ea8c139cf74058a6",
670
+ "orderHash": "0x65f9010d612499d381eefba1a2385b76982c9bdaf9ed15bedbafd7b09fb3b73b",
478
671
  "destination": "0x0000000000000000000000000000000000000000000000000000000000066eee",
479
672
  "fillRef": "0xfc4cba975d6b96ed2be00adae2d970f61413b963279089dcfc6402ddccc42740",
480
673
  "recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
@@ -489,36 +682,36 @@
489
682
  "signatures": [
490
683
  {
491
684
  "signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
492
- "signature": "0x4efcf401d43002b059a1bf5f12a1a6c868a1917a533cb2df79022845bd8704da1d5a6a67e206d057e29bd06efc19fef0afcc0ece462e732268da4cedb57e4c321c"
685
+ "signature": "0x280a1c67572079434e423c51ee29272a0afb87bc485b3292192fb08242aeef687bcd1417aff35025ab16da3f43a73972585877b131a2b4dfe83d1ae4f5ef0fad1b"
493
686
  },
494
687
  {
495
688
  "signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
496
- "signature": "0x29a0148c3a5cdcadf63a4aaef763784751a3fa6064dc276330227729ddbc69015ea1efdab546cf1552ca726de9ccf4480e8d5ff3c3ed9b718c4964b5bc03ddcf1c"
689
+ "signature": "0x77cba7cedee87b88ac9d90ce0440bb55fa510930318e1a7cb9e2567f198208fb3784a5ca3343c3df2d7dfc29b0a2eae3b87b475893b4d134fa6ce9d8df2a88521b"
497
690
  }
498
691
  ],
499
692
  "setId": 1,
500
693
  "threshold": 2,
501
694
  "refundAfter": "1790002400",
502
- "sig": "0x1d81fa8e56999d9bf8365f2aa18025291198a51b769dcddd7ebaaa3b61eca32f262f218caf2618bc8b351c65eca89417defeb5f3905f7327a68e9cdd1d29f99d1b"
695
+ "sig": "0x703468572b0f0d056f7c8547a2a70dbb76469888d23059926e906d23cc0468ac54cd96efe6a0f298750a225cd4a7e6acb511f144631076ed2825de0bf0e40b1e1b"
503
696
  },
504
697
  {
505
698
  "type": "settle.attestations",
506
699
  "id": "g-sa-3",
507
- "fillerId": "cancore-reserve",
700
+ "fillerId": "acme",
508
701
  "sentAt": 1789999760000,
509
- "orderHash": "0x770f1ebba8ab5b96e3efbed39c0f630d56f934f9f232771abaccdb0cf17ca204",
702
+ "orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
510
703
  "attempt": 1,
511
704
  "sourceChainId": "canton:mainnet",
512
705
  "proof": {
513
706
  "kind": 1,
514
- "orderHash": "0x770f1ebba8ab5b96e3efbed39c0f630d56f934f9f232771abaccdb0cf17ca204",
707
+ "orderHash": "0x22e3a53ab72c6990b1971fd50b9ec6c527a003d987cd58d26058b380dd7ae79a",
515
708
  "destination": "0x0000000000000000000000000000000000000000000000000000000000000001",
516
709
  "fillRef": "0xfba8fd8a079872a9efe9646fcf34cfbbe8711ebd63665e8f2e0924949264c471",
517
710
  "recipient": "0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e",
518
711
  "outputAsset": "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
519
712
  "amountDelivered": "1200250000",
520
713
  "filledAt": "1789999700",
521
- "fillerId": "0xe3a8297b35498225c7903ca1a305ef64fcd783cf42c6c687b7b332c83d4dd837",
714
+ "fillerId": "0xe29dae06ef4c3e336b7538b6d4f52ca1ecec009b1df6fb501320e11b223aeeaf",
522
715
  "repayTo": "0x4fa94ace29856f88ebea07ce6d18e21f52c60b4f66d147134c03c82b62957f9d",
523
716
  "attempt": 1,
524
717
  "setId": 3
@@ -527,23 +720,23 @@
527
720
  {
528
721
  "signer": "0x5e877d05b3bfef8b53a59dde76b911fb521415cd",
529
722
  "pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200046e4ce4835ad9bacce317724d5a85bfb72f73c0e0e0d9bb0ece443a23c405994056f031b0c83296033a1fd06fc21cbfdab8a821b09c0172ed64ef1b1ee3469be3",
530
- "signature": "0x3045022100a7554c31e432a90ae7384910ae3f9128b41034769dd072319fcf8131bb8062b1022006ac576ed5858c881238334835d35f5aacb765b16842a3f926a540355997883e"
723
+ "signature": "0x3044022048f14c61c1f52f541ab136ef92bbbcfca14dd0560db802feb510f7fce19477b20220230a636d4d10c7e5c16b997394a8261185a899f0e8d8e5ffad14db4d4123dd16"
531
724
  },
532
725
  {
533
726
  "signer": "0x6805cf7ce01e1c392d47806813503e367c932544",
534
727
  "pubKey": "0x3056301006072a8648ce3d020106052b8104000a034200044f15010d9f9457006502d7cbe0cfc5ed67076c2d6f2d4d034b8412e1c07561c370356c5da930ec7a271c3c8d11d00a14e36a3cd3a2a4fad8c05b367357f15b7e",
535
- "signature": "0x3044022035cdea625125d6b555d9ab2405afb085c1d9a65d780048e607ace4f78740f5fc02207d4236924fd1e29bdc1576077c56da025ebfe63ed0c13bb720baa9ed4a444a93"
728
+ "signature": "0x3045022100d4cb2f8a3084bf5749871a06fa543a9ba80889471eb2799ab4c4c08b31ee7e2902203e2b4af4e08f263168a046a4b6a6370398c7b03de7797f1a011910c0d784f4bc"
536
729
  },
537
730
  {
538
731
  "signer": "0x695ba7eb3c2a35bfc8d16562560a01ba1f9931d0",
539
732
  "pubKey": "0x3056301006072a8648ce3d020106052b8104000a0342000479d89465d2de95e32eb728c63c58f4554dbecd39dacf7b680a326672cbc601af2abda0dd84f5b8a4bf8efebcb5eb0d24643dc0cc32af3f76a6ef877b71e19e2b",
540
- "signature": "0x3045022100b4523bba8213ce348a7334680f4b3c54bfa3b815c907993415a43dc54452cb0e02201fc0f93a9199dfe16f3aff06684146bf6f28ff1df5efea5d874b3d877051678b"
733
+ "signature": "0x304402200a300c658594fe20fb429c4f32e23e0b3e444a017f320622cb636792d6f13ca802200cbd9bcb4ea5719f63f8a510e7e9f3d730a47691a7b6eb8e78ec787218997e02"
541
734
  }
542
735
  ],
543
736
  "setId": 3,
544
737
  "threshold": 2,
545
738
  "refundAfter": "1790001800",
546
- "sig": "0x31ef2d7b9fb10cc97215e965e9cc866e6e595ba92d9f630a00fbaedc3241399f0d65b0e75c81504ba0989eb4264e55e46b571bd7252f45699ab4792d40e5ca931b"
739
+ "sig": "0x481041cd0c07174f6db63b7acdc96a0bcc399de0be60df07faea3be6f0f09c83553a59f5e5443a6d7d1763789404d732a4b5cdc57758b729adf50245b8f96c2d1b"
547
740
  }
548
741
  ]
549
742
  }