* Use Si V1 in contracts (w/ PortableRegistry usage) * Type id lookups * Fix build & linting * Remove extra .toNumber() (VSCode has gone crazy) * v1 tests * Cleanup parsing * Explicit type cast for v1 types * Unneeded toNumber * Align events exposure with messages/constructors * dedupe * Re-add typedef extraction tests * with typedefs * Override for always primitives * displayName improvements * Versioned project * New structure * Fixes * Cleanups * Ensure API registry is the default used * Adjust arg & return encoding/decoding * Recursive contract * DoNotConstruct to Si type
26 lines
510 B
JSON
26 lines
510 B
JSON
[
|
|
{
|
|
"info": "Enum",
|
|
"lookupIndex": 1,
|
|
"lookupName": "RecursiveMyEnum",
|
|
"type": "{\"_enum\":{\"A\":\"Null\",\"B\":\"RecursiveMyEnum\"}}",
|
|
"docs": [],
|
|
"namespace": "recursive::MyEnum",
|
|
"sub": [
|
|
{
|
|
"info": "Null",
|
|
"type": "Null",
|
|
"index": 0,
|
|
"name": "A"
|
|
},
|
|
{
|
|
"info": "Si",
|
|
"lookupIndex": 1,
|
|
"lookupName": "RecursiveMyEnum",
|
|
"type": "Lookup1",
|
|
"index": 1,
|
|
"name": "B"
|
|
}
|
|
]
|
|
}
|
|
] |