* Move length to TypeDef (regularly used), IdentityFields to interface * Update api-contracts tests
1721 lines
48 KiB
JSON
1721 lines
48 KiB
JSON
[
|
|
{
|
|
"info": 9,
|
|
"type": "{\"mutators\":\"{\\\"len\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"cell\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"([u8;32])\\\\\\\\\\\\\\\"}\\\\\\\"}\\\",\\\"entries\\\":\\\"{\\\\\\\"cells_key\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\",\"vec\":\"{\\\"len\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"cell\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"([u8;32])\\\\\\\\\\\\\\\"}\\\\\\\"}\\\",\\\"cells\\\":\\\"{\\\\\\\"cells_key\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"len\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\",\"entries\":\"{\\\"cells_key\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::cell::sync_cell",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "len",
|
|
"namespace": "ink_core::storage::value",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cells_key\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cells_key",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "entries",
|
|
"namespace": "ink_core::storage::chunk::sync_chunk::chunk",
|
|
"params": [
|
|
{
|
|
"info": 3,
|
|
"type": "{\"_enum\":{\"Occupied\":\"({\\\"key\\\":\\\"([u8;32])\\\",\\\"val\\\":\\\"{\\\\\\\"begin\\\\\\\":\\\\\\\"Option<u32>\\\\\\\",\\\\\\\"end\\\\\\\":\\\\\\\"Option<u32>\\\\\\\"}\\\"})\",\"Removed\":\"Null\"}}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"name": "Occupied",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "key",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "val",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"name": "OccupiedEntry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"index": 0
|
|
}
|
|
],
|
|
"type": "({\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"})"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"name": "Removed",
|
|
"type": "Null"
|
|
}
|
|
],
|
|
"name": "Entry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "mutators",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"len\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\",\"cells\":\"{\\\"cells_key\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::cell::sync_cell",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "len",
|
|
"namespace": "ink_core::storage::value",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cells_key\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cells_key",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "cells",
|
|
"namespace": "ink_core::storage::chunk::sync_chunk::chunk",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "vec",
|
|
"namespace": "ink_core::storage::collections::vec::impls",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "SharedVec",
|
|
"namespace": "shared_vec::normal"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"len\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\",\"entries\":\"{\\\"cells_key\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::cell::sync_cell",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "len",
|
|
"namespace": "ink_core::storage::value",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cells_key\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cells_key",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "entries",
|
|
"namespace": "ink_core::storage::chunk::sync_chunk::chunk",
|
|
"params": [
|
|
{
|
|
"info": 3,
|
|
"type": "{\"_enum\":{\"Occupied\":\"({\\\"key\\\":\\\"([u8;32])\\\",\\\"val\\\":\\\"{\\\\\\\"begin\\\\\\\":\\\\\\\"Option<u32>\\\\\\\",\\\\\\\"end\\\\\\\":\\\\\\\"Option<u32>\\\\\\\"}\\\"})\",\"Removed\":\"Null\"}}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"name": "Occupied",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "key",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "val",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"name": "OccupiedEntry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"index": 0
|
|
}
|
|
],
|
|
"type": "({\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"})"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"name": "Removed",
|
|
"type": "Null"
|
|
}
|
|
],
|
|
"name": "Entry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "HashMap",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
}
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "Option",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::cell::sync_cell",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Value",
|
|
"namespace": "ink_core::storage::value",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "SyncCell",
|
|
"namespace": "ink_core::storage::cell::sync_cell",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "Key",
|
|
"namespace": "ink_core::storage::key"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cells_key\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cells_key",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "SyncChunk",
|
|
"namespace": "ink_core::storage::chunk::sync_chunk::chunk",
|
|
"params": [
|
|
{
|
|
"info": 3,
|
|
"type": "{\"_enum\":{\"Occupied\":\"({\\\"key\\\":\\\"([u8;32])\\\",\\\"val\\\":\\\"{\\\\\\\"begin\\\\\\\":\\\\\\\"Option<u32>\\\\\\\",\\\\\\\"end\\\\\\\":\\\\\\\"Option<u32>\\\\\\\"}\\\"})\",\"Removed\":\"Null\"}}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"name": "Occupied",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "key",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "val",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"name": "OccupiedEntry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"index": 0
|
|
}
|
|
],
|
|
"type": "({\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"})"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"name": "Removed",
|
|
"type": "Null"
|
|
}
|
|
],
|
|
"name": "Entry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 3,
|
|
"type": "{\"_enum\":{\"Occupied\":\"({\\\"key\\\":\\\"([u8;32])\\\",\\\"val\\\":\\\"{\\\\\\\"begin\\\\\\\":\\\\\\\"Option<u32>\\\\\\\",\\\\\\\"end\\\\\\\":\\\\\\\"Option<u32>\\\\\\\"}\\\"})\",\"Removed\":\"Null\"}}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"name": "Occupied",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "key",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "val",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"name": "OccupiedEntry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"index": 0
|
|
}
|
|
],
|
|
"type": "({\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"})"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"name": "Removed",
|
|
"type": "Null"
|
|
}
|
|
],
|
|
"name": "Entry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"key\":\"([u8;32])\",\"val\":\"{\\\"begin\\\":\\\"Option<u32>\\\",\\\"end\\\":\\\"Option<u32>\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "key",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "val",
|
|
"namespace": "shared_vec"
|
|
}
|
|
],
|
|
"name": "OccupiedEntry",
|
|
"namespace": "ink_core::storage::collections::hash_map::impls",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "AccountId",
|
|
"namespace": "ink_core::env::srml::types"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"begin\":\"Option<u32>\",\"end\":\"Option<u32>\"}",
|
|
"sub": [
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "begin",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<u32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u32"
|
|
},
|
|
"name": "end",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Access",
|
|
"namespace": "shared_vec"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"len\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\",\"cells\":\"{\\\"cells_key\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
|
|
"sub": [
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cell\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "cell",
|
|
"namespace": "ink_core::storage::cell::sync_cell",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "len",
|
|
"namespace": "ink_core::storage::value",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cells_key\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cells_key",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "cells",
|
|
"namespace": "ink_core::storage::chunk::sync_chunk::chunk",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Vec",
|
|
"namespace": "ink_core::storage::collections::vec::impls",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"info": 9,
|
|
"type": "{\"cells_key\":\"([u8;32])\"}",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "([u8;32])",
|
|
"sub": [
|
|
{
|
|
"info": 12,
|
|
"type": "[u8;32]",
|
|
"length": 32,
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "u8"
|
|
},
|
|
"index": 0
|
|
}
|
|
],
|
|
"name": "cells_key",
|
|
"namespace": "ink_core::storage::key"
|
|
}
|
|
],
|
|
"name": "SyncChunk",
|
|
"namespace": "ink_core::storage::chunk::sync_chunk::chunk",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 7,
|
|
"type": "Result<(), u32>",
|
|
"sub": [
|
|
{
|
|
"info": 10,
|
|
"type": "()",
|
|
"sub": []
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
],
|
|
"name": "Result",
|
|
"params": [
|
|
{
|
|
"info": 10,
|
|
"type": "()",
|
|
"sub": []
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 10,
|
|
"type": "()",
|
|
"sub": []
|
|
},
|
|
{
|
|
"info": 7,
|
|
"type": "Result<i32, u32>",
|
|
"sub": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
],
|
|
"name": "Result",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
},
|
|
{
|
|
"info": 6,
|
|
"type": "u32"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"info": 5,
|
|
"type": "Option<i32>",
|
|
"sub": {
|
|
"info": 6,
|
|
"type": "i32"
|
|
},
|
|
"name": "Option",
|
|
"params": [
|
|
{
|
|
"info": 6,
|
|
"type": "i32"
|
|
}
|
|
]
|
|
}
|
|
]
|