MCPcopy Create free account
hub / github.com/AztecProtocol/aztec-packages / decode

Method decode

yarn-project/stdlib/src/abi/decoder.ts:130–135  ·  view source on GitHub ↗

* Decodes all the values for the given ABI. * The decided value can be simple types, structs or arrays * @returns The decoded return values.

()

Source from the content-addressed store, hash-verified

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/**

Callers 15

proveFunction · 0.45
verifyMethod · 0.45
stringFromAddressMethod · 0.45
get_benchmarksFunction · 0.45
_get_ci_runs_from_redisFunction · 0.45
listenerFunction · 0.45
get_list_as_stringFunction · 0.45
read_from_diskFunction · 0.45
read_breakdown_from_diskFunction · 0.45
get_valueFunction · 0.45

Calls 2

decodeNextMethod · 0.95
mapMethod · 0.45

Tested by

no test coverage detected