Struct uniffi_jormungandr_wallet::Wallet
source · pub struct Wallet(pub(crate) Mutex<Wallet>);
Tuple Fields§
§0: Mutex<Wallet>
Implementations§
source§impl Wallet
impl Wallet
pub fn new( account_key: Arc<SecretKeyEd25519Extended> ) -> Result<Self, WalletError>
pub fn set_state( &self, value: u64, counter: Vec<u32> ) -> Result<(), WalletError>
pub fn account_id(&self) -> AccountId
pub fn confirm_transaction(&self, id: FragmentId)
pub fn vote( &self, settings: Arc<Settings>, proposal: Proposal, choice: u8, valid_until: BlockDate, lane: u8 ) -> Result<Vec<u8>, WalletError>
pub fn spending_counters(&self) -> Vec<u32>
pub fn total_value(&self) -> Value
Auto Trait Implementations§
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnwindSafe for Wallet
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