diff --git a/bin/dao/daod/TODO b/bin/dao/daod/TODO deleted file mode 100644 index 5060f7b09..000000000 --- a/bin/dao/daod/TODO +++ /dev/null @@ -1,16 +0,0 @@ -priority: immediate - -* move schema.rs to darkfi/example - * rename it to dao.rs - * we want to be able to run it like how we run example/tx.rs - * cargo run --example dao - * and it should compile and work - -priority: low - -* the things in util.rs are not all utils - * some of them should be moved to other modules eventually - -* rename [foo]_contract to just foo - * contract/dao_contract/ is redundant - * we can just have contract/dao diff --git a/bin/dao/daod/src/util.rs b/bin/dao/daod/src/util.rs index 30780e597..6097f0dd8 100644 --- a/bin/dao/daod/src/util.rs +++ b/bin/dao/daod/src/util.rs @@ -121,10 +121,14 @@ impl ZkContractTable { } } +// ANCHOR: transaction pub struct Transaction { pub func_calls: Vec, + // TODO: this is wrong. It should be Vec> + // each Vec correspond to ONE function call pub signatures: Vec, } +// ANCHOR_END: transaction impl Transaction { /// Verify ZK contracts for the entire tx