File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11import { getSafeTokenAddress } from '@/components/common/SafeTokenWidget'
2+ import { cgwDebugStorage } from '@/components/sidebar/DebugToggle'
3+ import { IS_PRODUCTION } from '@/config/constants'
24import { ZERO_ADDRESS } from '@safe-global/safe-core-sdk/dist/src/utils/constants'
35import { isPast } from 'date-fns'
46import { BigNumber } from 'ethers'
@@ -8,10 +10,13 @@ import useAsync from './useAsync'
810import useSafeInfo from './useSafeInfo'
911import { getWeb3ReadOnly } from './wallets/web3'
1012
11- export const VESTING_URL = 'https://safe-claiming-app-data.safe.global/allocations/'
13+ export const VESTING_URL =
14+ IS_PRODUCTION || cgwDebugStorage . get ( )
15+ ? 'https://safe-claiming-app-data.safe.global/allocations/'
16+ : 'https://safe-claiming-app-data.staging.5afe.dev/allocations/'
1217
1318type VestingData = {
14- tag : 'user' | 'ecosystem' | 'investor'
19+ tag : 'user' | 'ecosystem' | 'investor' | 'user_v2' // SEP #5
1520 account : string
1621 chainId : number
1722 contract : string
You can’t perform that action at this time.
0 commit comments