diff --git a/apps/contract-verification/src/app/Verifiers/AbstractVerifier.ts b/apps/contract-verification/src/app/Verifiers/AbstractVerifier.ts index 5e2394492d..480fc5bd9b 100644 --- a/apps/contract-verification/src/app/Verifiers/AbstractVerifier.ts +++ b/apps/contract-verification/src/app/Verifiers/AbstractVerifier.ts @@ -9,9 +9,6 @@ export interface AbstractVerifier { } export abstract class AbstractVerifier { - // TODO remove prop - enabled = true - constructor(public apiUrl: string, public explorerUrl: string) {} abstract verify(submittedContract: SubmittedContract, compilerAbstract: CompilerAbstract): Promise diff --git a/apps/contract-verification/src/app/app.tsx b/apps/contract-verification/src/app/app.tsx index b732e15af7..423204fc70 100644 --- a/apps/contract-verification/src/app/app.tsx +++ b/apps/contract-verification/src/app/app.tsx @@ -18,14 +18,11 @@ const App = () => { const [themeType, setThemeType] = useState('dark') const [settings, setSettings] = useLocalStorage('contract-verification:settings', { chains: {} }) const [submittedContracts, setSubmittedContracts] = useLocalStorage('contract-verification:submitted-contracts', {}) - // TODO: Types for chains const [chains, setChains] = useState([]) // State to hold the chains data const [compilationOutput, setCompilationOutput] = useState<{ [key: string]: CompilerAbstract } | undefined>() const timer = useRef(null) useEffect(() => { - // TODO: Fix 'compilationFinished' event types. The interface is outdated at https://github.com/ethereum/remix-plugin/blob/master/packages/api/src/lib/compiler/api.ts. It does not include data, input, or version. See the current parameters: https://github.com/ethereum/remix-project/blob/9f6c5be882453a555055f07171701459e4ae88a4/libs/remix-solidity/src/compiler/compiler.ts#L189 - // Fetch compiler artefacts initially plugin.call('compilerArtefacts' as any, 'getAllCompilerAbstracts').then((obj: any) => { setCompilationOutput(obj)