aiken/examples/acceptance_tests/089/plutus.json

89 lines
2.8 KiB
JSON

{
"preamble": {
"title": "aiken-lang/acceptance_test_089",
"version": "0.0.0",
"plutusVersion": "v2",
"compiler": {
"name": "Aiken",
"version": "v1.0.24-alpha+e14f091"
}
},
"validators": [
{
"title": "test2.simple_oneshot",
"redeemer": {
"title": "_r",
"schema": {
"$ref": "#/definitions/Void"
}
},
"parameters": [
{
"title": "utxo_ref",
"schema": {
"$ref": "#/definitions/aiken~1transaction~1OutputReference"
}
}
],
"compiledCode": "58ce010000323232323232323232223232253330083232533300a30053009300f301000213232533300c3007300b3300100323375e600660160020142a666018600e601666002006466ebcc00cc02c0040285288a501622323300100100322533301200114c103d87a8000132325333011300500213374a90001980a80125eb804cc010010004c058008c0500048c04000458dd618071803980700098030008a4c26caca66600c6002600e6ea800852616370e9000118029baa001230033754002ae6955ceaab9e5573eae815d0aba21",
"hash": "2d8a5f8ab6df9b192878cfedf4335bd90e62997e937502513b2ba80c"
}
],
"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"
}
]
}
]
}
}
}