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
90220b8b
Commit
90220b8b
authored
Jan 09, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
receive function transaction
parent
2f6180b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
txListener.js
remix-lib/src/execution/txListener.js
+10
-0
No files found.
remix-lib/src/execution/txListener.js
View file @
90220b8b
...
@@ -291,6 +291,15 @@ class TxListener {
...
@@ -291,6 +291,15 @@ class TxListener {
return
this
.
_resolvedTransactions
[
tx
.
hash
]
return
this
.
_resolvedTransactions
[
tx
.
hash
]
}
}
}
}
// receive function
if
(
!
inputData
&&
txHelper
.
getReceiveInterface
(
abi
)){
this
.
_resolvedTransactions
[
tx
.
hash
]
=
{
contractName
:
contractName
,
to
:
tx
.
to
,
fn
:
'(receive)'
,
params
:
null
}
}
else
{
// fallback function
// fallback function
this
.
_resolvedTransactions
[
tx
.
hash
]
=
{
this
.
_resolvedTransactions
[
tx
.
hash
]
=
{
contractName
:
contractName
,
contractName
:
contractName
,
...
@@ -298,6 +307,7 @@ class TxListener {
...
@@ -298,6 +307,7 @@ class TxListener {
fn
:
'(fallback)'
,
fn
:
'(fallback)'
,
params
:
null
params
:
null
}
}
}
}
else
{
}
else
{
const
bytecode
=
contract
.
object
.
evm
.
bytecode
.
object
const
bytecode
=
contract
.
object
.
evm
.
bytecode
.
object
let
params
=
null
let
params
=
null
...
...
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