Type Definition rgbstd::containers::Transfer

source ·
pub type Transfer = Consignment<true>;

Implementations§

source§

impl Transfer

source

pub fn transfer_id(&self) -> TransferId

Trait Implementations§

source§

impl BindleContent for Transfer

source§

const MAGIC: [u8; 4] = _

Magic bytes used in saving/restoring container from a file.
source§

const PLATE_TITLE: &'static str = "RGB STATE TRANSFER"

String used in ASCII armored blocks
§

type Id = TransferId

source§

fn bindle_id(&self) -> Self::Id

source§

fn bindle(self) -> Bindle<Self>

source§

impl CommitEncode for Transfer

source§

fn commit_encode(&self, e: &mut impl Write)

Encodes the data for the commitment by writing them directly into a io::Write writer instance
source§

impl CommitmentId for Transfer

source§

const TAG: [u8; 32] = _

§

type Id = TransferId

Type of the resulting commitment.
source§

fn commitment_id(&self) -> Self::Id

Performs commitment to client-side-validated data