|
|
@ -18,7 +18,7 @@ export interface RemixUiCompileDetailsProps { |
|
|
|
const _paq = (window._paq = window._paq || []) |
|
|
|
const _paq = (window._paq = window._paq || []) |
|
|
|
|
|
|
|
|
|
|
|
export function RemixUiCompileDetails({ plugin, contractProperties, selectedContract, saveAs, help, insertValue }: RemixUiCompileDetailsProps) { |
|
|
|
export function RemixUiCompileDetails({ plugin, contractProperties, selectedContract, saveAs, help, insertValue }: RemixUiCompileDetailsProps) { |
|
|
|
|
|
|
|
console.log({selectedContract, contractProperties}) |
|
|
|
const intl = useIntl() |
|
|
|
const intl = useIntl() |
|
|
|
const downloadFn = () => { |
|
|
|
const downloadFn = () => { |
|
|
|
_paq.push(['trackEvent', 'compiler', 'compilerDetails', 'download']) |
|
|
|
_paq.push(['trackEvent', 'compiler', 'compilerDetails', 'download']) |
|
|
@ -33,7 +33,7 @@ export function RemixUiCompileDetails({ plugin, contractProperties, selectedCont |
|
|
|
</CustomTooltip> |
|
|
|
</CustomTooltip> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="remixui_detailsJSON"> |
|
|
|
<div className="remixui_detailsJSON"> |
|
|
|
<TreeView> |
|
|
|
{<TreeView> |
|
|
|
{Object.keys(contractProperties).map((propertyName: ContractPropertyName, index) => { |
|
|
|
{Object.keys(contractProperties).map((propertyName: ContractPropertyName, index) => { |
|
|
|
const copyDetails = ( |
|
|
|
const copyDetails = ( |
|
|
|
<span className="remixui_copyDetails"> |
|
|
|
<span className="remixui_copyDetails"> |
|
|
@ -69,7 +69,7 @@ export function RemixUiCompileDetails({ plugin, contractProperties, selectedCont |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) |
|
|
|
) |
|
|
|
})} |
|
|
|
})} |
|
|
|
</TreeView> |
|
|
|
</TreeView>} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</> |
|
|
|
</> |
|
|
|
) |
|
|
|
) |
|
|
|