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
557527d2
Commit
557527d2
authored
Jan 19, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
display int/uint length
parent
ee6657f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Int.js
src/solidity/types/Int.js
+1
-1
Uint.js
src/solidity/types/Uint.js
+1
-1
No files found.
src/solidity/types/Int.js
View file @
557527d2
...
...
@@ -4,7 +4,7 @@ var ValueType = require('./ValueType')
class
Int
extends
ValueType
{
constructor
(
storageBytes
)
{
super
(
1
,
storageBytes
,
'int'
)
super
(
1
,
storageBytes
,
'int'
+
storageBytes
*
8
)
}
decodeValue
(
value
)
{
...
...
src/solidity/types/Uint.js
View file @
557527d2
...
...
@@ -4,7 +4,7 @@ var ValueType = require('./ValueType')
class
Uint
extends
ValueType
{
constructor
(
storageBytes
)
{
super
(
1
,
storageBytes
,
'uint'
)
super
(
1
,
storageBytes
,
'uint'
+
storageBytes
*
8
)
}
decodeValue
(
value
)
{
...
...
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