* Returns the entire Human-Readable ABI, as an array of * signatures, optionally as %%minimal%% strings, which * removes parameter names and unneceesary spaces.
(minimal)
| 320 | * removes parameter names and unneceesary spaces. |
| 321 | */ |
| 322 | format(minimal) { |
| 323 | const format = (minimal ? "minimal" : "full"); |
| 324 | const abi = this.fragments.map((f) => f.format(format)); |
| 325 | return abi; |
| 326 | } |
| 327 | /** |
| 328 | * Return the JSON-encoded ABI. This is the format Solidiy |
| 329 | * returns. |
no test coverage detected