101 lines
3.5 KiB
JSON
101 lines
3.5 KiB
JSON
{
|
|
"preamble": {
|
|
"title": "aiken-lang/acceptance_test_077",
|
|
"version": "0.0.0",
|
|
"plutusVersion": "v2",
|
|
"compiler": {
|
|
"name": "Aiken",
|
|
"version": "v1.0.24-alpha+d1ba8db"
|
|
}
|
|
},
|
|
"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": "5901ae010000323232323232322322232323225333009323232533300c3007300d3754002264646464a666026602c00426464a666024601a60266ea803854ccc048c8cc004004018894ccc05c004528099299980a99baf301a30173754603400402429444cc00c00c004c06800454ccc048c0300044cdc78010080a501616375a60260046eb8c04400458c050004cc88c94ccc044c02cc048dd50008a5eb7bdb1804dd5980b18099baa001323300100100322533301500114c0103d87a8000132323253330153371e00c6eb8c05800c4cdd2a4000660326e980052f5c026600a00a0046eacc058008c064008c05c004c8cc004004dd5980a180a980a980a980a8019129998098008a5eb7bdb1804c8c8c8c94ccc050cdc7a45000021003133018337606ea4008dd3000998030030019bab3015003375c6026004602e004602a0026eb8c04cc040dd50019bac3012001300e37540042c60206022004601e00260166ea80045261365632533300830030011533300b300a37540082930b0a99980418010008a99980598051baa00414985858c020dd50019b8748008dc3a40006eb80055cd2ab9d5573caae7d5d02ba15745",
|
|
"hash": "c537a66202fafb789b2e76c6a5430b53b0069e223ba8ad4b5b793d51"
|
|
}
|
|
],
|
|
"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": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |