work out some initial direction for code gen

This commit is contained in:
Kasey White
2022-10-27 03:12:45 -04:00
committed by Lucas
parent 51302f1730
commit ffa78e4c30
9 changed files with 464 additions and 148 deletions

View File

@@ -1,3 +1,11 @@
pub type ScriptContext {
thing: String,
thing: String
}
pub type Datum {
something: String,
}
pub fn thing(a: Datum, b){
a.something == b
}

View File

@@ -1,10 +1,7 @@
use sample
use sample/mint
use sample/spend
pub type Datum {
something: String,
}
pub type Redeemer {
Buy { id: Int }
Sell(Int)