Files
api/packages/api-contract/test/compare/test001.cmp.json
T

1003 lines
25 KiB
JSON

[
{
"info": 8,
"type": "{\"__storage\":\"{\\\"value\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"cell\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"([u8;32])\\\\\\\\\\\\\\\"}\\\\\\\"}\\\",\\\"name\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"cell\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"([u8;32])\\\\\\\\\\\\\\\"}\\\\\\\"}\\\"}\",\"__env\":\"{\\\"access\\\":\\\"{\\\\\\\"env\\\\\\\":\\\\\\\"()\\\\\\\",\\\\\\\"buffer\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"elems\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"Vec<u8>\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"has_interacted\\\\\\\":\\\\\\\"bool\\\\\\\",\\\\\\\"has_returned_value\\\\\\\":\\\\\\\"bool\\\\\\\"}\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"value\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\",\"name\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "cell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 5,
"type": "bool"
}
]
}
],
"name": "value",
"namespace": "ink_core::storage::value",
"params": [
{
"info": 5,
"type": "bool"
}
]
},
{
"info": 8,
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "cell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
}
]
}
],
"name": "name",
"namespace": "ink_core::storage::value",
"params": [
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
}
]
}
],
"name": "__storage",
"namespace": "app::app::__ink_private::__ink_storage"
},
{
"info": 8,
"type": "{\"access\":\"{\\\"env\\\":\\\"()\\\",\\\"buffer\\\":\\\"{\\\\\\\"elems\\\\\\\":\\\\\\\"Vec<u8>\\\\\\\"}\\\",\\\"has_interacted\\\":\\\"bool\\\",\\\"has_returned_value\\\":\\\"bool\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"env\":\"()\",\"buffer\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\",\"has_interacted\":\"bool\",\"has_returned_value\":\"bool\"}",
"sub": [
{
"info": 9,
"type": "()",
"sub": [],
"name": "env",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
},
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "buffer",
"params": [
{
"info": 5,
"type": "u8"
}
]
},
{
"info": 5,
"type": "bool",
"name": "has_interacted"
},
{
"info": 5,
"type": "bool",
"name": "has_returned_value"
}
],
"name": "access",
"namespace": "ink_core::env2::env_access::mutable",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
}
],
"name": "__env",
"namespace": "ink_core::env2::env_access::immutable",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
}
],
"name": "StorageAndEnv",
"namespace": "app::app::__ink_private::__ink_storage"
},
{
"info": 8,
"type": "{\"value\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\",\"name\":\"{\\\"cell\\\":\\\"{\\\\\\\"cell\\\\\\\":\\\\\\\"([u8;32])\\\\\\\"}\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "cell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 5,
"type": "bool"
}
]
}
],
"name": "value",
"namespace": "ink_core::storage::value",
"params": [
{
"info": 5,
"type": "bool"
}
]
},
{
"info": 8,
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "cell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
}
]
}
],
"name": "name",
"namespace": "ink_core::storage::value",
"params": [
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
}
]
}
],
"name": "Storage",
"namespace": "app::app::__ink_private::__ink_storage"
},
{
"info": 8,
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "cell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 5,
"type": "bool"
}
]
}
],
"name": "Value",
"namespace": "ink_core::storage::value",
"params": [
{
"info": 5,
"type": "bool"
}
]
},
{
"info": 5,
"type": "bool"
},
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "SyncCell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 5,
"type": "bool"
}
]
},
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "Key",
"namespace": "ink_core::storage::key"
},
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
}
},
{
"info": 5,
"type": "u8"
},
{
"info": 8,
"type": "{\"cell\":\"{\\\"cell\\\":\\\"([u8;32])\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "cell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
}
]
}
],
"name": "Value",
"namespace": "ink_core::storage::value",
"params": [
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
}
]
},
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
},
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "Vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
},
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
}
},
{
"info": 8,
"type": "{\"cell\":\"([u8;32])\"}",
"sub": [
{
"info": 9,
"type": "([u8;32])",
"sub": [
{
"info": 11,
"type": "[u8;32]",
"ext": {
"length": 32,
"type": "u8"
},
"sub": {
"info": 5,
"type": "u8"
},
"index": 0
}
],
"name": "cell",
"namespace": "ink_core::storage::key"
}
],
"name": "SyncCell",
"namespace": "ink_core::storage::cell::sync_cell",
"params": [
{
"info": 8,
"type": "{\"vec\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "vec",
"params": [
{
"info": 5,
"type": "u8"
}
]
}
]
}
]
},
{
"info": 8,
"type": "{\"access\":\"{\\\"env\\\":\\\"()\\\",\\\"buffer\\\":\\\"{\\\\\\\"elems\\\\\\\":\\\\\\\"Vec<u8>\\\\\\\"}\\\",\\\"has_interacted\\\":\\\"bool\\\",\\\"has_returned_value\\\":\\\"bool\\\"}\"}",
"sub": [
{
"info": 8,
"type": "{\"env\":\"()\",\"buffer\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\",\"has_interacted\":\"bool\",\"has_returned_value\":\"bool\"}",
"sub": [
{
"info": 9,
"type": "()",
"sub": [],
"name": "env",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
},
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "buffer",
"params": [
{
"info": 5,
"type": "u8"
}
]
},
{
"info": 5,
"type": "bool",
"name": "has_interacted"
},
{
"info": 5,
"type": "bool",
"name": "has_returned_value"
}
],
"name": "access",
"namespace": "ink_core::env2::env_access::mutable",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
}
],
"name": "EnvAccess",
"namespace": "ink_core::env2::env_access::immutable",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
},
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
},
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
},
{
"info": 8,
"type": "{\"env\":\"()\",\"buffer\":\"{\\\"elems\\\":\\\"Vec<u8>\\\"}\",\"has_interacted\":\"bool\",\"has_returned_value\":\"bool\"}",
"sub": [
{
"info": 9,
"type": "()",
"sub": [],
"name": "env",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
},
{
"info": 8,
"type": "{\"elems\":\"Vec<u8>\"}",
"sub": [
{
"info": 10,
"type": "Vec<u8>",
"sub": {
"info": 5,
"type": "u8"
},
"name": "elems"
}
],
"name": "buffer",
"params": [
{
"info": 5,
"type": "u8"
}
]
},
{
"info": 5,
"type": "bool",
"name": "has_interacted"
},
{
"info": 5,
"type": "bool",
"name": "has_returned_value"
}
],
"name": "EnvAccessMut",
"namespace": "ink_core::env2::env_access::mutable",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
},
{
"info": 9,
"type": "()",
"sub": [],
"name": "PhantomData",
"params": [
{
"info": 8,
"type": "{}",
"sub": [],
"name": "TestEnv",
"namespace": "ink_core::env2::test::accessor",
"params": [
{
"info": 2,
"type": "[]",
"sub": [],
"name": "DefaultSrmlTypes",
"namespace": "ink_core::env2::types"
}
]
}
]
}
]