lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

parse_mutation_event.v1.json (760B)


      1 {
      2   "suite": "trade",
      3   "contract_version": "1.0.0",
      4   "vectors": [
      5     {
      6       "id": "trade_parse_mutation_event_proposal_001",
      7       "kind": "trade.parse_mutation_event",
      8       "input": {
      9         "event": {
     10           "kind": 3470,
     11           "contract_tag": "radroots.trade.proposal.v1",
     12           "trade_id_tag": "11111111111111111111111111111111",
     13           "content_shape": "TradeMutationEnvelopeV1"
     14         }
     15       },
     16       "expected": {
     17         "envelope_shape": "TradeMutationEnvelopeV1",
     18         "rejects": [
     19           "kind_contract_mismatch",
     20           "contract_tag_mismatch",
     21           "trade_id_tag_mismatch",
     22           "counterparty_tag_mismatch",
     23           "parent_tags_mismatch",
     24           "non_canonical_content"
     25         ]
     26       }
     27     }
     28   ]
     29 }