@ -208,8 +208,6 @@ export const VerifyView: React.FC<Props> = ({
name = "contractAddress"
name = "contractAddress"
component = "div"
component = "div"
/ >
/ >
< / div >
< div className = "d-flex mb-2 custom-control custom-checkbox" >
< div className = "d-flex mb-2 custom-control custom-checkbox" >
< Field
< Field
className = "custom-control-input"
className = "custom-control-input"
@ -222,19 +220,12 @@ export const VerifyView: React.FC<Props> = ({
else setIsProxyContract ( false )
else setIsProxyContract ( false )
} }
} }
/ >
/ >
< label className = "form-check-label custom-control-label" htmlFor = "isProxy" > It ' s a proxy contract < / label >
< label className = "form-check-label custom-control-label" htmlFor = "isProxy" > It ' s a proxy contract address < / label >
< / div >
< / div >
< / div >
< div className = { isProxyContract ? 'form-group d-block' : 'form-group d-none' } >
< div className = { isProxyContract ? 'form-group d-block' : 'form-group d-none' } >
< label htmlFor = "expectedImplAddress" > Expected Implementation Address < / label >
< label htmlFor = "expectedImplAddress" > Expected Implementation Address < / label >
< CustomTooltip
placement = { 'top' }
tooltipClasses = "text-wrap"
tooltipId = "etherscan-impl-address-info"
tooltipText = "Make sure implementation contract is already verified before proxy contract"
>
< i style = { { fontSize : 'small' } } className = { 'ml-1 fal fa-info-circle align-self-center' } aria - hidden = "true" > < / i >
< / CustomTooltip >
< CustomTooltip
< CustomTooltip
tooltipText = 'Providing expected implementation address enforces a check to ensure the returned implementation contract address is same as address picked up by the verifier'
tooltipText = 'Providing expected implementation address enforces a check to ensure the returned implementation contract address is same as address picked up by the verifier'
tooltipId = 'etherscan-impl-address'
tooltipId = 'etherscan-impl-address'
@ -244,9 +235,11 @@ export const VerifyView: React.FC<Props> = ({
className = "form-control"
className = "form-control"
type = "text"
type = "text"
name = "expectedImplAddress"
name = "expectedImplAddress"
placeholder = "e.g. 0x11b79afc03baf25c631dd70169bb6a3160b2706e "
placeholder = "verified implementation contract address "
/ >
/ >
< / CustomTooltip >
< / CustomTooltip >
< i style = { { fontSize : 'x-small' } } className = { 'ml-1 fal fa-info-circle align-self-center' } aria - hidden = "true" > < / i >
< label > & nbsp ; Make sure contract is already verified on Etherscan < / label >
< / div >
< / div >
< SubmitButton dataId = "verify-contract" text = "Verify"
< SubmitButton dataId = "verify-contract" text = "Verify"