StorageTreeModel.capacity: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/storage_tree_model.bend as StorageTreeModel Lines 22-27 of stelliferous@0.0.2.0/proofs/storage_tree_model.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/storage_tree_model.bend&start_line=22&end_line=27 import Base def capacity(-T: Data,tree: Tree) -> U32: match tree: case Leaf{v}: 1 case Node{l,r}: U32.shl(capacity(T,l)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shl https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_tree_model.bend&name=Tree