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
db3e8129
Commit
db3e8129
authored
Apr 07, 2020
by
LianaHus
Committed by
Liana Husikyan
Apr 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transact width
parent
b8e7a290
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
txLogger.js
src/app/ui/txLogger.js
+2
-1
universal-dapp-ui.js
src/app/ui/universal-dapp-ui.js
+1
-1
No files found.
src/app/ui/txLogger.js
View file @
db3e8129
...
@@ -302,6 +302,7 @@ function context (self, opts, blockchain) {
...
@@ -302,6 +302,7 @@ function context (self, opts, blockchain) {
var
block
=
data
.
tx
.
blockNumber
||
''
var
block
=
data
.
tx
.
blockNumber
||
''
var
i
=
data
.
tx
.
transactionIndex
var
i
=
data
.
tx
.
transactionIndex
var
value
=
val
?
typeConversion
.
toInt
(
val
)
:
0
var
value
=
val
?
typeConversion
.
toInt
(
val
)
:
0
const
hashInfo
=
(
block
||
i
)
?
'['
:
''
+
(
block
)
?
'block:${block}'
:
''
+
(
i
)
?
' txIndex:${i}'
:
''
+
(
block
||
i
)
?
']'
:
''
if
(
blockchain
.
getProvider
()
===
'vm'
)
{
if
(
blockchain
.
getProvider
()
===
'vm'
)
{
return
yo
`
return
yo
`
<div>
<div>
...
@@ -319,7 +320,7 @@ function context (self, opts, blockchain) {
...
@@ -319,7 +320,7 @@ function context (self, opts, blockchain) {
return
yo
`
return
yo
`
<div>
<div>
<span class=
${
css
.
txLog
}
>
<span class=
${
css
.
txLog
}
>
<span class='
${
css
.
tx
}
'>[block:
${
block
}
txIndex:
${
i
}
]
</span>
<span class='
${
css
.
tx
}
'>
${
hashInfo
}
</span>
<div class=
${
css
.
txItem
}
><span class=
${
css
.
txItemTitle
}
>from:</span>
${
from
}
</div>
<div class=
${
css
.
txItem
}
><span class=
${
css
.
txItemTitle
}
>from:</span>
${
from
}
</div>
<div class=
${
css
.
txItem
}
><span class=
${
css
.
txItemTitle
}
>to:</span>
${
to
}
</div>
<div class=
${
css
.
txItem
}
><span class=
${
css
.
txItemTitle
}
>to:</span>
${
to
}
</div>
<div class=
${
css
.
txItem
}
><span class=
${
css
.
txItemTitle
}
>value:</span>
${
value
}
wei</div>
<div class=
${
css
.
txItem
}
><span class=
${
css
.
txItemTitle
}
>value:</span>
${
value
}
wei</div>
...
...
src/app/ui/universal-dapp-ui.js
View file @
db3e8129
...
@@ -145,7 +145,7 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address
...
@@ -145,7 +145,7 @@ UniversalDAppUI.prototype.renderInstanceFromABI = function (contractABI, address
<label class="">CALLDATA</label>
<label class="">CALLDATA</label>
<div class="d-flex justify-content-end w-100 align-items-center">
<div class="d-flex justify-content-end w-100 align-items-center">
${
calldataInput
}
${
calldataInput
}
<button id="deployAndRunLLTxSendTransaction" class="
${
css
.
instanceButton
}
btn border-warning text-warning" title="Send data to contract." onclick=
${()
=>
sendData
()}
>Transact</button>
<button id="deployAndRunLLTxSendTransaction" class="
${
css
.
instanceButton
}
w-50
btn border-warning text-warning" title="Send data to contract." onclick=
${()
=>
sendData
()}
>Transact</button>
</div>
</div>
</div>
</div>
<div>
<div>
...
...
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