|
|
@ -557,30 +557,11 @@ export function ContractGUI (props: ContractGUIProps) { |
|
|
|
<label className="mt-2 text-left d-block"> |
|
|
|
<label className="mt-2 text-left d-block"> |
|
|
|
Proxy Address : |
|
|
|
Proxy Address : |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
<CustomTooltip |
|
|
|
<input style={{ height: 32 }} className="form-control udapp_input" data-id="ERC1967AddressInput" placeholder='proxy address' title='Enter previously deployed proxy address on the selected network' onChange={handleSetProxyAddress} onBlur={() => validateProxyAddress(proxyAddress) } /> |
|
|
|
tooltipText="Enter previously deployed proxy address on the selected network" |
|
|
|
{ proxyAddressError && <span className='text-lowercase' data-id="errorMsgProxyAddress" style={{ fontSize: '.8em' }}>{ proxyAddressError }</span> } |
|
|
|
placement="left" |
|
|
|
</div> : |
|
|
|
tooltipId="ERC1967AddressInputTooltip" |
|
|
|
<span className='text-capitalize' data-id="lastDeployedERC1967Address" style={{ fontSize: '.8em' }}>{ proxyAddress || proxyAddressError }</span> |
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
} |
|
|
|
> |
|
|
|
|
|
|
|
<input |
|
|
|
|
|
|
|
style={{ height: 32 }} |
|
|
|
|
|
|
|
className="form-control udapp_input" |
|
|
|
|
|
|
|
data-id="ERC1967AddressInput" |
|
|
|
|
|
|
|
placeholder="proxy address" |
|
|
|
|
|
|
|
onChange={handleSetProxyAddress} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
: ( |
|
|
|
|
|
|
|
<span |
|
|
|
|
|
|
|
className="text-capitalize" |
|
|
|
|
|
|
|
data-id="lastDeployedERC1967Address" |
|
|
|
|
|
|
|
style={{ fontSize: ".8em" }} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{proxyAddress || "No proxy address available"} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
)} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</> |
|
|
|
</> |
|
|
|