Skip to content

Commit

Permalink
chore: Init
Browse files Browse the repository at this point in the history
  • Loading branch information
garethfuller committed Jul 6, 2024
1 parent 3f1e9af commit 1ca0b06
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/assets/images/icons/protocols/superfest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/banners/PointsBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ function getIconSrc(protocol: Protocol) {
:alt="protocol"
class="mr-2"
/>
{{ multiple }}x
{{ multiple && `${multiple}x` }}
</div>
</template>
<div>
<div class="mb-2 font-bold">
<span class="capitalize">{{ protocol }}</span
>: {{ multiple }}x points multiplier
>{{ multiple && `: ${multiple}x points multiplier` }}
</div>
<div
v-if="description"
Expand Down
5 changes: 5 additions & 0 deletions src/composables/useProtocols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export enum Protocol {
Kelp = 'kelp',
Mellow = 'mellow',
Symbiotic = 'symbiotic',
Superfest = 'superfest',
}

export const protocolIconPaths: Record<Protocol, string> = {
Expand Down Expand Up @@ -112,4 +113,8 @@ export const protocolIconPaths: Record<Protocol, string> = {
'@/assets/images/icons/protocols/symbiotic.svg',
import.meta.url
).href,
[Protocol.Superfest]: new URL(
'@/assets/images/icons/protocols/superfest.svg',
import.meta.url
).href,
};
12 changes: 11 additions & 1 deletion src/lib/config/fraxtal/pools.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { CSP_ISSUE_POOL_IDS } from '@/constants/pool-lists/csp-issue';
import { PoolWarning, Pools } from '@/types/pools';
import { Network } from '../types';
import { Protocol } from '@/composables/useProtocols';

const pools: Pools = {
IdsMap: {},
Expand Down Expand Up @@ -47,7 +48,16 @@ const pools: Pools = {
},
Deep: [],
BoostedApr: [],
Metadata: {},
Metadata: {
'0x33251abecb0364df98a27a8d5d7b5ccddc774c42000000000000000000000008': {
points: [
{
protocol: Protocol.Superfest,
multiple: '',
},
],
},
},
DisabledJoins: [],
BrandedRedirect: {
Gyro2: 'gyro',
Expand Down

0 comments on commit 1ca0b06

Please sign in to comment.