feat(aiken_stdlib): add script context type

This commit is contained in:
rvcas
2022-11-16 11:47:30 -05:00
committed by Lucas
parent 021237f265
commit 771e011630
4 changed files with 25 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
pub fn spend(d: Nil, r: Nil, ctx: Nil) -> Bool {
use aiken/context.{ScriptContext}
use aiken/context/mint.{Mint}
pub fn mint(d: Nil, r: Nil, ctx: ScriptContext(Mint)) -> Bool {
True
}