* Returns the entire Human-Readable ABI, as an array of * signatures, optionally as %%minimal%% strings, which * removes parameter names and unneceesary spaces.
(minimal)
| 223 | * removes parameter names and unneceesary spaces. |
| 224 | */ |
| 225 | format(minimal) { |
| 226 | const format = (minimal ? "minimal" : "full"); |
| 227 | const abi = this.fragments.map((f) => f.format(format)); |
| 228 | return abi; |
| 229 | } |
| 230 | /** |
| 231 | * Return the JSON-encoded ABI. This is the format Solidiy |
| 232 | * returns. |
no test coverage detected