Skip to content

Commit

Permalink
Added signup_cryptomayors task. (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-myles authored Nov 25, 2024
1 parent 3f661a7 commit 1b6dac7
Show file tree
Hide file tree
Showing 23 changed files with 1,594 additions and 1,594 deletions.
2 changes: 1 addition & 1 deletion application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ tasksList: &tasksList
prize: 3500
icon: https://ice-staging.b-cdn.net/task.svg
url: www.sunwavestoken.com/@doctorx
- type: signup_tokero
- type: signup_cryptomayors
prize: 3500
icon: https://ice-staging.b-cdn.net/task.svg
url: www.sunwavestoken.com/@tokero
Expand Down
8 changes: 4 additions & 4 deletions cmd/santa-sleigh/api/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ const docTemplate = `{
"signup_sauces",
"signup_sealsend",
"singup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"join_twitter_multiversx",
"join_twitter_xportal",
"join_telegram_multiversx",
Expand Down Expand Up @@ -649,7 +649,7 @@ const docTemplate = `{
"signup_sauces",
"signup_sealsend",
"signup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"join_twitter_multiversx",
"join_twitter_xportal",
"join_telegram_multiversx",
Expand Down Expand Up @@ -1027,7 +1027,7 @@ const docTemplate = `{
"signup_sealsend",
"signup_sunwaves",
"signup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"claim_badge_l1",
"claim_badge_l2",
"claim_badge_l3",
Expand Down Expand Up @@ -1141,7 +1141,7 @@ const docTemplate = `{
"SignUpSealsendType",
"SignUpSunwavesType",
"SignUpDoctorxType",
"SignUpTokeroType",
"SignUpCryptoMayorsType",
"ClaimLevelBadge1Type",
"ClaimLevelBadge2Type",
"ClaimLevelBadge3Type",
Expand Down
8 changes: 4 additions & 4 deletions cmd/santa-sleigh/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
"signup_sauces",
"signup_sealsend",
"singup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"join_twitter_multiversx",
"join_twitter_xportal",
"join_telegram_multiversx",
Expand Down Expand Up @@ -642,7 +642,7 @@
"signup_sauces",
"signup_sealsend",
"signup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"join_twitter_multiversx",
"join_twitter_xportal",
"join_telegram_multiversx",
Expand Down Expand Up @@ -1020,7 +1020,7 @@
"signup_sealsend",
"signup_sunwaves",
"signup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"claim_badge_l1",
"claim_badge_l2",
"claim_badge_l3",
Expand Down Expand Up @@ -1134,7 +1134,7 @@
"SignUpSealsendType",
"SignUpSunwavesType",
"SignUpDoctorxType",
"SignUpTokeroType",
"SignUpCryptoMayorsType",
"ClaimLevelBadge1Type",
"ClaimLevelBadge2Type",
"ClaimLevelBadge3Type",
Expand Down
8 changes: 4 additions & 4 deletions cmd/santa-sleigh/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ definitions:
- signup_sealsend
- signup_sunwaves
- signup_doctorx
- signup_tokero
- signup_cryptomayors
- claim_badge_l1
- claim_badge_l2
- claim_badge_l3
Expand Down Expand Up @@ -315,7 +315,7 @@ definitions:
- SignUpSealsendType
- SignUpSunwavesType
- SignUpDoctorxType
- SignUpTokeroType
- SignUpCryptoMayorsType
- ClaimLevelBadge1Type
- ClaimLevelBadge2Type
- ClaimLevelBadge3Type
Expand Down Expand Up @@ -621,7 +621,7 @@ paths:
- signup_sauces
- signup_sealsend
- singup_doctorx
- signup_tokero
- signup_cryptomayors
- join_twitter_multiversx
- join_twitter_xportal
- join_telegram_multiversx
Expand Down Expand Up @@ -858,7 +858,7 @@ paths:
- signup_sauces
- signup_sealsend
- signup_doctorx
- signup_tokero
- signup_cryptomayors
- join_twitter_multiversx
- join_twitter_xportal
- join_telegram_multiversx
Expand Down
2 changes: 1 addition & 1 deletion cmd/santa-sleigh/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type (
CompleteTaskRequestBody struct {
Data *tasks.Data `json:"data,omitempty"`
UserID string `uri:"userId" example:"edfd8c02-75e0-4687-9ac2-1ce4723865c4" swaggerignore:"true" required:"true"`
TaskType tasks.Type `uri:"taskType" example:"start_mining" swaggerignore:"true" required:"true" enums:"claim_username,start_mining,upload_profile_picture,follow_us_on_twitter,join_twitter,join_telegram,invite_friends,invite_friends_5,invite_friends_10,invite_friends_25,invite_friends_50,invite_friends_100,invite_friends_200,join_youtube,watch_video_with_code_confirmation_1,invite_friends_5,invite_friends_10,claim_badge_l1,claim_badge_l2,claim_badge_l3,claim_badge_l4,claim_badge_l5,claim_badge_l6,claim_badge_c1,claim_badge_c2,claim_badge_c3,claim_badge_c4,claim_badge_c5,claim_badge_c6,claim_badge_c7,claim_badge_c8,claim_badge_c9,claim_badge_c10,claim_badge_s1,claim_badge_s2,claim_badge_s3,claim_badge_s4,claim_badge_s5,claim_badge_s6,claim_badge_s7,claim_badge_s8,claim_badge_s9,claim_badge_s10,claim_level_1,claim_level_2,claim_level_3,claim_level_4,claim_level_5,claim_level_6,claim_level_7,claim_level_8,claim_level_9,claim_level_10,claim_level_11,claim_level_12,claim_level_13,claim_level_14,claim_level_15,claim_level_16,claim_level_17,claim_level_18,claim_level_19,claim_level_20,claim_level_21,mining_streak_7,mining_streak_14,mining_streak_30,join_reddit_ion,join_instagram_ion,join_twitter_ion,join_telegram_ion,signup_sunwaves,signup_callfluent,signup_sauces,signup_sealsend,signup_doctorx,signup_tokero,join_twitter_multiversx,join_twitter_xportal,join_telegram_multiversx,join_bullish_cmc,join_ion_cmc,join_watchlist_cmc,join_portfolio_coingecko,join_holdcoin,join_human,join_hipo,join_freedogs,join_athene,join_kolo,join_ducks,join_cmc_ton,join_cmc_sol,join_cmc_bnb,join_cmc_eth,join_cmc_btc,join_bearfi,join_boinkers,join_dejendog,join_catgoldminer,join_cmc_pnut,join_cmc_ada,join_cmc_doge,join_cmc_xrp,join_cmc_act,join_tonkombat,join_tonai,join_pigs,join_capybara,join_sidekick,join_iceberg,join_goats"` //nolint:lll // .
TaskType tasks.Type `uri:"taskType" example:"start_mining" swaggerignore:"true" required:"true" enums:"claim_username,start_mining,upload_profile_picture,follow_us_on_twitter,join_twitter,join_telegram,invite_friends,invite_friends_5,invite_friends_10,invite_friends_25,invite_friends_50,invite_friends_100,invite_friends_200,join_youtube,watch_video_with_code_confirmation_1,invite_friends_5,invite_friends_10,claim_badge_l1,claim_badge_l2,claim_badge_l3,claim_badge_l4,claim_badge_l5,claim_badge_l6,claim_badge_c1,claim_badge_c2,claim_badge_c3,claim_badge_c4,claim_badge_c5,claim_badge_c6,claim_badge_c7,claim_badge_c8,claim_badge_c9,claim_badge_c10,claim_badge_s1,claim_badge_s2,claim_badge_s3,claim_badge_s4,claim_badge_s5,claim_badge_s6,claim_badge_s7,claim_badge_s8,claim_badge_s9,claim_badge_s10,claim_level_1,claim_level_2,claim_level_3,claim_level_4,claim_level_5,claim_level_6,claim_level_7,claim_level_8,claim_level_9,claim_level_10,claim_level_11,claim_level_12,claim_level_13,claim_level_14,claim_level_15,claim_level_16,claim_level_17,claim_level_18,claim_level_19,claim_level_20,claim_level_21,mining_streak_7,mining_streak_14,mining_streak_30,join_reddit_ion,join_instagram_ion,join_twitter_ion,join_telegram_ion,signup_sunwaves,signup_callfluent,signup_sauces,signup_sealsend,signup_doctorx,signup_cryptomayors,join_twitter_multiversx,join_twitter_xportal,join_telegram_multiversx,join_bullish_cmc,join_ion_cmc,join_watchlist_cmc,join_portfolio_coingecko,join_holdcoin,join_human,join_hipo,join_freedogs,join_athene,join_kolo,join_ducks,join_cmc_ton,join_cmc_sol,join_cmc_bnb,join_cmc_eth,join_cmc_btc,join_bearfi,join_boinkers,join_dejendog,join_catgoldminer,join_cmc_pnut,join_cmc_ada,join_cmc_doge,join_cmc_xrp,join_cmc_act,join_tonkombat,join_tonai,join_pigs,join_capybara,join_sidekick,join_iceberg,join_goats"` //nolint:lll // .
DryRun bool `form:"dryRun" example:"true" swaggerignore:"true" required:"false"`
}
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/santa-sleigh/santa.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (s *service) GetTasks( //nolint:gocritic // False negative.
// @Accept json
// @Produce json
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
// @Param taskType path string true "the type of the task" enums(claim_username,start_mining,upload_profile_picture,join_twitter,join_telegram,invite_friends_5,invite_friends_10,invite_friends_25,invite_friends_50,invite_friends_100,invite_friends_200,join_youtube,watch_video_with_code_confirmation_1,claim_badge_l1,claim_badge_l2,claim_badge_l3,claim_badge_l4,claim_badge_l5,claim_badge_l6,claim_badge_c1,claim_badge_c2,claim_badge_c3,claim_badge_c4,claim_badge_c5,claim_badge_c6,claim_badge_c7,claim_badge_c8,claim_badge_c9,claim_badge_c10,claim_badge_s1,claim_badge_s2,claim_badge_s3,claim_badge_s4,claim_badge_s5,claim_badge_s6,claim_badge_s7,claim_badge_s8,claim_badge_s9,claim_badge_s10,claim_level_1,claim_level_2,claim_level_3,claim_level_4,claim_level_5,claim_level_6,claim_level_7,claim_level_8,claim_level_9,claim_level_10,claim_level_11,claim_level_12,claim_level_13,claim_level_14,claim_level_15,claim_level_16,claim_level_17,claim_level_18,claim_level_19,claim_level_20,claim_level_21,mining_streak_7,mining_streak_14,mining_streak_30,join_reddit_ion,join_instagram_ion,join_twitter_ion,join_telegram_ion,signup_sunwaves,signup_callfluent,signup_sauces,signup_sealsend,singup_doctorx,signup_tokero,join_twitter_multiversx,join_twitter_xportal,join_telegram_multiversx,join_bullish_cmc,join_ion_cmc,join_watchlist_cmc,join_portfolio_coingecko,join_holdcoin,join_human,join_hipo,join_freedogs,join_athene,join_kolo,join_ducks,join_cmc_ton,join_cmc_sol,join_cmc_bnb,join_cmc_eth,join_cmc_btc,join_bearfi,join_boinkers,join_dejendog,join_catgoldminer,join_cmc_pnut,join_cmc_ada,join_cmc_doge,join_cmc_xrp,join_cmc_act,join_tonkombat,join_tonai,join_pigs,join_capybara,join_sidekick,join_iceberg,join_goats)
// @Param taskType path string true "the type of the task" enums(claim_username,start_mining,upload_profile_picture,join_twitter,join_telegram,invite_friends_5,invite_friends_10,invite_friends_25,invite_friends_50,invite_friends_100,invite_friends_200,join_youtube,watch_video_with_code_confirmation_1,claim_badge_l1,claim_badge_l2,claim_badge_l3,claim_badge_l4,claim_badge_l5,claim_badge_l6,claim_badge_c1,claim_badge_c2,claim_badge_c3,claim_badge_c4,claim_badge_c5,claim_badge_c6,claim_badge_c7,claim_badge_c8,claim_badge_c9,claim_badge_c10,claim_badge_s1,claim_badge_s2,claim_badge_s3,claim_badge_s4,claim_badge_s5,claim_badge_s6,claim_badge_s7,claim_badge_s8,claim_badge_s9,claim_badge_s10,claim_level_1,claim_level_2,claim_level_3,claim_level_4,claim_level_5,claim_level_6,claim_level_7,claim_level_8,claim_level_9,claim_level_10,claim_level_11,claim_level_12,claim_level_13,claim_level_14,claim_level_15,claim_level_16,claim_level_17,claim_level_18,claim_level_19,claim_level_20,claim_level_21,mining_streak_7,mining_streak_14,mining_streak_30,join_reddit_ion,join_instagram_ion,join_twitter_ion,join_telegram_ion,signup_sunwaves,signup_callfluent,signup_sauces,signup_sealsend,singup_doctorx,signup_cryptomayors,join_twitter_multiversx,join_twitter_xportal,join_telegram_multiversx,join_bullish_cmc,join_ion_cmc,join_watchlist_cmc,join_portfolio_coingecko,join_holdcoin,join_human,join_hipo,join_freedogs,join_athene,join_kolo,join_ducks,join_cmc_ton,join_cmc_sol,join_cmc_bnb,join_cmc_eth,join_cmc_btc,join_bearfi,join_boinkers,join_dejendog,join_catgoldminer,join_cmc_pnut,join_cmc_ada,join_cmc_doge,join_cmc_xrp,join_cmc_act,join_tonkombat,join_tonai,join_pigs,join_capybara,join_sidekick,join_iceberg,join_goats)
// @Param userId path string true "the id of the user you need progress for"
// @Param language query string false "language of translations for task description"
// @Success 200 {array} tasks.Task
Expand Down
2 changes: 1 addition & 1 deletion cmd/santa-sleigh/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (s *service) setupTasksRoutes(router *server.Router) {
// @Accept json
// @Produce json
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
// @Param taskType path string true "the type of the task" enums(claim_username,start_mining,upload_profile_picture,follow_us_on_twitter,join_twitter,join_telegram,invite_friends,invite_friends_5,invite_friends_10,invite_friends_25,invite_friends_50,invite_friends_100,invite_friends_200,join_youtube,watch_video_with_code_confirmation_1,claim_badge_l1,claim_badge_l2,claim_badge_l3,claim_badge_l4,claim_badge_l5,claim_badge_l6,claim_badge_c1,claim_badge_c2,claim_badge_c3,claim_badge_c4,claim_badge_c5,claim_badge_c6,claim_badge_c7,claim_badge_c8,claim_badge_c9,claim_badge_c10,claim_badge_s1,claim_badge_s2,claim_badge_s3,claim_badge_s4,claim_badge_s5,claim_badge_s6,claim_badge_s7,claim_badge_s8,claim_badge_s9,claim_badge_s10,claim_level_1,claim_level_2,claim_level_3,claim_level_4,claim_level_5,claim_level_6,claim_level_7,claim_level_8,claim_level_9,claim_level_10,claim_level_11,claim_level_12,claim_level_13,claim_level_14,claim_level_15,claim_level_16,claim_level_17,claim_level_18,claim_level_19,claim_level_20,claim_level_21,mining_streak_7,mining_streak_14,mining_streak_30,join_reddit_ion,join_instagram_ion,join_twitter_ion,join_telegram_ion,signup_sunwaves,signup_callfluent,signup_sauces,signup_sealsend,signup_doctorx,signup_tokero,join_twitter_multiversx,join_twitter_xportal,join_telegram_multiversx,join_bullish_cmc,join_ion_cmc,join_watchlist_cmc,join_portfolio_coingecko,join_holdcoin,join_human,join_hipo,join_freedogs,join_athene,join_kolo,join_ducks,join_cmc_ton,join_cmc_sol,join_cmc_bnb,join_cmc_eth,join_cmc_btc,join_bearfi,join_boinkers,join_dejendog,join_catgoldminer,join_cmc_pnut,join_cmc_ada,join_cmc_doge,join_cmc_xrp,join_cmc_act,join_tonkombat,join_tonai,join_pigs,join_capybara,join_sidekick,join_iceberg,join_goats)
// @Param taskType path string true "the type of the task" enums(claim_username,start_mining,upload_profile_picture,follow_us_on_twitter,join_twitter,join_telegram,invite_friends,invite_friends_5,invite_friends_10,invite_friends_25,invite_friends_50,invite_friends_100,invite_friends_200,join_youtube,watch_video_with_code_confirmation_1,claim_badge_l1,claim_badge_l2,claim_badge_l3,claim_badge_l4,claim_badge_l5,claim_badge_l6,claim_badge_c1,claim_badge_c2,claim_badge_c3,claim_badge_c4,claim_badge_c5,claim_badge_c6,claim_badge_c7,claim_badge_c8,claim_badge_c9,claim_badge_c10,claim_badge_s1,claim_badge_s2,claim_badge_s3,claim_badge_s4,claim_badge_s5,claim_badge_s6,claim_badge_s7,claim_badge_s8,claim_badge_s9,claim_badge_s10,claim_level_1,claim_level_2,claim_level_3,claim_level_4,claim_level_5,claim_level_6,claim_level_7,claim_level_8,claim_level_9,claim_level_10,claim_level_11,claim_level_12,claim_level_13,claim_level_14,claim_level_15,claim_level_16,claim_level_17,claim_level_18,claim_level_19,claim_level_20,claim_level_21,mining_streak_7,mining_streak_14,mining_streak_30,join_reddit_ion,join_instagram_ion,join_twitter_ion,join_telegram_ion,signup_sunwaves,signup_callfluent,signup_sauces,signup_sealsend,signup_doctorx,signup_cryptomayors,join_twitter_multiversx,join_twitter_xportal,join_telegram_multiversx,join_bullish_cmc,join_ion_cmc,join_watchlist_cmc,join_portfolio_coingecko,join_holdcoin,join_human,join_hipo,join_freedogs,join_athene,join_kolo,join_ducks,join_cmc_ton,join_cmc_sol,join_cmc_bnb,join_cmc_eth,join_cmc_btc,join_bearfi,join_boinkers,join_dejendog,join_catgoldminer,join_cmc_pnut,join_cmc_ada,join_cmc_doge,join_cmc_xrp,join_cmc_act,join_tonkombat,join_tonai,join_pigs,join_capybara,join_sidekick,join_iceberg,join_goats)
// @Param userId path string true "the id of the user that completed the task"
// @Param request body CompleteTaskRequestBody false "Request params. Set it only if task completion requires additional data."
// @Success 200 "ok"
Expand Down
4 changes: 2 additions & 2 deletions cmd/santa/api/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ const docTemplate = `{
"signup_sealsend",
"signup_sunwaves",
"signup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"claim_badge_l1",
"claim_badge_l2",
"claim_badge_l3",
Expand Down Expand Up @@ -721,7 +721,7 @@ const docTemplate = `{
"SignUpSealsendType",
"SignUpSunwavesType",
"SignUpDoctorxType",
"SignUpTokeroType",
"SignUpCryptoMayorsType",
"ClaimLevelBadge1Type",
"ClaimLevelBadge2Type",
"ClaimLevelBadge3Type",
Expand Down
4 changes: 2 additions & 2 deletions cmd/santa/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@
"signup_sealsend",
"signup_sunwaves",
"signup_doctorx",
"signup_tokero",
"signup_cryptomayors",
"claim_badge_l1",
"claim_badge_l2",
"claim_badge_l3",
Expand Down Expand Up @@ -715,7 +715,7 @@
"SignUpSealsendType",
"SignUpSunwavesType",
"SignUpDoctorxType",
"SignUpTokeroType",
"SignUpCryptoMayorsType",
"ClaimLevelBadge1Type",
"ClaimLevelBadge2Type",
"ClaimLevelBadge3Type",
Expand Down
4 changes: 2 additions & 2 deletions cmd/santa/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ definitions:
- signup_sealsend
- signup_sunwaves
- signup_doctorx
- signup_tokero
- signup_cryptomayors
- claim_badge_l1
- claim_badge_l2
- claim_badge_l3
Expand Down Expand Up @@ -311,7 +311,7 @@ definitions:
- SignUpSealsendType
- SignUpSunwavesType
- SignUpDoctorxType
- SignUpTokeroType
- SignUpCryptoMayorsType
- ClaimLevelBadge1Type
- ClaimLevelBadge2Type
- ClaimLevelBadge3Type
Expand Down
12 changes: 6 additions & 6 deletions tasks/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ const (
InviteFriends100Type Type = "invite_friends_100"
InviteFriends200Type Type = "invite_friends_200"

SignUpCallfluentType Type = "signup_callfluent"
SignUpSaucesType Type = "signup_sauces"
SignUpSealsendType Type = "signup_sealsend"
SignUpSunwavesType Type = "signup_sunwaves"
SignUpDoctorxType Type = "signup_doctorx"
SignUpTokeroType Type = "signup_tokero"
SignUpCallfluentType Type = "signup_callfluent"
SignUpSaucesType Type = "signup_sauces"
SignUpSealsendType Type = "signup_sealsend"
SignUpSunwavesType Type = "signup_sunwaves"
SignUpDoctorxType Type = "signup_doctorx"
SignUpCryptoMayorsType Type = "signup_cryptomayors"

ClaimLevelBadge1Type Type = "claim_badge_l1"
ClaimLevelBadge2Type Type = "claim_badge_l2"
Expand Down
Loading

0 comments on commit 1b6dac7

Please sign in to comment.