From 1d3b6c136aa20769930c70156a56cc2df97690bb Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Wed, 31 May 2023 15:31:35 +0530 Subject: [PATCH] add a field for impl address --- apps/etherscan/src/app/views/VerifyView.tsx | 22 ++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/apps/etherscan/src/app/views/VerifyView.tsx b/apps/etherscan/src/app/views/VerifyView.tsx index a43ff96a10..398be96d2f 100644 --- a/apps/etherscan/src/app/views/VerifyView.tsx +++ b/apps/etherscan/src/app/views/VerifyView.tsx @@ -33,6 +33,7 @@ export const VerifyView: React.FC = ({ const [results, setResults] = useState("") const [networkName, setNetworkName] = useState("Loading...") const [showConstructorArgs, setShowConstructorArgs] = useState(false) + const [isProxyContract, setIsProxyContract] = useState(false) const [constructorInputs, setConstructorInputs] = useState([]) const verificationResult = useRef({}) @@ -210,10 +211,25 @@ export const VerifyView: React.FC = ({ { + handleChange(e) + if (e.target.checked) setIsProxyContract(true) + else setIsProxyContract(false) + }} + /> + + + +
+ + -