MCPcopy Create free account
hub / github.com/ccxt/ccxt / getFunction

Method getFunction

js/src/static_dependencies/ethers/interface.js:359–361  ·  view source on GitHub ↗

* Get the [[FunctionFragment]] for %%key%%, which may be a function * selector, function name or function signature that belongs to the ABI. * * If %%values%% is provided, it will use the Typed API to handle * ambiguous cases where multiple functions match by name. *

(key, values)

Source from the content-addressed store, hash-verified

357 * the ABI, this will throw.
358 */
359 getFunction(key, values) {
360 return this.#getFunction(key, values || null, true);
361 }
362 /**
363 * Iterate over all functions, calling %%callback%%, sorted by their name.
364 */

Callers 5

decodeFunctionDataMethod · 0.95
encodeFunctionDataMethod · 0.95
decodeFunctionResultMethod · 0.95
encodeFunctionResultMethod · 0.95
parseTransactionMethod · 0.95

Calls 1

#getFunctionMethod · 0.95

Tested by

no test coverage detected