@ledgerhq/coin-canton
Version:
1,040 lines (1,039 loc) • 56.3 kB
JSON
{
"nested": {
"com": {
"nested": {
"daml": {
"nested": {
"ledger": {
"nested": {
"api": {
"nested": {
"v2": {
"options": {
"csharp_namespace": "Com.Daml.Ledger.Api.V2",
"java_outer_classname": "ValueOuterClass",
"java_package": "com.daml.ledger.api.v2"
},
"nested": {
"interactive": {
"options": {
"csharp_namespace": "Com.Daml.Ledger.Api.V2.Interactive",
"java_outer_classname": "InteractiveSubmissionCommonDataOuterClass",
"java_package": "com.daml.ledger.api.v2.interactive"
},
"nested": {
"DeviceDamlTransaction": {
"fields": {
"version": {
"type": "string",
"id": 1
},
"roots": {
"rule": "repeated",
"type": "string",
"id": 2
},
"nodesCount": {
"type": "int32",
"id": 3
},
"nodeSeeds": {
"rule": "repeated",
"type": "NodeSeed",
"id": 4
}
},
"nested": {
"NodeSeed": {
"fields": {
"nodeId": {
"type": "int32",
"id": 1
},
"seed": {
"type": "bytes",
"id": 2
}
}
},
"Node": {
"oneofs": {
"versionedNode": {
"oneof": ["v1"]
}
},
"fields": {
"nodeId": {
"type": "string",
"id": 1
},
"v1": {
"type": "interactive.transaction.v1.Node",
"id": 1000
}
}
}
}
},
"DeviceDamlTransactionDisplay": {
"fields": {
"version": {
"type": "string",
"id": 1
},
"roots": {
"rule": "repeated",
"type": "string",
"id": 2
},
"nodesCount": {
"type": "int32",
"id": 3
},
"nodeSeeds": {
"rule": "repeated",
"type": "NodeSeed",
"id": 4
}
},
"nested": {
"NodeSeed": {
"fields": {
"nodeId": {
"type": "int32",
"id": 1
},
"seed": {
"type": "bytes",
"id": 2
}
}
},
"Node": {
"oneofs": {
"versionedNode": {
"oneof": ["v1"]
}
},
"fields": {
"nodeId": {
"type": "string",
"id": 1
},
"v1": {
"type": "interactive.transaction.v1.cb.NodeDisplay",
"id": 1000
}
}
}
}
},
"DeviceMetadata": {
"oneofs": {
"_minLedgerEffectiveTime": {
"oneof": ["minLedgerEffectiveTime"]
},
"_maxLedgerEffectiveTime": {
"oneof": ["maxLedgerEffectiveTime"]
}
},
"fields": {
"submitterInfo": {
"type": "SubmitterInfo",
"id": 2
},
"synchronizerId": {
"type": "string",
"id": 3
},
"mediatorGroup": {
"type": "uint32",
"id": 4
},
"transactionUuid": {
"type": "string",
"id": 5
},
"submissionTime": {
"type": "uint64",
"id": 6
},
"inputContractsCount": {
"type": "int32",
"id": 7
},
"minLedgerEffectiveTime": {
"type": "uint64",
"id": 9,
"options": {
"proto3_optional": true
}
},
"maxLedgerEffectiveTime": {
"type": "uint64",
"id": 10,
"options": {
"proto3_optional": true
}
}
},
"reserved": [[1, 1]],
"nested": {
"SubmitterInfo": {
"fields": {
"actAs": {
"rule": "repeated",
"type": "string",
"id": 1
},
"commandId": {
"type": "string",
"id": 2
}
}
},
"GlobalKeyMappingEntry": {
"oneofs": {
"_value": {
"oneof": ["value"]
}
},
"fields": {
"key": {
"type": "interactive.GlobalKey",
"id": 1
},
"value": {
"type": "Value",
"id": 2,
"options": {
"proto3_optional": true
}
}
}
},
"InputContract": {
"oneofs": {
"contract": {
"oneof": ["v1"]
}
},
"fields": {
"v1": {
"type": "interactive.transaction.v1.Create",
"id": 1
},
"createdAt": {
"type": "uint64",
"id": 1000
},
"driverMetadata": {
"type": "bytes",
"id": 1001
}
}
}
}
},
"GlobalKey": {
"fields": {
"templateId": {
"type": "Identifier",
"id": 1
},
"packageName": {
"type": "string",
"id": 2
},
"key": {
"type": "Value",
"id": 3
},
"hash": {
"type": "bytes",
"id": 4
}
}
},
"transaction": {
"nested": {
"v1": {
"options": {
"csharp_namespace": "Com.Daml.Ledger.Api.V2.Interactive.Transaction.V1",
"java_outer_classname": "InteractiveSubmissionDataOuterClass",
"java_package": "com.daml.ledger.api.v2.interactive.transaction.v1"
},
"nested": {
"Fetch": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "Identifier",
"id": 4
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 5
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 6
},
"actingParties": {
"rule": "repeated",
"type": "string",
"id": 7
},
"interfaceId": {
"type": "Identifier",
"id": 8
}
}
},
"Exercise": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "Identifier",
"id": 4
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 5
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 6
},
"actingParties": {
"rule": "repeated",
"type": "string",
"id": 7
},
"interfaceId": {
"type": "Identifier",
"id": 8
},
"choiceId": {
"type": "string",
"id": 9
},
"chosenValue": {
"type": "Value",
"id": 10
},
"consuming": {
"type": "bool",
"id": 11
},
"children": {
"rule": "repeated",
"type": "string",
"id": 12
},
"exerciseResult": {
"type": "Value",
"id": 13
},
"choiceObservers": {
"rule": "repeated",
"type": "string",
"id": 14
}
}
},
"Create": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "Identifier",
"id": 4
},
"argument": {
"type": "Value",
"id": 5
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 6
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 7
}
}
},
"Rollback": {
"fields": {
"children": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"Node": {
"oneofs": {
"nodeType": {
"oneof": ["create", "fetch", "exercise", "rollback"]
}
},
"fields": {
"create": {
"type": "Create",
"id": 1
},
"fetch": {
"type": "Fetch",
"id": 2
},
"exercise": {
"type": "Exercise",
"id": 3
},
"rollback": {
"type": "Rollback",
"id": 4
}
}
},
"cb": {
"options": {
"csharp_namespace": "Com.Daml.Ledger.Api.V2.Interactive.Transaction.V1.CB",
"java_outer_classname": "InteractiveSubmissionDataOuterCbClass",
"java_package": "com.daml.ledger.api.v2.interactive.transaction.v1.cb"
},
"nested": {
"Fetch": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "com.daml.ledger.api.v2.cb.Identifier",
"id": 4
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 5
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 6
},
"actingParties": {
"rule": "repeated",
"type": "string",
"id": 7
},
"interfaceId": {
"type": "com.daml.ledger.api.v2.cb.Identifier",
"id": 8
}
}
},
"Exercise": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "com.daml.ledger.api.v2.cb.Identifier",
"id": 4
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 5
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 6
},
"actingParties": {
"rule": "repeated",
"type": "string",
"id": 7
},
"interfaceId": {
"type": "com.daml.ledger.api.v2.cb.Identifier",
"id": 8
},
"choiceId": {
"type": "string",
"id": 9
},
"chosenValue": {
"type": "com.daml.ledger.api.v2.cb.Value",
"id": 10
},
"consuming": {
"type": "bool",
"id": 11
},
"children": {
"rule": "repeated",
"type": "string",
"id": 12
},
"exerciseResult": {
"type": "com.daml.ledger.api.v2.cb.Value",
"id": 13
},
"choiceObservers": {
"rule": "repeated",
"type": "string",
"id": 14
}
}
},
"CreateDisplay": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "com.daml.ledger.api.v2.cb.Identifier",
"id": 4
},
"argument": {
"type": "com.daml.ledger.api.v2.cb.Value",
"id": 5
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 6
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 7
}
}
},
"Create": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "com.daml.ledger.api.v2.cb.Identifier",
"id": 4
},
"argument": {
"type": "com.daml.ledger.api.v2.cb.Value",
"id": 5
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 6
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 7
}
}
},
"CreateNoArg": {
"fields": {
"lfVersion": {
"type": "string",
"id": 1
},
"contractId": {
"type": "string",
"id": 2
},
"packageName": {
"type": "string",
"id": 3
},
"templateId": {
"type": "com.daml.ledger.api.v2.cb.Identifier",
"id": 4
},
"argument": {
"type": "com.daml.ledger.api.v2.cb.Value",
"id": 5
},
"signatories": {
"rule": "repeated",
"type": "string",
"id": 6
},
"stakeholders": {
"rule": "repeated",
"type": "string",
"id": 7
}
}
},
"Rollback": {
"fields": {
"children": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"Node": {
"oneofs": {
"nodeType": {
"oneof": ["create", "fetch", "exercise", "rollback"]
}
},
"fields": {
"create": {
"type": "Create",
"id": 1
},
"fetch": {
"type": "Fetch",
"id": 2
},
"exercise": {
"type": "Exercise",
"id": 3
},
"rollback": {
"type": "Rollback",
"id": 4
}
}
},
"NodeDisplay": {
"oneofs": {
"nodeType": {
"oneof": ["create", "fetch", "exercise", "rollback"]
}
},
"fields": {
"create": {
"type": "CreateDisplay",
"id": 1
},
"fetch": {
"type": "Fetch",
"id": 2
},
"exercise": {
"type": "Exercise",
"id": 3
},
"rollback": {
"type": "Rollback",
"id": 4
}
}
}
}
}
}
}
}
}
}
},
"Value": {
"oneofs": {
"sum": {
"oneof": [
"unit",
"bool_",
"int64",
"date",
"timestamp",
"numeric",
"party",
"text",
"contractId",
"optional",
"list",
"textMap",
"genMap",
"record",
"variant",
"enum_"
]
}
},
"fields": {
"unit": {
"type": "google.protobuf.Empty",
"id": 1
},
"bool_": {
"type": "bool",
"id": 2
},
"int64": {
"type": "sint64",
"id": 3,
"options": {
"jstype": "JS_STRING"
}
},
"date": {
"type": "int32",
"id": 4
},
"timestamp": {
"type": "sfixed64",
"id": 5,
"options": {
"jstype": "JS_STRING"
}
},
"numeric": {
"type": "string",
"id": 6
},
"party": {
"type": "string",
"id": 7
},
"text": {
"type": "string",
"id": 8
},
"contractId": {
"type": "string",
"id": 9
},
"optional": {
"type": "Optional",
"id": 10
},
"list": {
"type": "List",
"id": 11
},
"textMap": {
"type": "TextMap",
"id": 12
},
"genMap": {
"type": "GenMap",
"id": 13
},
"record": {
"type": "Record",
"id": 14
},
"variant": {
"type": "Variant",
"id": 15
},
"enum_": {
"type": "Enum",
"id": 16
}
}
},
"Record": {
"fields": {
"recordId": {
"type": "Identifier",
"id": 1
},
"fields": {
"rule": "repeated",
"type": "RecordField",
"id": 2
}
}
},
"RecordField": {
"fields": {
"label": {
"type": "string",
"id": 1
},
"value": {
"type": "Value",
"id": 2
}
}
},
"Identifier": {
"fields": {
"packageId": {
"type": "string",
"id": 1
},
"moduleName": {
"type": "string",
"id": 2
},
"entityName": {
"type": "string",
"id": 3
}
}
},
"Variant": {
"fields": {
"variantId": {
"type": "Identifier",
"id": 1
},
"constructor_": {
"type": "string",
"id": 2
},
"value": {
"type": "Value",
"id": 3
}
}
},
"Enum": {
"fields": {
"enumId": {
"type": "Identifier",
"id": 1
},
"constructor_": {
"type": "string",
"id": 2
}
}
},
"List": {
"fields": {
"elements": {
"rule": "repeated",
"type": "Value",
"id": 1
}
}
},
"Optional": {
"fields": {
"value": {
"type": "Value",
"id": 1
}
}
},
"TextMap": {
"fields": {
"entries": {
"rule": "repeated",
"type": "Entry",
"id": 1
}
},
"nested": {
"Entry": {
"fields": {
"key": {
"type": "string",
"id": 1
},
"value": {
"type": "Value",
"id": 2
}
}
}
}
},
"GenMap": {
"fields": {
"entries": {
"rule": "repeated",
"type": "Entry",
"id": 1
}
},
"nested": {
"Entry": {
"fields": {
"key": {
"type": "Value",
"id": 1
},
"value": {
"type": "Value",
"id": 2
}
}
}
}
},
"cb": {
"options": {
"csharp_namespace": "Com.Daml.Ledger.Api.V2.CB",
"java_outer_classname": "ValueOuterCbClass",
"java_package": "com.daml.ledger.api.v2.cb"
},
"nested": {
"Value": {
"oneofs": {
"sum": {
"oneof": [
"unit",
"bool_",
"int64",
"date",
"timestamp",
"numeric",
"party",
"text",
"contractId",
"optional",
"list",
"textMap",
"genMap",
"record",
"variant",
"enum_"
]
}
},
"fields": {
"unit": {
"type": "google.protobuf.Empty",
"id": 1
},
"bool_": {
"type": "bool",
"id": 2
},
"int64": {
"type": "sint64",
"id": 3,
"options": {
"jstype": "JS_STRING"
}
},
"date": {
"type": "int32",
"id": 4
},
"timestamp": {
"type": "sfixed64",
"id": 5,
"options": {
"jstype": "JS_STRING"
}
},
"numeric": {
"type": "string",
"id": 6
},
"party": {
"type": "string",
"id": 7
},
"text": {
"type": "string",
"id": 8
},
"contractId": {
"type": "string",
"id": 9
},
"optional": {
"type": "Optional",
"id": 10
},
"list": {
"type": "List",
"id": 11
},
"textMap": {
"type": "TextMap",
"id": 12
},
"genMap": {
"type": "GenMap",
"id": 13
},
"record": {
"type": "Record",
"id": 14
},