[][src]Trait casper_types::auction::RuntimeProvider

pub trait RuntimeProvider {
    pub fn get_caller(&self) -> AccountHash;
pub fn get_key(&self, name: &str) -> Option<Key>;
pub fn blake2b<T: AsRef<[u8]>>(&self, data: T) -> [u8; 32]; }

Provider of runtime host functionality.

Required methods

pub fn get_caller(&self) -> AccountHash[src]

This method should return the caller of the current context.

pub fn get_key(&self, name: &str) -> Option<Key>[src]

Gets named key under a name.

pub fn blake2b<T: AsRef<[u8]>>(&self, data: T) -> [u8; 32][src]

Returns a 32-byte BLAKE2b digest

Loading content...

Implementors

Loading content...