diff --git a/src/lib.cairo b/src/lib.cairo index 004480a..5ea1e19 100644 --- a/src/lib.cairo +++ b/src/lib.cairo @@ -20,29 +20,25 @@ pub mod PushComm { // Ownable #[substorage(v0)] ownable: OwnableComponent::Storage, - // Users - users: Map, - users_count:u256, - map_address_users:u256, - user_to_channel_notifs:Map>, - + users: Map, + users_count: u256, + map_address_users: u256, + user_to_channel_notifs: Map>, // Channels - delegatedNotificationSenders:Map, - - + delegatedNotificationSenders: Map, // Contract State governance: ContractAddress, is_migration_complete: bool, - push_core_address:ContractAddress + push_core_address: ContractAddress } #[starknet::storage_node] pub struct User { - is_activated:bool, - is_public_key_registered:bool, - start_block:u256, - subscribed_count:u256, + is_activated: bool, + is_public_key_registered: bool, + start_block: u256, + subscribed_count: u256, is_subscribed: Map, subscribed: Map, map_address_subscribed: Map, @@ -64,4 +60,4 @@ pub mod PushComm { #[abi(embed_v0)] impl PushComm of super::IPushComm {} -} \ No newline at end of file +}