|
|
|
@ -63,7 +63,7 @@ export class RefType { |
|
|
|
|
const ethersAbi = new ethers.utils.Interface(variableDetails.abi) |
|
|
|
|
const fnSign = calldata.substr(0, 10) |
|
|
|
|
const decodedData = ethersAbi.decodeFunctionData(ethersAbi.getFunction(fnSign), calldata) |
|
|
|
|
let decodedValue = decodedData[variableDetails.name] |
|
|
|
|
const decodedValue = decodedData[variableDetails.name] |
|
|
|
|
const isArray = Array.isArray(decodedValue) |
|
|
|
|
if (isArray) { |
|
|
|
|
return this._decodeCallDataArray(decodedValue, this) |
|
|
|
|