Struct rgb_node::rpc::fungible::TransferReq[][src]

pub struct TransferReq {
    pub contract_id: ContractId,
    pub witness: PartiallySignedTransaction,
    pub inputs: BTreeSet<OutPoint>,
    pub payment: BTreeMap<SealEndpoint, AtomicValue>,
    pub change: BTreeMap<SealDefinition, AtomicValue>,
}

Fields

contract_id: ContractId

Asset contract id

witness: PartiallySignedTransaction

Base layer transaction structure to use

inputs: BTreeSet<OutPoint>

Asset input: unspent transaction outputs

payment: BTreeMap<SealEndpoint, AtomicValue>

Receiver’s allocations.

They are kept separate from change allocations since here we do not know the actual seals and only know hashes derived from seal data and blinding entropy.

change: BTreeMap<SealDefinition, AtomicValue>

Asset change allocations

Here we always know an explicit outpoint that will contain the assets

Trait Implementations

impl Clone for TransferReq[src]

impl Debug for TransferReq[src]

impl Display for TransferReq[src]

impl PartialEq<TransferReq> for TransferReq[src]

impl StrictDecode for TransferReq[src]

impl StrictEncode for TransferReq[src]

impl StructuralPartialEq for TransferReq[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,