Skip to content

Commit

Permalink
fix: Resolve the issue of incorrect redirection of Phalcon links
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbe37e committed Jan 18, 2024
1 parent ebacac9 commit b855082
Show file tree
Hide file tree
Showing 38 changed files with 45 additions and 114 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### v4.5.2

- [fix] Resolve the issue of incorrect redirection of Phalcon links

### v4.5.1

- [feat] Add support for ZkSync chain in Debank shortcut
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metadock",
"version": "4.5.1",
"version": "4.5.2",
"repository": {
"type": "git",
"url": "https://github.com/blocksecteam/metadock.git"
Expand Down
1 change: 1 addition & 0 deletions src/common/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface AddressMethodsReq {

export interface AddressRiskScoreReq extends PostAddressParams {
addressLabel?: { labels?: string[]; nameTag?: string }
creator?: string
}

export interface FundFlowRes {
Expand Down
1 change: 0 additions & 1 deletion src/common/components/ComplianceRadarPlot/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ const ComplianceRadarPlot: FC<Props> = ({
<a
href="https://docs.blocksec.com/metadock/features/nft-comprehensive-risk-radar-chart"
target="_blank"
rel="noreferrer"
className={styles.desc}
>
By MetaDock &gt;
Expand Down
3 changes: 0 additions & 3 deletions src/common/components/DrawerSimulation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ const DrawerSimulation: FC<Props> = ({
<a
href="https://docs.blocksec.com/phalcon-explorer/user-manual#transaction-simulation"
target="_blank"
rel="noreferrer"
>
Manual
</a>
Expand Down Expand Up @@ -424,7 +423,6 @@ const DrawerSimulation: FC<Props> = ({
className="letter-space-lr-1"
href="https://phalcon.blocksec.com/explorer"
target="_blank"
rel="noreferrer"
>
Phalcon Simulator
</a>
Expand All @@ -433,7 +431,6 @@ const DrawerSimulation: FC<Props> = ({
className="letter-space-lr-1"
href="https://phalcon.blocksec.com"
target="_blank"
rel="noreferrer"
>
Phalcon Fork
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/common/components/ModalContractVariableLogs/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const columns = (
''
) : (
<CopyButton hover text={String(block)} ml={4}>
<a href={`/block/${block}`} target="_blank" rel="noreferrer">
<a href={`/block/${block}`} target="_blank">
{block}
</a>
</CopyButton>
Expand Down Expand Up @@ -144,7 +144,7 @@ const columns = (
''
) : (
<CopyButton hover text={txHash} ml={4}>
<a href={getExplorerURL(txHash)} target="_blank" rel="noreferrer">
<a href={getExplorerURL(txHash)} target="_blank">
{getSubStr(txHash, [8])}
</a>
</CopyButton>
Expand Down
2 changes: 1 addition & 1 deletion src/common/components/ModalFundFlow/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const onDownload = (
if (enableWatermark && polygonEl) {
polygonEl.insertAdjacentHTML(
'afterend',
`<a id="watermark" href="https://blocksec.com/metadock" target="_blank" rel="noreferrer">
`<a id="watermark" href="https://blocksec.com/metadock" target="_blank">
<image x="${imagePosX}" y="-60" style="opacity: 0.2" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg8AAACFCAMAAADrT+sHAAAAolBMVEUAAABEjAxEjQxCjABDjBBEjAxBiwpDjAxEjAxEjQxEjAxEjAxEjAxEjAxEjAxFjAtDjAxEjAxEjQxDjApEjA5EjAxEjAtDjAtEjAtEjAxEjAxFjAxEjAtDjAtEjAxEjAtEjQxEjQxEjAxEjAxEjAxEjAtEjAxFjA1EjAxEjAtEjAxEjAtEiwxEjAxEjAtFjApDjAxDjA1EjAtDjAtEjAxEjAzFktQOAAAANXRSTlMAr5oFD/sJkOTDo9jwvnUflNt/GSOoQbOKyV8U9EjqhGp7PfjOnlROZzS5WY3SLC8oOd9w7YlHi+kAABjqSUR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x9TodcwbMU0mIp5Iqu3iQj+kL2HTJmjrTSqCkORDRHXEYeH54GeztFW1DEOXv20T+CBciGEnH6CcF8gk/EA4NDKGARmxn7kUoUI8aM6/mrYCBBCLkNW+3B6EY32wdD4IGgs84MhWICkcOpbGB3Ah2EYlAJH0yFWyRSTqe0pvsW2t+deLWJ9SMxm2skPowrFe4cMc4qlmPjA4CZHY1ioBQVHzxKrAuCCkcmRumAOdpso/i5bKtg0cAH0pdOPn30cVcr9/w9hTOmKcaodHNID/wRXtJHdW7GVxFy3SEJ+pyugeBtI+dL/1pbIAB4wXVjb+Quc8VOk4KlTnxQvtF7+NLMDVoxTKk1JOPcYn5RlIW1Zss8ov37TVuT9SvavFHkTzAa32CK9ycD9X/rD91WWB+FmmaZz4tNvBXD1gjBUHUoxD5UdjvFHRWMAJY74i+ufdKge+fMOeQLRAlOi8h21FbSitOcb4IDR9o7uBn9RWgnGpxpogOrHj2AJkxZSt5K+SBKCyPcB4mVm/QVbbcB3b2l7iBNfnlqM4trtSWbpwCrGIBqJrBDeGfqGBCVm7kh20ZHYEprTgBPXIUN/0r7K21svQxwjspqTO4DqOnbax0EI3t3baOtUwoR8C8KEP5lRWaP1X+Pb3//S7jf2wjaLnOlF8uNLbM/0Ttpun/GPnnXcgpLftav1Dj1tFzbH66xU9vRpHD81dmIUNi1NTdUO5wVTDJBprFm2JlZI2XAKYNK9dzd9kX0Y5aQFDPw0sm7cX0oGt8gRJG1WHbN2vPWDSq6QOv7M+KG/st11u0sxYjgjgQfrNMI9zeaUetr4O2hg3rwGKDwd6t6N/knbznbwIQdZxO4TLjjpeRyGMBfA6tTeLhr/rftypmKFfc3n4B9VfNH/4cj/DV2wK/9x/+MQnPvnwiQ7E8/nnG8f+bfwCn9QURVuzgjgAAAAASUVORK5CYII=" width="${watermarkWidth}" height="${watermarkHeight}"/>
</a>`
)
Expand Down
1 change: 0 additions & 1 deletion src/common/components/ModalFundFlow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ const ModalFundFlowGraph: FC<Props> = ({
className={styles.watermark}
href="https://blocksec.com/metadock"
target="_blank"
rel="noreferrer"
>
<img
src="https://assets.blocksec.com/image/1692101500475-4.png"
Expand Down
15 changes: 3 additions & 12 deletions src/common/components/ModalProxyLog/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ const columns: ColumnsType<ProxyContractLog> = [
key: 'block',
render: block => (
<div className={styles.cell}>
<a
href={`${window.location.origin}/block/${block}`}
target="_blank"
rel="noreferrer"
>
<a href={`${window.location.origin}/block/${block}`} target="_blank">
{block}
<CopyButton className={styles.copyButton} text={block} />
</a>
Expand All @@ -34,7 +30,6 @@ const columns: ColumnsType<ProxyContractLog> = [
<a
href={`${window.location.origin}/address/${currentImpl}`}
target="_blank"
rel="noreferrer"
>
{currentImpl}
</a>
Expand All @@ -48,11 +43,7 @@ const columns: ColumnsType<ProxyContractLog> = [
key: 'tx',
render: tx => (
<div className={styles.cell}>
<a
href={`${window.location.origin}/tx/${tx}`}
target="_blank"
rel="noreferrer"
>
<a href={`${window.location.origin}/tx/${tx}`} target="_blank">
{tx}
</a>
<CopyButton className={styles.copyButton} text={tx} />
Expand All @@ -73,7 +64,7 @@ const columns: ColumnsType<ProxyContractLog> = [
dataIndex: 'hub',
key: 'hub',
render: hub => (
<a href={hub} target="_blank" rel="noreferrer">
<a href={hub} target="_blank">
Diff
</a>
)
Expand Down
1 change: 0 additions & 1 deletion src/common/components/RarityLabel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const RarityLabel: FC<Props> = ({ data: { rank, total } }) => {
<a
href="https://docs.blocksec.com/metadock/introduction"
target="_blank"
rel="noreferrer"
className={styles.desc}
>
By NFTGo <IconLeftOutlined rotate={180} scale={0.6} />
Expand Down
4 changes: 2 additions & 2 deletions src/common/constants/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export const PHALCON_SUPPORT_LIST = [
supportSimulator: true
},
{
pathname: 'avax',
pathname: 'avalanche',
chain: 'avalanche',
supportSimulator: true
},
Expand All @@ -404,7 +404,7 @@ export const PHALCON_SUPPORT_LIST = [
supportSimulator: true
},
{
pathname: 'ftm',
pathname: 'fantom',
chain: 'fantom',
supportSimulator: false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const AlternativeBlockExplorersBtn: FC<Props> = ({ block }) => {
<a
href={`https://flashbots-explorer.marto.lol/?block=${block}`}
target="_blank"
rel="noopener noreferrer"
>
Flashbots Explorer
</a>
Expand Down
1 change: 0 additions & 1 deletion src/content/etherscan/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const Button: FC<PropsWithChildren<Props>> = props => {
href={href}
style={stylesheet}
target="_blank"
rel="noopener noreferrer"
onClick={onClick}
>
{icon && icon}
Expand Down
7 changes: 1 addition & 6 deletions src/content/etherscan/components/FortaAlertLabel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ const FortaAlertLabel: FC<Props> = ({ label, alertUrl }) => {
<TokenSymbol style={{ marginRight: '6px' }} />
<span>This label is provided by Forta</span>
{alertUrl && (
<a
className="ms-2"
href={alertUrl}
target="_blank"
rel="noreferrer"
>
<a className="ms-2" href={alertUrl} target="_blank">
Detail
</a>
)}
Expand Down
4 changes: 2 additions & 2 deletions src/content/etherscan/components/FortaAlertTip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ const FortaAlertTip: FC<Props> = ({ alertUrl, subscribeUrl }) => {
This is a suspicious exploit transaction
</span>
{alertUrl && (
<a href={alertUrl} target="_blank" rel="noreferrer">
<a href={alertUrl} target="_blank">
Detail
</a>
)}
{alertUrl && subscribeUrl && <span className="mx-2">|</span>}
{subscribeUrl && (
<a href={subscribeUrl} rel="noreferrer" target="_blank">
<a href={subscribeUrl} target="_blank">
Subscribe
</a>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@ const FortaAlertWarningSymbol: FC<Props> = ({ alertUrl }) => {
<TokenSymbol style={{ marginRight: '6px' }} />
<span>Forta Alert: This is a suspicious exploit transaction</span>
{alertUrl && (
<a
className="ms-2"
href={alertUrl}
target="_blank"
rel="noreferrer"
>
<a className="ms-2" href={alertUrl} target="_blank">
Detail
</a>
)}
Expand Down
1 change: 0 additions & 1 deletion src/content/etherscan/components/FundFromTag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const FundFromTag: FC<Props> = ({ data: { risky, label, address } }) => {
<a
href={`/address/${address}`}
target="_blank"
rel="noreferrer"
className={cls({ [styles.risky]: risky })}
>
{label}
Expand Down
7 changes: 1 addition & 6 deletions src/content/etherscan/components/MainAddressLabel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const MainAddressLabel: FC<Props> = ({
<a
href="https://docs.google.com/forms/d/e/1FAIpQLSfWk-74XOBL6sU7SgFRIuDzbFwaUt0wf7C4KE8U_E5FUcboog/viewform?usp=pp_url&entry.1591633300=Bug/Label+Reports"
target="_blank"
rel="noreferrer"
>
Report
</a>
Expand All @@ -27,11 +26,7 @@ const MainAddressLabel: FC<Props> = ({
<TokenSymbol />
{label}
{implementLabel?.trim() && (
<a
href={`/address/${implementAddress}`}
target="_blank"
rel="noreferrer"
>
<a href={`/address/${implementAddress}`} target="_blank">
{` ( ->`} <TokenSymbol logo={implementLogo} /> {implementLabel} )
</a>
)}
Expand Down
4 changes: 0 additions & 4 deletions src/content/etherscan/components/ParsersBtn/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const ParsersBtn: FC<Props> = ({ chain }) => {
<a
href={`https://phalcon.blocksec.com/explorer/tx/${phalconPathname}/${txHash}`}
target="_blank"
rel="noopener noreferrer"
>
Phalcon
</a>
Expand All @@ -53,7 +52,6 @@ const ParsersBtn: FC<Props> = ({ chain }) => {
<a
href={`https://openchain.xyz/trace/${openchainPathname}/${txHash}`}
target="_blank"
rel="noopener noreferrer"
>
OpenChain
</a>
Expand All @@ -63,7 +61,6 @@ const ParsersBtn: FC<Props> = ({ chain }) => {
<a
href={`https://dashboard.tenderly.co/tx/${tenderlyPathname}/${txHash}`}
target="_blank"
rel="noopener noreferrer"
>
Tenderly
</a>
Expand All @@ -73,7 +70,6 @@ const ParsersBtn: FC<Props> = ({ chain }) => {
<a
href={`https://library.dedaub.com/${dedaubPathname}/tx/${txHash}`}
target="_blank"
rel="noopener noreferrer"
>
Dedaub
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const TokenMarketplacesBtn: FC<Props> = ({ tokenType, markets }) => {
style={{ background: MARKET_OPTIONS[item.name]?.color }}
href={item.url}
target="_blank"
rel="noopener noreferrer"
>
<img src={MARKET_OPTIONS[item.name]?.logo} alt="" />
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ const TransactionExplanation: FC<Props> = props => {
<div className="col-md-3 mb-md-0 text-dt">
<a
target="_blank"
rel="noreferrer"
href="https://blocksec.com/metadock"
style={{ display: 'contents' }}
>
Expand Down
Loading

0 comments on commit b855082

Please sign in to comment.