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

Method getFunctionName

js/src/static_dependencies/ethers/interface.js:334–338  ·  view source on GitHub ↗

* Get the function name for %%key%%, which may be a function selector, * function name or function signature that belongs to the ABI.

(key)

Source from the content-addressed store, hash-verified

332 * function name or function signature that belongs to the ABI.
333 */
334 getFunctionName(key) {
335 const fragment = this.#getFunction(key, null, false);
336 assertArgument(fragment, "no matching function", "key", key);
337 return fragment.name;
338 }
339 /**
340 * Returns true if %%key%% (a function selector, function name or
341 * function signature) is present in the ABI.

Callers

nothing calls this directly

Calls 2

#getFunctionMethod · 0.95
assertArgumentFunction · 0.90

Tested by

no test coverage detected