chore: update against latest main, rerun build, change unlock interface

This commit is contained in:
rvcas
2023-03-14 18:20:47 -04:00
committed by Lucas
parent 0147af8330
commit 81359246f9
2 changed files with 80 additions and 70 deletions

View File

@@ -33,7 +33,7 @@ validator gift_card(token_name: ByteArray, utxo_ref: OutputReference) {
}
validator redeem(token_name: ByteArray, policy_id: ByteArray) {
fn(_d: Void, _r: Void, ctx: ScriptContext) -> Bool {
fn(_d: Data, _r: Data, ctx: ScriptContext) -> Bool {
let ScriptContext { transaction, .. } = ctx
let Transaction { mint, .. } = transaction