[][src]Trait casperlabs_mint::Mint

pub trait Mint: RuntimeProvider + StorageProvider {
    fn mint(&mut self, initial_balance: U512) -> Result<URef, Error> { ... }
fn balance(&mut self, purse: URef) -> Result<Option<U512>, Error> { ... }
fn transfer(
        &mut self,
        source: URef,
        dest: URef,
        amount: U512
    ) -> Result<(), Error> { ... } }

Provided methods

fn mint(&mut self, initial_balance: U512) -> Result<URef, Error>

fn balance(&mut self, purse: URef) -> Result<Option<U512>, Error>

fn transfer(
    &mut self,
    source: URef,
    dest: URef,
    amount: U512
) -> Result<(), Error>

Loading content...

Implementors

Loading content...