const Predecessor
Predecessor is the version this one supersedes.
Package lock is version 1 of the "retire the predecessor" upgrade pattern (pattern B of the exploration; see ../READM...
gno.land/r/moul/x/upgrade/lock/v1Version 1 of the retire the predecessor upgrade pattern (pattern B).
Refuses every write until v0 has been retired onto it, then folds
v0's frozen total into its own. At most one version is writable at any height,
so there is a single authoritative answer.
See the pattern and the exploration.
Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
Dependency graph:

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.
Package lock is version 1 of the "retire the predecessor" upgrade pattern (pattern B of the exploration; see ../README.md).
v1 refuses every write until v0 has been retired. That is the whole point: at most one version is writable at any height, so v1 can safely fold v0's frozen total into its own and report a single authoritative number, the thing pattern A cannot do.
Predecessor is the version this one supersedes.