* Decodes all the values for the given ABI. * The decided value can be simple types, structs or arrays * @returns The decoded return values.
()
| 128 | * @returns The decoded return values. |
| 129 | */ |
| 130 | public decode(): AbiDecoded { |
| 131 | if (this.types.length === 1) { |
| 132 | return this.decodeNext(this.types[0]); |
| 133 | } |
| 134 | return this.types.map(type => this.decodeNext(type)); |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | /** |
no test coverage detected