pub struct FireblocksWallet { /* private fields */ }
Expand description
Fireblocks wallet
Implementations§
Source§impl FireblocksWallet
impl FireblocksWallet
pub async fn new( fireblocks_client: Client, provider: String, vault_account_name: String, ) -> Result<FireblocksWallet, FireBlockError>
Sourcepub async fn get_account(
&mut self,
) -> Result<Option<VaultAccount>, FireBlockError>
pub async fn get_account( &mut self, ) -> Result<Option<VaultAccount>, FireBlockError>
Get Vault Accounts
Sourcepub async fn get_whitelisted_account(
&mut self,
address: Address,
) -> Result<WhitelistedAccount, FireBlockError>
pub async fn get_whitelisted_account( &mut self, address: Address, ) -> Result<WhitelistedAccount, FireBlockError>
Get whitelisted account for the particular address
Sourcepub async fn get_whitelisted_contract(
&mut self,
address: Address,
) -> Result<WhitelistedContract, FireBlockError>
pub async fn get_whitelisted_contract( &mut self, address: Address, ) -> Result<WhitelistedContract, FireBlockError>
Get whitelisted contract
Sourcepub async fn get_transaction_receipt(
&mut self,
tx_id: String,
) -> Result<TransactionReceipt, FireBlockError>
pub async fn get_transaction_receipt( &mut self, tx_id: String, ) -> Result<TransactionReceipt, FireBlockError>
Get transaction receipt for the tx_id derived from fireblocks
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FireblocksWallet
impl RefUnwindSafe for FireblocksWallet
impl Send for FireblocksWallet
impl Sync for FireblocksWallet
impl Unpin for FireblocksWallet
impl UnwindSafe for FireblocksWallet
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.