Skip to main content

Crate riftenlabs_defi

Crate riftenlabs_defi 

Source
Expand description

§riftenlabs-defi

riftenlabs-defi Collection of utilities for wortking with DeFi contracts on Bitcoin Cash.

Modules§

cauldron
The Cauldron contract CPMM contract
chainutil
Miscellaneous helper functions
delphi
The Delphi oracle contract Delphi oracle contracts.
moria
The Moria lending protocol
tokenbch_delegation
The Token-BCH delegation contract (single-UTXO shared-logic pools) The Token-BCH delegation contract (libriften tokenbch-delegation): a token <-> native-BCH AMM on the same shared-logic delegation model as crate::tokentoken_delegation, specialized to one side being native BCH.
tokentoken_delegation
The TokenToken delegation contract (shared-logic pools + carrier covenant) The TokenToken delegation contract (libriften tokentoken-delegation): a token-A <-> token-B AMM whose swap/withdraw logic is shared by all pools.
wbch
The Wrapped BCH (wBCH) covenant