129 lines
4.5 KiB
JSON
129 lines
4.5 KiB
JSON
{
|
|
"preamble": {
|
|
"title": "aiken-lang/acceptance_test_077",
|
|
"version": "0.0.0",
|
|
"plutusVersion": "v2",
|
|
"compiler": {
|
|
"name": "Aiken",
|
|
"version": "v1.0.31-alpha+3aa9eb5"
|
|
}
|
|
},
|
|
"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": "5901ce010000323232323232322322232323232533300930040011533300c300b375400a2a0042c2a66601260060022a66601860166ea8014540085858c024dd50020929998041919192999805980318061baa00113232323253330123015002132325333011300c3012375401a2a666022646600200200c44a66602c00229404c94ccc050cdd7980c980b1baa301900201114a226600600600260320022a6660226016002266e3c00803c5280b0b1bad3012002375c60200022c602600264a66601c6010601e6ea800452f5bded8c026eacc04cc040dd500099191980080099198008009bab3015301630163016301600522533301400114bd6f7b630099191919299980a99b9148900002153330153371e91010000210031005133019337606ea4008dd3000998030030019bab3016003375c60280046030004602c00244a666026002298103d87a800013232323253330143372200e0042a66602866e3c01c0084cdd2a4000660306e980052f5c02980103d87a80001330060060033756602a0066eb8c04c008c05c008c054004dd7180918079baa00337586022002601a6ea800858c03cc040008c038004c028dd50008a4c26cac6e1d2002370e90001bae0015734aae7555cf2ab9f5740ae855d11",
|
|
"hash": "4ef9bf69c108d6abd0a5af057a519df56d7fb333de428563810495a0"
|
|
},
|
|
{
|
|
"title": "spend2.backtrace",
|
|
"datum": {
|
|
"title": "_datum",
|
|
"schema": {
|
|
"$ref": "#/definitions/Void"
|
|
}
|
|
},
|
|
"redeemer": {
|
|
"title": "_redeemer",
|
|
"schema": {
|
|
"$ref": "#/definitions/Void"
|
|
}
|
|
},
|
|
"compiledCode": "58ac010000323232323232322323223225333007533300730053008375464660020026eb0c034c038c038c028dd5180698051baa00222533300c00114c0103d87a800013232533300b4a2266e9520003300f0024bd70099802002000980800118070008a511614984d9594ccc014c00cc018dd50008a99980418039baa001149858594ccc00cc004c010dd50010a99980318029baa00214985858dc3a4000ae6955ceaab9e5573eae815d0aba201",
|
|
"hash": "c58d31e63ad2d807c2188dfb1deafc433fe0f6a867e5cf8df68f068f"
|
|
}
|
|
],
|
|
"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": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |