File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,6 @@ export const grantRoundKeyPrefix = 'GrantRound-';
5555export const grantRoundsCLRDataKeyPrefix = 'GrantRoundsGrantData-' ;
5656
5757export const NO_LOGO_OBJECT = { protocol : 0 , pointer : '' } ;
58+
59+ // --- ipfs ---
60+ export const retrievalEndpoint = 'https://scopelift.b-cdn.net/ipfs' ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { BatchFilterQuery, EtherscanGroup } from 'src/types';
99import useWalletStore from 'src/store/wallet' ;
1010import { Grant , GrantRound , MetaPtr } from '@dgrants/types' ;
1111import { formatUnits } from 'src/utils/ethers' ;
12- import { ETH_ADDRESS } from 'src/utils/constants' ;
12+ import { ETH_ADDRESS , retrievalEndpoint } from 'src/utils/constants' ;
1313import {
1414 DEFAULT_PROVIDER ,
1515 ETHERSCAN_BASE_URL ,
@@ -19,9 +19,6 @@ import {
1919} from 'src/utils/chains' ;
2020import { Ref } from 'vue' ;
2121
22- // --- Constants ---
23- const retrievalEndpoint = 'https://scopelift.b-cdn.net/ipfs' ;
24-
2522// --- Formatters ---
2623// Returns an address with the following format: 0x1234…abcd
2724export function formatAddress ( address : string ) {
You can’t perform that action at this time.
0 commit comments