Skip to content

Commit

Permalink
update shapeshift reward points (#1909)
Browse files Browse the repository at this point in the history
  • Loading branch information
corlard3y authored Oct 8, 2024
1 parent 4cc797d commit 1d3a1ad
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/common/Common.baseLogos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ export const priceTrackerLogo =

export const walletTrackerLogo =
'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoK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UuaEBllrcI3dVAdo0Heeytwtb/AFaOs039BvadmvhTNuL6pSlQopSlArq3W3Q7tAeg3KM1KiPJ3XGXUhSVDxBrtUoMz7TujroHLhgrvHipVufV/wAa/wCh9vKqTs1vtEC8O2fO4tytq0qKVSGB5xhXLebUNFJ9Gh9NfoJUL2kbOLHntvU1c2Q1OQkhia0kdY2eX/UnX5p93bVzP6i4/GdxsMyJqOi74DkkS5wn0ebeYeVGdWk9o4EjTkRveqq2vmKZXg8xibcrfOtjrbgUzKT8kLHEaLTw14VPrdcMv2B5YmJPQqXZJCt4oBPUyE9hU2fmrHDUejXhpUU2ubR5+0G+9c5vMWpgkRIuvyR9JXeo9/qq5tN08q045ledXCRNgQJ91kOuEvSSCQV895Z4a9nDWrKb2FZRLZVc85v8S2Qo7fnHpLypDjaAOAA1A0HZpveqoJsp2hXHZ/f0yopL1veITLiE8HE947lDkammQZBle3fKjabGy5GsjSgoMlR6ttPJx5Q4FR5D1DXTWl2TSAX+BY37q1Z8GYuN1eUrc/Snh5T6v3baRwT6dT6Od07L+jspYbuGdr3RwUi3Mq4/9xY/9D28quDZjsyseAwEpgtiTclpAfnOpG+s8wn6KfAesmp1UXP4qY/XVtduh2mAzCtsZqLEZTuttNJCUpHgBXapSoWUpSgUpSgUpSgUpSg8LM8WteX2J+1XpgOsODyVDgttXJSTyIrDW0vBrlgWRLt1xSVsLG/GkgeS8jXt8COY5egiv0CqK7SMJtud449bLkndc+XHkJHlMuclDw5EcxVY5aTljth3AcQuWbZGxabS2SpXlOvEeQygdqlH/wC1JArdGA4da8JsDNrtDWiUjedeVxW8vmpR/pyrztlez+37P8fTCiEPTHTvypRGhdV4dyRyFTWmWWzHHRSlKlRSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKBSlKD/2Q==';
13 changes: 12 additions & 1 deletion src/modules/rewards/components/RewardsActivityIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
YellowBonusActivitySubscribers,
PushAlpha,
} from 'blocks';
import { quickSwapLogo, priceTrackerLogo, walletTrackerLogo } from 'common';
import { quickSwapLogo, priceTrackerLogo, walletTrackerLogo, shapeShiftLogo } from 'common';
import { ActvityType } from 'queries';

type RewardsActivityIconProp = {
Expand Down Expand Up @@ -196,6 +196,17 @@ const RewardsActivityIcon: FC<RewardsActivityIconProp> = ({ type }) => {
);
}

if (type === 'channel_specific_subscriptions:SHAPESHIFT_CHANNEL') {
return (
<img
width={48}
height={48}
src={shapeShiftLogo}
style={{ borderRadius: 'var(--radius-round)' }}
/>
);
}

if (type === 'stake_1_uni_v2_lp_epoch' || type === 'stake_1k_push_epoch') {
return (
<StakePushGreyCoin
Expand Down
1 change: 1 addition & 0 deletions src/modules/rewards/utils/activityTypeArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const channelSubscriptionActivities: ActvityType[] = [
'channel_specific_subscriptions:PRICETRACKER_CHANNEL',
'channel_specific_subscriptions:QUICKSWAP_CHANNEL',
'channel_specific_subscriptions:WALLETTRACKER_CHANNEL',
'channel_specific_subscriptions:SHAPESHIFT_CHANNEL',
];

export const bonusRewardActivities: ActvityType[] = [
Expand Down
1 change: 1 addition & 0 deletions src/queries/types/rewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export type ActvityType =
| 'channel_specific_subscriptions:QUICKSWAP_CHANNEL'
| 'channel_specific_subscriptions:WALLETTRACKER_CHANNEL'
| 'channel_specific_subscriptions:PRICETRACKER_CHANNEL'
| 'channel_specific_subscriptions:SHAPESHIFT_CHANNEL'
| 'stake_1k_push_epoch'
| 'stake_5k_push_epoch'
| 'stake_10k_push_epoch'
Expand Down

0 comments on commit 1d3a1ad

Please sign in to comment.