Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
508f38b8
Commit
508f38b8
authored
Feb 20, 2023
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
megre fix
parent
9f1b2184
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
ContractCode.tsx
ui/address/contract/ContractCode.tsx
+2
-2
ContractWrite.tsx
ui/address/contract/ContractWrite.tsx
+0
-1
Token.tsx
ui/pages/Token.tsx
+1
-1
No files found.
ui/address/contract/ContractCode.tsx
View file @
508f38b8
...
@@ -130,8 +130,8 @@ const ContractCode = ({ addressHash }: Props) => {
...
@@ -130,8 +130,8 @@ const ContractCode = ({ addressHash }: Props) => {
<
AddressLink
type=
"address"
hash=
{
data
.
verified_twin_address_hash
}
truncation=
"constant"
ml=
{
2
}
/>
<
AddressLink
type=
"address"
hash=
{
data
.
verified_twin_address_hash
}
truncation=
"constant"
ml=
{
2
}
/>
</
Address
>
</
Address
>
<
chakra
.
span
mt=
{
1
}
>
All functions displayed below are from ABI of that contract. In order to verify current contract, proceed with
</
chakra
.
span
>
<
chakra
.
span
mt=
{
1
}
>
All functions displayed below are from ABI of that contract. In order to verify current contract, proceed with
</
chakra
.
span
>
<
LinkInternal
href=
{
route
({
pathname
:
'
/address/[hash]/contract_verification
'
,
query
:
{
hash
:
addressHash
||
""
}
})
}
>
<
LinkInternal
href=
{
route
({
pathname
:
'
/address/[hash]/contract_verification
'
,
query
:
{
hash
:
addressHash
||
''
}
})
}
>
Verify
&
Publish
Verify
&
Publish
</
LinkInternal
>
</
LinkInternal
>
<
span
>
page
</
span
>
<
span
>
page
</
span
>
</
Alert
>
</
Alert
>
...
...
ui/address/contract/ContractWrite.tsx
View file @
508f38b8
...
@@ -6,7 +6,6 @@ import type { SmartContractWriteMethod } from 'types/api/contract';
...
@@ -6,7 +6,6 @@ import type { SmartContractWriteMethod } from 'types/api/contract';
import
config
from
'
configs/app/config
'
;
import
config
from
'
configs/app/config
'
;
import
useApiQuery
from
'
lib/api/useApiQuery
'
;
import
useApiQuery
from
'
lib/api/useApiQuery
'
;
import
getQueryParamString
from
'
lib/router/getQueryParamString
'
;
import
ContractMethodsAccordion
from
'
ui/address/contract/ContractMethodsAccordion
'
;
import
ContractMethodsAccordion
from
'
ui/address/contract/ContractMethodsAccordion
'
;
import
ContentLoader
from
'
ui/shared/ContentLoader
'
;
import
ContentLoader
from
'
ui/shared/ContentLoader
'
;
import
DataFetchAlert
from
'
ui/shared/DataFetchAlert
'
;
import
DataFetchAlert
from
'
ui/shared/DataFetchAlert
'
;
...
...
ui/pages/Token.tsx
View file @
508f38b8
...
@@ -90,7 +90,7 @@ const TokenPageContent = () => {
...
@@ -90,7 +90,7 @@ const TokenPageContent = () => {
});
});
const
contractQuery
=
useApiQuery
(
'
address
'
,
{
const
contractQuery
=
useApiQuery
(
'
address
'
,
{
pathParams
:
{
id
:
hashString
},
pathParams
:
{
hash
:
hashString
},
queryOptions
:
{
enabled
:
Boolean
(
router
.
query
.
hash
)
},
queryOptions
:
{
enabled
:
Boolean
(
router
.
query
.
hash
)
},
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment