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
00fa8780
Commit
00fa8780
authored
Dec 16, 2020
by
aniket-engg
Committed by
Aniket
Dec 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abstract methods for reftype and valuetype
parent
d57f93a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
RefType.ts
libs/remix-debug/src/solidity-decoder/types/RefType.ts
+8
-0
ValueType.ts
libs/remix-debug/src/solidity-decoder/types/ValueType.ts
+4
-0
No files found.
libs/remix-debug/src/solidity-decoder/types/RefType.ts
View file @
00fa8780
...
...
@@ -16,6 +16,14 @@ export class RefType {
this
.
basicType
=
'RefType'
}
decodeFromStorage
(
input1
?
:
any
,
input2
?
:
any
)
{
throw
new
Error
(
'This method is abstract'
);
}
decodeFromMemoryInternal
(
input1
?
:
any
,
input2
?
:
any
,
input3
?:
any
)
{
throw
new
Error
(
'This method is abstract'
);
}
/**
* decode the type from the stack
*
...
...
libs/remix-debug/src/solidity-decoder/types/ValueType.ts
View file @
00fa8780
...
...
@@ -14,6 +14,10 @@ export class ValueType {
this
.
basicType
=
'ValueType'
}
decodeValue
(
input
?
:
any
)
{
throw
new
Error
(
'This method is abstract'
);
}
/**
* decode the type with the @arg location from the storage
*
...
...
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