aiken/examples/acceptance_tests/077/plutus.json

97 lines
3.4 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": "5901bf010000323232323232323232323223222232533300b32323232533300f3370e9000180700089919191919191919191919299980e98100010991919299980e99b874800000454ccc074ccc8c0040048894ccc08c00852809919299981118018010a5113330050050010033027003302500200b23375e660346038002900000b8a99980e99b87002480084cdc780180b8a501616301b014375a603a0046eb8c06c00458c078004ccc8c888c8c94ccc078cdc3a4004002297adef6c601323756604800260380046038002660060040026002002444a66603c0042980103d87a8000132323232533301f3371e00a004266e95200033023374c00297ae01333007007003005375660400066eb8c078008c08800cc080008004020dd5980e000980e000980d800980d000980c8011bac3017001300f005375c602a002601a0022c60260026026004602200260120042930b19299980599b874800000454ccc038c02400c526161533300b3370e90010008a99980718048018a4c2c2c60120046eb8004cc0040052000222233330073370e0020060184666600a00a66e000112002300e001002002230053754002460066ea80055cd2ab9d5573caae7d5d02ba15745",
"hash": "6bc330a4edd7f9542d7e78b883166de880813545737b886a35a9dd2d"
}
],
"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": []
}
]
}
}
}