aiken/examples/acceptance_tests/036/plutus.json

106 lines
3.7 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": "58bd010000323232323232323232322225333007323253330093370e9000000899251300800214a060126ea8004ccc8c0040048894ccc0340085300103d87a800013232533300c300300213374a90001980800125eb804ccc01401400400cc04400cc03c008dd6198021803198021803000a40009000119baf330053007001480000105261633001001480008888cccc018cdc38008018059199980280299b8000448008c0340040080088c010dd5000ab9a5573aaae7955cfaba05742ae89",
"hash": "f2da5260de9e103cd05bedb261061fab52d2dbfad4804ab28ae6fc62"
},
{
"title": "spend.spend",
"datum": {
"title": "_datum",
"schema": {
"$ref": "#/definitions/Data"
}
},
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Data"
}
},
"compiledCode": "5901220100003232323232323232323222253330073233323001001222533300e00214a026464a66601a600600429444ccc01401400400cc04800cc0400080048ccc8c888c8c8c8ccc04000528251533301200114a22940c8c94ccc040cdc3a4004002297adef6c601323756602c002601e00460206ea8004cc010004008dd5998051806001240046002002444a66601e004298103d87a800013232323253330103371e00a002266e95200033014374c00497ae01333007007003005375c60200066eacc040008c04c00cc04400800522105000000000000375866008600c66008600c0029000240082930b19800800a40004444666600c66e1c00400c02c8cccc014014cdc000224004601a002004004460086ea80055cd2ab9d5573caae7d5d02ba15745",
"hash": "99d8662f114a478bb298150ecb317874143f4a40507566aa6b644b61"
}
],
"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"
}
]
}
]
}
}
}