@@ -270,7 +268,7 @@ function extractUnderlyingType (fullType) {
* @param {String} fullType - type given by the AST
* @return {Array} containing all the dimensions and size of the array (e.g ['[3]', '[]'] )
*/
functionextractDimensions(fullType){
functionextractArrayInfo(fullType){
varret=[]
if(fullType.indexOf('[')!==-1){
varsquareBracket=/\[([0-9]+|\s*)\]/g
...
...
@@ -286,7 +284,7 @@ function extractDimensions (fullType) {
* @param {String} fullType - type given by the AST (ex: uint[2] storage ref[2])
* @return {String} returns the token type (used to instanciate the right decoder) (uint[2] storage ref[2] will return 'array', uint256 will return uintX)
*/
functionextractTokenType(fullType){
functiontypeClass(fullType){
if(fullType.indexOf('[')!==-1){
return'array'
}
...
...
@@ -317,7 +315,7 @@ function decode (type, stateDefinitions) {