Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eddnewgate committed Aug 5, 2024
1 parent bf23474 commit 198ca2b
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,25 @@ pub mod PushComm {
// Ownable
#[substorage(v0)]
ownable: OwnableComponent::Storage,

// Users
users: Map<ContractAddress,User>,
users_count:u256,
map_address_users:u256,
user_to_channel_notifs:Map<ContractAddress, Map<ContractAddress, ByteArray>>,

users: Map<ContractAddress, User>,
users_count: u256,
map_address_users: u256,
user_to_channel_notifs: Map<ContractAddress, Map<ContractAddress, ByteArray>>,
// Channels
delegatedNotificationSenders:Map<ContractAddress, bool>,


delegatedNotificationSenders: Map<ContractAddress, bool>,
// 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<ContractAddress, u8>,
subscribed: Map<ContractAddress, u8>,
map_address_subscribed: Map<ContractAddress, u8>,
Expand All @@ -64,4 +60,4 @@ pub mod PushComm {

#[abi(embed_v0)]
impl PushComm of super::IPushComm<ContractState> {}
}
}

0 comments on commit 198ca2b

Please sign in to comment.