From 37e19271bbead8fdd062575d444f8dd23122f91e Mon Sep 17 00:00:00 2001 From: Gareth Fuller Date: Mon, 27 May 2024 16:27:23 +0100 Subject: [PATCH 1/3] chore: Add veTHX --- src/lib/config/polygon/pools.ts | 1 + src/types/pools.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/config/polygon/pools.ts b/src/lib/config/polygon/pools.ts index e2b8a9f389..17323d1764 100644 --- a/src/lib/config/polygon/pools.ts +++ b/src/lib/config/polygon/pools.ts @@ -17,6 +17,7 @@ const pools: Pools = { maiBbaUsd: '0xb54b2125b711cd183edd3dd09433439d5396165200000000000000000000075e', }, + veTHX: '0xb204bf10bc3a5435017d3db247f56da601dfe08a0002000000000000000000fe', }, Pagination: { PerPage: 10, diff --git a/src/types/pools.ts b/src/types/pools.ts index 75f9c87187..db70b38d5a 100644 --- a/src/types/pools.ts +++ b/src/types/pools.ts @@ -116,6 +116,7 @@ export type NamedPools = { veUSH: string; veQi: string; veGEM: string; + veTHX: string; }; export type DeprecatedDetails = { From 2ccb3bee2c4cc8a27dedacf0b6c6b283fe297d3a Mon Sep 17 00:00:00 2001 From: Gareth Fuller Date: Mon, 27 May 2024 20:02:30 +0100 Subject: [PATCH 2/3] chore: Add to isVe8020 conditional --- src/composables/useVotingPools.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/composables/useVotingPools.ts b/src/composables/useVotingPools.ts index 5768314475..5e1488e170 100644 --- a/src/composables/useVotingPools.ts +++ b/src/composables/useVotingPools.ts @@ -23,6 +23,7 @@ export function isVe8020Pool(pool: VotingPool): boolean { POOLS.IdsMap.veUSH, POOLS.IdsMap.veQi, POOLS.IdsMap.veGEM, + POOLS.IdsMap.veTHX, ].includes(pool.id.toLowerCase()); } From 1e440becb56d5ccafa5d210b0b38475962f73616 Mon Sep 17 00:00:00 2001 From: Gareth Fuller Date: Mon, 27 May 2024 20:29:19 +0100 Subject: [PATCH 3/3] chore: Update metadata --- src/lib/config/mainnet/pools.ts | 1 + src/lib/config/polygon/pools.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/config/mainnet/pools.ts b/src/lib/config/mainnet/pools.ts index f396ba81f4..7a7b0ea0a7 100644 --- a/src/lib/config/mainnet/pools.ts +++ b/src/lib/config/mainnet/pools.ts @@ -17,6 +17,7 @@ const pools: Pools = { veUSH: '0xd689abc77b82803f22c49de5c8a0049cc74d11fd000200000000000000000524', veQi: '0x39eb558131e5ebeb9f76a6cbf6898f6e6dce5e4e0002000000000000000005c8', veGEM: '0x57766212638c425e9cb0c6d6e1683dda369c0fff000200000000000000000678', + veTHX: '0xb204bf10bc3a5435017d3db247f56da601dfe08a0002000000000000000000fe', }, Pagination: { PerPage: 10, diff --git a/src/lib/config/polygon/pools.ts b/src/lib/config/polygon/pools.ts index 17323d1764..e2b8a9f389 100644 --- a/src/lib/config/polygon/pools.ts +++ b/src/lib/config/polygon/pools.ts @@ -17,7 +17,6 @@ const pools: Pools = { maiBbaUsd: '0xb54b2125b711cd183edd3dd09433439d5396165200000000000000000000075e', }, - veTHX: '0xb204bf10bc3a5435017d3db247f56da601dfe08a0002000000000000000000fe', }, Pagination: { PerPage: 10,