Output Type Proxy Lock
Output Type Proxy Lock is a Lock Script that allows unlocking when a specific Type Script appears in transaction outputs.
It is part of the ckb-proxy-locks.
How It Works
- Takes a 32-byte Type Script hash as an argument
args[0..32]: Hash of the required output type script
- Passes validation if any output Cell has the specified Type Script. This makes it useful for enforcing asset creation rules or conditional logic tied to transaction outputs.
Use Cases
- Ensuring token minting
- Conditional payments
- Asset creation requirements
Deployment
- Mainnet
parameter | value |
---|---|
code_hash | 0x2df53b592db3ae3685b7787adcfef0332a611edb83ca3feca435809964c3aff2 |
hash_type | data1 |
tx_hash | 0x10d63a996157d32c01078058000052674ca58d15f921bec7f1dcdac2160eb66b |
index | 0x2 |
dep_type | code |
- Testnet
parameter | value |
---|---|
code_hash | 0x2df53b592db3ae3685b7787adcfef0332a611edb83ca3feca435809964c3aff2 |
hash_type | data1 |
tx_hash | 0xb4f171c9c9caf7401f54a8e56225ae21d95032150a87a4678eac3f66a3137b93 |
index | 0x2 |
dep_type | code |