aiken/examples/acceptance_tests/036/plutus.json

110 lines
3.5 KiB
JSON

{
"preamble": {
"title": "aiken-lang/acceptance_test_036",
"version": "0.0.0",
"plutusVersion": "v2",
"compiler": {
"name": "Aiken",
"version": "v1.0.24-alpha+e14f091"
}
},
"validators": [
{
"title": "spend.mint",
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Void"
}
},
"parameters": [
{
"title": "output_reference",
"schema": {
"$ref": "#/definitions/aiken~1transaction~1OutputReference"
}
}
],
"compiledCode": "589501000032323232323232322232322533300753330073003300837546464660020026eb0c008c020c008c02000c894ccc034004530103d87a800013232533300c3375e600a6016004014266e952000330100024bd7009980200200098088011807800918068008a5114a029309b2b2999802980098031baa002149858dc3a4000460086ea80055cd2ab9d5573caae7d5d02ba157441",
"hash": "b4352ec01ca0fe6fe98cd94040c6844052e3fe02533f30664f985d5f"
},
{
"title": "spend.spend",
"datum": {
"title": "_datum",
"schema": {
"$ref": "#/definitions/Data"
}
},
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Data"
}
},
"compiledCode": "58d40100003232323232323232222533300532330010013758601660186018600a6016600a00444a66601400229404c94ccc020ccc0214ccc02cc94ccc024cdc3a400460146ea800452f5bded8c026eacc038c020004c8cc004004dd598071807980418070019129998068008a6103d87a80001323232533300d3371e91105000000000000375c601c006266e95200033011374c00297ae01330050050023756601c0046022004601e00229445282504a229444cc00c00c004c03400452613656230043754002ae6955ceaab9e5573eae815d0aba201",
"hash": "7e51cb2de0b306171d8c1c73f58185b8aba4affd57be308bee3cfcb5"
}
],
"definitions": {
"ByteArray": {
"dataType": "bytes"
},
"Data": {
"title": "Data",
"description": "Any Plutus data."
},
"Int": {
"dataType": "integer"
},
"Void": {
"title": "Unit",
"description": "The nullary constructor.",
"anyOf": [
{
"dataType": "constructor",
"index": 0,
"fields": []
}
]
},
"aiken/transaction/OutputReference": {
"title": "OutputReference",
"description": "An `OutputReference` is a unique reference to an output on-chain. The `output_index`\n corresponds to the position in the output list of the transaction (identified by its id)\n that produced that output",
"anyOf": [
{
"title": "OutputReference",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "transaction_id",
"$ref": "#/definitions/aiken~1transaction~1TransactionId"
},
{
"title": "output_index",
"$ref": "#/definitions/Int"
}
]
}
]
},
"aiken/transaction/TransactionId": {
"title": "TransactionId",
"description": "A unique transaction identifier, as the hash of a transaction body. Note that the transaction id\n isn't a direct hash of the `Transaction` as visible on-chain. Rather, they correspond to hash\n digests of transaction body as they are serialized on the network.",
"anyOf": [
{
"title": "TransactionId",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "hash",
"$ref": "#/definitions/ByteArray"
}
]
}
]
}
}
}