-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
74 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
afk::social::account::tests::wrong_token | ||
afk::social::account::tests::get_public_key | ||
afk::social::account::tests::successful_transfer | ||
afk::social::account::tests::incorrect_signature | ||
afk::social::account::tests::wrong_recipient | ||
afk::social::account::tests::wrong_sender | ||
afk::social::namespace::tests::link_incorrect_signature | ||
afk::social::namespace::tests::linked_wallet_to | ||
afk::social::account::tests::double_transfer | ||
afk::social::account::tests::is_valid_signature | ||
afk::social::account::tests::validate_transaction | ||
afk::tests::launchpad_tests::launchpad_tests::launchpad_integration | ||
afk::tests::launchpad_tests::launchpad_tests::launchpad_buy_more_then_liquidity_threshold | ||
afk::social::namespace::tests::link_incorrect_signature | ||
afk::social::namespace::tests::linked_wallet_to | ||
afk::social::deposit::tests::deposit_claim | ||
afk::social::deposit::tests::claim_incorrect_gas_amount | ||
afk::social::deposit::tests::deposit_claim_gas_fee | ||
afk::social::deposit::tests::claim_incorrect_gas_amount | ||
afk::social::account::tests::get_public_key | ||
afk::social::account::tests::successful_transfer | ||
afk::social::account::tests::incorrect_signature | ||
afk::social::account::tests::wrong_sender | ||
afk::social::account::tests::wrong_recipient | ||
afk::social::account::tests::wrong_token | ||
afk::tests::launchpad_tests::launchpad_tests::launchpad_buy_more_then_liquidity_threshold | ||
afk::tests::launchpad_tests::launchpad_tests::launchpad_integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pub mod afk_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pub mod afk_id { | ||
pub mod afk_identity; | ||
pub mod id_factory; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
use starknet::{ContractAddress}; | ||
|
||
pub const ADMIN_ROLE: felt252 = selector!("ADMIN_ROLE"); | ||
|
||
#[derive(Drop, Copy, starknet::Store, Serde)] | ||
pub struct AfkIdentiyState { | ||
pub owner: ContractAddress, | ||
pub last_tap:u64, | ||
pub total_tap:u256, | ||
pub token_address:ContractAddress, | ||
} | ||
|
||
|
||
#[derive(Drop, starknet::Event)] | ||
pub struct AfkIdentityCreated { | ||
#[key] | ||
pub owner: ContractAddress, | ||
pub last_tap:u64, | ||
pub total_tap:u256, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ pub mod types { | |
pub mod keys_types; | ||
pub mod launchpad_types; | ||
pub mod tap_types; | ||
pub mod identity_types; | ||
} |