-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tien Nam Dao
committed
Nov 8, 2022
1 parent
28a3aa3
commit 3dfdecb
Showing
5 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { useMobileLayout } from '@astraprotocol/astra-ui' | ||
import Container from 'components/Container' | ||
import Layout from 'components/Layout' | ||
import Head from 'next/head' | ||
import React from 'react' | ||
|
||
type Props = { | ||
errorMessage?: string | ||
address: string | ||
addressData: Address | ||
} | ||
|
||
const ContractVerifyPage: React.FC<Props> = props => { | ||
const { isMobile } = useMobileLayout() | ||
const { address, addressData, errorMessage } = props | ||
|
||
return ( | ||
<Layout> | ||
<Head> | ||
<meta name="viewport" content="initial-scale=1.0, width=device-width" /> | ||
<title>Verify Contract</title> | ||
</Head> | ||
<Container> | ||
<iframe | ||
src="https://blockscout.astranaut.dev/address/0x23c5d4a327EAcCAfcb6438F96aa3df84aB1486e3/verify-via-flattened-code/new" | ||
height={1000} | ||
width={1200} | ||
/> | ||
</Container> | ||
</Layout> | ||
) | ||
} | ||
|
||
// export async function getServerSideProps({ params }) {} | ||
|
||
export default ContractVerifyPage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import Row from 'components/Grid/Row' | ||
|
||
interface Props { | ||
address: string | ||
} | ||
|
||
const ContractCodeTab = ({ address }: Props) => { | ||
return ( | ||
<div> | ||
<Row style={{ justifyContent: 'space-between' }} classes="padding-xl"> | ||
<span className="text text-xl">Contract Code</span> | ||
<></> | ||
</Row> | ||
</div> | ||
) | ||
} | ||
|
||
export default ContractCodeTab |
Empty file.