97 lines
4.0 KiB
JSON
97 lines
4.0 KiB
JSON
{
|
|
"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": "5902d601000032323232323232323232323223222232533300b323232323232323232323232323232533301e30210021323232533301d3370e90000008a99980e9999180080091129998120010a50132325333022300300214a2266600a00a0020066050006604c004016466ebccc068c07000520000171533301d3370e0049001099b8f00301714a02a6603c921254578706563746564206f6e20696e636f727265637420626f6f6c65616e2076617269616e74001616301b012375a603c0046eb8c07000454cc06d2401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016301f001333232223232533301e3370e90010008a5eb7bdb1804c8dd59812800980e001180e000998018010009800800911299980f8010a6103d87a8000132323232533301f3371e00a002266e95200033024374c00497ae01333007007003005375c60400066eacc080008c08c00cc084008004020dd5980e800980e800980e000980d800980d0011bac3018001300f005375c602c002601aa66601e66e1d2000300e001100115330104912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163014001301400230120013009002149858c800cc94ccc02ccdc3a40000022a66601e60120062930a998062491d4578706563746564206e6f206669656c647320666f7220436f6e73747200161533300b3370e90010008a99980798048018a4c2a6601892011d4578706563746564206e6f206669656c647320666f7220436f6e7374720016153300c4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163009002375c0026600200290001111199980399b8700100300d233330050053370000890011807800801001118031baa001230043754002ae695ce2ab9d5573caae7d5d02ba15745",
|
|
"hash": "47f04b17991835e079855a20d5c4506bee37d7917260a688ceae8266"
|
|
}
|
|
],
|
|
"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": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |