Files
api/packages/api-contract/test/compare/user_withString.test.json
T

205 lines
4.2 KiB
JSON

[
{
"info": "Plain",
"type": "u128"
},
{
"displayName": "Header",
"namespace": "ink_storage::collections::stash",
"info": "Struct",
"sub": [
{
"info": "Plain",
"type": "u32",
"name": "last_vacant"
},
{
"info": "Plain",
"type": "u32",
"name": "len"
},
{
"info": "Plain",
"type": "u32",
"name": "len_entries"
}
],
"type": "{\"last_vacant\":\"u32\",\"len\":\"u32\",\"len_entries\":\"u32\"}"
},
{
"info": "Plain",
"type": "u32"
},
{
"displayName": "Entry",
"namespace": "ink_storage::collections::stash",
"sub": [
{
"displayName": "VacantEntry",
"namespace": "ink_storage::collections::stash",
"info": "Struct",
"sub": [
{
"info": "Plain",
"type": "u32",
"name": "next"
},
{
"info": "Plain",
"type": "u32",
"name": "prev"
}
],
"type": "{\"next\":\"u32\",\"prev\":\"u32\"}",
"name": "Vacant"
},
{
"displayName": "AccountId",
"namespace": "ink_env::types",
"info": "Plain",
"type": "AccountId",
"name": "Occupied"
}
],
"info": "Enum",
"type": "{\"_enum\":{\"Vacant\":\"VacantEntry\",\"Occupied\":\"AccountId\"}}"
},
{
"displayName": "AccountId",
"namespace": "ink_env::types",
"info": "Plain",
"type": "AccountId"
},
{
"info": "VecFixed",
"length": 32,
"sub": {
"info": "Plain",
"type": "u8"
},
"type": "[u8;32]"
},
{
"info": "Plain",
"type": "u8"
},
{
"displayName": "VacantEntry",
"namespace": "ink_storage::collections::stash",
"info": "Struct",
"sub": [
{
"info": "Plain",
"type": "u32",
"name": "next"
},
{
"info": "Plain",
"type": "u32",
"name": "prev"
}
],
"type": "{\"next\":\"u32\",\"prev\":\"u32\"}"
},
{
"displayName": "ValueEntry",
"namespace": "ink_storage::collections::hashmap",
"sub": [
{
"info": "Plain",
"type": "u128",
"name": "value"
},
{
"info": "Plain",
"type": "u32",
"name": "key_index"
}
],
"info": "Struct",
"type": "{\"value\":\"u128\",\"key_index\":\"u32\"}"
},
{
"displayName": "Entry",
"namespace": "ink_storage::collections::stash",
"sub": [
{
"displayName": "VacantEntry",
"namespace": "ink_storage::collections::stash",
"info": "Struct",
"sub": [
{
"info": "Plain",
"type": "u32",
"name": "next"
},
{
"info": "Plain",
"type": "u32",
"name": "prev"
}
],
"type": "{\"next\":\"u32\",\"prev\":\"u32\"}",
"name": "Vacant"
},
{
"info": "Tuple",
"sub": [
{
"displayName": "AccountId",
"namespace": "ink_env::types",
"info": "Plain",
"type": "AccountId"
},
{
"displayName": "AccountId",
"namespace": "ink_env::types",
"info": "Plain",
"type": "AccountId"
}
],
"type": "(AccountId,AccountId)",
"name": "Occupied"
}
],
"info": "Enum",
"type": "{\"_enum\":{\"Vacant\":\"VacantEntry\",\"Occupied\":\"(AccountId,AccountId)\"}}"
},
{
"info": "Tuple",
"sub": [
{
"displayName": "AccountId",
"namespace": "ink_env::types",
"info": "Plain",
"type": "AccountId"
},
{
"displayName": "AccountId",
"namespace": "ink_env::types",
"info": "Plain",
"type": "AccountId"
}
],
"type": "(AccountId,AccountId)"
},
{
"info": "Plain",
"type": "Text"
},
{
"info": "Plain",
"type": "bool"
},
{
"displayName": "Option",
"sub": {
"displayName": "AccountId",
"namespace": "ink_env::types",
"info": "Plain",
"type": "AccountId"
},
"info": "Option",
"type": "Option<AccountId>"
}
]