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": "58ba01000032323232323232323232222323253330093370e9000000899251300800214a060126ea8004c8c8cc004dd6198031804198031804001a40009000119baf33007300900148000018c0040048894ccc0340084cdd2a400497ae013232533300c300300213374a90001980800125eb804ccc01401400400cc04400cc03c008cc0040052000222233330063370e0020060164666600a00a66e000112002300d001002002230043754002ae6955ceaab9e5573eae815d0aba201",
"hash": "09a9f4aa5ce2b9b8df2623e096bffcfcf79a41bdb8a26c1551b366a3"
},
{
"title": "spend.spend",
"datum": {
"title": "_datum",
"schema": {
"$ref": "#/definitions/Data"
}
},
"redeemer": {
"title": "_redeemer",
"schema": {
"$ref": "#/definitions/Data"
}
},
"compiledCode": "59011d0100003232323232323232323222232323233001003232323232323330100014a09454ccc0480045288a50323253330103370e90010008a5eb7bdb1804c8c8004dd5980b000980780118081baa00133002001489050000000000003756660146018006900118008009112999808801099ba5480092f5c0264646464a66602466e3c0140044cdd2a40006602c6e980092f5c0266600e00e00600a6eb8c04800cdd59809001180a8019809801180080091129998070010a5013232533300d300300214a2266600a00a002006602400660200046eb0cc010c018cc010c018005200048010cc0040052000222233330063370e0020060164666600a00a66e000112002300d001002002230043754002ae6955ceaab9e5573eae815d0aba201",
"hash": "e9af027b9da36701cdca6786bd0b2b65e8af17ae8ad7dc8ea5750039"
}
],
"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"
}
]
}
]
}
}
}