Layer 4 · DIG CAT payment & pricing
Canonical reference:
chip35_dl_coin::dig(the canonical builder);digstore-chain::dig/::cat(the byte-mirror). Builds the per-capsule $DIG payment that rides with a root-advance.
Byte-identical constants (asserted in tests on both sides)
| Constant | Value | Reference |
|---|---|---|
DIG_ASSET_ID (TAIL hash, mainnet) | a406d3a9de984d03c9591c10d917593b434d5263cabe2b42f6b367df16832f81 | dig.rs:43 |
DIG_TREASURY_INNER_PUZZLE_HASH | ec7c304708c7d59c078d5ae098d0dea004decf47fa1cafebb266c10ad6466ce8 | dig.rs:56 |
| DIG decimals | 3 (1 DIG = 1000 base units) | mirror dig.rs:13 |
The treasury inner ph decodes from xch1a37rq3cgcl2ecpudttsf35x75qzdan68lgw2l6ajvmqs44jxdn5qv6pk3y.
The payment builder
build_dig_store_payment(buyer_synth_key, dig_cats: Vec<Cat>, store_id, amount) -> Vec<CoinSpend>