{ "preamble": { "title": "aiken-lang/acceptance_test_077", "version": "0.0.0", "plutusVersion": "v2" }, "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": "5901ac010000323232323232323232323223222232533300b32323232533300f3370e9000180700089919191919191919191919299980e98100010991919299980e99b874800000454ccc074c8cc004004030894ccc08800452809919299981099baf3301d301f00248000068528899802002000981300118120008a99980e99b87002480084cdc780180b8a501616301b014375a603a0046eb8c06c00458c078004c8c94ccc068cdc3a4004002297adef6c601323756604000260300046030002646600200200444a66603a0022980103d87a8000132323232533301e3371e01c004266e95200033022374c00297ae01330060060033756603e0066eb8c074008c084008c07c004dd5980e000980e000980d800980d000980c8011bac3017001300f005375c602a002601a0022c60260026026004602200260120042930b19299980599b874800000454ccc038c02400c526161533300b3370e90010008a99980718048018a4c2c2c60120046eb8004cc0040052000222233330073370e0020060184666600a00a66e000112002300e001002002230053754002460066ea80055cd2ab9d5573caae7d5d02ba15745", "hash": "d6a785c18cf272d65dbbaee1c06b4024dd8e42ab4ade95872020b1ea" } ], "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": [] } ] } } }