diff --git a/src/custom/constants/index.ts b/src/custom/constants/index.ts index 841024986..7a1bc1d1b 100644 --- a/src/custom/constants/index.ts +++ b/src/custom/constants/index.ts @@ -54,11 +54,9 @@ export const GP_VAULT_RELAYER: Partial> = { } export const V_COW_CONTRACT_ADDRESS: Partial> = { - // TODO: load addresses from contract package when available - // [ChainId.MAINNET]: GPv2Settlement[ChainId.MAINNET].address, - // [ChainId.RINKEBY]: GPv2Settlement[ChainId.RINKEBY].address, - // [ChainId.XDAI]: GPv2Settlement[ChainId.XDAI].address, - [ChainId.RINKEBY]: '0xB26D8c5D3d0A67F419F7b314D462C8357Cd4b122', + [ChainId.MAINNET]: '0x6d04B3ad33594978D0D4B01CdB7c3bA4a90a7DFe', + [ChainId.XDAI]: '0x18598a23E830eFBA0061A4d27E511cB5AE6AC43E', + [ChainId.RINKEBY]: '0xD7Dd9397Fb942565959c77f8e112ec5aa7D8C92c', } // See https://github.com/gnosis/gp-v2-contracts/commit/821b5a8da213297b0f7f1d8b17c893c5627020af#diff-12bbbe13cd5cf42d639e34a39d8795021ba40d3ee1e1a8282df652eb161a11d6R13 diff --git a/src/custom/constants/tokens/index.ts b/src/custom/constants/tokens/index.ts index 4a7f490fb..088822029 100644 --- a/src/custom/constants/tokens/index.ts +++ b/src/custom/constants/tokens/index.ts @@ -32,27 +32,26 @@ export const ADDRESS_IMAGE_OVERRIDE = { } export const V_COW: Record = { - // TODO: enable once contract addresses are added - // [SupportedChainId.MAINNET]: new Token( - // SupportedChainId.MAINNET, - // V_COW_CONTRACT_ADDRESS[SupportedChainId.MAINNET] || '', - // 18, - // 'vCOW', - // 'Virtual CowSwap Token' - // ), - // [SupportedChainId.XDAI]: new Token( - // SupportedChainId.XDAI, - // V_COW_CONTRACT_ADDRESS[SupportedChainId.XDAI] || '', - // 18, - // 'vCOW', - // 'Virtual CowSwap Token' - // ), + [SupportedChainId.MAINNET]: new Token( + SupportedChainId.MAINNET, + V_COW_CONTRACT_ADDRESS[SupportedChainId.MAINNET] || '', + 18, + 'vCOW', + 'CoW Protocol Virtual Token' + ), + [SupportedChainId.XDAI]: new Token( + SupportedChainId.XDAI, + V_COW_CONTRACT_ADDRESS[SupportedChainId.XDAI] || '', + 18, + 'vCOW', + 'CoW Protocol Virtual Token' + ), [SupportedChainId.RINKEBY]: new Token( SupportedChainId.RINKEBY, V_COW_CONTRACT_ADDRESS[SupportedChainId.RINKEBY] || '', 18, 'vCOW', - 'Virtual CowSwap Token' + 'CoW Protocol Virtual Token' ), } diff --git a/src/custom/state/claim/hooks/index.ts b/src/custom/state/claim/hooks/index.ts index d5ce0f0aa..0e1efb659 100644 --- a/src/custom/state/claim/hooks/index.ts +++ b/src/custom/state/claim/hooks/index.ts @@ -58,7 +58,7 @@ import { import { EnhancedUserClaimData } from 'pages/Claim/types' import { supportedChainId } from 'utils/supportedChainId' -const CLAIMS_REPO_BRANCH = 'main' +const CLAIMS_REPO_BRANCH = 'test-deployment-all-networks' export const CLAIMS_REPO = `https://raw.githubusercontent.com/gnosis/cow-merkle-drop/${CLAIMS_REPO_BRANCH}/` // Base amount = 1 VCOW