diff --git a/src/components/SetupStrategyBasic.vue b/src/components/SetupStrategyBasic.vue index 1f3a90d92d9..38d25aa5ac6 100644 --- a/src/components/SetupStrategyBasic.vue +++ b/src/components/SetupStrategyBasic.vue @@ -2,7 +2,7 @@ import { getTokenPrices } from '@/helpers/covalent'; import { call, clone } from '@snapshot-labs/snapshot.js/src/utils'; import { JsonRpcProvider } from '@ethersproject/providers'; -import { ERC20ABI } from '@/helpers/abi'; +import { ERC20ABI } from '@/helpers/constants'; import { isAddress } from '@ethersproject/address'; import { shorten } from '@/helpers/utils'; diff --git a/src/helpers/abi.ts b/src/helpers/abi.ts deleted file mode 100644 index 13902e143ad..00000000000 --- a/src/helpers/abi.ts +++ /dev/null @@ -1,5 +0,0 @@ -export const ERC20ABI = [ - 'function name() public view returns (string)', - 'function decimals() view returns (uint32)', - 'function symbol() view returns (string)' -]; diff --git a/src/helpers/constants.ts b/src/helpers/constants.ts index 88c34ef1e3f..d2627bb5e01 100644 --- a/src/helpers/constants.ts +++ b/src/helpers/constants.ts @@ -23,3 +23,9 @@ export const SPACE_CATEGORIES = [ 'creator', 'collector' ]; + +export const ERC20ABI = [ + 'function name() public view returns (string)', + 'function decimals() view returns (uint32)', + 'function symbol() view returns (string)' +];