Module riftenlabs_defi::cauldron
source · Expand description
The Cauldron contract CPMM contract
Structs§
- Cauldron contract parsed from a transaction + input index.
Constants§
- The cauldron contract redeemscript, with PKH replaced with the dummy value [0x11; 32]
Functions§
- Returns the p2sh32 locking script for Cauldron contract given a PKH
- Parse a PKH from a cauldron redeem script
- Create a cauldron redeemscript for PKH
- Parse contract details given a transaction and input index
- Parse all caldron contracts in transaction