aiken/examples/acceptance_tests/036/plutus.json

106 lines
3.9 KiB
JSON

{
"preamble": {
"title": "aiken-lang/acceptance_test_036",
"version": "0.0.0",
"plutusVersion": "v2"
},
"validators": [
{
"title": "spend.mint",
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Void"
}
},
"parameters": [
{
"title": "output_reference",
"schema": {
"$ref": "#/definitions/aiken~1transaction~1OutputReference"
}
}
],
"compiledCode": "58e50100003232323232323232323232323222253330093232533300b3370e9000000899251300a00214a064601a6ea8004004c8c8cc004dd6198041805198041805001a40009000119baf33009300b00148000018c0040048894ccc0400084cdd2a400497ae013232533300e300300213374a90001980980125eb804ccc01401400400cc05000cc048008526163001001222533300b00214984cc020c004c034008ccc00c00cc038008004cc0040052000222233330063370e0020060184666600a00a66e000112002300e001002002230053754002ae695cdaab9d5573caae7d5d02ba157441",
"hash": "67da7558138818e07b4615b50e849829f0f5f9859a60cd817aff942e"
},
{
"title": "spend.spend",
"datum": {
"title": "_datum",
"schema": {
"$ref": "#/definitions/Data"
}
},
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Data"
}
},
"compiledCode": "59016101000032323232323232323232323232222533300932323233001003232323322323232323330150014a0944004c94ccc0600045288a5000133223233223253330183370e90010008801099190009bab301f001301700332301a375400200400297adef6c6033223300800200100200100100237566601c60200049001001a45050000000000003001001222533301400213374a900125eb804c8c8c8c94ccc050cdc7802800899ba548000cc064dd300125eb804ccc01c01c00c014dd7180a8019bab3015002301800330160023001001222533301100214a026464a66601e600600429444ccc01401400400cc05400cc04c008dd6198031804198031804000a400090020a4c2c6002002444a66601600429309980418009806801199801801980700100099800800a40004444666600c66e1c00400c0308cccc014014cdc000224004601c0020040044600a6ea80055cd2b9b5573aaae7955cfaba05742ae881",
"hash": "f8437a12347bff5782bd8ca695a3cce1e2375bb5e7358e3dd5163527"
}
],
"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"
}
]
}
]
}
}
}