|
|
@ -7,7 +7,7 @@ import {ContractDropdown} from '../components/ContractDropdown' |
|
|
|
import {ethers} from 'ethers/' |
|
|
|
import {ethers} from 'ethers/' |
|
|
|
import {Chain} from '../types/VerificationTypes' |
|
|
|
import {Chain} from '../types/VerificationTypes' |
|
|
|
|
|
|
|
|
|
|
|
export const HomeView = () => { |
|
|
|
export const VerifyView = () => { |
|
|
|
const {chains, compilationOutput, sourcifyVerifiers, selectedContractFileAndName} = React.useContext(AppContext) |
|
|
|
const {chains, compilationOutput, sourcifyVerifiers, selectedContractFileAndName} = React.useContext(AppContext) |
|
|
|
const [contractAddress, setContractAddress] = useState('') |
|
|
|
const [contractAddress, setContractAddress] = useState('') |
|
|
|
const [contractAddressError, setContractAddressError] = useState('') |
|
|
|
const [contractAddressError, setContractAddressError] = useState('') |