Anti-siphon ratio enforcement. Ensures the output value maintains a minimum ratio relative to the input value. Uses integer ratio arithmetic with 128-bit overflow protection. No Tapscript equivalent.
Governance Non-Invertible| Field | Data Type | Size | Side | Description |
|---|---|---|---|---|
| numerator | NUMERIC | 1-4 B | Conditions | Ratio numerator (≥ 0). The minimum fraction of input that must appear in output. |
| denominator | NUMERIC | 1-4 B | Conditions | Ratio denominator (> 0). Divides the numerator to form the ratio. |
Ratio: 9/10 (90% minimum retention)
Input: 10,000 sats. Output: 9,000 sats.
Same ratio, output: 8,999 sats.
{
"type": "RELATIVE_VALUE",
"fields": [
{ "type": "NUMERIC", "value": 9 },
{ "type": "NUMERIC", "value": 10 }
]
}Common ratios: 9/10 (90%), 99/100 (99%), 1/1 (100% — no value loss allowed), 19/20 (95%).