|
|
|
@ -20,9 +20,9 @@ export class StringType extends DynamicByteArray { |
|
|
|
|
return format(decoded) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async decodeFromStack (stackDepth, stack, memory, calldata, variableDetails?) { |
|
|
|
|
async decodeFromStack (stackDepth, stack, memory, storageResolver, calldata, cursor, variableDetails?) { |
|
|
|
|
try { |
|
|
|
|
return await super.decodeFromStack(stackDepth, stack, memory, null, calldata, variableDetails) |
|
|
|
|
return await super.decodeFromStack(stackDepth, stack, memory, storageResolver, calldata, cursor, variableDetails) |
|
|
|
|
} catch (e) { |
|
|
|
|
console.log(e) |
|
|
|
|
return { error: '<decoding failed - ' + e.message + '>' } |
|
|
|
|