Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
1b0b8f7e
Commit
1b0b8f7e
authored
Aug 18, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change logs array to string for test purpose
parent
dc35a7f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
remix-ui-terminal.tsx
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
+3
-3
No files found.
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
View file @
1b0b8f7e
...
@@ -499,7 +499,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
...
@@ -499,7 +499,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
to:
</
span
>
{
to
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
to:
</
span
>
{
to
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
value:
</
span
>
{
value
}
wei
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
value:
</
span
>
{
value
}
wei
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
data:
</
span
>
{
input
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
data:
</
span
>
{
input
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
logs:
</
span
>
{
logs
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
logs:
</
span
>
{
logs
.
toString
()
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
hash:
</
span
>
{
hash
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
hash:
</
span
>
{
hash
}
</
div
>
</
span
>
</
span
>
</
div
>)
</
div
>)
...
@@ -512,7 +512,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
...
@@ -512,7 +512,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
to:
</
span
>
{
to
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
to:
</
span
>
{
to
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
value:
</
span
>
{
value
}
wei
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
value:
</
span
>
{
value
}
wei
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
data:
</
span
>
{
input
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
data:
</
span
>
{
input
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
logs:
</
span
>
{
logs
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
logs:
</
span
>
{
logs
.
toString
()
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
hash:
</
span
>
{
hash
}
</
div
>
<
div
className=
'txItem'
><
span
className=
'txItemTitle'
>
hash:
</
span
>
{
hash
}
</
div
>
</
span
>
</
span
>
</
div
>)
</
div
>)
...
@@ -718,7 +718,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
...
@@ -718,7 +718,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
const
from
=
tx
.
from
const
from
=
tx
.
from
const
to
=
tx
.
to
?
tx
.
to
:
resolvedData
.
contractName
+
'.'
+
resolvedData
.
fn
const
to
=
tx
.
to
?
tx
.
to
:
resolvedData
.
contractName
+
'.'
+
resolvedData
.
fn
const
obj
=
{
from
,
to
}
const
obj
=
{
from
,
to
}
const
txType
=
'unknown'
+
(
tx
.
isCall
?
'Call'
:
'Tx'
)
const
txType
=
resolvedData
?
'knownTx'
:
'unknown'
+
(
tx
.
isCall
?
'Call'
:
'Tx'
)
return
(
return
(
<
span
id=
{
`tx${tx.hash}`
}
key=
{
index
}
>
<
span
id=
{
`tx${tx.hash}`
}
key=
{
index
}
>
<
div
className=
"log"
onClick=
{
(
event
)
=>
txDetails
(
event
,
tx
,
obj
)
}
>
<
div
className=
"log"
onClick=
{
(
event
)
=>
txDetails
(
event
,
tx
,
obj
)
}
>
...
...
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