figured out the recursion based uplc terms to get item from a list

This commit is contained in:
Kasey White
2022-11-04 05:18:06 -04:00
committed by Lucas
parent ad4a5e927d
commit 9864a3fe31
2 changed files with 235 additions and 3 deletions

View File

@@ -9,11 +9,10 @@ pub type Redeemer {
pub fn spend(datum: sample.Datum, rdmr: Redeemer, ctx: spend.ScriptContext) -> Bool {
let dat = sample.Datum{..}
let y = 2
let x = 1
let a = datum.something
let e = dat.something
let b = 2
b == 1
}