[−][src]Struct komodo_airdrop::Airdrop
Methods
impl Airdrop
[src]
pub fn builder<'a>() -> AirdropBuilder<'a>
[src]
pub fn signing_string(
&self,
redeem_script: Option<String>
) -> Result<String, AirdropError>
[src]
&self,
redeem_script: Option<String>
) -> Result<String, AirdropError>
Does a createrawtransaction
RPC to the running daemon to create a raw transaction and uses the resulting hex to
print the string that is needed for the signrawtransaction
komodod RPC
Because of multisig, signing is done manually
pub fn calculate(&mut self) -> Result<(), AirdropError>
[src]
Takes the fund_address
balance (and interest, if set) and calculates what each address in the
snapshot will get, based on their address balance
to snapshot total balance
ratio
Sets dest_addresses
Auto Trait Implementations
impl RefUnwindSafe for Airdrop
impl Send for Airdrop
impl Sync for Airdrop
impl Unpin for Airdrop
impl UnwindSafe for Airdrop
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,