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
56efcc6b
Commit
56efcc6b
authored
Jan 26, 2017
by
yann300
Committed by
GitHub
Jan 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #182 from ethereum/fixmapping
Fix mapping
parents
fe9a6076
67649832
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
Mapping.js
src/solidity/types/Mapping.js
+11
-7
No files found.
src/solidity/types/Mapping.js
View file @
56efcc6b
...
@@ -3,19 +3,23 @@ var RefType = require('./RefType')
...
@@ -3,19 +3,23 @@ var RefType = require('./RefType')
class
Mapping
extends
RefType
{
class
Mapping
extends
RefType
{
constructor
()
{
constructor
()
{
super
(
1
,
32
,
'mapping'
)
super
(
1
,
32
,
'mapping'
,
'storage'
)
}
decodeValue
(
value
)
{
return
'<not implemented>'
}
}
decodeFromStorage
(
location
,
storageContent
)
{
decodeFromStorage
(
location
,
storageContent
)
{
return
'<not implemented>'
return
{
value
:
'<not implemented>'
,
length
:
'0x'
,
type
:
this
.
typeName
}
}
}
decodeFromMemoryInternal
(
offset
,
memory
)
{
decodeFromMemoryInternal
(
offset
,
memory
)
{
return
'<not implemented>'
return
{
value
:
'<not implemented>'
,
length
:
'0x'
,
type
:
this
.
typeName
}
}
}
}
}
...
...
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