* Tests & adjustments for encodeTypes * explicit wrap types * Remove params * cleanups
205 lines
4.0 KiB
JSON
205 lines
4.0 KiB
JSON
[
|
|
{
|
|
"info": 6,
|
|
"type": "u128"
|
|
},
|
|
{
|
|
"displayName": "Header",
|
|
"namespace": "ink_storage::collections::stash",
|
|
"info": 9,
|
|
"sub": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "last_vacant"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "len"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "len_entries"
|
|
}
|
|
],
|
|
"type": "{\"last_vacant\":\"u32\",\"len\":\"u32\",\"len_entries\":\"u32\"}"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
{
|
|
"displayName": "Entry",
|
|
"namespace": "ink_storage::collections::stash",
|
|
"sub": [
|
|
{
|
|
"displayName": "VacantEntry",
|
|
"namespace": "ink_storage::collections::stash",
|
|
"info": 9,
|
|
"sub": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "next"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "prev"
|
|
}
|
|
],
|
|
"type": "{\"next\":\"u32\",\"prev\":\"u32\"}",
|
|
"name": "Vacant"
|
|
},
|
|
{
|
|
"displayName": "AccountId",
|
|
"namespace": "ink_env::types",
|
|
"info": 6,
|
|
"type": "AccountId",
|
|
"name": "Occupied"
|
|
}
|
|
],
|
|
"info": 3,
|
|
"type": "{\"_enum\":{\"Vacant\":\"VacantEntry\",\"Occupied\":\"AccountId\"}}"
|
|
},
|
|
{
|
|
"displayName": "AccountId",
|
|
"namespace": "ink_env::types",
|
|
"info": 6,
|
|
"type": "AccountId"
|
|
},
|
|
{
|
|
"info": 12,
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"type": "[u8;32]"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
{
|
|
"displayName": "VacantEntry",
|
|
"namespace": "ink_storage::collections::stash",
|
|
"info": 9,
|
|
"sub": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "next"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "prev"
|
|
}
|
|
],
|
|
"type": "{\"next\":\"u32\",\"prev\":\"u32\"}"
|
|
},
|
|
{
|
|
"displayName": "ValueEntry",
|
|
"namespace": "ink_storage::collections::hashmap",
|
|
"sub": [
|
|
{
|
|
"info": 6,
|
|
"type": "u128",
|
|
"name": "value"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "key_index"
|
|
}
|
|
],
|
|
"info": 9,
|
|
"type": "{\"value\":\"u128\",\"key_index\":\"u32\"}"
|
|
},
|
|
{
|
|
"displayName": "Entry",
|
|
"namespace": "ink_storage::collections::stash",
|
|
"sub": [
|
|
{
|
|
"displayName": "VacantEntry",
|
|
"namespace": "ink_storage::collections::stash",
|
|
"info": 9,
|
|
"sub": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "next"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32",
|
|
"name": "prev"
|
|
}
|
|
],
|
|
"type": "{\"next\":\"u32\",\"prev\":\"u32\"}",
|
|
"name": "Vacant"
|
|
},
|
|
{
|
|
"info": 10,
|
|
"sub": [
|
|
{
|
|
"displayName": "AccountId",
|
|
"namespace": "ink_env::types",
|
|
"info": 6,
|
|
"type": "AccountId"
|
|
},
|
|
{
|
|
"displayName": "AccountId",
|
|
"namespace": "ink_env::types",
|
|
"info": 6,
|
|
"type": "AccountId"
|
|
}
|
|
],
|
|
"type": "(AccountId, AccountId)",
|
|
"name": "Occupied"
|
|
}
|
|
],
|
|
"info": 3,
|
|
"type": "{\"_enum\":{\"Vacant\":\"VacantEntry\",\"Occupied\":\"(AccountId, AccountId)\"}}"
|
|
},
|
|
{
|
|
"info": 10,
|
|
"sub": [
|
|
{
|
|
"displayName": "AccountId",
|
|
"namespace": "ink_env::types",
|
|
"info": 6,
|
|
"type": "AccountId"
|
|
},
|
|
{
|
|
"displayName": "AccountId",
|
|
"namespace": "ink_env::types",
|
|
"info": 6,
|
|
"type": "AccountId"
|
|
}
|
|
],
|
|
"type": "(AccountId, AccountId)"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "Text"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"displayName": "Option",
|
|
"sub": {
|
|
"displayName": "AccountId",
|
|
"namespace": "ink_env::types",
|
|
"info": 6,
|
|
"type": "AccountId"
|
|
},
|
|
"info": 5,
|
|
"type": "Option<AccountId>"
|
|
}
|
|
] |