易发现 Type 约束Easy-to-discover Type Constraints

来源:ckb-devrel/ckb-proxy-locks / contracts/easy-to-discover-type/src/entry.rs · 0xaba4…37af (data1,主网与测试网相同)Source: ckb-devrel/ckb-proxy-locks / contracts/easy-to-discover-type/src/entry.rs · 0xaba4…37af (data1, same on mainnet and testnet)
Type 脚本Type script代理 / 工具Proxy / utility主网Mainnet测试网Testnet开源Open sourceNervos 官方Nervos

A按 data hash 索引的 cellA cell indexed by its data hash

Inputs 输入Inputs
inputs:不检查inputs: not checked任意any
➜
Outputs 输出Outputs
outputCell{ type: { codeHash: EASY, args: data_hash 32B }, data: D }
args 字节布局args byte layout
data_hash32B
  • data_hash 32B blake2b(data)blake2b(data) 每个 group 输出必须相等every group output must match (6)

限制Constraints

  • args ≥ 32 字节≥ 32 bytes (5)
  • data:: 每个 group 输出 blake2b(data) = args[0..32]every group output blake2b(data) = args[0..32] (6)
部署与来源Deployments & source 未核验unverified
源码source ckb-devrel/ckb-proxy-locks@38b7e1df · contracts/easy-to-discover-type/src/entry.rs (default-branch HEAD recorded at backfill 2026-10-21; spec/plugin were written from the default branch shortly before (exact read commit not recorded))
二进制核验binary check 未核验unverified no binary or checksum at the recorded commit matched the deployed data hash (reproducible build not attempted)
网络networkcode_hashcell_deptype_id args数据哈希data hash部署交易deploy tx
mainnet0xaba4430cc7110d699007095430a1faa72973edf2322ddbfd4d1d219cacf237af data10xb0ed754fb2…1ba0ac9b:0 code—0xaba4430cc7…acf237af0xb0ed754fb2…1ba0ac9b #14221033
testnet0xaba4430cc7110d699007095430a1faa72973edf2322ddbfd4d1d219cacf237af data10x1b4ffcad55…dad90792:0 code—0xaba4430cc7…acf237af0x1b4ffcad55…dad90792 #14831057
链上数据核对于 on-chain data checked 2026-10-20
错误码(error.rs):1 IndexOutOfBound · 2 ItemMissing · 3 LengthNotEnough · 4 Encoding · 5 InsufficientArgsLength · 6 DataHashNotMatchError codes (error.rs): 1 IndexOutOfBound · 2 ItemMissing · 3 LengthNotEnough · 4 Encoding · 5 InsufficientArgsLength · 6 DataHashNotMatch
不检查任何签名:安全性完全来自 args 指向的其他脚本No signature is checked: security comes entirely from the script that args points to
GitHub · gpBlockchain/ckb-contract-flow-html