Skip to content

Commit

Permalink
ref: remove register domain tasks in zklend, sithswap & jediswap
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Sep 29, 2023
1 parent 1640ef1 commit 30487c9
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 69 deletions.
4 changes: 2 additions & 2 deletions src/endpoints/quests/jediswap/claimable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ use starknet::{
use std::sync::Arc;

const QUEST_ID: u32 = 2;
const TASK_IDS: &[u32] = &[8, 9, 10, 11];
const LAST_TASK: u32 = TASK_IDS[3];
const TASK_IDS: &[u32] = &[9, 10, 11];
const LAST_TASK: u32 = TASK_IDS[2];
const NFT_LEVEL: u32 = 5;

#[derive(Deserialize)]
Expand Down
1 change: 0 additions & 1 deletion src/endpoints/quests/jediswap/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod claimable;
pub mod verify_added_liquidity;
pub mod verify_has_root_domain;
pub mod verify_twitter_fw;
pub mod verify_twitter_rt;
16 changes: 0 additions & 16 deletions src/endpoints/quests/jediswap/verify_has_root_domain.rs

This file was deleted.

4 changes: 2 additions & 2 deletions src/endpoints/quests/sithswap/claimable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ use starknet::{
use std::sync::Arc;

const QUEST_ID: u32 = 5;
const TASK_IDS: &[u32] = &[19, 20, 21, 22];
const LAST_TASK: u32 = TASK_IDS[3];
const TASK_IDS: &[u32] = &[20, 21, 22];
const LAST_TASK: u32 = TASK_IDS[2];
const NFT_LEVEL: u32 = 7;

#[derive(Deserialize)]
Expand Down
1 change: 0 additions & 1 deletion src/endpoints/quests/sithswap/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod claimable;
pub mod verify_added_liquidity;
pub mod verify_has_root_domain;
pub mod verify_twitter_fw;
pub mod verify_twitter_rt;
16 changes: 0 additions & 16 deletions src/endpoints/quests/sithswap/verify_has_root_domain.rs

This file was deleted.

4 changes: 2 additions & 2 deletions src/endpoints/quests/zklend/claimable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ use starknet::{
use std::sync::Arc;

const QUEST_ID: u32 = 6;
const TASK_IDS: &[u32] = &[23, 24, 26, 27];
const LAST_TASK: u32 = TASK_IDS[3];
const TASK_IDS: &[u32] = &[24, 26, 27];
const LAST_TASK: u32 = TASK_IDS[2];
const NFT_LEVEL: u32 = 8;

#[derive(Deserialize)]
Expand Down
1 change: 0 additions & 1 deletion src/endpoints/quests/zklend/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod claimable;
pub mod verify_borrow;
pub mod verify_has_root_domain;
pub mod verify_twitter_fw;
pub mod verify_twitter_rt;
16 changes: 0 additions & 16 deletions src/endpoints/quests/zklend/verify_has_root_domain.rs

This file was deleted.

12 changes: 0 additions & 12 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ async fn main() {
"/quests/starknetid/verify_socials",
get(endpoints::quests::starknetid::verify_socials::handler),
)
.route(
"/quests/jediswap/verify_has_root_domain",
get(endpoints::quests::jediswap::verify_has_root_domain::handler),
)
.route(
"/quests/jediswap/verify_added_liquidity",
get(endpoints::quests::jediswap::verify_added_liquidity::handler),
Expand All @@ -119,10 +115,6 @@ async fn main() {
"/quests/jediswap/claimable",
get(endpoints::quests::jediswap::claimable::handler),
)
.route(
"/quests/zklend/verify_has_root_domain",
get(endpoints::quests::zklend::verify_has_root_domain::handler),
)
.route(
"/quests/zklend/verify_borrow",
get(endpoints::quests::zklend::verify_borrow::handler),
Expand Down Expand Up @@ -171,10 +163,6 @@ async fn main() {
"/quests/tribe/claimable",
get(endpoints::quests::tribe::claimable::handler),
)
.route(
"/quests/sithswap/verify_has_root_domain",
get(endpoints::quests::sithswap::verify_has_root_domain::handler),
)
.route(
"/quests/sithswap/verify_twitter_fw",
get(endpoints::quests::sithswap::verify_twitter_fw::handler),
Expand Down

0 comments on commit 30487c9

Please sign in to comment.