Cells 名字 lock(account-lock)约束Cells name lock (account-lock) Constraints
来源:LusoCryptoLabs/cells-contracts @34dad3c / contracts/account-lock/src/main.rs · 主网 0x9f0f…71ab / 测试网 0xede6…4afd(type,cellula-sdk)Source: LusoCryptoLabs/cells-contracts @34dad3c / contracts/account-lock/src/main.rs · mainnet 0x9f0f…71ab / testnet 0xede6…4afd (type, cellula-sdk)
Cells / Cellula (.cell names)
- 官网Websitecellula.id
- 文档Docscellula.id/developers
- GitHubGitHubgithub.com/LusoCryptoLabs/cells-contracts
- XXx.com/lusocryptolabs
来源:Source: cells-contracts repo homepage + README; X from the LusoCryptoLabs GitHub profile
A任意解锁Unlock by anyone
Inputs 输入Inputs
name cellCell{ lock: { codeHash: ACCOUNT_LOCK, hashType: type, args: 0x },
type: ACCOUNT_TYPE … }
➜
Outputs 输出Outputs
outputs:任意outputs: any由 account-cell-type 约束constrained by account-cell-type
限制Constraints
- —:: program_entry 恒返回 0program_entry always returns 0 (0)
部署与来源Deployments & source 未核验unverified
源码source LusoCryptoLabs/cells-contracts@34dad3c2 · contracts/account-lock/src/main.rs (exact commit read when writing spec/plugin (default-branch HEAD, 2026-09-28). Deployment constants from cellula-sdk@0.2.1 dist/deployments.js and docs/TRUST.md.)
二进制核验binary check 未核验unverified Data hash 0xa46c…f13b (same on both networks) appears in README and docs/TRUST.md as the reproduced build output (a doc listing, not a binary at the commit); reproducible build not attempted here.
0xa46c19f226…e3e3f13b: listed in README.md
0xa46c19f226…e3e3f13b: listed in README.md
| 网络network | code_hash | cell_dep | type_id args | 数据哈希data hash | 部署交易deploy tx |
|---|---|---|---|---|---|
| mainnet | 0x9f0f0ba142b58cba2fe047546cfd8481d5b1769437cd3533e6458b21b61871ab type | 0x522c91d324…01c59268:1 code | 0xd0713d8ece…942ba026 | 0xa46c19f226…e3e3f13b | 0x522c91d324…01c59268 #20515861 |
| testnet | 0xede6a3d80717c3d7927eea678d095abbe68dbb08ca6fdbbbdd9de906455a4afd type | 0x968ec1a8cb…fec5a30a:1 code | 0x6df5e3f226…41eb8e92 | 0xa46c19f226…e3e3f13b | 0x968ec1a8cb…fec5a30a #22382771 |
链上数据核对于 on-chain data checked 2026-10-21
错误码:无Error codes: none
有意为之:所有名字共享同一 lock hash,全部授权在 account-cell-type 中(decision 0002)。不要把它用在没有守护 type 的 cell 上。Intentional: every name shares one lock hash and all authorization lives in account-cell-type (decision 0002). Never use it on a cell without a guarding type.
有意为之:所有名字共享同一 lock hash,全部授权在 account-cell-type 中(decision 0002)。不要把它用在没有守护 type 的 cell 上。Intentional: every name shares one lock hash and all authorization lives in account-cell-type (decision 0002). Never use it on a cell without a guarding type.