Replace 'assets' with generated blueprints.

This commit is contained in:
KtorZ
2023-01-29 13:02:29 +01:00
parent daee8e39d6
commit 79b8786cee
24 changed files with 129 additions and 40 deletions

View File

@@ -1 +0,0 @@
addr1w9d2hmr5s8j9cz5xgzjzn3srsfajcwjjzeruaj5mh3kpuqcmvmz3r

View File

@@ -1,5 +0,0 @@
{
"type": "PlutusScriptV2",
"description": "Generated by Aiken",
"cborHex": "5855585301000032322225333573466e1cc8c0052f7b6301010400010101002323232002375a6aae78008dd69aab9d0010014802052616300100122253335573e004293099ab9b3001357420046660060066ae88008005"
}

View File

@@ -1 +0,0 @@
585301000032322225333573466e1cc8c0052f7b6301010400010101002323232002375a6aae78008dd69aab9d0010014802052616300100122253335573e004293099ab9b3001357420046660060066ae88008005

View File

@@ -1 +0,0 @@
addr_test1wpd2hmr5s8j9cz5xgzjzn3srsfajcwjjzeruaj5mh3kpuqcqy077x

View File

@@ -0,0 +1,22 @@
{
"preamble": {
"title": "aiken-lang/acceptance_test_048",
"version": "0.0.0"
},
"validators": [
{
"title": "foo",
"purpose": "spend",
"datum": {
"title": "Data",
"description": "Any Plutus data."
},
"redeemer": {
"title": "Data",
"description": "Any Plutus data."
},
"compiledCode": "585301000032322225333573466e1cc8c0052f7b6301010400010101002323232002375a6aae78008dd69aab9d0010014802052616300100122253335573e004293099ab9b3001357420046660060066ae88008005",
"hash": "5aabec7481e45c0a8640a429c603827b2c3a521647ceca9bbc6c1e03"
}
]
}

View File

@@ -4,6 +4,6 @@ fn when_tuple(a: (Int, Int)) -> Int {
}
}
pub fn spend(a, b, c) -> Bool {
pub fn spend(a: Data, b: Data, c) -> Bool {
when_tuple((4, 1)) == 4
}