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

Method format

ts/src/static_dependencies/ethers/interface.ts:423–427  ·  view source on GitHub ↗

* Returns the entire Human-Readable ABI, as an array of * signatures, optionally as %%minimal%% strings, which * removes parameter names and unneceesary spaces.

(minimal?: boolean)

Source from the content-addressed store, hash-verified

421 * removes parameter names and unneceesary spaces.
422 */
423 format(minimal?: boolean): Array<string> {
424 const format = (minimal ? "minimal": "full");
425 const abi = this.fragments.map((f) => f.format(format));
426 return abi;
427 }
428
429 /**
430 * Return the JSON-encoded ABI. This is the format Solidiy

Callers 11

constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
formatJsonMethod · 0.45
#getFunctionMethod · 0.45
#getEventMethod · 0.45
getErrorMethod · 0.45
decodeFunctionResultMethod · 0.45
encodeFilterTopicsMethod · 0.45
fromMethod · 0.45

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected