Type Burn Lock
Type Burn Lock is a Lock Script that allows unlocking when a specific Type Script is burned (destroyed).
It is part of the ckb-proxy-locks.
How It Works
- Takes a 32-byte Type Script hash as argument
args[0..32]: Hash of the Type Script that must be burned
- Passes validation only if the specified Type Script appears in at least one input Cell AND does not appear in any output Cell.
Use Cases
- Token burning mechanisms
- Proof of destruction
- Conditional unlocking based on asset burning
Deployment
- Mainnet
parameter | value |
---|---|
code_hash | 0xff78bae0abf17d7a404c0be0f9ad9c9185b3f88dcc60403453d5ba8e1f22f53a |
hash_type | data1 |
tx_hash | 0x10d63a996157d32c01078058000052674ca58d15f921bec7f1dcdac2160eb66b |
index | 0x5 |
dep_type | code |
- Testnet
parameter | value |
---|---|
code_hash | 0xff78bae0abf17d7a404c0be0f9ad9c9185b3f88dcc60403453d5ba8e1f22f53a |
hash_type | data1 |
tx_hash | 0xb4f171c9c9caf7401f54a8e56225ae21d95032150a87a4678eac3f66a3137b93 |
index | 0x5 |
dep_type | code |