pub enum Wallet<'a> {
Native(&'a PubkeyAccount),
Legacy {
address: ContractAddress,
entrypoint: ContractEntrypointID,
},
}Expand description
Explicit wallet identity and invocation format. Legacy addresses are never reinterpreted as native accounts based on their owner key.
Variants§
Native(&'a PubkeyAccount)
Root pubkey account using the native DefaultWallet ABI.
Legacy
A deployed legacy wallet with its configured call entrypoint.
Fields
§
address: ContractAddressDeployed wallet address.
§
entrypoint: ContractEntrypointIDLegacy do_action entrypoint from the network’s wallet interface.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Wallet<'a>
impl<'a> RefUnwindSafe for Wallet<'a>
impl<'a> Send for Wallet<'a>
impl<'a> Sync for Wallet<'a>
impl<'a> Unpin for Wallet<'a>
impl<'a> UnsafeUnpin for Wallet<'a>
impl<'a> UnwindSafe for Wallet<'a>
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