129 lines
4.6 KiB
JSON
129 lines
4.6 KiB
JSON
{
|
|
"preamble": {
|
|
"title": "aiken-lang/acceptance_test_077",
|
|
"version": "0.0.0",
|
|
"plutusVersion": "v2",
|
|
"compiler": {
|
|
"name": "Aiken",
|
|
"version": "v1.0.31-alpha+896cec4"
|
|
}
|
|
},
|
|
"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": "5901e4010000323232323232323223222323232322533300a323232533300d3007300e37540022646464a6660260022c264a666028602e00426464a666026601a60286ea803854ccc04cc8cc004004018894ccc060004528099299980b19baf301b30183754603600402629444cc00c00c004c06c00454ccc04cc0300044cdc78010088a501616375a60280046eb8c04800458c054004c94ccc040c024c044dd50008a5eb7bdb1804dd5980a98091baa00132323300100132330010013756602e603060306030603000a44a66602c002297adef6c60132323232533301733722910100002153330173371e9101000021003100513301b337606ea4008dd3000998030030019bab3018003375c602c0046034004603000244a66602a002298103d87a800013232323253330163372200e0042a66602c66e3c01c0084cdd2a4000660346e980052f5c02980103d87a80001330060060033756602e0066eb8c054008c064008c05c004dd7180a18089baa00337586026002601e6ea800858c044c048008c040004c030dd50008a4c26cac64a66601260060022a66601860166ea8010526161533300930020011533300c300b37540082930b0b18049baa003370e90011b87480014cccccc030004400458585858dd7000ab9a5573aaae7955cfaba05742ae895d201",
|
|
"hash": "41f948bc5dcda5f8813cc42ffde5c8d981f37be1475a5d242d44e2fd"
|
|
},
|
|
{
|
|
"title": "spend2.backtrace",
|
|
"datum": {
|
|
"title": "_datum",
|
|
"schema": {
|
|
"$ref": "#/definitions/Void"
|
|
}
|
|
},
|
|
"redeemer": {
|
|
"title": "_redeemer",
|
|
"schema": {
|
|
"$ref": "#/definitions/Void"
|
|
}
|
|
},
|
|
"compiledCode": "58c401000032323232323232322323223225333007533300730053008375464660020026eb0c034c038c038c028dd5180698051baa00222533300c00114c0103d87a800013232533300b4a2266e9520003300f0024bd70099802002000980800118070008a511614984d9594cccccc03000454ccc014c00cc018dd50008a99980418039baa00114985858585858594cccccc02800854ccc00cc004c010dd50010a99980318029baa0021498585858585858dc3a4000ae6955ceaab9e5573eae815d0aba25749",
|
|
"hash": "419ffec4259b90352f8fde4cd451f98d01132f6cb7b1c382c9a3e810"
|
|
}
|
|
],
|
|
"definitions": {
|
|
"ByteArray": {
|
|
"dataType": "bytes"
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"spend/Action": {
|
|
"title": "Action",
|
|
"anyOf": [
|
|
{
|
|
"title": "Mint",
|
|
"dataType": "constructor",
|
|
"index": 0,
|
|
"fields": []
|
|
},
|
|
{
|
|
"title": "Burn",
|
|
"dataType": "constructor",
|
|
"index": 1,
|
|
"fields": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |