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
3af9dcf9
Commit
3af9dcf9
authored
Feb 07, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proxy contract fixes
parent
227f50a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
AddressDetails.tsx
ui/address/AddressDetails.tsx
+7
-5
ContractMethodsAccordion.tsx
ui/address/contract/ContractMethodsAccordion.tsx
+6
-4
No files found.
ui/address/AddressDetails.tsx
View file @
3af9dcf9
...
...
@@ -136,12 +136,14 @@ const AddressDetails = ({ addressQuery, scrollRef }: Props) => {
hint=
"Implementation address of the proxy contract."
columnGap=
{
1
}
>
<
LinkInternal
href=
{
link
(
'
address_index
'
,
{
id
:
data
.
implementation_address
})
}
>
{
data
.
implementation_name
}
<
LinkInternal
href=
{
link
(
'
address_index
'
,
{
id
:
data
.
implementation_address
})
}
overflow=
"hidden"
>
{
data
.
implementation_name
||
<
HashStringShortenDynamic
hash=
{
data
.
implementation_address
}
/>
}
</
LinkInternal
>
<
Text
variant=
"secondary"
overflow=
"hidden"
>
<
HashStringShortenDynamic
hash=
{
`(${ data.implementation_address })`
}
/>
</
Text
>
{
data
.
implementation_name
&&
(
<
Text
variant=
"secondary"
overflow=
"hidden"
>
<
HashStringShortenDynamic
hash=
{
`(${ data.implementation_address })`
}
/>
</
Text
>
)
}
</
DetailsInfoItem
>
)
}
<
AddressBalance
data=
{
data
}
/>
...
...
ui/address/contract/ContractMethodsAccordion.tsx
View file @
3af9dcf9
...
...
@@ -82,10 +82,12 @@ const ContractMethodsAccordion = <T extends SmartContractMethod>({ data, renderC
</
AccordionItem
>
);
})
}
<
Flex
columnGap=
{
3
}
position=
"absolute"
top=
{
0
}
right=
{
0
}
py=
{
3
}
lineHeight=
"27px"
>
<
Link
onClick=
{
handleExpandAll
}
>
{
expandedSections
.
length
===
data
.
length
?
'
Collapse
'
:
'
Expand
'
}
all
</
Link
>
<
Link
onClick=
{
handleReset
}
>
Reset
</
Link
>
</
Flex
>
{
data
.
length
>
0
&&
(
<
Flex
columnGap=
{
3
}
position=
"absolute"
top=
{
0
}
right=
{
0
}
py=
{
3
}
lineHeight=
"27px"
>
<
Link
onClick=
{
handleExpandAll
}
>
{
expandedSections
.
length
===
data
.
length
?
'
Collapse
'
:
'
Expand
'
}
all
</
Link
>
<
Link
onClick=
{
handleReset
}
>
Reset
</
Link
>
</
Flex
>
)
}
</
Accordion
>
);
}
;
...
...
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