Skip to content

Documentation / @super-line/core / classifyContract

Function: classifyContract() ​

classifyContract(contract, convert?): InspectedContract

Defined in: packages/core/src/inspector.ts:291

Walk a contract and project its structure: roles × directions × message names × flavors. Pass convert to attach best-effort JSON Schema to each message; omit it for structure only.

Parameters ​

contract ​

Contract

convert? ​

SchemaConverter

Returns ​

InspectedContract

Released under the MIT License.