Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Change promo banners to 'CoW is Live' #1137

Merged
merged 3 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/(app)/pools/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Suspense } from 'react'
// import { getProjectConfig } from '@/lib/config/getProjectConfig'
// import { GetFeaturedPoolsDocument } from '@/lib/shared/services/api/generated/graphql'
// import { FeaturedPools } from '@/lib/modules/featured-pools/FeaturedPools'
import { CowGalxeQuestPromoBanner } from '@/lib/shared/components/promos/CowGalxeQuestPromoBanner'
import { CowPromoBanner } from '@/lib/shared/components/promos/CowPromoBanner'

export default async function PoolsPage() {
// Featured pools set up
Expand All @@ -33,7 +33,7 @@ export default async function PoolsPage() {
<DefaultPageContainer pt={['xl', '40px']} pb={['xl', '2xl']}>
<FadeInOnView animateOnce={false}>
<Box>
<CowGalxeQuestPromoBanner />
<CowPromoBanner />
</Box>
</FadeInOnView>
{/* <FadeInOnView animateOnce={false}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ test('queries add liquidity transaction', async () => {

expect(result.current.sentTokens).toEqual([
{
tokenAddress: '0x198d7387fa97a73f05b8578cdeff8f2a1f34cd1f',
tokenAddress: '0x198d7387Fa97A73F05b8578CdEFf8F2A1f34Cd1F',
humanAmount: '12',
},
{
tokenAddress: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
tokenAddress: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
humanAmount: '0.04',
},
])
Expand Down Expand Up @@ -99,11 +99,11 @@ test('queries remove liquidity transaction', async () => {
expect(result.current.receivedTokens).toEqual([
{
humanAmount: '16597.845312687911573359',
tokenAddress: '0x198d7387fa97a73f05b8578cdeff8f2a1f34cd1f',
tokenAddress: '0x198d7387Fa97A73F05b8578CdEFf8F2A1f34Cd1F',
},
{
humanAmount: '4.553531492712836774',
tokenAddress: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
tokenAddress: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
},
])

Expand All @@ -112,8 +112,8 @@ test('queries remove liquidity transaction', async () => {

describe('queries swap transaction', () => {
const polAddress = '0x0000000000000000000000000000000000001010'
const wPolAddress = '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270'
const daiAddress = '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063'
const wPolAddress = '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270'
const daiAddress = '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063'

test('when the native asset is not included (from DAI to WPOL)', async () => {
const userAddress = '0xf76142b79Db34E57852d68F9c52C0E24f7349647'
Expand Down
Loading