Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow migration for Builder, Purple and the Park #444

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/web/src/constants/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,7 @@ export const L1_CROSS_DOMAIN_MESSENGER = {
export const ALLOWED_MIGRATION_DAOS: AddressType[] = [
'0xf3b8f2ef0933f601c2cceada242fc3948a6ba757',
'0xc0a2527d25ad9c7dee3f47e3497ca0093def26bc',
'0xa45662638e9f3bbb7a6fecb4b17853b7ba0f3a60',
'0x96e396e66087b2b9dcad36fd473e1b049df18998',
'0xdf9b7d26c8fc806b1ae6273684556761ff02d422',
]
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import {
defaultHelperTextStyle,
defaultInputLabelStyle,
} from 'src/components/Fields/styles.css'
import { PUBLIC_ALL_CHAINS } from 'src/constants/defaultChains'
import { auctionAbi } from 'src/data/contract/abis'
import { L2_CHAINS } from 'src/data/contract/chains'
import { TransactionType } from 'src/modules/create-proposal/constants'
import { usePrepareMigration } from 'src/modules/create-proposal/hooks/usePrepareMigration'
import { useProposalStore } from 'src/modules/create-proposal/stores'
Expand All @@ -19,10 +17,7 @@ import { unpackOptionalArray } from 'src/utils/helpers'

import { DropdownSelect } from '../../DropdownSelect'

const chainOptions = L2_CHAINS.map((chainId) => {
const chain = PUBLIC_ALL_CHAINS.find((x) => x.id === chainId)!
return { label: chain?.name, value: chainId }
})
const chainOptions = [{ label: 'Base', value: CHAIN_ID.BASE }]

export interface MigrationDAOFormProps {
currentTokenId: bigint
Expand Down
Loading