pub struct DlcManager {
pub oracle_pubkey: String,
}Expand description
Concrete implementation of Discrete Log Contract (DLC) Orchestrator for Bitcoin bonds (CON-72).
Fields§
§oracle_pubkey: StringImplementations§
Trait Implementations§
Source§impl DlcOrchestrator for DlcManager
impl DlcOrchestrator for DlcManager
fn create_dlc_bond(&self, bond: &DlcBond) -> ConxianResult<String>
fn settle_coupon(&self, bond_id: &str, amount_sbtc: u64) -> ConxianResult<bool>
Auto Trait Implementations§
impl Freeze for DlcManager
impl RefUnwindSafe for DlcManager
impl Send for DlcManager
impl Sync for DlcManager
impl Unpin for DlcManager
impl UnsafeUnpin for DlcManager
impl UnwindSafe for DlcManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more