fix mapping type

pull/7/head
yann300 8 years ago
parent fe9a6076a9
commit 944b2a06f1
  1. 16
      src/solidity/types/Mapping.js

@ -6,16 +6,20 @@ class Mapping extends RefType {
super(1, 32, 'mapping') super(1, 32, 'mapping')
} }
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
}
} }
} }

Loading…
Cancel
Save