1 2 3 4 5 6 7
use types::{account::PublicKey, Key}; pub trait RuntimeProvider { fn get_caller(&self) -> PublicKey; fn put_key(&mut self, name: &str, key: Key); }
1 2 3 4 5 6 7
use types::{account::PublicKey, Key}; pub trait RuntimeProvider { fn get_caller(&self) -> PublicKey; fn put_key(&mut self, name: &str, key: Key); }