diff --git a/apps/contract-verification/src/app/components/ConfigInput.tsx b/apps/contract-verification/src/app/components/ConfigInput.tsx index c1e48b2dd0..0737840115 100644 --- a/apps/contract-verification/src/app/components/ConfigInput.tsx +++ b/apps/contract-verification/src/app/components/ConfigInput.tsx @@ -1,4 +1,5 @@ import React, { useEffect, useState } from 'react' +import { CustomTooltip } from '@remix-ui/helper' interface ConfigInputProps { label: string @@ -28,17 +29,40 @@ export const ConfigInput: React.FC = ({ label, id, secret, ini saveResult(value) } + const handleCancel = () => { + setEnabled(false) + setValue(initialValue) + } + return ( -
- - setValue(e.target.value)} disabled={!enabled} /> +
+
- - + setValue(e.target.value)} + disabled={!enabled} + /> + + { enabled ? ( + <> + + + + ) : ( + + + + )}
) diff --git a/apps/contract-verification/src/app/layouts/Default.tsx b/apps/contract-verification/src/app/layouts/Default.tsx index f2de2df2d4..7693ca46cd 100644 --- a/apps/contract-verification/src/app/layouts/Default.tsx +++ b/apps/contract-verification/src/app/layouts/Default.tsx @@ -14,7 +14,6 @@ export const DefaultLayout = ({ children, title, description }: PropsWithChildre
-

{title}

{description}

diff --git a/apps/contract-verification/src/app/views/SettingsView.tsx b/apps/contract-verification/src/app/views/SettingsView.tsx index 6f0146461f..a4511a6216 100644 --- a/apps/contract-verification/src/app/views/SettingsView.tsx +++ b/apps/contract-verification/src/app/views/SettingsView.tsx @@ -32,19 +32,19 @@ export const SettingsView = () => { {selectedChain && (
-
- Sourcify +
+ Sourcify - {selectedChain.name} handleChange('Sourcify', 'apiUrl', result)} /> handleChange('Sourcify', 'explorerUrl', result)} />
-
- Etherscan +
+ Etherscan - {selectedChain.name} handleChange('Etherscan', 'apiKey', result)} /> handleChange('Etherscan', 'apiUrl', result)} /> handleChange('Etherscan', 'explorerUrl', result)} />
-
- Blockscout +
+ Blockscout - {selectedChain.name} handleChange('Blockscout', 'apiUrl', result)} />
diff --git a/apps/remix-ide/src/assets/list.json b/apps/remix-ide/src/assets/list.json index 6a55fff4f7..82f8fe17bb 100644 --- a/apps/remix-ide/src/assets/list.json +++ b/apps/remix-ide/src/assets/list.json @@ -1022,9 +1022,21 @@ "urls": [ "dweb:/ipfs/QmS5JdeXtYhGBvdgNTLWuBNHupyP623X4sf43fRbrgiTaA" ] + }, + { + "path": "soljson-v0.8.27+commit.40a35a09.js", + "version": "0.8.27", + "build": "commit.40a35a09", + "longVersion": "0.8.27+commit.40a35a09", + "keccak256": "0x68c7a06651a847fc9a60886a6ba590a2b20d87f2d4f9570bf70fbb2b901e7713", + "sha256": "0xd91c08277f801321af4e80958015aea18b41c01d2c6a38310a23014485b0e51c", + "urls": [ + "dweb:/ipfs/QmVTALD1WUQwRvEL19jgwrEFyBJMQmy9z32zvT6TAtYPY1" + ] } ], "releases": { + "0.8.27": "soljson-v0.8.27+commit.40a35a09.js", "0.8.26": "soljson-v0.8.26+commit.8a97fa7a.js", "0.8.25": "soljson-v0.8.25+commit.b61c2a91.js", "0.8.24": "soljson-v0.8.24+commit.e11b9ed9.js", @@ -1119,5 +1131,5 @@ "0.4.0": "soljson-v0.4.0+commit.acd334c9.js", "0.3.6": "soljson-v0.3.6+commit.3fc68da5.js" }, - "latestRelease": "0.8.26" + "latestRelease": "0.8.27" } \ No newline at end of file