diff --git a/apps/remix-ide/src/app/tabs/locales/en/solidity.json b/apps/remix-ide/src/app/tabs/locales/en/solidity.json index 3fc0da579d..b9b51dbbf5 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/solidity.json +++ b/apps/remix-ide/src/app/tabs/locales/en/solidity.json @@ -52,6 +52,7 @@ "solidity._comment_contract-selection.tsx": "libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx", "solidity.publishOn": "Publish on", + "solidity.runStaticAnalysis": "Run Static Analysis", "solidity.flatten": "Flatten contracts before UML generation.", "solidity.generateUML": "Generate a UML diagram of your contract.", "solidity.flattenLabel": "Flatten", diff --git a/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx b/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx index 6a0e4d47d5..1d4d24b493 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/contract-selection.tsx @@ -245,6 +245,10 @@ export const ContractSelection = (props: ContractSelectionProps) => { return bytecodeObj.object } + const runStaticAnalysis = () => { + console.log('runStaticAnalysis') + } + return ( // define swarm logo <> @@ -264,6 +268,26 @@ export const ContractSelection = (props: ContractSelectionProps) => {
+