pub fn mocked_account(public_key: PublicKey) -> Vec<(Key, StoredValue)> {
    let purse = URef::new([0u8; 32], AccessRights::READ_ADD_WRITE);
    let account = Account::create(public_key, BTreeMap::new(), purse);
    vec![(Key::Account(public_key), StoredValue::Account(account))]
}
/// Returns an account value paired with its key
Returns an account value paired with its key
Returns an account value paired with its key
pub fn mocked_account(public_key: PublicKey) -> Vec<(Key, StoredValue)> {
    let purse = URef::new([0u8; 32], AccessRights::READ_ADD_WRITE);
    let account = Account::create(public_key, BTreeMap::new(), purse);
    vec![(Key::Account(public_key), StoredValue::Account(account))]
}
pub fn mocked_account ( public_key : PublicKey ) -> Vec < ( Key , StoredValue ) > { let purse = URef :: new ( [ 0u8 ; 32 ] , AccessRights :: READ_ADD_WRITE ) ; let account = Account :: create ( public_key , BTreeMap :: new ( ) , purse ) ; vec ! [ ( Key Account ( public_key ) StoredValue Account ( account ) ) ] }
Returns an account value paired with its key
Returns an account value paired with its key
public_key
PublicKey
public_key
PublicKey