2021-02-16 13:48:20 -08:00
|
|
|
#![allow(clippy::integer_arithmetic)]
|
2019-12-02 13:47:20 -08:00
|
|
|
pub mod address_generator;
|
|
|
|
pub mod genesis_accounts;
|
|
|
|
pub mod stakes;
|
|
|
|
pub mod unlocks;
|
|
|
|
|
2019-09-09 16:17:10 -07:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
2019-10-15 12:52:44 -07:00
|
|
|
/// An account where the data is encoded as a Base64 string.
|
2019-09-09 16:17:10 -07:00
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
2019-10-15 12:52:44 -07:00
|
|
|
pub struct Base64Account {
|
2019-09-09 16:17:10 -07:00
|
|
|
pub balance: u64,
|
|
|
|
pub owner: String,
|
|
|
|
pub data: String,
|
|
|
|
pub executable: bool,
|
|
|
|
}
|