diff --git a/typings/snapshot.ts b/typings/snapshot.ts index 88851e277..db826d2d2 100644 --- a/typings/snapshot.ts +++ b/typings/snapshot.ts @@ -1,10 +1,5 @@ export const SNAPSHOT_EU = 'https://snapshot-de.mydefichain.com/'; -export const SNAPSHOT_ASIA = - 'https://defi-snapshots.s3-ap-southeast-1.amazonaws.com/'; -export const SNAPSHOT_AU = - 'https://defi-snapshots-sydney.s3-ap-southeast-2.amazonaws.com/'; -export const SNAPSHOT_US = 'https://defi-snapshots-us.s3.amazonaws.com/'; export const SNAPSHOT_INDEX = 'index.txt'; export interface SnapshotInterface { SNAPSHOT_BLOCK: string; @@ -18,7 +13,7 @@ export let SNAPSHOT_INFO = { SNAPSHOT_EXTENSION: '.zip', }; -export const SNAPSHOT_PROVIDER = 'DeFiChain Foundation'; +export const SNAPSHOT_PROVIDER = 'mydefichain'; export const getSnapshotFilename = (): string => { const info = SNAPSHOT_INFO; diff --git a/webapp/src/containers/PopOver/SnapshotDownloadModal/index.tsx b/webapp/src/containers/PopOver/SnapshotDownloadModal/index.tsx index 4df32de4a..527dac0f3 100644 --- a/webapp/src/containers/PopOver/SnapshotDownloadModal/index.tsx +++ b/webapp/src/containers/PopOver/SnapshotDownloadModal/index.tsx @@ -24,9 +24,6 @@ import { DownloadSnapshotSteps } from '../types'; import { SNAPSHOT_PROVIDER, SNAPSHOT_EU, - SNAPSHOT_ASIA, - SNAPSHOT_US, - SNAPSHOT_AU, } from '@defi_types/snapshot'; import { openDownloadSnapshotModal, @@ -54,18 +51,6 @@ const SnapshotDownloadModal: React.FunctionComponent = () => { label: 'Europe', value: SNAPSHOT_EU, }, - { - label: 'Asia', - value: SNAPSHOT_ASIA, - }, - { - label: 'US', - value: SNAPSHOT_US, - }, - { - label: 'Australia', - value: SNAPSHOT_AU, - }, ]; const [snapshotURI, setSnapshotURI] = useState(snapshotLinks[0]);