StorageCertificate.witness: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/storage_certificate.bend as StorageCertificate Lines 68-72 of stelliferous@0.0.2.0/proofs/storage_certificate.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/storage_certificate.bend&start_line=68&end_line=72 import Base import stelliferous@0.0.2.0/proofs/storage_tree_model.bend as Tree import stelliferous@0.0.2.0/proofs/storage_witness.bend as Witness def witness(-Element: Data,-storage: Array,certificate: Certificate) -> Witness.ArrayWitness: Certificate{+depth,equation} = certificate %Equal.sym(Array,storage,Tree.pack(Element,normalized(Element,depth,Tree.reflect(Element,storage))),equation) : Witness.ArrayWitness Witness.ArrayWitness{depth,normalized_witness(Element,depth,Tree.reflect(Element,storage))} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_certificate.bend&name=Certificate https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_certificate.bend&name=normalized https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_certificate.bend&name=normalized_witness https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_tree_model.bend&name=pack https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_tree_model.bend&name=reflect https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/proofs/storage_witness.bend&name=ArrayWitness