#![allow(missing_docs)]
use odra::named_keys::dictionary_value_storage;
use odra::prelude::*;
pub const DAPP_KEY: &str = "__dapp";
pub const REGISTRY_KEY: &str = "registry";
pub const NAME_KEY: &str = "name";
pub const DESCRIPTION_KEY: &str = "description";
pub const WEBSITE_URL_KEY: &str = "website_url";
pub const ICON_URL_KEY: &str = "icon_url";
pub const CONTRACTS_KEY: &str = "contracts";
pub const REGISTRARS_KEY: &str = "registrars";
dictionary_value_storage!(DappNameStorage, String, DAPP_KEY, NAME_KEY);
dictionary_value_storage!(DappDescriptionStorage, String, DAPP_KEY, DESCRIPTION_KEY);
dictionary_value_storage!(DappWebsiteUrlStorage, String, DAPP_KEY, WEBSITE_URL_KEY);
dictionary_value_storage!(DappIconUrlStorage, String, DAPP_KEY, ICON_URL_KEY);
dictionary_value_storage!(DappContractsStorage, Vec<Address>, DAPP_KEY, CONTRACTS_KEY);
dictionary_value_storage!(
DappRegistrarsStorage,
Vec<Address>,
DAPP_KEY,
REGISTRARS_KEY
);
dictionary_value_storage!(DappRegistryStorage, Address, DAPP_KEY, REGISTRY_KEY);