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

@@ -12,7 +12,7 @@ pub fn has_policy_id(self: Output, policy_id: PolicyId) -> Bool {
|> not
}
pub fn spend(_datum, _redeemer, ctx: ScriptContext) -> Bool {
pub fn spend(_datum: Data, _redeemer: Data, ctx: ScriptContext) -> Bool {
ctx.transaction.outputs
|> list.any(has_policy_id(_, my_policy_id))
}