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

pub trait RuntimeProvider {
    fn get_caller(&self) -> AccountHash;
fn get_immediate_caller(&self) -> Option<&CallStackElement>;
fn named_keys_get(&self, name: &str) -> Option<Key>;
fn get_keys(&mut self, key_tag: &KeyTag) -> Result<BTreeSet<Key>, Error>;
fn blake2b<T: AsRef<[u8]>>(&self, data: T) -> [u8; 32]; }
Expand description

Provider of runtime host functionality.

Required methods

This method should return the caller of the current context.

This method should return the immediate caller of the current call.

Gets named key under a name.

Gets keys in a given keyspace

Returns a 32-byte BLAKE2b digest

Implementors