* generate types from registry * cleanup * merge, rearrange * lint * built out * abi v2 creation * throw on unions * linting * version handling * split functions * cleanup * drop v1 support * special types * changes * requested changes * formatTYpe * rv outdated test * rv union test * codeclimate * codeclimate * codeclimate * codeclimate * codeclimate * review * cleanup encodeTypes * fix option sub * TypeDefInfo.Result
202 lines
3.6 KiB
JSON
202 lines
3.6 KiB
JSON
{
|
|
"registry": {
|
|
"strings": [
|
|
"Flipper",
|
|
"flipper",
|
|
"normal",
|
|
"value",
|
|
"Value",
|
|
"ink_core",
|
|
"storage",
|
|
"cell",
|
|
"SyncCell",
|
|
"sync_cell",
|
|
"Key",
|
|
"key",
|
|
"flip",
|
|
"get"
|
|
],
|
|
"types": [
|
|
{
|
|
"id": {
|
|
"custom.name": 1,
|
|
"custom.namespace": [
|
|
2,
|
|
3
|
|
],
|
|
"custom.params": []
|
|
},
|
|
"def": {
|
|
"struct.fields": [
|
|
{
|
|
"name": 4,
|
|
"type": 2
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": {
|
|
"custom.name": 5,
|
|
"custom.namespace": [
|
|
6,
|
|
7,
|
|
4
|
|
],
|
|
"custom.params": [
|
|
3
|
|
]
|
|
},
|
|
"def": {
|
|
"struct.fields": [
|
|
{
|
|
"name": 8,
|
|
"type": 4
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "bool",
|
|
"def": "builtin"
|
|
},
|
|
{
|
|
"id": {
|
|
"custom.name": 9,
|
|
"custom.namespace": [
|
|
6,
|
|
7,
|
|
8,
|
|
10
|
|
],
|
|
"custom.params": [
|
|
3
|
|
]
|
|
},
|
|
"def": {
|
|
"struct.fields": [
|
|
{
|
|
"name": 8,
|
|
"type": 5
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": {
|
|
"custom.name": 11,
|
|
"custom.namespace": [
|
|
6,
|
|
7,
|
|
12
|
|
],
|
|
"custom.params": []
|
|
},
|
|
"def": {
|
|
"tuple_struct.types": [
|
|
6
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": {
|
|
"array.len": 32,
|
|
"array.type": 7
|
|
},
|
|
"def": "builtin"
|
|
},
|
|
{
|
|
"id": "u8",
|
|
"def": "builtin"
|
|
}
|
|
]
|
|
},
|
|
"storage": {
|
|
"struct.type": 1,
|
|
"struct.fields": [
|
|
{
|
|
"name": 4,
|
|
"layout": {
|
|
"struct.type": 2,
|
|
"struct.fields": [
|
|
{
|
|
"name": 8,
|
|
"layout": {
|
|
"range.offset": [
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"range.len": 1,
|
|
"range.elem_type": 3
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"contract": {
|
|
"name": 1,
|
|
"deploy": {
|
|
"args": [],
|
|
"docs": [
|
|
"Initializes our state to `false` upon deploying our smart contract."
|
|
]
|
|
},
|
|
"messages": [
|
|
{
|
|
"name": 13,
|
|
"selector": 970692492,
|
|
"mutates": true,
|
|
"args": [],
|
|
"return_type": null,
|
|
"docs": [
|
|
"Flips the current state of our smart contract."
|
|
]
|
|
},
|
|
{
|
|
"name": 14,
|
|
"selector": 4266279973,
|
|
"mutates": false,
|
|
"args": [],
|
|
"return_type": 3,
|
|
"docs": [
|
|
"Returns the current state."
|
|
]
|
|
}
|
|
],
|
|
"events": [],
|
|
"docs": []
|
|
}
|
|
}
|