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+8532aff"
}
},
"validators": [
{
"title": "test2.simple_oneshot",
"redeemer": {
"title": "_r",
"schema": {
"$ref": "#/definitions/Void"
}
},
"parameters": [
{
"title": "utxo_ref",
"schema": {
"$ref": "#/definitions/aiken~1transaction~1OutputReference"
}
}
],
"compiledCode": "58e6010000323232323232323232223225333007323232323232533300d3370e900018060018991919299980819b8748000c03c0044c8c94ccc048cdc3a40000022944528180800099801002119baf3004300f00100e163300100323375e6006601c00201a44646600200200644a66602a0022980103d87a8000132325333014300500213374a90001980c00125eb804cc010010004c064008c05c0048c04c00458dd61808800980480198078009807801180680098028008a4c26caca66600a66e1d2000300637540022930b118029baa001230033754002ae6955ceaab9e5573eae815d0aba201",
"hash": "3162d9ccfeb3ddafc1d6104b2bd409290b51e018d20a7137194274ad"
}
],
"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"
}
]
}
]
}
}
}