def extent
import stelliferous@0.0.2.0/proofs/storage_shape.bend as StorageShapeimport Base
31def extent(depth: Nat) -> Nat:
32 match depth:
33 case 0n: 1n
34 case 1n+rest: Nat.double(extent(rest))
Uses (2)
Used by (6)
- stelliferous@0.0.2.0/proofs/storage_address_bounds:capacity_value
- stelliferous@0.0.2.0/proofs/storage_address_bounds:right_stays_in_child_full
- stelliferous@0.0.2.0/proofs/storage_address_bounds:natural_bound
- stelliferous@0.0.2.0/proofs/storage_address_bounds:right_restores_index_full
- stelliferous@0.0.2.0/proofs/storage_address_bounds:shift_extent
- …