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

Method getFunctionName

ts/src/static_dependencies/ethers/interface.ts:539–543  ·  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: string)

Source from the content-addressed store, hash-verified

537 * function name or function signature that belongs to the ABI.
538 */
539 getFunctionName(key: string): string {
540 const fragment = this.#getFunction(key, null, false);
541 assertArgument(fragment, "no matching function", "key", key);
542 return fragment.name;
543 }
544
545 /**
546 * Returns true if %%key%% (a function selector, function name or

Callers

nothing calls this directly

Calls 2

#getFunctionMethod · 0.95
assertArgumentFunction · 0.90

Tested by

no test coverage detected