{ "preamble": { "title": "aiken-lang/acceptance_test_077", "version": "0.0.0", "plutusVersion": "v2", "compiler": { "name": "Aiken", "version": "v1.0.24-alpha+86c5bb8" } }, "validators": [ { "title": "spend.gift_card", "redeemer": { "title": "rdmr", "schema": { "$ref": "#/definitions/spend~1Action" } }, "parameters": [ { "title": "token_name", "schema": { "$ref": "#/definitions/ByteArray" } }, { "title": "utxo_ref", "schema": { "$ref": "#/definitions/aiken~1transaction~1OutputReference" } } ], "compiledCode": "5901a7010000323232323232323232232223232322533300b323232533300e3007300d00113232323253330153018002132325333014300d301300e15333014323300100100622533301900114a0264a66602e66ebcc070c054c070008048528899801801800980e0008a99980a1806000899b8f00201014a02c2c6eb4c054008dd718098008b180b0009991192999809980598090008a5eb7bdb1804dd5980c1808800991980080080191299980b8008a6103d87a8000132323253330173371e00c6eb8c06000c4cdd2a4000660366e980052f5c026600a00a0046eacc060008c06c008c064004c8cc004004dd5980b180b980b980b980b80191299980a8008a5eb7bdb1804c8c8c8c94ccc058cdc7a4500002100313301a337606ea4008dd3000998030030019bab3017003375c602a0046032004602e0026eb8c054c03800cdd6180a00098060010b18091809801180880098048008a4c26cac64a66601460060022a66601a60100082930b0a99980518010008a99980698040020a4c2c2c60100066e1d2002370e90001bae001230053754002460066ea80055cd2ab9d5573caae7d5d02ba157441", "hash": "1c731f70048a21616972e2a68c78c6b35e46c0411f134457827862e0" } ], "definitions": { "ByteArray": { "dataType": "bytes" }, "Int": { "dataType": "integer" }, "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" } ] } ] }, "spend/Action": { "title": "Action", "anyOf": [ { "title": "Mint", "dataType": "constructor", "index": 0, "fields": [] }, { "title": "Burn", "dataType": "constructor", "index": 1, "fields": [] } ] } } }