|
|
@ -245,6 +245,10 @@ export const ContractSelection = (props: ContractSelectionProps) => { |
|
|
|
return bytecodeObj.object |
|
|
|
return bytecodeObj.object |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const runStaticAnalysis = () => { |
|
|
|
|
|
|
|
console.log('runStaticAnalysis') |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
// define swarm logo
|
|
|
|
// define swarm logo
|
|
|
|
<> |
|
|
|
<> |
|
|
@ -264,6 +268,26 @@ export const ContractSelection = (props: ContractSelectionProps) => { |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<article className="mt-2 pb-0"> |
|
|
|
<article className="mt-2 pb-0"> |
|
|
|
|
|
|
|
<button |
|
|
|
|
|
|
|
id="runStaticAnalysis" |
|
|
|
|
|
|
|
className="btn btn-secondary btn-block" |
|
|
|
|
|
|
|
onClick={() => { |
|
|
|
|
|
|
|
handlePublishToStorage('ipfs') |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<CustomTooltip |
|
|
|
|
|
|
|
placement={'auto-end'} |
|
|
|
|
|
|
|
tooltipId="runStaticAnalysisTooltip" |
|
|
|
|
|
|
|
tooltipClasses="text-nowrap" |
|
|
|
|
|
|
|
tooltipText={`${intl.formatMessage({ |
|
|
|
|
|
|
|
id: 'solidity.runStaticAnalysis' |
|
|
|
|
|
|
|
})}`}
|
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<span> |
|
|
|
|
|
|
|
<FormattedMessage id="solidity.runStaticAnalysis" /> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</CustomTooltip> |
|
|
|
|
|
|
|
</button> |
|
|
|
<button |
|
|
|
<button |
|
|
|
id="publishOnIpfs" |
|
|
|
id="publishOnIpfs" |
|
|
|
className="btn btn-secondary btn-block" |
|
|
|
className="btn btn-secondary btn-block" |
|
|
|