pub fn put_key(name: &str, key: Key) {
    let (name_ptr, name_size, _bytes) = contract_api::to_ptr(name);
    let (key_ptr, key_size, _bytes2) = contract_api::to_ptr(key);
    unsafe { ext_ffi::casper_put_key(name_ptr, name_size, key_ptr, key_size) };
}
/// Stores the given [`Key`] under `name` in the current context's named keys.
///
/// The current context is either the caller's account or a stored contract depending on whether the
/// currently-executing module is a direct call or a sub-call respectively.
Stores the given [`Key`] under `name` in the current context's named keys.
The current context is either the caller's account or a stored contract depending on whether the
currently-executing module is a direct call or a sub-call respectively.
Stores the given [ ` Key ` ] under ` name ` in the current context ' s named keys . The current context is either the caller ' s account or a stored contract depending on whether the currently - executing module is a direct call or a sub - call respectively .
pub fn put_key(name: &str, key: Key) {
    let (name_ptr, name_size, _bytes) = contract_api::to_ptr(name);
    let (key_ptr, key_size, _bytes2) = contract_api::to_ptr(key);
    unsafe { ext_ffi::casper_put_key(name_ptr, name_size, key_ptr, key_size) };
}
pub fn put_key ( name : & str , key : Key ) { let ( name_ptr , name_size , _bytes ) = contract_api :: to_ptr ( name ) ; let ( key_ptr , key_size , _bytes2 ) = contract_api :: to_ptr ( key ) ; unsafe { ext_ffi :: casper_put_key ( name_ptr , name_size , key_ptr , key_size ) } ; }
Stores the given [`Key`] under `name` in the current context's named keys.
Stores the given [ ` Key ` ] under ` name ` in the current context ' s named keys .
name
&str
key
Key
name
&str
key
Key