abstract methods for reftype and valuetype

pull/697/head
aniket-engg 4 years ago committed by Aniket
parent d57f93a451
commit 00fa878058
  1. 8
      libs/remix-debug/src/solidity-decoder/types/RefType.ts
  2. 4
      libs/remix-debug/src/solidity-decoder/types/ValueType.ts

@ -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
*

@ -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
*

Loading…
Cancel
Save