pub struct Claimable {
pub address: String,
pub claimable_wei: Option<String>,
pub distributor_address: Option<String>,
}Expand description
Wei owed to an address from payout pushes the contract could not complete (contract wallets, reverting receivers).
Withdrawable by calling claim() on the Distributor — the wallet signs, this
API only reads.
Fields§
§address: StringWallet address, lower-cased.
claimable_wei: Option<String>Exact wei as a decimal string. None when the RPC is unreachable or no
Distributor is configured — hide the banner rather than telling someone
they are owed nothing.
distributor_address: Option<String>Where to send the claim(). None when unconfigured.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Claimable
impl<'de> Deserialize<'de> for Claimable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Claimable
impl RefUnwindSafe for Claimable
impl Send for Claimable
impl Sync for Claimable
impl Unpin for Claimable
impl UnsafeUnpin for Claimable
impl UnwindSafe for Claimable
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