pub struct Delegate {
pub intent: Intent,
pub forfeit_psbts: Vec<Psbt>,
pub delegate_cosigner_pk: PublicKey,
}Expand description
A delegate contains all the information necessary for another party to settle VTXOs on behalf of the owner.
The owner pre-signs the intent and forfeit transactions, allowing another party to complete the settlement at a later time.
Fields§
§intent: Intent§forfeit_psbts: Vec<Psbt>Partial forfeit transactions signed with SIGHASH_ALL | ANYONECANPAY.
delegate_cosigner_pk: PublicKeyThe cosigner public key of the party who will execute the settlement as the delegate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Delegate
impl RefUnwindSafe for Delegate
impl Send for Delegate
impl Sync for Delegate
impl Unpin for Delegate
impl UnsafeUnpin for Delegate
impl UnwindSafe for Delegate
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