[−][src]Struct ckb_capsule::wallet::Wallet
Implementations
impl Wallet
[src]
pub fn load(uri: String, ckb_cli_bin: String, address: Address) -> Self
[src]
pub fn complete_tx_lock_deps(&self, tx: TransactionView) -> TransactionView
[src]
pub fn complete_tx_inputs<'a>(
&self,
tx: TransactionView,
original_inputs_capacity: Capacity,
fee: Capacity
) -> TransactionView
[src]
&self,
tx: TransactionView,
original_inputs_capacity: Capacity,
fee: Capacity
) -> TransactionView
pub fn read_password(&self) -> Result<Password>
[src]
pub fn sign_tx(
&self,
tx: TransactionView,
password: Password
) -> Result<TransactionView>
[src]
&self,
tx: TransactionView,
password: Password
) -> Result<TransactionView>
pub fn query_transaction(
&self,
tx_hash: &H256
) -> Result<Option<TransactionWithStatus>>
[src]
&self,
tx_hash: &H256
) -> Result<Option<TransactionWithStatus>>
pub fn send_transaction(&mut self, tx: TransactionView) -> Result<H256>
[src]
pub fn lock_out_points(&mut self, out_points: impl Iterator<Item = OutPoint>)
[src]
pub fn lock_tx_inputs(&mut self, tx: &TransactionView)
[src]
pub fn collect_live_cells(&self, capacity: Capacity) -> HashSet<LiveCell>
[src]
pub fn get_cell_output(&self, out_point: OutPoint) -> CellOutput
[src]
pub fn lock_script(&self) -> Script
[src]
pub fn address(&self) -> &Address
[src]
pub fn genesis(&self) -> &BlockView
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
T: Any,
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> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,