From ba6f96e1d00900a8df4eae54b1ec8db1f4730dfa Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 6 Feb 2024 10:09:19 +0100 Subject: [PATCH 1/6] doc: remove pages in docs/nairobi/ --- docs/active | 1 - docs/api/nairobi-mempool-openapi.json | 3822 - docs/api/nairobi-openapi.json | 22932 ------ .../nairobi-smart-rollup-node-openapi.json | 5705 -- docs/index.rst | 13 +- docs/nairobi/blocks_ops.rst | 267 - docs/nairobi/cli-commands.rst | 50 - docs/nairobi/consensus.rst | 520 - docs/nairobi/event.rst | 111 - docs/nairobi/global_constants.rst | 141 - docs/nairobi/glossary.rst | 350 - docs/nairobi/liquidity_baking.rst | 89 - docs/nairobi/michelson.rst | 3528 - docs/nairobi/michelson_anti_patterns.rst | 209 - docs/nairobi/plugins.rst | 249 - docs/nairobi/precheck.rst | 112 - docs/nairobi/proof_of_stake.rst | 187 - docs/nairobi/protocol.rst | 107 - docs/nairobi/protocol_overview.rst | 186 - docs/nairobi/randomness_generation.rst | 167 - docs/nairobi/rpc.rst | 64933 ---------------- docs/nairobi/sapling.rst | 533 - docs/nairobi/smart_rollups.rst | 339 - docs/nairobi/tickets.rst | 152 - docs/nairobi/timelock.rst | 75 - docs/nairobi/token_management.rst | 203 - docs/nairobi/validation.rst | 411 - docs/nairobi/voting.rst | 342 - docs/protocols/history.rst | 5 + 29 files changed, 6 insertions(+), 105733 deletions(-) delete mode 120000 docs/active delete mode 100644 docs/api/nairobi-mempool-openapi.json delete mode 100644 docs/api/nairobi-openapi.json delete mode 100644 docs/api/nairobi-smart-rollup-node-openapi.json delete mode 100644 docs/nairobi/blocks_ops.rst delete mode 100644 docs/nairobi/cli-commands.rst delete mode 100644 docs/nairobi/consensus.rst delete mode 100644 docs/nairobi/event.rst delete mode 100644 docs/nairobi/global_constants.rst delete mode 100644 docs/nairobi/glossary.rst delete mode 100644 docs/nairobi/liquidity_baking.rst delete mode 100644 docs/nairobi/michelson.rst delete mode 100644 docs/nairobi/michelson_anti_patterns.rst delete mode 100644 docs/nairobi/plugins.rst delete mode 100644 docs/nairobi/precheck.rst delete mode 100644 docs/nairobi/proof_of_stake.rst delete mode 100644 docs/nairobi/protocol.rst delete mode 100644 docs/nairobi/protocol_overview.rst delete mode 100644 docs/nairobi/randomness_generation.rst delete mode 100644 docs/nairobi/rpc.rst delete mode 100644 docs/nairobi/sapling.rst delete mode 100644 docs/nairobi/smart_rollups.rst delete mode 100644 docs/nairobi/tickets.rst delete mode 100644 docs/nairobi/timelock.rst delete mode 100644 docs/nairobi/token_management.rst delete mode 100644 docs/nairobi/validation.rst delete mode 100644 docs/nairobi/voting.rst diff --git a/docs/active b/docs/active deleted file mode 120000 index 5aedffa56ea5..000000000000 --- a/docs/active +++ /dev/null @@ -1 +0,0 @@ -nairobi \ No newline at end of file diff --git a/docs/api/nairobi-mempool-openapi.json b/docs/api/nairobi-mempool-openapi.json deleted file mode 100644 index 37a9ef2bb01b..000000000000 --- a/docs/api/nairobi-mempool-openapi.json +++ /dev/null @@ -1,3822 +0,0 @@ -{ - "openapi": "3.0.0", - "info": { - "title": "Octez RPC", - "description": "The RPC API served by the Octez node.", - "version": "19.1 (dd3a30f891)" - }, - "paths": { - "/ban_operation": { - "post": { - "description": "Remove an operation from the mempool if present. Also add it to the set of banned operations to prevent it from being fetched/processed/injected in the future. Note: If the baker has already received the operation, then it's necessary to restart it to flush the operation from it.", - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "A Tezos operation ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": {} - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/filter": { - "get": { - "description": "Get the configuration of the mempool's filter and bounds. Values of the form [ \"21\", \"20\" ] are rational numbers given as a numerator and a denominator, e.g. 21/20 = 1.05. The minimal_fees (in mutez), minimal_nanotez_per_gas_unit, and minimal_nanotez_per_byte are requirements that a manager operation must meet to be considered by the mempool. replace_by_fee_factor is how much better a manager operation must be to replace a previous valid operation **from the same manager** (both its fee and its fee/gas ratio must exceed the old operation's by at least this factor). max_operations and max_total_bytes are the bounds on respectively the number of valid operations in the mempool and the sum of their sizes in bytes.", - "parameters": [ - { - "name": "include_default", - "in": "query", - "description": "Show fields equal to their default value (set by default)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": {} - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - }, - "post": { - "description": "Set the configuration of the mempool's filter and bounds. **If any of the fields is absent from the input JSON, then it is set to the default value for this field (i.e. its value in the default configuration), even if it previously had a different value.** If the input JSON does not describe a valid configuration, then the configuration is left unchanged. This RPC also returns the new configuration of the mempool (which may differ from the input if the latter omits fields or is invalid). You may call [octez-client rpc get '/chains/main/mempool/filter?include_default=true'] to see an example of JSON describing a valid configuration. See the description of that RPC for details on each configurable value.", - "requestBody": { - "content": { - "application/json": { - "schema": {} - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": {} - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/monitor_operations": { - "get": { - "description": "Monitor the mempool operations.", - "parameters": [ - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "applied", - "in": "query", - "description": "(DEPRECATED use validated instead) Include validated operations", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validated", - "in": "query", - "description": "Include validated operations (set by default)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "refused", - "in": "query", - "description": "Include refused operations", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "outdated", - "in": "query", - "description": "Include outdated operations", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "branch_refused", - "in": "query", - "description": "Include branch refused operations", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "branch_delayed", - "in": "query", - "description": "Include branch delayed operations (set by default)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "validation_pass", - "in": "query", - "description": "Include operations filtered by validation pass (all by default)", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "monitor_operations_encoding_v1", - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error_opt" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents" - ] - } - }, - { - "title": "monitor_operations_encoding_v0", - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error_opt" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents" - ] - } - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/pending_operations": { - "get": { - "description": "List the prevalidated operations.", - "parameters": [ - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"2\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "applied", - "in": "query", - "description": "(DEPRECATED use validated instead) Include validated operations", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validated", - "in": "query", - "description": "Include validated operations (true by default)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "refused", - "in": "query", - "description": "Include refused operations (true by default)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "outdated", - "in": "query", - "description": "Include outdated operations (true by default)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "branch_refused", - "in": "query", - "description": "Include branch refused operations (true by default)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "branch_delayed", - "in": "query", - "description": "Include branch delayed operations (true by default)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "validation_pass", - "in": "query", - "description": "Include operations filtered by validation pass (all by default)", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "pending_operations_encoding_v2", - "type": "object", - "properties": { - "validated": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "hash", - "branch", - "contents" - ] - } - }, - "refused": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "outdated": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "branch_refused": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "branch_delayed": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "unprocessed": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents" - ] - } - } - }, - "required": [ - "validated", - "refused", - "outdated", - "branch_refused", - "branch_delayed", - "unprocessed" - ] - }, - { - "title": "pending_operations_encoding_v0", - "type": "object", - "properties": { - "applied": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "hash", - "branch", - "contents" - ] - } - }, - "refused": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Operation_hash" - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "protocol", - "branch", - "contents", - "error" - ] - } - ] - } - } - }, - "outdated": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Operation_hash" - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "protocol", - "branch", - "contents", - "error" - ] - } - ] - } - } - }, - "branch_refused": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Operation_hash" - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "protocol", - "branch", - "contents", - "error" - ] - } - ] - } - } - }, - "branch_delayed": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Operation_hash" - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "protocol", - "branch", - "contents", - "error" - ] - } - ] - } - } - }, - "unprocessed": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Operation_hash" - }, - { - "$ref": "#/components/schemas/next_operation_with_legacy_attestation_name" - } - ] - } - } - } - }, - "required": [ - "applied", - "refused", - "outdated", - "branch_refused", - "branch_delayed", - "unprocessed" - ] - }, - { - "title": "pending_operations_encoding_v1", - "type": "object", - "properties": { - "applied": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "hash", - "branch", - "contents" - ] - } - }, - "refused": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "outdated": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "branch_refused": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "branch_delayed": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents", - "error" - ] - } - }, - "unprocessed": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "hash", - "protocol", - "branch", - "contents" - ] - } - } - }, - "required": [ - "applied", - "refused", - "outdated", - "branch_refused", - "branch_delayed", - "unprocessed" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/request_operations": { - "post": { - "description": "Request the operations of our peers or a specific peer if specified via a query parameter.", - "parameters": [ - { - "name": "peer_id", - "in": "query", - "description": "A cryptographic node identity (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/unban_all_operations": { - "post": { - "description": "Clear the set of banned operations.", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": {} - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/unban_operation": { - "post": { - "description": "Remove an operation from the set of banned operations (nothing happens if it was not banned).", - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "A Tezos operation ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": {} - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - } - }, - "components": { - "schemas": { - "017-PtNairob.block_header.alpha.full_header": { - "title": "Shell header", - "description": "Block header's shell-related content. It contains information such as the block level, its predecessor and timestamp.", - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - }, - "payload_hash": { - "$ref": "#/components/schemas/value_hash" - }, - "payload_round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proof_of_work_nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "seed_nonce_hash": { - "$ref": "#/components/schemas/cycle_nonce" - }, - "liquidity_baking_toggle_vote": { - "$ref": "#/components/schemas/017-PtNairob.liquidity_baking_toggle_vote" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context", - "payload_hash", - "payload_round", - "proof_of_work_nonce", - "liquidity_baking_toggle_vote", - "signature" - ] - }, - "017-PtNairob.contract_id": { - "title": "A contract handle", - "description": "A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash or a base58 originated contract hash.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "017-PtNairob.contract_id.originated": { - "title": "A contract handle -- originated account", - "description": "A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "017-PtNairob.entrypoint": { - "title": "entrypoint", - "description": "Named entrypoint to a Michelson smart contract", - "oneOf": [ - { - "title": "default", - "type": "string", - "enum": [ - "default" - ] - }, - { - "title": "root", - "type": "string", - "enum": [ - "root" - ] - }, - { - "title": "do", - "type": "string", - "enum": [ - "do" - ] - }, - { - "title": "set_delegate", - "type": "string", - "enum": [ - "set_delegate" - ] - }, - { - "title": "remove_delegate", - "type": "string", - "enum": [ - "remove_delegate" - ] - }, - { - "title": "deposit", - "type": "string", - "enum": [ - "deposit" - ] - }, - { - "title": "named", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - ] - }, - "017-PtNairob.inlined.endorsement": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "operations": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement_mempool.contents" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "branch", - "operations" - ] - }, - "017-PtNairob.inlined.endorsement_mempool.contents": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "endorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - "017-PtNairob.inlined.preendorsement": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "operations": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement.contents" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "branch", - "operations" - ] - }, - "017-PtNairob.inlined.preendorsement.contents": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "preendorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - "017-PtNairob.liquidity_baking_toggle_vote": { - "type": "string", - "enum": [ - "off", - "on", - "pass" - ] - }, - "017-PtNairob.michelson.v1.primitives": { - "type": "string", - "enum": [ - "SHA512", - "HASH_KEY", - "SIZE", - "SAPLING_VERIFY_UPDATE", - "False", - "SAPLING_EMPTY_STATE", - "RENAME", - "sapling_transaction", - "UNPACK", - "NAT", - "unit", - "bls12_381_fr", - "Pair", - "IF_NONE", - "int", - "timestamp", - "storage", - "UNPAIR", - "view", - "BLAKE2B", - "AMOUNT", - "DUP", - "nat", - "NEG", - "bool", - "SELF_ADDRESS", - "ISNAT", - "DIG", - "CHAIN_ID", - "set", - "LSR", - "key", - "address", - "ABS", - "CREATE_CONTRACT", - "SHA256", - "JOIN_TICKETS", - "LEVEL", - "bls12_381_g1", - "operation", - "tx_rollup_l2_address", - "string", - "CHECK_SIGNATURE", - "STEPS_TO_QUOTA", - "SELF", - "DIP", - "lambda", - "AND", - "COMPARE", - "chain_id", - "MAP", - "APPLY", - "Elt", - "BYTES", - "NOT", - "IMPLICIT_ACCOUNT", - "LT", - "UNIT", - "EMIT", - "SET_DELEGATE", - "Some", - "parameter", - "signature", - "ticket", - "EMPTY_BIG_MAP", - "None", - "SUB", - "key_hash", - "ADD", - "map", - "VOTING_POWER", - "big_map", - "CDR", - "GT", - "IF_CONS", - "CONS", - "LSL", - "DUG", - "PACK", - "SHA3", - "SOURCE", - "or", - "SUB_MUTEZ", - "LAMBDA", - "RIGHT", - "CREATE_ACCOUNT", - "Unit", - "CAST", - "NEQ", - "ITER", - "FAILWITH", - "PUSH", - "OPEN_CHEST", - "SOME", - "list", - "BALANCE", - "NIL", - "pair", - "CAR", - "UPDATE", - "TOTAL_VOTING_POWER", - "PAIR", - "constant", - "LAMBDA_REC", - "ADDRESS", - "True", - "Right", - "Lambda_rec", - "IF", - "NEVER", - "sapling_transaction_deprecated", - "SWAP", - "EMPTY_MAP", - "MUL", - "INT", - "option", - "KECCAK", - "LEFT", - "Left", - "chest", - "SPLIT_TICKET", - "chest_key", - "bls12_381_g2", - "EDIV", - "LOOP", - "bytes", - "TICKET", - "LE", - "PAIRING_CHECK", - "MIN_BLOCK_TIME", - "OR", - "contract", - "GET_AND_UPDATE", - "mutez", - "sapling_state", - "NONE", - "IF_LEFT", - "GET", - "NOW", - "TRANSFER_TOKENS", - "LOOP_LEFT", - "CONTRACT", - "TICKET_DEPRECATED", - "VIEW", - "EMPTY_SET", - "XOR", - "never", - "READ_TICKET", - "EQ", - "GE", - "MEM", - "SENDER", - "DROP", - "CONCAT", - "EXEC", - "SLICE", - "code" - ] - }, - "017-PtNairob.mutez": { - "$ref": "#/components/schemas/positive_bignum" - }, - "017-PtNairob.operation.alpha.contents": { - "oneOf": [ - { - "title": "Endorsement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "endorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - { - "title": "Preendorsement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "preendorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - { - "title": "Dal_attestation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "dal_attestation" - ] - }, - "attestor": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "attestation": { - "$ref": "#/components/schemas/bignum" - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "kind", - "attestor", - "attestation", - "level" - ] - }, - { - "title": "Seed_nonce_revelation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "seed_nonce_revelation" - ] - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "level", - "nonce" - ] - }, - { - "title": "Vdf_revelation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "vdf_revelation" - ] - }, - "solution": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - ] - } - } - }, - "required": [ - "kind", - "solution" - ] - }, - { - "title": "Double_endorsement_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_endorsement_evidence" - ] - }, - "op1": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement" - }, - "op2": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement" - } - }, - "required": [ - "kind", - "op1", - "op2" - ] - }, - { - "title": "Double_preendorsement_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_preendorsement_evidence" - ] - }, - "op1": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement" - }, - "op2": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement" - } - }, - "required": [ - "kind", - "op1", - "op2" - ] - }, - { - "title": "Double_baking_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_baking_evidence" - ] - }, - "bh1": { - "$ref": "#/components/schemas/017-PtNairob.block_header.alpha.full_header" - }, - "bh2": { - "$ref": "#/components/schemas/017-PtNairob.block_header.alpha.full_header" - } - }, - "required": [ - "kind", - "bh1", - "bh2" - ] - }, - { - "title": "Activate_account", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "activate_account" - ] - }, - "pkh": { - "$ref": "#/components/schemas/Ed25519.Public_key_hash" - }, - "secret": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "pkh", - "secret" - ] - }, - { - "title": "Proposals", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "proposals" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proposals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Protocol_hash" - } - } - }, - "required": [ - "kind", - "source", - "period", - "proposals" - ] - }, - { - "title": "Ballot", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "ballot" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proposal": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "ballot": { - "type": "string", - "enum": [ - "nay", - "yay", - "pass" - ] - } - }, - "required": [ - "kind", - "source", - "period", - "proposal", - "ballot" - ] - }, - { - "title": "Reveal", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "reveal" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "public_key": { - "$ref": "#/components/schemas/Signature.Public_key" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "public_key" - ] - }, - { - "title": "Transaction", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "transaction" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "parameters": { - "type": "object", - "properties": { - "entrypoint": { - "$ref": "#/components/schemas/017-PtNairob.entrypoint" - }, - "value": {} - }, - "required": [ - "entrypoint", - "value" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "amount", - "destination" - ] - }, - { - "title": "Origination", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "origination" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "script": { - "$ref": "#/components/schemas/017-PtNairob.scripted.contracts" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "balance", - "script" - ] - }, - { - "title": "Delegation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "delegation" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit" - ] - }, - { - "title": "Set_deposits_limit", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "set_deposits_limit" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "limit": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit" - ] - }, - { - "title": "Increase_paid_storage", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "increase_paid_storage" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "amount", - "destination" - ] - }, - { - "title": "Update_consensus_key", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "update_consensus_key" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "pk": { - "$ref": "#/components/schemas/Signature.Public_key" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "pk" - ] - }, - { - "title": "Drain_delegate", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "drain_delegate" - ] - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "destination": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "consensus_key", - "delegate", - "destination" - ] - }, - { - "title": "Failing_noop", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "failing_noop" - ] - }, - "arbitrary": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "arbitrary" - ] - }, - { - "title": "Register_global_constant", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "register_global_constant" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "value": {} - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "value" - ] - }, - { - "title": "Transfer_ticket", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "transfer_ticket" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_contents": {}, - "ticket_ty": {}, - "ticket_ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "ticket_amount": { - "$ref": "#/components/schemas/positive_bignum" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "entrypoint": { - "$ref": "#/components/schemas/unistring" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "ticket_contents", - "ticket_ty", - "ticket_ticketer", - "ticket_amount", - "destination", - "entrypoint" - ] - }, - { - "title": "Dal_publish_slot_header", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "dal_publish_slot_header" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "slot_header": { - "type": "object", - "properties": { - "published_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "slot_index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "commitment": { - "$ref": "#/components/schemas/DAL_commitment" - }, - "commitment_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "published_level", - "slot_index", - "commitment", - "commitment_proof" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "slot_header" - ] - }, - { - "title": "Smart_rollup_originate", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_originate" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "pvm_kind": { - "type": "string", - "enum": [ - "wasm_2_0_0", - "arith" - ] - }, - "kernel": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "origination_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "parameters_ty": {} - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "pvm_kind", - "kernel", - "origination_proof", - "parameters_ty" - ] - }, - { - "title": "Smart_rollup_add_messages", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_add_messages" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "message": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "message" - ] - }, - { - "title": "Smart_rollup_cement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_cement" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "commitment": { - "description": "DEPRECATED: This field is not used anymore by the protocol and will be removed in a future proposal.", - "oneOf": [ - { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "commitment" - ] - }, - { - "title": "Smart_rollup_publish", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_publish" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "commitment": { - "type": "object", - "properties": { - "compressed_state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "predecessor": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "number_of_ticks": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "commitment" - ] - }, - { - "title": "Smart_rollup_refute", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_refute" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "opponent": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "refutation": { - "oneOf": [ - { - "title": "Start", - "type": "object", - "properties": { - "refutation_kind": { - "type": "string", - "enum": [ - "start" - ] - }, - "player_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "opponent_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - }, - "required": [ - "refutation_kind", - "player_commitment_hash", - "opponent_commitment_hash" - ] - }, - { - "title": "Move", - "type": "object", - "properties": { - "refutation_kind": { - "type": "string", - "enum": [ - "move" - ] - }, - "choice": { - "$ref": "#/components/schemas/positive_bignum" - }, - "step": { - "oneOf": [ - { - "title": "Dissection", - "type": "array", - "items": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "tick": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "tick" - ] - } - }, - { - "title": "Proof", - "type": "object", - "properties": { - "pvm_step": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "input_proof": { - "oneOf": [ - { - "title": "inbox proof", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "inbox_proof" - ] - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "message_counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "serialized_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "input_proof_kind", - "level", - "message_counter", - "serialized_proof" - ] - }, - { - "title": "reveal proof", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "reveal_proof" - ] - }, - "reveal_proof": { - "oneOf": [ - { - "title": "raw data proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "raw_data_proof" - ] - }, - "raw_data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "reveal_proof_kind", - "raw_data" - ] - }, - { - "title": "metadata proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "metadata_proof" - ] - } - }, - "required": [ - "reveal_proof_kind" - ] - }, - { - "title": "dal page proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "dal_page_proof" - ] - }, - "dal_page_id": { - "type": "object", - "properties": { - "published_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "slot_index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "page_index": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - } - }, - "required": [ - "published_level", - "slot_index", - "page_index" - ] - }, - "dal_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "reveal_proof_kind", - "dal_page_id", - "dal_proof" - ] - } - ] - } - }, - "required": [ - "input_proof_kind", - "reveal_proof" - ] - }, - { - "title": "first input", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "first_input" - ] - } - }, - "required": [ - "input_proof_kind" - ] - } - ] - } - }, - "required": [ - "pvm_step" - ] - } - ] - } - }, - "required": [ - "refutation_kind", - "choice", - "step" - ] - } - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "opponent", - "refutation" - ] - }, - { - "title": "Smart_rollup_timeout", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_timeout" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "stakers": { - "type": "object", - "properties": { - "alice": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "bob": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "alice", - "bob" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "stakers" - ] - }, - { - "title": "Smart_rollup_execute_outbox_message", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_execute_outbox_message" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "cemented_commitment": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "output_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "cemented_commitment", - "output_proof" - ] - }, - { - "title": "Smart_rollup_recover_bond", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_recover_bond" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/Smart_rollup_hash" - }, - "staker": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "staker" - ] - }, - { - "title": "Zk_rollup_origination", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_origination" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "public_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "circuits_info": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "oneOf": [ - { - "title": "Public", - "type": "object", - "properties": { - "public": {} - }, - "required": [ - "public" - ] - }, - { - "title": "Private", - "type": "object", - "properties": { - "private": {} - }, - "required": [ - "private" - ] - }, - { - "title": "Fee", - "type": "object", - "properties": { - "fee": {} - }, - "required": [ - "fee" - ] - } - ] - } - ] - } - } - }, - "init_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "nb_ops": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "public_parameters", - "circuits_info", - "init_state", - "nb_ops" - ] - }, - { - "title": "Zk_rollup_publish", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_publish" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "op": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "op_code": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "price": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/script_expr" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "id", - "amount" - ] - }, - "l1_dst": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "rollup_id": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "payload": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "op_code", - "price", - "l1_dst", - "rollup_id", - "payload" - ] - }, - { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "contents": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "ty": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - } - }, - "required": [ - "contents", - "ty", - "ticketer" - ] - } - ] - } - ] - } - } - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "zk_rollup", - "op" - ] - }, - { - "title": "Zk_rollup_update", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_update" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "update": { - "type": "object", - "properties": { - "pending_pis": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "fee": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "exit_validity": { - "type": "boolean" - } - }, - "required": [ - "new_state", - "fee", - "exit_validity" - ] - } - ] - } - } - }, - "private_pis": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "fee": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "new_state", - "fee" - ] - } - ] - } - } - }, - "fee_pi": { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "new_state" - ] - }, - "proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "pending_pis", - "private_pis", - "fee_pi", - "proof" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "zk_rollup", - "update" - ] - } - ] - }, - "017-PtNairob.scripted.contracts": { - "type": "object", - "properties": { - "code": {}, - "storage": {} - }, - "required": [ - "code", - "storage" - ] - }, - "017-PtNairob.smart_rollup_address": { - "title": "A smart rollup address", - "description": "A smart rollup is identified by a base58 address starting with sr1", - "oneOf": [ - { - "$ref": "#/components/schemas/Smart_rollup_hash" - } - ] - }, - "Context_hash": { - "title": "A hash of context (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "DAL_commitment": { - "title": "Commitment representation for the DAL (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Ed25519.Public_key_hash": { - "title": "An Ed25519 public key hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Operation_hash": { - "title": "A Tezos operation ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Operation_list_list_hash": { - "title": "A list of list of operations (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Protocol_hash": { - "title": "A Tezos protocol ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Signature.Public_key": { - "title": "A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Signature.Public_key_hash": { - "title": "A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Signature.V1": { - "title": "A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_commitment_hash": { - "title": "The hash of a commitment of a smart rollup (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_hash": { - "title": "A smart rollup address (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_state_hash": { - "title": "The hash of the VM state of a smart rollup (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Zk_rollup_hash": { - "title": "A zk rollup address (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "bignum": { - "title": "Big number", - "description": "Decimal representation of a big number", - "type": "string" - }, - "block_hash": { - "title": "A block identifier (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "cycle_nonce": { - "title": "A nonce hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "error": { - "description": "The full list of errors is available with the global RPC `GET errors`" - }, - "error_opt": { - "description": "An optional error-trace (None indicates no error). The full list of errors is available with the global RPC `GET errors`" - }, - "fitness": { - "title": "Block fitness", - "description": "The fitness, or score, of a block, that allow the Tezos to decide which chain is the best. A fitness value is a list of byte sequences. They are compared as follows: shortest lists are smaller; lists of the same length are compared according to the lexicographical order.", - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "int64": { - "title": "64 bit integers", - "description": "Decimal representation of 64 bit integers", - "type": "string" - }, - "micheline.017-PtNairob.michelson_v1.expression": { - "oneOf": [ - { - "title": "Int", - "type": "object", - "properties": { - "int": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "int" - ] - }, - { - "title": "String", - "type": "object", - "properties": { - "string": { - "$ref": "#/components/schemas/unistring" - } - }, - "required": [ - "string" - ] - }, - { - "title": "Bytes", - "type": "object", - "properties": { - "bytes": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "bytes" - ] - }, - { - "title": "Sequence", - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - { - "title": "Prim__generic", - "description": "Generic primitive (any number of args with or without annotations)", - "type": "object", - "properties": { - "prim": { - "$ref": "#/components/schemas/017-PtNairob.michelson.v1.primitives" - }, - "args": { - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "annots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/unistring" - } - } - }, - "required": [ - "prim" - ] - } - ] - }, - "next_operation_with_legacy_attestation_name": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "protocol", - "branch", - "contents" - ] - }, - "positive_bignum": { - "title": "Positive big number", - "description": "Decimal representation of a positive big number", - "type": "string" - }, - "script_expr": { - "title": "A script expression ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "timestamp.protocol": { - "description": "A timestamp as seen by the protocol: second-level precision, epoch based.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "unistring": { - "title": "Universal string representation", - "description": "Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "invalid_utf8_string": { - "type": "array", - "items": { - "type": "integer", - "minimum": 0, - "maximum": 255 - } - } - }, - "required": [ - "invalid_utf8_string" - ] - } - ] - }, - "value_hash": { - "title": "Hash of a consensus value (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } -} diff --git a/docs/api/nairobi-openapi.json b/docs/api/nairobi-openapi.json deleted file mode 100644 index 2535198db5ed..000000000000 --- a/docs/api/nairobi-openapi.json +++ /dev/null @@ -1,22932 +0,0 @@ -{ - "openapi": "3.0.0", - "info": { - "title": "Octez RPC", - "description": "The RPC API served by the Octez node.", - "version": "19.1 (dd3a30f891)" - }, - "paths": { - "/": { - "get": { - "description": "All the information about a block. The associated metadata may not be present depending on the history mode and block's distance from the head.", - "parameters": [ - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "force_metadata", - "in": "query", - "description": "DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "metadata", - "in": "query", - "description": "defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use \"always\". To avoid getting the metadata, use \"never\". By default, the metadata will be returned depending on the node's metadata size limit policy.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "block_info_encoding_v1", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/block_hash" - }, - "header": { - "$ref": "#/components/schemas/raw_block_header" - }, - "metadata": { - "$ref": "#/components/schemas/block_header_metadata" - }, - "operations": { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/operation" - } - } - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "header", - "operations" - ] - }, - { - "title": "block_info_encoding_v0", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/block_hash" - }, - "header": { - "$ref": "#/components/schemas/raw_block_header" - }, - "metadata": { - "$ref": "#/components/schemas/block_header_metadata_with_legacy_attestation_name" - }, - "operations": { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/operation_with_legacy_attestation_name" - } - } - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "header", - "operations" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/big_maps/{big_map_id}": { - "get": { - "description": "Get the (optionally paginated) list of values in a big map. Order of values is unspecified, but is guaranteed to be consistent.", - "parameters": [ - { - "name": "big_map_id", - "in": "path", - "description": "A big map identifier", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "offset", - "in": "query", - "description": "A non-negative integer (greater than or equal to 0). Skip the first [offset] values. Useful in combination with [length] for pagination.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "length", - "in": "query", - "description": "A non-negative integer (greater than or equal to 0). Only retrieve [length] values. Useful in combination with [offset] for pagination.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/big_maps/{big_map_id}/{script_expr}": { - "get": { - "description": "Access the value associated with a key in a big map.", - "parameters": [ - { - "name": "big_map_id", - "in": "path", - "description": "A big map identifier", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "script_expr", - "in": "path", - "description": "script_expr (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/big_maps/{big_map_id}/{script_expr}/normalized": { - "post": { - "description": "Access the value associated with a key in a big map, normalize the output using the requested unparsing mode.", - "parameters": [ - { - "name": "big_map_id", - "in": "path", - "description": "A big map identifier", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "script_expr", - "in": "path", - "description": "script_expr (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - } - }, - "required": [ - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/cache/contracts/all": { - "get": { - "description": "Return the list of cached contracts", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Contract_hash" - }, - { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - ] - } - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/cache/contracts/rank": { - "post": { - "description": "Return the number of cached contracts older than the provided contract", - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "A contract handle -- originated account", - "description": "A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/cache/contracts/size": { - "get": { - "description": "Return the size of the contract cache", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/cache/contracts/size_limit": { - "get": { - "description": "Return the size limit of the contract cache", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/constants": { - "get": { - "description": "All constants", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "proof_of_work_nonce_size": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "nonce_length": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "max_anon_ops_per_block": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "max_operation_data_length": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_proposals_per_delegate": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "max_micheline_node_count": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_micheline_bytes_limit": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_allowed_global_constants_depth": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "cache_layout_size": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "michelson_maximum_type_size": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "smart_rollup_max_wrapped_proof_binary_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_message_size_limit": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_max_number_of_messages_per_level": { - "$ref": "#/components/schemas/positive_bignum" - }, - "preserved_cycles": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "blocks_per_cycle": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "blocks_per_commitment": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "nonce_revelation_threshold": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "blocks_per_stake_snapshot": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "cycles_per_voting_period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "hard_gas_limit_per_operation": { - "$ref": "#/components/schemas/bignum" - }, - "hard_gas_limit_per_block": { - "$ref": "#/components/schemas/bignum" - }, - "proof_of_work_threshold": { - "$ref": "#/components/schemas/int64" - }, - "minimal_stake": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "vdf_difficulty": { - "$ref": "#/components/schemas/int64" - }, - "seed_nonce_revelation_tip": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "baking_reward_fixed_portion": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "baking_reward_bonus_per_slot": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "endorsing_reward_per_slot": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "cost_per_byte": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "hard_storage_limit_per_operation": { - "$ref": "#/components/schemas/bignum" - }, - "quorum_min": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "quorum_max": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "min_proposal_quorum": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "liquidity_baking_subsidy": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "liquidity_baking_toggle_ema_threshold": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "max_operations_time_to_live": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "minimal_block_delay": { - "$ref": "#/components/schemas/int64" - }, - "delay_increment_per_round": { - "$ref": "#/components/schemas/int64" - }, - "consensus_committee_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "consensus_threshold": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "minimal_participation_ratio": { - "type": "object", - "properties": { - "numerator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "denominator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "required": [ - "numerator", - "denominator" - ] - }, - "max_slashing_period": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "frozen_deposits_percentage": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "double_baking_punishment": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "ratio_of_frozen_deposits_slashed_per_double_endorsement": { - "type": "object", - "properties": { - "numerator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "denominator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "required": [ - "numerator", - "denominator" - ] - }, - "testnet_dictator": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "initial_seed": { - "$ref": "#/components/schemas/random" - }, - "cache_script_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "cache_stake_distribution_cycles": { - "type": "integer", - "minimum": -128, - "maximum": 127 - }, - "cache_sampler_state_cycles": { - "type": "integer", - "minimum": -128, - "maximum": 127 - }, - "tx_rollup_enable": { - "type": "boolean" - }, - "tx_rollup_origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_hard_size_limit_per_inbox": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_hard_size_limit_per_message": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_withdrawals_per_batch": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_commitment_bond": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "tx_rollup_finality_period": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_withdraw_period": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_inboxes_count": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_messages_per_inbox": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_commitments_count": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_cost_per_byte_ema_factor": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_ticket_payload_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_rejection_max_proof_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_sunset_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "dal_parametric": { - "type": "object", - "properties": { - "feature_enable": { - "type": "boolean" - }, - "number_of_slots": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "attestation_lag": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "attestation_threshold": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "blocks_per_epoch": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "redundancy_factor": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "page_size": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "slot_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "number_of_shards": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "required": [ - "feature_enable", - "number_of_slots", - "attestation_lag", - "attestation_threshold", - "blocks_per_epoch", - "redundancy_factor", - "page_size", - "slot_size", - "number_of_shards" - ] - }, - "smart_rollup_enable": { - "type": "boolean" - }, - "smart_rollup_arith_pvm_enable": { - "type": "boolean" - }, - "smart_rollup_origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_challenge_window_in_blocks": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_stake_amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "smart_rollup_commitment_period_in_blocks": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_max_lookahead_in_blocks": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "smart_rollup_max_active_outbox_levels": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "smart_rollup_max_outbox_messages_per_level": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_number_of_sections_in_dissection": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "smart_rollup_timeout_period_in_blocks": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_max_number_of_cemented_commitments": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_max_number_of_parallel_games": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "zk_rollup_enable": { - "type": "boolean" - }, - "zk_rollup_origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "zk_rollup_min_pending_to_process": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - }, - "required": [ - "proof_of_work_nonce_size", - "nonce_length", - "max_anon_ops_per_block", - "max_operation_data_length", - "max_proposals_per_delegate", - "max_micheline_node_count", - "max_micheline_bytes_limit", - "max_allowed_global_constants_depth", - "cache_layout_size", - "michelson_maximum_type_size", - "smart_rollup_max_wrapped_proof_binary_size", - "smart_rollup_message_size_limit", - "smart_rollup_max_number_of_messages_per_level", - "preserved_cycles", - "blocks_per_cycle", - "blocks_per_commitment", - "nonce_revelation_threshold", - "blocks_per_stake_snapshot", - "cycles_per_voting_period", - "hard_gas_limit_per_operation", - "hard_gas_limit_per_block", - "proof_of_work_threshold", - "minimal_stake", - "vdf_difficulty", - "seed_nonce_revelation_tip", - "origination_size", - "baking_reward_fixed_portion", - "baking_reward_bonus_per_slot", - "endorsing_reward_per_slot", - "cost_per_byte", - "hard_storage_limit_per_operation", - "quorum_min", - "quorum_max", - "min_proposal_quorum", - "liquidity_baking_subsidy", - "liquidity_baking_toggle_ema_threshold", - "max_operations_time_to_live", - "minimal_block_delay", - "delay_increment_per_round", - "consensus_committee_size", - "consensus_threshold", - "minimal_participation_ratio", - "max_slashing_period", - "frozen_deposits_percentage", - "double_baking_punishment", - "ratio_of_frozen_deposits_slashed_per_double_endorsement", - "cache_script_size", - "cache_stake_distribution_cycles", - "cache_sampler_state_cycles", - "tx_rollup_enable", - "tx_rollup_origination_size", - "tx_rollup_hard_size_limit_per_inbox", - "tx_rollup_hard_size_limit_per_message", - "tx_rollup_max_withdrawals_per_batch", - "tx_rollup_commitment_bond", - "tx_rollup_finality_period", - "tx_rollup_withdraw_period", - "tx_rollup_max_inboxes_count", - "tx_rollup_max_messages_per_inbox", - "tx_rollup_max_commitments_count", - "tx_rollup_cost_per_byte_ema_factor", - "tx_rollup_max_ticket_payload_size", - "tx_rollup_rejection_max_proof_size", - "tx_rollup_sunset_level", - "dal_parametric", - "smart_rollup_enable", - "smart_rollup_arith_pvm_enable", - "smart_rollup_origination_size", - "smart_rollup_challenge_window_in_blocks", - "smart_rollup_stake_amount", - "smart_rollup_commitment_period_in_blocks", - "smart_rollup_max_lookahead_in_blocks", - "smart_rollup_max_active_outbox_levels", - "smart_rollup_max_outbox_messages_per_level", - "smart_rollup_number_of_sections_in_dissection", - "smart_rollup_timeout_period_in_blocks", - "smart_rollup_max_number_of_cemented_commitments", - "smart_rollup_max_number_of_parallel_games", - "zk_rollup_enable", - "zk_rollup_origination_size", - "zk_rollup_min_pending_to_process" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/constants/errors": { - "get": { - "description": "Schema for all the RPC errors from this protocol version", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": {} - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/constants/parametric": { - "get": { - "description": "Parametric constants", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "preserved_cycles": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "blocks_per_cycle": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "blocks_per_commitment": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "nonce_revelation_threshold": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "blocks_per_stake_snapshot": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "cycles_per_voting_period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "hard_gas_limit_per_operation": { - "$ref": "#/components/schemas/bignum" - }, - "hard_gas_limit_per_block": { - "$ref": "#/components/schemas/bignum" - }, - "proof_of_work_threshold": { - "$ref": "#/components/schemas/int64" - }, - "minimal_stake": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "vdf_difficulty": { - "$ref": "#/components/schemas/int64" - }, - "seed_nonce_revelation_tip": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "baking_reward_fixed_portion": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "baking_reward_bonus_per_slot": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "endorsing_reward_per_slot": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "cost_per_byte": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "hard_storage_limit_per_operation": { - "$ref": "#/components/schemas/bignum" - }, - "quorum_min": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "quorum_max": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "min_proposal_quorum": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "liquidity_baking_subsidy": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "liquidity_baking_toggle_ema_threshold": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "max_operations_time_to_live": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "minimal_block_delay": { - "$ref": "#/components/schemas/int64" - }, - "delay_increment_per_round": { - "$ref": "#/components/schemas/int64" - }, - "consensus_committee_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "consensus_threshold": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "minimal_participation_ratio": { - "type": "object", - "properties": { - "numerator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "denominator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "required": [ - "numerator", - "denominator" - ] - }, - "max_slashing_period": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "frozen_deposits_percentage": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "double_baking_punishment": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "ratio_of_frozen_deposits_slashed_per_double_endorsement": { - "type": "object", - "properties": { - "numerator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "denominator": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "required": [ - "numerator", - "denominator" - ] - }, - "testnet_dictator": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "initial_seed": { - "$ref": "#/components/schemas/random" - }, - "cache_script_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "cache_stake_distribution_cycles": { - "type": "integer", - "minimum": -128, - "maximum": 127 - }, - "cache_sampler_state_cycles": { - "type": "integer", - "minimum": -128, - "maximum": 127 - }, - "tx_rollup_enable": { - "type": "boolean" - }, - "tx_rollup_origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_hard_size_limit_per_inbox": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_hard_size_limit_per_message": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_withdrawals_per_batch": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_commitment_bond": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "tx_rollup_finality_period": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_withdraw_period": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_inboxes_count": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_messages_per_inbox": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_commitments_count": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_cost_per_byte_ema_factor": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_max_ticket_payload_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_rejection_max_proof_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "tx_rollup_sunset_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "dal_parametric": { - "type": "object", - "properties": { - "feature_enable": { - "type": "boolean" - }, - "number_of_slots": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "attestation_lag": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "attestation_threshold": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "blocks_per_epoch": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "redundancy_factor": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "page_size": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "slot_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "number_of_shards": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "required": [ - "feature_enable", - "number_of_slots", - "attestation_lag", - "attestation_threshold", - "blocks_per_epoch", - "redundancy_factor", - "page_size", - "slot_size", - "number_of_shards" - ] - }, - "smart_rollup_enable": { - "type": "boolean" - }, - "smart_rollup_arith_pvm_enable": { - "type": "boolean" - }, - "smart_rollup_origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_challenge_window_in_blocks": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_stake_amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "smart_rollup_commitment_period_in_blocks": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_max_lookahead_in_blocks": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "smart_rollup_max_active_outbox_levels": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "smart_rollup_max_outbox_messages_per_level": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_number_of_sections_in_dissection": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "smart_rollup_timeout_period_in_blocks": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_max_number_of_cemented_commitments": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "smart_rollup_max_number_of_parallel_games": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "zk_rollup_enable": { - "type": "boolean" - }, - "zk_rollup_origination_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "zk_rollup_min_pending_to_process": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - }, - "required": [ - "preserved_cycles", - "blocks_per_cycle", - "blocks_per_commitment", - "nonce_revelation_threshold", - "blocks_per_stake_snapshot", - "cycles_per_voting_period", - "hard_gas_limit_per_operation", - "hard_gas_limit_per_block", - "proof_of_work_threshold", - "minimal_stake", - "vdf_difficulty", - "seed_nonce_revelation_tip", - "origination_size", - "baking_reward_fixed_portion", - "baking_reward_bonus_per_slot", - "endorsing_reward_per_slot", - "cost_per_byte", - "hard_storage_limit_per_operation", - "quorum_min", - "quorum_max", - "min_proposal_quorum", - "liquidity_baking_subsidy", - "liquidity_baking_toggle_ema_threshold", - "max_operations_time_to_live", - "minimal_block_delay", - "delay_increment_per_round", - "consensus_committee_size", - "consensus_threshold", - "minimal_participation_ratio", - "max_slashing_period", - "frozen_deposits_percentage", - "double_baking_punishment", - "ratio_of_frozen_deposits_slashed_per_double_endorsement", - "cache_script_size", - "cache_stake_distribution_cycles", - "cache_sampler_state_cycles", - "tx_rollup_enable", - "tx_rollup_origination_size", - "tx_rollup_hard_size_limit_per_inbox", - "tx_rollup_hard_size_limit_per_message", - "tx_rollup_max_withdrawals_per_batch", - "tx_rollup_commitment_bond", - "tx_rollup_finality_period", - "tx_rollup_withdraw_period", - "tx_rollup_max_inboxes_count", - "tx_rollup_max_messages_per_inbox", - "tx_rollup_max_commitments_count", - "tx_rollup_cost_per_byte_ema_factor", - "tx_rollup_max_ticket_payload_size", - "tx_rollup_rejection_max_proof_size", - "tx_rollup_sunset_level", - "dal_parametric", - "smart_rollup_enable", - "smart_rollup_arith_pvm_enable", - "smart_rollup_origination_size", - "smart_rollup_challenge_window_in_blocks", - "smart_rollup_stake_amount", - "smart_rollup_commitment_period_in_blocks", - "smart_rollup_max_lookahead_in_blocks", - "smart_rollup_max_active_outbox_levels", - "smart_rollup_max_outbox_messages_per_level", - "smart_rollup_number_of_sections_in_dissection", - "smart_rollup_timeout_period_in_blocks", - "smart_rollup_max_number_of_cemented_commitments", - "smart_rollup_max_number_of_parallel_games", - "zk_rollup_enable", - "zk_rollup_origination_size", - "zk_rollup_min_pending_to_process" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts": { - "get": { - "description": "All existing contracts (excluding empty implicit contracts).", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}": { - "get": { - "description": "Access the complete status of a contract.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "normalize_types", - "in": "query", - "description": "Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "script": { - "$ref": "#/components/schemas/017-PtNairob.scripted.contracts" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "balance" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/all_ticket_balances": { - "get": { - "description": "Access the complete list of tickets owned by the given contract by scanning the contract's storage.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "amount": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "ticketer", - "content_type", - "content", - "amount" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/balance": { - "get": { - "description": "Access the spendable balance of a contract, excluding frozen bonds.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/balance_and_frozen_bonds": { - "get": { - "description": "Access the sum of the spendable balance and frozen bonds of a contract. This sum is part of the contract's stake, and it is exactly the contract's stake if the contract is not a delegate.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/big_map_get": { - "post": { - "description": "Access the value associated with a key in a big map of the contract (deprecated).", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "key": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "key", - "type" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/counter": { - "get": { - "description": "Access the counter of a contract, if any.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "Positive big number", - "description": "Decimal representation of a positive big number", - "type": "string" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/delegate": { - "get": { - "description": "Access the delegate of a contract, if any.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/entrypoints": { - "get": { - "description": "Return the list of entrypoints of the contract", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "normalize_types", - "in": "query", - "description": "Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "unreachable": { - "type": "array", - "items": { - "type": "object", - "properties": { - "path": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.michelson.v1.primitives" - } - } - }, - "required": [ - "path" - ] - } - }, - "entrypoints": { - "type": "object", - "properties": {}, - "additionalProperties": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - }, - "required": [ - "entrypoints" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/entrypoints/{entrypoint}": { - "get": { - "description": "Return the type of the given entrypoint of the contract", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "entrypoint", - "in": "path", - "description": "A Michelson entrypoint (string of length < 32)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "normalize_types", - "in": "query", - "description": "Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/frozen_bonds": { - "get": { - "description": "Access the frozen bonds of a contract.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/manager_key": { - "get": { - "description": "Access the manager of an implicit contract.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/Signature.Public_key" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/script": { - "get": { - "description": "Access the code and data of the contract.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": {}, - "storage": {} - }, - "required": [ - "code", - "storage" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/script/normalized": { - "post": { - "description": "Access the script of the contract and normalize it using the requested unparsing mode.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - }, - "normalize_types": { - "type": "boolean" - } - }, - "required": [ - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/017-PtNairob.scripted.contracts" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/single_sapling_get_diff": { - "get": { - "description": "Returns the root and a diff of a state starting from an optional offset which is zero by default.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "offset_commitment", - "in": "query", - "description": "Commitments and ciphertexts are returned from the specified offset up to the most recent.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "offset_nullifier", - "in": "query", - "description": "Nullifiers are returned from the specified offset up to the most recent.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "root": { - "$ref": "#/components/schemas/sapling.transaction.commitment_hash" - }, - "commitments_and_ciphertexts": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/sapling.transaction.commitment" - }, - { - "$ref": "#/components/schemas/sapling.transaction.ciphertext" - } - ] - } - } - }, - "nullifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/sapling.transaction.nullifier" - } - } - }, - "required": [ - "root", - "commitments_and_ciphertexts", - "nullifiers" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/storage": { - "get": { - "description": "Access the data of the contract.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/storage/normalized": { - "post": { - "description": "Access the data of the contract and normalize it using the requested unparsing mode.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - } - }, - "required": [ - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/storage/paid_space": { - "get": { - "description": "Access the paid storage space of the contract.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/bignum" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/storage/used_space": { - "get": { - "description": "Access the used storage space of the contract.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/bignum" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/contracts/{contract_id}/ticket_balance": { - "post": { - "description": "Access the contract's balance of ticket with specified ticketer, content type, and content.", - "parameters": [ - { - "name": "contract_id", - "in": "path", - "description": "A contract identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "Positive big number", - "description": "Decimal representation of a positive big number", - "type": "string" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/dal/confirmed_slot_headers_history": { - "get": { - "description": "Returns the value of the DAL confirmed slots history skip list if DAL is enabled, or [None] otherwise.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/positive_bignum" - }, - "content": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "commitment": { - "$ref": "#/components/schemas/DAL_commitment" - } - }, - "required": [ - "level", - "index", - "commitment" - ] - }, - "back_pointers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/dal_skip_list_pointer" - } - } - }, - "required": [ - "index", - "content", - "back_pointers" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/dal/shards": { - "get": { - "description": "Get the shard assignements for a given level (the default is the current level)", - "parameters": [ - { - "name": "level", - "in": "query", - "description": "A level integer", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - { - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - } - ] - } - } - ] - } - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates": { - "get": { - "description": "Lists all registered delegates by default. The arguments `active`, `inactive`, `with_minimal_stake`, and `without_minimal_stake` allow to enumerate only the delegates that are active, inactive, have at least a minimal stake to participate in consensus and in governance, or do not have such a minimal stake, respectively. Note, setting these arguments to false has no effect.", - "parameters": [ - { - "name": "active", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "inactive", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "with_minimal_stake", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "without_minimal_stake", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}": { - "get": { - "description": "Everything about a delegate.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "full_balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "current_frozen_deposits": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "frozen_deposits": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "staking_balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "frozen_deposits_limit": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "delegated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - } - }, - "delegated_balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "deactivated": { - "type": "boolean" - }, - "grace_period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "voting_power": { - "$ref": "#/components/schemas/int64" - }, - "current_ballot": { - "type": "string", - "enum": [ - "nay", - "yay", - "pass" - ] - }, - "current_proposals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Protocol_hash" - } - }, - "remaining_proposals": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "active_consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "pending_consensus_keys": { - "type": "array", - "items": { - "type": "object", - "properties": { - "cycle": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "pkh": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "cycle", - "pkh" - ] - } - } - }, - "required": [ - "full_balance", - "current_frozen_deposits", - "frozen_deposits", - "staking_balance", - "delegated_contracts", - "delegated_balance", - "deactivated", - "grace_period", - "active_consensus_key" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/consensus_key": { - "get": { - "description": "The active consensus key for a given delegate and the pending consensus keys.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "active": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "pendings": { - "type": "array", - "items": { - "type": "object", - "properties": { - "cycle": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "pkh": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "cycle", - "pkh" - ] - } - } - }, - "required": [ - "active" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/current_frozen_deposits": { - "get": { - "description": "Returns the current amount of the frozen deposits (in mutez).", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/deactivated": { - "get": { - "description": "Tells whether the delegate is currently tagged as deactivated or not.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/delegated_balance": { - "get": { - "description": "Returns the sum (in mutez) of all balances of all the contracts that delegate to a given delegate. This excludes the delegate's own balance, its frozen deposits and its frozen bonds.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/delegated_contracts": { - "get": { - "description": "Returns the list of contracts that delegate to a given delegate.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/frozen_deposits": { - "get": { - "description": "Returns the initial amount (that is, at the beginning of a cycle) of the frozen deposits (in mutez). This amount is the same as the current amount of the frozen deposits, unless the delegate has been punished.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/frozen_deposits_limit": { - "get": { - "description": "Returns the frozen deposits limit for the given delegate or none if no limit is set.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/017-PtNairob.mutez" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/full_balance": { - "get": { - "description": "Returns the full balance (in mutez) of a given delegate, including the frozen deposits and the frozen bonds. It does not include its delegated balance.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/grace_period": { - "get": { - "description": "Returns the cycle by the end of which the delegate might be deactivated if she fails to execute any delegate action. A deactivated delegate might be reactivated (without loosing any stake) by simply re-registering as a delegate. For deactivated delegates, this value contains the cycle at which they were deactivated.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/participation": { - "get": { - "description": "Returns cycle and level participation information. In particular this indicates, in the field 'expected_cycle_activity', the number of slots the delegate is expected to have in the cycle based on its active stake. The field 'minimal_cycle_activity' indicates the minimal endorsing slots in the cycle required to get endorsing rewards. It is computed based on 'expected_cycle_activity. The fields 'missed_slots' and 'missed_levels' indicate the number of missed endorsing slots and missed levels (for endorsing) in the cycle so far. 'missed_slots' indicates the number of missed endorsing slots in the cycle so far. The field 'remaining_allowed_missed_slots' indicates the remaining amount of endorsing slots that can be missed in the cycle before forfeiting the rewards. Finally, 'expected_endorsing_rewards' indicates the endorsing rewards that will be distributed at the end of the cycle if activity at that point will be greater than the minimal required; if the activity is already known to be below the required minimum, then the rewards are zero.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "expected_cycle_activity": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "minimal_cycle_activity": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "missed_slots": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "missed_levels": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "remaining_allowed_missed_slots": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "expected_endorsing_rewards": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - } - }, - "required": [ - "expected_cycle_activity", - "minimal_cycle_activity", - "missed_slots", - "missed_levels", - "remaining_allowed_missed_slots", - "expected_endorsing_rewards" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/staking_balance": { - "get": { - "description": "Returns the total amount of tokens (in mutez) delegated to a given delegate. This includes the balances of all the contracts that delegate to it, but also the balance of the delegate itself, its frozen deposits, and its frozen bonds.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/voting_info": { - "get": { - "description": "Returns the delegate info (e.g. voting power) found in the listings of the current voting period.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "voting_power": { - "$ref": "#/components/schemas/int64" - }, - "current_ballot": { - "type": "string", - "enum": [ - "nay", - "yay", - "pass" - ] - }, - "current_proposals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Protocol_hash" - } - }, - "remaining_proposals": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/delegates/{pkh}/voting_power": { - "get": { - "description": "The voting power in the vote listings for a given delegate.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "64 bit integers", - "description": "Decimal representation of 64 bit integers", - "type": "string" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/liquidity_baking/cpmm_address": { - "get": { - "description": "Liquidity baking CPMM address", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A contract handle -- originated account", - "description": "A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/merkle_tree": { - "get": { - "description": "Returns the merkle tree of a piece of context.", - "parameters": [ - { - "name": "holey", - "in": "query", - "description": "Send only hashes, omit data of key", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/merkle_tree" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/merkle_tree_v2": { - "get": { - "description": "Returns the Irmin merkle tree of a piece of context.", - "parameters": [ - { - "name": "holey", - "in": "query", - "description": "Send only hashes, omit data of key", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "version": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - }, - "before": { - "oneOf": [ - { - "title": "Value", - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "value" - ] - }, - { - "title": "Node", - "type": "object", - "properties": { - "node": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "node" - ] - } - ] - }, - "after": { - "oneOf": [ - { - "title": "Value", - "type": "object", - "properties": { - "value": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "value" - ] - }, - { - "title": "Node", - "type": "object", - "properties": { - "node": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "node" - ] - } - ] - }, - "state": { - "$ref": "#/components/schemas/tree_encoding" - } - }, - "required": [ - "version", - "before", - "after", - "state" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/nonces/{block_level}": { - "get": { - "description": "Info about the nonce of a previous block.", - "parameters": [ - { - "name": "block_level", - "in": "path", - "description": "A level integer", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "Revealed", - "type": "object", - "properties": { - "nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "nonce" - ] - }, - { - "title": "Missing", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/cycle_nonce" - } - }, - "required": [ - "hash" - ] - }, - { - "title": "Forgotten", - "type": "object", - "properties": {} - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/raw/bytes": { - "get": { - "description": "Returns the raw context.", - "parameters": [ - { - "name": "depth", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/raw_context" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/sapling/{sapling_state_id}/get_diff": { - "get": { - "description": "Returns the root and a diff of a state starting from an optional offset which is zero by default.", - "parameters": [ - { - "name": "sapling_state_id", - "in": "path", - "description": "A sapling state identifier", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "offset_commitment", - "in": "query", - "description": "Commitments and ciphertexts are returned from the specified offset up to the most recent.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "offset_nullifier", - "in": "query", - "description": "Nullifiers are returned from the specified offset up to the most recent.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "root": { - "$ref": "#/components/schemas/sapling.transaction.commitment_hash" - }, - "commitments_and_ciphertexts": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/sapling.transaction.commitment" - }, - { - "$ref": "#/components/schemas/sapling.transaction.ciphertext" - } - ] - } - } - }, - "nullifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/sapling.transaction.nullifier" - } - } - }, - "required": [ - "root", - "commitments_and_ciphertexts", - "nullifiers" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/seed": { - "post": { - "description": "Seed of the cycle to which the block belongs.", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/seed_computation": { - "get": { - "description": "Seed computation status", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "Nonce revelation stage", - "type": "object", - "properties": { - "nonce_revelation_stage": {} - }, - "required": [ - "nonce_revelation_stage" - ] - }, - { - "title": "VDF revelation stage", - "type": "object", - "properties": { - "seed_discriminant": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "seed_challenge": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "seed_discriminant", - "seed_challenge" - ] - }, - { - "title": "Computation finished", - "type": "object", - "properties": { - "computation_finished": {} - }, - "required": [ - "computation_finished" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/selected_snapshot": { - "get": { - "description": "Returns the index of the selected snapshot for the current cycle or for the specific `cycle` passed as argument, if any.", - "parameters": [ - { - "name": "cycle", - "in": "query", - "description": "A cycle integer", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/all": { - "get": { - "description": "List of all originated smart rollups", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Smart_rollup_hash" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/all/inbox": { - "get": { - "description": "Inbox for the smart rollups", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "old_levels_messages": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/positive_bignum" - }, - "content": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Smart_rollup_merkelized_payload_hashes_hash" - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "hash", - "level" - ] - }, - "back_pointers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Smart_rollup_inbox_hash" - } - } - }, - "required": [ - "index", - "content", - "back_pointers" - ] - } - }, - "required": [ - "level", - "old_levels_messages" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/all/origination_proof": { - "post": { - "description": "Proof for a smart rollup origination", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "wasm_2_0_0", - "arith" - ] - }, - "kernel": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "kernel" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/commitment/{Smart_rollup_commitment_hash}": { - "get": { - "description": "Commitment for a smart rollup from its hash", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "Smart_rollup_commitment_hash", - "in": "path", - "description": "Smart_rollup_commitment_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "compressed_state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "predecessor": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "number_of_ticks": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/commitment/{Smart_rollup_commitment_hash}/can_be_cemented": { - "get": { - "description": "Returns true if and only if the provided commitment can be cemented.", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "Smart_rollup_commitment_hash", - "in": "path", - "description": "Smart_rollup_commitment_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/commitment/{Smart_rollup_commitment_hash}/stakers_indexes": { - "get": { - "description": "List of stakers indexes staking on a given commitment", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "Smart_rollup_commitment_hash", - "in": "path", - "description": "Smart_rollup_commitment_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/positive_bignum" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/genesis_info": { - "get": { - "description": "Genesis information (level and commitment hash) for a smart rollup", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - }, - "required": [ - "level", - "commitment_hash" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/inbox_level/{block_level}/commitments": { - "get": { - "description": "List of commitments associated to a rollup for a given inbox level", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "block_level", - "in": "path", - "description": "A level integer", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "array", - "items": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/initial_pvm_state_hash": { - "get": { - "description": "Initial PVM state hash of smart rollup", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "The hash of the VM state of a smart rollup (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/kind": { - "get": { - "description": "Kind of smart rollup", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string", - "enum": [ - "wasm_2_0_0", - "arith" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/last_cemented_commitment_hash_with_level": { - "get": { - "description": "Level and hash of the last cemented commitment for a smart rollup", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "hash", - "level" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/staker/{pkh}/conflicts": { - "get": { - "description": "List of stakers in conflict with the given staker", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "other": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "their_commitment": { - "type": "object", - "properties": { - "compressed_state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "predecessor": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "number_of_ticks": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" - ] - }, - "our_commitment": { - "type": "object", - "properties": { - "compressed_state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "predecessor": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "number_of_ticks": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" - ] - }, - "parent_commitment": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - }, - "required": [ - "other", - "their_commitment", - "our_commitment", - "parent_commitment" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/staker/{pkh}/games": { - "get": { - "description": "Ongoing refutation games for a given staker", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "game": { - "type": "object", - "properties": { - "turn": { - "oneOf": [ - { - "title": "Alice", - "type": "string", - "enum": [ - "alice" - ] - }, - { - "title": "Bob", - "type": "string", - "enum": [ - "bob" - ] - } - ] - }, - "inbox_snapshot": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/positive_bignum" - }, - "content": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Smart_rollup_merkelized_payload_hashes_hash" - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "hash", - "level" - ] - }, - "back_pointers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Smart_rollup_inbox_hash" - } - } - }, - "required": [ - "index", - "content", - "back_pointers" - ] - }, - "dal_snapshot": { - "type": "object", - "properties": { - "index": { - "$ref": "#/components/schemas/positive_bignum" - }, - "content": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "commitment": { - "$ref": "#/components/schemas/DAL_commitment" - } - }, - "required": [ - "level", - "index", - "commitment" - ] - }, - "back_pointers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/dal_skip_list_pointer" - } - } - }, - "required": [ - "index", - "content", - "back_pointers" - ] - }, - "start_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "game_state": { - "oneOf": [ - { - "title": "Dissecting", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Dissecting" - ] - }, - "dissection": { - "type": "array", - "items": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "tick": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "tick" - ] - } - }, - "default_number_of_sections": { - "type": "integer", - "minimum": 0, - "maximum": 255 - } - }, - "required": [ - "kind", - "dissection", - "default_number_of_sections" - ] - }, - { - "title": "Final_move", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Final_move" - ] - }, - "agreed_start_chunk": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "tick": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "tick" - ] - }, - "refuted_stop_chunk": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "tick": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "tick" - ] - } - }, - "required": [ - "kind", - "agreed_start_chunk", - "refuted_stop_chunk" - ] - } - ] - } - }, - "required": [ - "turn", - "inbox_snapshot", - "dal_snapshot", - "start_level", - "inbox_level", - "game_state" - ] - }, - "alice": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "bob": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "game", - "alice", - "bob" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/staker/{pkh}/index": { - "get": { - "description": "Staker index associated to a public key hash for a given rollup", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "Positive big number", - "description": "Decimal representation of a positive big number", - "type": "string" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/staker/{pkh}/staked_on_commitment": { - "get": { - "description": "The newest commitment on which the operator has staked on for a smart rollup. Note that is can return a commitment that is before the last cemented one.", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "compressed_state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "predecessor": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "number_of_ticks": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "hash", - "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/staker1/{pkh}/staker2/{pkh}/timeout": { - "get": { - "description": "Returns the timeout of players.", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "alice": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "bob": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "last_turn_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "alice", - "bob", - "last_turn_level" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/staker1/{pkh}/staker2/{pkh}/timeout_reached": { - "get": { - "description": "Returns whether the timeout creates a result for the game.", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "title": "Loser", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "loser" - ] - }, - "reason": { - "oneOf": [ - { - "title": "Conflict_resolved", - "type": "string", - "enum": [ - "conflict_resolved" - ] - }, - { - "title": "Timeout", - "type": "string", - "enum": [ - "timeout" - ] - } - ] - }, - "player": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "reason", - "player" - ] - }, - { - "title": "Draw", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "draw" - ] - } - }, - "required": [ - "kind" - ] - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/stakers": { - "get": { - "description": "List of active stakers' public key hashes of a rollup", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/smart_rollups/smart_rollup/{Smart_rollup_hash}/ticket_balance": { - "post": { - "description": "Access the smart rollup's balance of ticket with specified ticketer, content type, and content.", - "parameters": [ - { - "name": "Smart_rollup_hash", - "in": "path", - "description": "Smart_rollup_hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "Positive big number", - "description": "Decimal representation of a positive big number", - "type": "string" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/tx_rollup/{tx_rollup_id}/commitment/{block_level}": { - "get": { - "description": "Return the commitment for a level, if any", - "parameters": [ - { - "name": "tx_rollup_id", - "in": "path", - "description": "A tx rollup identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "block_level", - "in": "path", - "description": "A level integer", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "commitment": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "messages": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "root": { - "$ref": "#/components/schemas/Message_result_list_hash" - }, - "last_message_result_hash": { - "$ref": "#/components/schemas/Message_result_hash" - } - }, - "required": [ - "count", - "root", - "last_message_result_hash" - ] - }, - "predecessor": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/Commitment_hash" - } - ] - } - ] - }, - "inbox_merkle_root": { - "$ref": "#/components/schemas/Inbox_list_hash" - } - }, - "required": [ - "level", - "messages", - "predecessor", - "inbox_merkle_root" - ] - }, - "commitment_hash": { - "$ref": "#/components/schemas/Commitment_hash" - }, - "committer": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "submitted_at": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "finalized_at": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "commitment", - "commitment_hash", - "committer", - "submitted_at" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/tx_rollup/{tx_rollup_id}/has_bond/{pkh}": { - "get": { - "description": "Returns true if the public key hash already deposited a bond for the given rollup", - "parameters": [ - { - "name": "tx_rollup_id", - "in": "path", - "description": "A tx rollup identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "boolean" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/tx_rollup/{tx_rollup_id}/inbox/{block_level}": { - "get": { - "description": "Get the inbox of a transaction rollup", - "parameters": [ - { - "name": "tx_rollup_id", - "in": "path", - "description": "A tx rollup identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "block_level", - "in": "path", - "description": "A level integer", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "inbox_length": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "cumulated_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "merkle_root": { - "$ref": "#/components/schemas/Inbox_list_hash" - } - }, - "required": [ - "inbox_length", - "cumulated_size", - "merkle_root" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/tx_rollup/{tx_rollup_id}/pending_bonded_commitments/{pkh}": { - "get": { - "description": "Get the number of pending bonded commitments for a pkh on a rollup", - "parameters": [ - { - "name": "tx_rollup_id", - "in": "path", - "description": "A tx rollup identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/context/tx_rollup/{tx_rollup_id}/state": { - "get": { - "description": "Access the state of a rollup.", - "parameters": [ - { - "name": "tx_rollup_id", - "in": "path", - "description": "A tx rollup identifier encoded in b58check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "last_removed_commitment_hashes": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "last_message_hash": { - "$ref": "#/components/schemas/Message_result_hash" - }, - "commitment_hash": { - "$ref": "#/components/schemas/Commitment_hash" - } - }, - "required": [ - "last_message_hash", - "commitment_hash" - ] - } - ] - }, - "finalized_commitments": { - "oneOf": [ - { - "title": "empty", - "type": "object", - "properties": { - "next": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "next" - ] - }, - { - "title": "interval", - "type": "object", - "properties": { - "newest": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "oldest": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "newest", - "oldest" - ] - } - ] - }, - "unfinalized_commitments": { - "oneOf": [ - { - "title": "empty", - "type": "object", - "properties": { - "next": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "next" - ] - }, - { - "title": "interval", - "type": "object", - "properties": { - "newest": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "oldest": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "newest", - "oldest" - ] - } - ] - }, - "uncommitted_inboxes": { - "oneOf": [ - { - "title": "empty", - "type": "object", - "properties": { - "next": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "next" - ] - }, - { - "title": "interval", - "type": "object", - "properties": { - "newest": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "oldest": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "newest", - "oldest" - ] - } - ] - }, - "commitment_newest_hash": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/Commitment_hash" - } - ] - } - ] - }, - "tezos_head_level": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - ] - }, - "burn_per_byte": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "allocated_storage": { - "$ref": "#/components/schemas/positive_bignum" - }, - "occupied_storage": { - "$ref": "#/components/schemas/positive_bignum" - }, - "inbox_ema": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "commitments_watermark": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - ] - } - }, - "required": [ - "last_removed_commitment_hashes", - "finalized_commitments", - "unfinalized_commitments", - "uncommitted_inboxes", - "commitment_newest_hash", - "tezos_head_level", - "burn_per_byte", - "allocated_storage", - "occupied_storage", - "inbox_ema", - "commitments_watermark" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/hash": { - "get": { - "description": "The block's hash, its unique identifier.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A block identifier (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/header": { - "get": { - "description": "The whole block header.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "Shell header", - "description": "Block header's shell-related content. It contains information such as the block level, its predecessor and timestamp.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/block_hash" - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - }, - "content": { - "oneOf": [ - { - "title": "Activate", - "type": "object", - "properties": { - "command": { - "type": "string", - "enum": [ - "activate" - ] - }, - "hash": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "protocol_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "command", - "hash", - "fitness", - "protocol_parameters" - ] - }, - { - "title": "Activate_testchain", - "type": "object", - "properties": { - "command": { - "type": "string", - "enum": [ - "activate_testchain" - ] - }, - "hash": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "protocol_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "validity_time": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "command", - "hash", - "fitness", - "protocol_parameters", - "validity_time" - ] - } - ] - }, - "signature": { - "$ref": "#/components/schemas/Signature.V0" - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context", - "content", - "signature" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/header/protocol_data": { - "get": { - "description": "The version-specific fragment of the block header.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "content": { - "oneOf": [ - { - "title": "Activate", - "type": "object", - "properties": { - "command": { - "type": "string", - "enum": [ - "activate" - ] - }, - "hash": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "protocol_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "command", - "hash", - "fitness", - "protocol_parameters" - ] - }, - { - "title": "Activate_testchain", - "type": "object", - "properties": { - "command": { - "type": "string", - "enum": [ - "activate_testchain" - ] - }, - "hash": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "protocol_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "validity_time": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "command", - "hash", - "fitness", - "protocol_parameters", - "validity_time" - ] - } - ] - }, - "signature": { - "$ref": "#/components/schemas/Signature.V0" - } - }, - "required": [ - "protocol", - "content", - "signature" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/header/protocol_data/raw": { - "get": { - "description": "The version-specific fragment of the block header (unparsed).", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/header/raw": { - "get": { - "description": "The whole block header (unparsed).", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/header/shell": { - "get": { - "description": "The shell-specific fragment of the block header.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "Shell header", - "description": "Block header's shell-related content. It contains information such as the block level, its predecessor and timestamp.", - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/attestation_rights": { - "get": { - "description": "Retrieves the delegates allowed to attest a block.\nBy default, it gives the attestation power for delegates that have at least one attestation slot for the next block.\nParameters `level` and `cycle` can be used to specify the (valid) level(s) in the past or future at which the attestation rights have to be returned. Parameter `delegate` can be used to restrict the results to the given delegates.\nParameter `consensus_key` can be used to restrict the results to the given consensus_keys. \nReturns the smallest attestation slots and the attestation power. Also returns the minimal timestamp that corresponds to attestation at the given level. The timestamps are omitted for levels in the past, and are only estimates for levels higher that the next block's, based on the hypothesis that all predecessor blocks were baked at the first round.", - "parameters": [ - { - "name": "level", - "in": "query", - "description": "A level integer", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cycle", - "in": "query", - "description": "A cycle integer", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "delegate", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "consensus_key", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "delegates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "first_slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "attestation_power": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "delegate", - "first_slot", - "attestation_power", - "consensus_key" - ] - } - }, - "estimated_time": { - "$ref": "#/components/schemas/timestamp.protocol" - } - }, - "required": [ - "level", - "delegates" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/baking_rights": { - "get": { - "description": "Retrieves the list of delegates allowed to bake a block.\nBy default, it gives the best baking opportunities (in terms of rounds) for bakers that have at least one opportunity below the 64th round for the next block.\nParameters `level` and `cycle` can be used to specify the (valid) level(s) in the past or future at which the baking rights have to be returned.\nParameter `delegate` can be used to restrict the results to the given delegates. Parameter `consensus_key` can be used to restrict the results to the given consensus_keys. If parameter `all` is set, all the baking opportunities for each baker at each level are returned, instead of just the first one.\nReturns the list of baking opportunities up to round 64. Also returns the minimal timestamps that correspond to these opportunities. The timestamps are omitted for levels in the past, and are only estimates for levels higher that the next block's, based on the hypothesis that all predecessor blocks were baked at the first round.", - "parameters": [ - { - "name": "level", - "in": "query", - "description": "A level integer", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cycle", - "in": "query", - "description": "A cycle integer", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "delegate", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "consensus_key", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "max_round", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "all", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "estimated_time": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "level", - "delegate", - "round", - "consensus_key" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/complete/{prefix}": { - "get": { - "description": "Try to complete a prefix of a Base58Check-encoded data. This RPC is actually able to complete hashes of block, operations, public_keys and contracts.", - "parameters": [ - { - "name": "prefix", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/unistring" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/current_level": { - "get": { - "description": "Returns the level of the interrogated block, or the one of a block located `offset` blocks after it in the chain. For instance, the next block if `offset` is 1. The offset cannot be negative.", - "parameters": [ - { - "name": "offset", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "level": { - "description": "The level of the block relative to genesis. This is also the Shell's notion of level.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "level_position": { - "description": "The level of the block relative to the successor of the genesis block. More precisely, it is the position of the block relative to the block that starts the \"Alpha family\" of protocols, which includes all protocols except Genesis (that is, from 001 onwards).", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "cycle": { - "description": "The current cycle's number. Note that cycles are a protocol-specific notion. As a result, the cycle number starts at 0 with the first block of the Alpha family of protocols.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "cycle_position": { - "description": "The current level of the block relative to the first block of the current cycle.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "expected_commitment": { - "description": "Tells whether the baker of this block has to commit a seed nonce hash.", - "type": "boolean" - } - }, - "required": [ - "level", - "level_position", - "cycle", - "cycle_position", - "expected_commitment" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/endorsing_rights": { - "get": { - "description": "Deprecated: use `attestation_rights` instead.\nRetrieves the delegates allowed to endorse a block.\nBy default, it gives the endorsing power for delegates that have at least one endorsing slot for the next block.\nParameters `level` and `cycle` can be used to specify the (valid) level(s) in the past or future at which the endorsing rights have to be returned. Parameter `delegate` can be used to restrict the results to the given delegates.\nParameter `consensus_key` can be used to restrict the results to the given consensus_keys. \nReturns the smallest endorsing slots and the endorsing power. Also returns the minimal timestamp that corresponds to endorsing at the given level. The timestamps are omitted for levels in the past, and are only estimates for levels higher that the next block's, based on the hypothesis that all predecessor blocks were baked at the first round.", - "parameters": [ - { - "name": "level", - "in": "query", - "description": "A level integer", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "cycle", - "in": "query", - "description": "A cycle integer", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "delegate", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "consensus_key", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "delegates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "first_slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "endorsing_power": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "delegate", - "first_slot", - "endorsing_power", - "consensus_key" - ] - } - }, - "estimated_time": { - "$ref": "#/components/schemas/timestamp.protocol" - } - }, - "required": [ - "level", - "delegates" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/operations": { - "post": { - "description": "Forge an operation", - "requestBody": { - "content": { - "application/json": { - "schema": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - } - }, - "required": [ - "branch", - "contents" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/protocol_data": { - "post": { - "description": "Forge the protocol-specific part of a block header", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "payload_hash": { - "$ref": "#/components/schemas/value_hash" - }, - "payload_round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "nonce_hash": { - "$ref": "#/components/schemas/cycle_nonce" - }, - "proof_of_work_nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "liquidity_baking_toggle_vote": { - "$ref": "#/components/schemas/017-PtNairob.liquidity_baking_toggle_vote" - } - }, - "required": [ - "payload_hash", - "payload_round" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "protocol_data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "protocol_data" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/tx_rollup/commitment/merkle_tree_hash": { - "post": { - "description": "Compute the merkle tree hash of a commitment", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message_result_hashes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Message_result_hash" - } - } - }, - "required": [ - "message_result_hashes" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Message_result_list_hash" - } - }, - "required": [ - "hash" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/tx_rollup/commitment/merkle_tree_path": { - "post": { - "description": "Compute a path of a message result hash in the commitment merkle tree", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message_result_hashes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Message_result_hash" - } - }, - "position": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - } - }, - "required": [ - "message_result_hashes", - "position" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "path": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Message_result_list_hash" - } - } - }, - "required": [ - "path" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/tx_rollup/commitment/message_result_hash": { - "post": { - "description": "Compute the message result hash", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "context_hash": { - "$ref": "#/components/schemas/Context_hash" - }, - "withdraw_list_hash": { - "$ref": "#/components/schemas/Withdraw_list_hash" - } - }, - "required": [ - "context_hash", - "withdraw_list_hash" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Message_result_hash" - } - }, - "required": [ - "hash" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/tx_rollup/inbox/merkle_tree_hash": { - "post": { - "description": "Compute the merkle tree hash of an inbox", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message_hashes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tx_rollup_inbox_message_hash" - } - } - }, - "required": [ - "message_hashes" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Inbox_list_hash" - } - }, - "required": [ - "hash" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/tx_rollup/inbox/merkle_tree_path": { - "post": { - "description": "Compute a path of an inbox message in a merkle tree", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message_hashes": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tx_rollup_inbox_message_hash" - } - }, - "position": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - } - }, - "required": [ - "message_hashes", - "position" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "path": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Inbox_list_hash" - } - } - }, - "required": [ - "path" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/tx_rollup/inbox/message_hash": { - "post": { - "description": "Compute the hash of a message", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "oneOf": [ - { - "title": "Batch", - "type": "object", - "properties": { - "batch": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "batch" - ] - }, - { - "title": "Deposit", - "type": "object", - "properties": { - "deposit": { - "type": "object", - "properties": { - "sender": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "destination": { - "$ref": "#/components/schemas/Bls12_381.Public_key_hash" - }, - "ticket_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "amount": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "sender", - "destination", - "ticket_hash", - "amount" - ] - } - }, - "required": [ - "deposit" - ] - } - ] - } - }, - "required": [ - "message" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Tx_rollup_inbox_message_hash" - } - }, - "required": [ - "hash" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge/tx_rollup/withdraw/withdraw_list_hash": { - "post": { - "description": "Compute the hash of a withdraw list", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "withdraw_list": { - "type": "array", - "items": { - "type": "object", - "properties": { - "claimer": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "ticket_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "amount": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "claimer", - "ticket_hash", - "amount" - ] - } - } - }, - "required": [ - "withdraw_list" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Withdraw_list_hash" - } - }, - "required": [ - "hash" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/forge_block_header": { - "post": { - "description": "Forge a block header", - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "Block header", - "description": "Block header. It contains both shell and protocol specific data.", - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - }, - "protocol_data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context", - "protocol_data" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "block": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "block" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/levels_in_current_cycle": { - "get": { - "description": "Levels of a cycle", - "parameters": [ - { - "name": "offset", - "in": "query", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "first": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "last": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "first", - "last" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/parse/block": { - "post": { - "description": "Parse a block", - "requestBody": { - "content": { - "application/json": { - "schema": { - "title": "Block header", - "description": "Block header. It contains both shell and protocol specific data.", - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - }, - "protocol_data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context", - "protocol_data" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "payload_hash": { - "$ref": "#/components/schemas/value_hash" - }, - "payload_round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proof_of_work_nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "seed_nonce_hash": { - "$ref": "#/components/schemas/cycle_nonce" - }, - "liquidity_baking_toggle_vote": { - "$ref": "#/components/schemas/017-PtNairob.liquidity_baking_toggle_vote" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "payload_hash", - "payload_round", - "proof_of_work_nonce", - "liquidity_baking_toggle_vote", - "signature" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/parse/operations": { - "post": { - "description": "Parse operations", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "operations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/operation" - } - }, - "check_signature": { - "type": "boolean" - } - }, - "required": [ - "operations" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "branch", - "contents" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/preapply/block": { - "post": { - "description": "Simulate the validation of a block that would contain the given operations and return the resulting fitness and context hash.", - "parameters": [ - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "timestamp", - "in": "query", - "description": "A date in seconds from epoch", - "required": false, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "protocol_data": { - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "payload_hash": { - "$ref": "#/components/schemas/value_hash" - }, - "payload_round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proof_of_work_nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "seed_nonce_hash": { - "$ref": "#/components/schemas/cycle_nonce" - }, - "liquidity_baking_toggle_vote": { - "$ref": "#/components/schemas/017-PtNairob.liquidity_baking_toggle_vote" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "protocol", - "payload_hash", - "payload_round", - "proof_of_work_nonce", - "liquidity_baking_toggle_vote", - "signature" - ] - }, - "operations": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "operation_data_encoding", - "oneOf": [ - { - "$ref": "#/components/schemas/next_operation" - } - ] - }, - { - "title": "operation_data_encoding_with_legacy_attestation_name", - "oneOf": [ - { - "$ref": "#/components/schemas/next_operation_with_legacy_attestation_name" - } - ] - } - ] - } - } - } - }, - "required": [ - "protocol_data", - "operations" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "shell_header": { - "$ref": "#/components/schemas/block_header.shell" - }, - "operations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "applied": { - "type": "array", - "items": { - "description": "An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "hash", - "branch", - "data" - ] - } - }, - "refused": { - "type": "array", - "items": { - "description": "An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "branch", - "data", - "error" - ] - } - }, - "outdated": { - "type": "array", - "items": { - "description": "An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "branch", - "data", - "error" - ] - } - }, - "branch_refused": { - "type": "array", - "items": { - "description": "An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "branch", - "data", - "error" - ] - } - }, - "branch_delayed": { - "type": "array", - "items": { - "description": "An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob.", - "type": "object", - "properties": { - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "error": { - "$ref": "#/components/schemas/error" - } - }, - "required": [ - "hash", - "branch", - "data", - "error" - ] - } - } - }, - "required": [ - "applied", - "refused", - "outdated", - "branch_refused", - "branch_delayed" - ] - } - } - }, - "required": [ - "shell_header", - "operations" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/preapply/operations": { - "post": { - "description": "Simulate the application of the operations with the context of the given block and return the result of each operation application.", - "parameters": [ - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "operation_data_encoding", - "oneOf": [ - { - "$ref": "#/components/schemas/next_operation" - } - ] - }, - { - "title": "operation_data_encoding_with_legacy_attestation_name", - "oneOf": [ - { - "$ref": "#/components/schemas/next_operation_with_legacy_attestation_name" - } - ] - } - ] - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "preapplied_operations_encoding_v1", - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_with_metadata" - } - }, - { - "title": "preapplied_operations_encoding_v0", - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_with_metadata" - } - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/round": { - "get": { - "description": "Returns the round of the interrogated block, or the one of a block located `offset` blocks after in the chain (or before when negative). For instance, the next block if `offset` is 1.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/entrypoint": { - "post": { - "description": "Return the type of the given entrypoint", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "entrypoint": { - "$ref": "#/components/schemas/unistring" - } - }, - "required": [ - "script" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "entrypoint_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "entrypoint_type" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/entrypoints": { - "post": { - "description": "Return the list of entrypoints of the given script", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "script" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "unreachable": { - "type": "array", - "items": { - "type": "object", - "properties": { - "path": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.michelson.v1.primitives" - } - } - }, - "required": [ - "path" - ] - } - }, - "entrypoints": { - "type": "object", - "properties": {}, - "additionalProperties": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - }, - "required": [ - "entrypoints" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/normalize_data": { - "post": { - "description": "Normalizes some data expression using the requested unparsing mode", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - }, - "legacy": { - "type": "boolean" - } - }, - "required": [ - "data", - "type", - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "normalized": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "normalized" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/normalize_script": { - "post": { - "description": "Normalizes a Michelson script using the requested unparsing mode", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - } - }, - "required": [ - "script", - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "normalized": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "normalized" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/normalize_stack": { - "post": { - "description": "Normalize a Michelson stack using the requested unparsing mode", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "input": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "val": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "type", - "val" - ] - } - }, - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - }, - "legacy": { - "type": "boolean" - } - }, - "required": [ - "input", - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "output": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "val": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "type", - "val" - ] - } - } - }, - "required": [ - "output" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/normalize_type": { - "post": { - "description": "Normalizes some Michelson type by expanding `pair a b c` as `pair a (pair b c)", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "type" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "normalized": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "normalized" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/pack_data": { - "post": { - "description": "Computes the serialized version of some data expression using the same algorithm as script instruction PACK", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "gas": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "data", - "type" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "packed": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "gas": { - "oneOf": [ - { - "title": "Limited", - "oneOf": [ - { - "$ref": "#/components/schemas/bignum" - } - ] - }, - { - "title": "Unaccounted", - "type": "string", - "enum": [ - "unaccounted" - ] - } - ] - } - }, - "required": [ - "packed", - "gas" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/run_code": { - "post": { - "description": "Run a piece of code in the current context", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "input": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "payer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.implicit" - }, - "self": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - }, - "entrypoint": { - "$ref": "#/components/schemas/unistring" - }, - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "now": { - "$ref": "#/components/schemas/bignum" - }, - "level": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "script", - "storage", - "input", - "amount", - "chain_id" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "operations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "storage", - "operations" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/run_operation": { - "post": { - "description": "Run an operation with the context of the given block and without signature checks. Return the operation application result, including the consumed gas. This RPC does not support consensus operations.", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "operation": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "branch", - "contents" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - } - }, - "required": [ - "operation", - "chain_id" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "Operation_with_metadata", - "type": "object", - "properties": { - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_contents_and_result" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "contents" - ] - }, - { - "title": "Operation_without_metadata", - "type": "object", - "properties": { - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "contents" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/run_script_view": { - "post": { - "description": "Simulate a call to a michelson view", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "contract": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - }, - "view": { - "$ref": "#/components/schemas/unistring" - }, - "input": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "unlimited_gas": { - "type": "boolean" - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "payer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.implicit" - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - }, - "now": { - "$ref": "#/components/schemas/bignum" - }, - "level": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "contract", - "view", - "input", - "chain_id", - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "data" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/run_view": { - "post": { - "description": "Simulate a call to a view following the TZIP-4 standard. See https://gitlab.com/tezos/tzip/-/blob/master/proposals/tzip-4/tzip-4.md#view-entrypoints.", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "contract": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - }, - "entrypoint": { - "$ref": "#/components/schemas/unistring" - }, - "input": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "payer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.implicit" - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - }, - "now": { - "$ref": "#/components/schemas/bignum" - }, - "level": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "contract", - "entrypoint", - "input", - "chain_id", - "unparsing_mode" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "data" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/script_size": { - "post": { - "description": "Compute the size of a script in the current context", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "program": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "legacy": { - "type": "boolean" - } - }, - "required": [ - "program", - "storage" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - }, - "required": [ - "script_size" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/simulate_operation": { - "post": { - "description": "Simulate running an operation at some future moment (based on the number of blocks given in the `latency` argument), and return the operation application result. The result is the same as run_operation except for the consumed gas, which depends on the contents of the cache at that future moment. This RPC estimates future gas consumption by trying to predict the state of the cache using some heuristics.", - "parameters": [ - { - "name": "successor_level", - "in": "query", - "description": "If true, the simulation is done on the successor level of the current context.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "blocks_before_activation": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "operation": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "branch", - "contents" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "latency": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - } - }, - "required": [ - "operation", - "chain_id" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "Operation_with_metadata", - "type": "object", - "properties": { - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_contents_and_result" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "contents" - ] - }, - { - "title": "Operation_without_metadata", - "type": "object", - "properties": { - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "contents" - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/trace_code": { - "post": { - "description": "Run a piece of code in the current context, keeping a trace", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "script": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "input": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "payer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.implicit" - }, - "self": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - }, - "entrypoint": { - "$ref": "#/components/schemas/unistring" - }, - "unparsing_mode": { - "oneOf": [ - { - "title": "Readable", - "type": "string", - "enum": [ - "Readable" - ] - }, - { - "title": "Optimized", - "type": "string", - "enum": [ - "Optimized" - ] - }, - { - "title": "Optimized_legacy", - "type": "string", - "enum": [ - "Optimized_legacy" - ] - } - ] - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "now": { - "$ref": "#/components/schemas/bignum" - }, - "level": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "script", - "storage", - "input", - "amount", - "chain_id" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "operations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - }, - "trace": { - "$ref": "#/components/schemas/017-PtNairob.scripted.trace" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "storage", - "operations", - "trace" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/typecheck_code": { - "post": { - "description": "Typecheck a piece of code in the current context", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "program": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "legacy": { - "type": "boolean" - }, - "show_types": { - "type": "boolean" - } - }, - "required": [ - "program" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type_map": { - "type": "array", - "items": { - "type": "object", - "properties": { - "location": { - "$ref": "#/components/schemas/micheline.location" - }, - "stack_before": { - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "stack_after": { - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - }, - "required": [ - "location", - "stack_before", - "stack_after" - ] - } - }, - "gas": { - "oneOf": [ - { - "title": "Limited", - "oneOf": [ - { - "$ref": "#/components/schemas/bignum" - } - ] - }, - { - "title": "Unaccounted", - "type": "string", - "enum": [ - "unaccounted" - ] - } - ] - } - }, - "required": [ - "type_map", - "gas" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/scripts/typecheck_data": { - "post": { - "description": "Check that some data expression is well formed and of a given type in the current context", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "legacy": { - "type": "boolean" - } - }, - "required": [ - "data", - "type" - ] - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "gas": { - "oneOf": [ - { - "title": "Limited", - "oneOf": [ - { - "$ref": "#/components/schemas/bignum" - } - ] - }, - { - "title": "Unaccounted", - "type": "string", - "enum": [ - "unaccounted" - ] - } - ] - } - }, - "required": [ - "gas" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/helpers/validators": { - "get": { - "description": "Retrieves the level, the endorsement slots and the public key hash of each delegate allowed to endorse a block.\nBy default, it provides this information for the next level.\nParameter `level` can be used to specify the (valid) level(s) in the past or future at which the endorsement rights have to be returned. Parameter `delegate` can be used to restrict the results results to the given delegates. Parameter `consensus_key` can be used to restrict the results to the given consensus_keys.\n", - "parameters": [ - { - "name": "level", - "in": "query", - "description": "A level integer", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "delegate", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "consensus_key", - "in": "query", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "slots": { - "type": "array", - "items": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "level", - "delegate", - "slots", - "consensus_key" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/live_blocks": { - "get": { - "description": "List the ancestors of the given block which, if referred to as the branch in an operation header, are recent enough for that operation to be included in the current block.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/block_hash" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/metadata": { - "get": { - "description": "All the metadata associated to the block.", - "parameters": [ - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "block_metadata_encoding_encoding_v1", - "oneOf": [ - { - "$ref": "#/components/schemas/block_header_metadata" - } - ] - }, - { - "title": "block_metadata_encoding_encoding_v0", - "oneOf": [ - { - "$ref": "#/components/schemas/block_header_metadata_with_legacy_attestation_name" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/metadata_hash": { - "get": { - "description": "Hash of the metadata associated to the block. This is only set on blocks starting from environment V1.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A Tezos block metadata ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operation_hashes": { - "get": { - "description": "The hashes of all the operations included in the block.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation_hash" - } - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operation_hashes/{list_offset}": { - "get": { - "description": "All the operations included in `n-th` validation pass of the block.", - "parameters": [ - { - "name": "list_offset", - "in": "path", - "description": "Index `n` of the requested validation pass.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation_hash" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operation_hashes/{list_offset}/{operation_offset}": { - "get": { - "description": "The hash of then `m-th` operation in the `n-th` validation pass of the block.", - "parameters": [ - { - "name": "list_offset", - "in": "path", - "description": "Index `n` of the requested validation pass.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "operation_offset", - "in": "path", - "description": "Index `m` of the requested operation in its validation pass.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A Tezos operation ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operation_metadata_hashes": { - "get": { - "description": "The hashes of all the operation metadata included in the block. This is only set on blocks starting from environment V1.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation_metadata_hash" - } - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operation_metadata_hashes/{list_offset}": { - "get": { - "description": "All the operation metadata included in `n-th` validation pass of the block. This is only set on blocks starting from environment V1.", - "parameters": [ - { - "name": "list_offset", - "in": "path", - "description": "Index `n` of the requested validation pass.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operation_metadata_hash" - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operation_metadata_hashes/{list_offset}/{operation_offset}": { - "get": { - "description": "The hash of then `m-th` operation metadata in the `n-th` validation pass of the block. This is only set on blocks starting from environment V1.", - "parameters": [ - { - "name": "list_offset", - "in": "path", - "description": "Index `n` of the requested validation pass.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "operation_offset", - "in": "path", - "description": "Index `m` of the requested operation in its validation pass.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A Tezos operation metadata ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operations": { - "get": { - "description": "All the operations included in the block.", - "parameters": [ - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "force_metadata", - "in": "query", - "description": "DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "metadata", - "in": "query", - "description": "defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use \"always\". To avoid getting the metadata, use \"never\". By default, the metadata will be returned depending on the node's metadata size limit policy.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "operations_encoding_v1", - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/operation" - } - } - }, - { - "title": "operations_encoding_v0", - "type": "array", - "items": { - "type": "array", - "items": { - "$ref": "#/components/schemas/operation_with_legacy_attestation_name" - } - } - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operations/{list_offset}": { - "get": { - "description": "All the operations included in `n-th` validation pass of the block.", - "parameters": [ - { - "name": "list_offset", - "in": "path", - "description": "Index `n` of the requested validation pass.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "force_metadata", - "in": "query", - "description": "DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "metadata", - "in": "query", - "description": "defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use \"always\". To avoid getting the metadata, use \"never\". By default, the metadata will be returned depending on the node's metadata size limit policy.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "operations_in_pass_encoding_v1", - "type": "array", - "items": { - "$ref": "#/components/schemas/operation" - } - }, - { - "title": "operations_in_pass_encoding_v0", - "type": "array", - "items": { - "$ref": "#/components/schemas/operation_with_legacy_attestation_name" - } - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operations/{list_offset}/{operation_offset}": { - "get": { - "description": "The `m-th` operation in the `n-th` validation pass of the block.", - "parameters": [ - { - "name": "list_offset", - "in": "path", - "description": "Index `n` of the requested validation pass.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "operation_offset", - "in": "path", - "description": "Index `m` of the requested operation in its validation pass.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "version", - "in": "query", - "description": "Supported RPC versions are version \"0\" (default but deprecated) that will output attestation operations as \"endorsement\" in the \"kind\" field, version \"1\" that will output \"attestation\" in the \"kind\" field", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "force_metadata", - "in": "query", - "description": "DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "metadata", - "in": "query", - "description": "defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use \"always\". To avoid getting the metadata, use \"never\". By default, the metadata will be returned depending on the node's metadata size limit policy.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "title": "operation_encoding_v1", - "oneOf": [ - { - "$ref": "#/components/schemas/operation" - } - ] - }, - { - "title": "operation_encoding_v0", - "oneOf": [ - { - "$ref": "#/components/schemas/operation_with_legacy_attestation_name" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/operations_metadata_hash": { - "get": { - "description": "The root hash of the operations metadata from the block. This is only set on blocks starting from environment V1.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A list of list of operation metadata (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/protocols": { - "get": { - "description": "Current and next protocol.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "protocol": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "next_protocol": { - "$ref": "#/components/schemas/Protocol_hash" - } - }, - "required": [ - "protocol", - "next_protocol" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/resulting_context_hash": { - "get": { - "description": "Context hash resulting of the block application.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "A hash of context (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/ballot_list": { - "get": { - "description": "Ballots casted so far during a voting period.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "pkh": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "ballot": { - "type": "string", - "enum": [ - "nay", - "yay", - "pass" - ] - } - }, - "required": [ - "pkh", - "ballot" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/ballots": { - "get": { - "description": "Sum of ballots casted so far during a voting period.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "yay": { - "$ref": "#/components/schemas/int64" - }, - "nay": { - "$ref": "#/components/schemas/int64" - }, - "pass": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "yay", - "nay", - "pass" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/current_period": { - "get": { - "description": "Returns the voting period (index, kind, starting position) and related information (position, remaining) of the interrogated block.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "voting_period": { - "description": "The voting period to which the block belongs.", - "type": "object", - "properties": { - "index": { - "description": "The voting period's index. Starts at 0 with the first block of the Alpha family of protocols.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "kind": { - "description": "One of the several kinds of periods in the voting procedure.", - "oneOf": [ - { - "title": "Proposal", - "type": "string", - "enum": [ - "proposal" - ] - }, - { - "title": "exploration", - "type": "string", - "enum": [ - "exploration" - ] - }, - { - "title": "Cooldown", - "type": "string", - "enum": [ - "cooldown" - ] - }, - { - "title": "Promotion", - "type": "string", - "enum": [ - "promotion" - ] - }, - { - "title": "Adoption", - "type": "string", - "enum": [ - "adoption" - ] - } - ] - }, - "start_position": { - "description": "The relative position of the first level of the period with respect to the first level of the Alpha family of protocols.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "index", - "kind", - "start_position" - ] - }, - "position": { - "description": "The position of the block within the voting period.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "remaining": { - "description": "The number of blocks remaining till the end of the voting period.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "voting_period", - "position", - "remaining" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/current_proposal": { - "get": { - "description": "Current proposal under evaluation.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "oneOf": [ - { - "$ref": "#/components/schemas/Protocol_hash" - } - ] - } - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/current_quorum": { - "get": { - "description": "Current expected quorum.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/listings": { - "get": { - "description": "List of delegates with their voting power.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "pkh": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "voting_power": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "pkh", - "voting_power" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/proposal_count/{pkh}": { - "get": { - "description": "Number of votes casted during the current period.", - "parameters": [ - { - "name": "pkh", - "in": "path", - "description": "A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded)", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/proposals": { - "get": { - "description": "List of proposals with number of supporters.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/Protocol_hash" - }, - { - "$ref": "#/components/schemas/int64" - } - ] - } - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/successor_period": { - "get": { - "description": "Returns the voting period (index, kind, starting position) and related information (position, remaining) of the next block.Useful to craft operations that will be valid in the next block.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "voting_period": { - "description": "The voting period to which the block belongs.", - "type": "object", - "properties": { - "index": { - "description": "The voting period's index. Starts at 0 with the first block of the Alpha family of protocols.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "kind": { - "description": "One of the several kinds of periods in the voting procedure.", - "oneOf": [ - { - "title": "Proposal", - "type": "string", - "enum": [ - "proposal" - ] - }, - { - "title": "exploration", - "type": "string", - "enum": [ - "exploration" - ] - }, - { - "title": "Cooldown", - "type": "string", - "enum": [ - "cooldown" - ] - }, - { - "title": "Promotion", - "type": "string", - "enum": [ - "promotion" - ] - }, - { - "title": "Adoption", - "type": "string", - "enum": [ - "adoption" - ] - } - ] - }, - "start_position": { - "description": "The relative position of the first level of the period with respect to the first level of the Alpha family of protocols.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "index", - "kind", - "start_position" - ] - }, - "position": { - "description": "The position of the block within the voting period.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "remaining": { - "description": "The number of blocks remaining till the end of the voting period.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "voting_period", - "position", - "remaining" - ] - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/votes/total_voting_power": { - "get": { - "description": "Total voting power in the voting listings.", - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "title": "64 bit integers", - "description": "Decimal representation of 64 bit integers", - "type": "string" - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - } - }, - "components": { - "schemas": { - "017-PtNairob.apply_internal_results.alpha.operation_result": { - "oneOf": [ - { - "title": "transaction", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "transaction" - ] - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "nonce": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "parameters": { - "type": "object", - "properties": { - "entrypoint": { - "$ref": "#/components/schemas/017-PtNairob.entrypoint" - }, - "value": {} - }, - "required": [ - "entrypoint", - "value" - ] - }, - "result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.internal_operation_result.transaction" - } - }, - "required": [ - "kind", - "source", - "nonce", - "amount", - "destination", - "result" - ] - }, - { - "title": "origination", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "origination" - ] - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "nonce": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "script": { - "$ref": "#/components/schemas/017-PtNairob.scripted.contracts" - }, - "result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.internal_operation_result.origination" - } - }, - "required": [ - "kind", - "source", - "nonce", - "balance", - "script", - "result" - ] - }, - { - "title": "delegation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "delegation" - ] - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "nonce": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.internal_operation_result.delegation" - } - }, - "required": [ - "kind", - "source", - "nonce", - "result" - ] - }, - { - "title": "event", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "event" - ] - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "nonce": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "tag": { - "$ref": "#/components/schemas/017-PtNairob.entrypoint" - }, - "payload": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.internal_operation_result.event" - } - }, - "required": [ - "kind", - "source", - "nonce", - "type", - "result" - ] - } - ] - }, - "017-PtNairob.big_map_id": { - "title": "Big map identifier", - "description": "A big map identifier", - "oneOf": [ - { - "$ref": "#/components/schemas/bignum" - } - ] - }, - "017-PtNairob.block_header.alpha.full_header": { - "title": "Shell header", - "description": "Block header's shell-related content. It contains information such as the block level, its predecessor and timestamp.", - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - }, - "payload_hash": { - "$ref": "#/components/schemas/value_hash" - }, - "payload_round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proof_of_work_nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "seed_nonce_hash": { - "$ref": "#/components/schemas/cycle_nonce" - }, - "liquidity_baking_toggle_vote": { - "$ref": "#/components/schemas/017-PtNairob.liquidity_baking_toggle_vote" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context", - "payload_hash", - "payload_round", - "proof_of_work_nonce", - "liquidity_baking_toggle_vote", - "signature" - ] - }, - "017-PtNairob.bond_id": { - "oneOf": [ - { - "title": "Tx_rollup_bond_id", - "type": "object", - "properties": { - "tx_rollup": { - "$ref": "#/components/schemas/017-PtNairob.tx_rollup_id" - } - }, - "required": [ - "tx_rollup" - ] - }, - { - "title": "Smart_rollup_bond_id", - "type": "object", - "properties": { - "smart_rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - } - }, - "required": [ - "smart_rollup" - ] - } - ] - }, - "017-PtNairob.contract_id": { - "title": "A contract handle", - "description": "A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash or a base58 originated contract hash.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "017-PtNairob.contract_id.implicit": { - "title": "A contract handle -- implicit account", - "description": "A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "017-PtNairob.contract_id.originated": { - "title": "A contract handle -- originated account", - "description": "A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "017-PtNairob.entrypoint": { - "title": "entrypoint", - "description": "Named entrypoint to a Michelson smart contract", - "oneOf": [ - { - "title": "default", - "type": "string", - "enum": [ - "default" - ] - }, - { - "title": "root", - "type": "string", - "enum": [ - "root" - ] - }, - { - "title": "do", - "type": "string", - "enum": [ - "do" - ] - }, - { - "title": "set_delegate", - "type": "string", - "enum": [ - "set_delegate" - ] - }, - { - "title": "remove_delegate", - "type": "string", - "enum": [ - "remove_delegate" - ] - }, - { - "title": "deposit", - "type": "string", - "enum": [ - "deposit" - ] - }, - { - "title": "named", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - ] - }, - "017-PtNairob.error": { - "description": "The full list of RPC errors would be too long to include.\nIt is available at RPC `/errors` (GET).\nErrors specific to protocol Alpha have an id that starts with `proto.alpha`." - }, - "017-PtNairob.inlined.endorsement": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "operations": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement_mempool.contents" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "branch", - "operations" - ] - }, - "017-PtNairob.inlined.endorsement_mempool.contents": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "endorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - "017-PtNairob.inlined.preendorsement": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "operations": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement.contents" - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "branch", - "operations" - ] - }, - "017-PtNairob.inlined.preendorsement.contents": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "preendorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - "017-PtNairob.lazy_storage_diff": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "big_map", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "big_map" - ] - }, - "id": { - "$ref": "#/components/schemas/017-PtNairob.big_map_id" - }, - "diff": { - "oneOf": [ - { - "title": "update", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "update" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "key": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "value": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "key_hash", - "key" - ] - } - } - }, - "required": [ - "action", - "updates" - ] - }, - { - "title": "remove", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "remove" - ] - } - }, - "required": [ - "action" - ] - }, - { - "title": "copy", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "copy" - ] - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.big_map_id" - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "key": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "value": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "key_hash", - "key" - ] - } - } - }, - "required": [ - "action", - "source", - "updates" - ] - }, - { - "title": "alloc", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "alloc" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "key": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "value": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "key_hash", - "key" - ] - } - }, - "key_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "value_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "action", - "updates", - "key_type", - "value_type" - ] - } - ] - } - }, - "required": [ - "kind", - "id", - "diff" - ] - }, - { - "title": "sapling_state", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "sapling_state" - ] - }, - "id": { - "$ref": "#/components/schemas/017-PtNairob.sapling_state_id" - }, - "diff": { - "oneOf": [ - { - "title": "update", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "update" - ] - }, - "updates": { - "type": "object", - "properties": { - "commitments_and_ciphertexts": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/sapling.transaction.commitment" - }, - { - "$ref": "#/components/schemas/sapling.transaction.ciphertext" - } - ] - } - } - }, - "nullifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/sapling.transaction.nullifier" - } - } - }, - "required": [ - "commitments_and_ciphertexts", - "nullifiers" - ] - } - }, - "required": [ - "action", - "updates" - ] - }, - { - "title": "remove", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "remove" - ] - } - }, - "required": [ - "action" - ] - }, - { - "title": "copy", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "copy" - ] - }, - "source": { - "$ref": "#/components/schemas/017-PtNairob.sapling_state_id" - }, - "updates": { - "type": "object", - "properties": { - "commitments_and_ciphertexts": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/sapling.transaction.commitment" - }, - { - "$ref": "#/components/schemas/sapling.transaction.ciphertext" - } - ] - } - } - }, - "nullifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/sapling.transaction.nullifier" - } - } - }, - "required": [ - "commitments_and_ciphertexts", - "nullifiers" - ] - } - }, - "required": [ - "action", - "source", - "updates" - ] - }, - { - "title": "alloc", - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": [ - "alloc" - ] - }, - "updates": { - "type": "object", - "properties": { - "commitments_and_ciphertexts": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/sapling.transaction.commitment" - }, - { - "$ref": "#/components/schemas/sapling.transaction.ciphertext" - } - ] - } - } - }, - "nullifiers": { - "type": "array", - "items": { - "$ref": "#/components/schemas/sapling.transaction.nullifier" - } - } - }, - "required": [ - "commitments_and_ciphertexts", - "nullifiers" - ] - }, - "memo_size": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - } - }, - "required": [ - "action", - "updates", - "memo_size" - ] - } - ] - } - }, - "required": [ - "kind", - "id", - "diff" - ] - } - ] - } - }, - "017-PtNairob.liquidity_baking_toggle_vote": { - "type": "string", - "enum": [ - "off", - "on", - "pass" - ] - }, - "017-PtNairob.michelson.v1.primitives": { - "type": "string", - "enum": [ - "SHA512", - "HASH_KEY", - "SIZE", - "SAPLING_VERIFY_UPDATE", - "False", - "SAPLING_EMPTY_STATE", - "RENAME", - "sapling_transaction", - "UNPACK", - "NAT", - "unit", - "bls12_381_fr", - "Pair", - "IF_NONE", - "int", - "timestamp", - "storage", - "UNPAIR", - "view", - "BLAKE2B", - "AMOUNT", - "DUP", - "nat", - "NEG", - "bool", - "SELF_ADDRESS", - "ISNAT", - "DIG", - "CHAIN_ID", - "set", - "LSR", - "key", - "address", - "ABS", - "CREATE_CONTRACT", - "SHA256", - "JOIN_TICKETS", - "LEVEL", - "bls12_381_g1", - "operation", - "tx_rollup_l2_address", - "string", - "CHECK_SIGNATURE", - "STEPS_TO_QUOTA", - "SELF", - "DIP", - "lambda", - "AND", - "COMPARE", - "chain_id", - "MAP", - "APPLY", - "Elt", - "BYTES", - "NOT", - "IMPLICIT_ACCOUNT", - "LT", - "UNIT", - "EMIT", - "SET_DELEGATE", - "Some", - "parameter", - "signature", - "ticket", - "EMPTY_BIG_MAP", - "None", - "SUB", - "key_hash", - "ADD", - "map", - "VOTING_POWER", - "big_map", - "CDR", - "GT", - "IF_CONS", - "CONS", - "LSL", - "DUG", - "PACK", - "SHA3", - "SOURCE", - "or", - "SUB_MUTEZ", - "LAMBDA", - "RIGHT", - "CREATE_ACCOUNT", - "Unit", - "CAST", - "NEQ", - "ITER", - "FAILWITH", - "PUSH", - "OPEN_CHEST", - "SOME", - "list", - "BALANCE", - "NIL", - "pair", - "CAR", - "UPDATE", - "TOTAL_VOTING_POWER", - "PAIR", - "constant", - "LAMBDA_REC", - "ADDRESS", - "True", - "Right", - "Lambda_rec", - "IF", - "NEVER", - "sapling_transaction_deprecated", - "SWAP", - "EMPTY_MAP", - "MUL", - "INT", - "option", - "KECCAK", - "LEFT", - "Left", - "chest", - "SPLIT_TICKET", - "chest_key", - "bls12_381_g2", - "EDIV", - "LOOP", - "bytes", - "TICKET", - "LE", - "PAIRING_CHECK", - "MIN_BLOCK_TIME", - "OR", - "contract", - "GET_AND_UPDATE", - "mutez", - "sapling_state", - "NONE", - "IF_LEFT", - "GET", - "NOW", - "TRANSFER_TOKENS", - "LOOP_LEFT", - "CONTRACT", - "TICKET_DEPRECATED", - "VIEW", - "EMPTY_SET", - "XOR", - "never", - "READ_TICKET", - "EQ", - "GE", - "MEM", - "SENDER", - "DROP", - "CONCAT", - "EXEC", - "SLICE", - "code" - ] - }, - "017-PtNairob.mutez": { - "$ref": "#/components/schemas/positive_bignum" - }, - "017-PtNairob.operation.alpha.contents": { - "oneOf": [ - { - "title": "Endorsement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "endorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - { - "title": "Preendorsement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "preendorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash" - ] - }, - { - "title": "Dal_attestation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "dal_attestation" - ] - }, - "attestor": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "attestation": { - "$ref": "#/components/schemas/bignum" - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - } - }, - "required": [ - "kind", - "attestor", - "attestation", - "level" - ] - }, - { - "title": "Seed_nonce_revelation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "seed_nonce_revelation" - ] - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "level", - "nonce" - ] - }, - { - "title": "Vdf_revelation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "vdf_revelation" - ] - }, - "solution": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - ] - } - } - }, - "required": [ - "kind", - "solution" - ] - }, - { - "title": "Double_endorsement_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_endorsement_evidence" - ] - }, - "op1": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement" - }, - "op2": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement" - } - }, - "required": [ - "kind", - "op1", - "op2" - ] - }, - { - "title": "Double_preendorsement_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_preendorsement_evidence" - ] - }, - "op1": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement" - }, - "op2": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement" - } - }, - "required": [ - "kind", - "op1", - "op2" - ] - }, - { - "title": "Double_baking_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_baking_evidence" - ] - }, - "bh1": { - "$ref": "#/components/schemas/017-PtNairob.block_header.alpha.full_header" - }, - "bh2": { - "$ref": "#/components/schemas/017-PtNairob.block_header.alpha.full_header" - } - }, - "required": [ - "kind", - "bh1", - "bh2" - ] - }, - { - "title": "Activate_account", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "activate_account" - ] - }, - "pkh": { - "$ref": "#/components/schemas/Ed25519.Public_key_hash" - }, - "secret": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "pkh", - "secret" - ] - }, - { - "title": "Proposals", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "proposals" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proposals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Protocol_hash" - } - } - }, - "required": [ - "kind", - "source", - "period", - "proposals" - ] - }, - { - "title": "Ballot", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "ballot" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proposal": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "ballot": { - "type": "string", - "enum": [ - "nay", - "yay", - "pass" - ] - } - }, - "required": [ - "kind", - "source", - "period", - "proposal", - "ballot" - ] - }, - { - "title": "Reveal", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "reveal" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "public_key": { - "$ref": "#/components/schemas/Signature.Public_key" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "public_key" - ] - }, - { - "title": "Transaction", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "transaction" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "parameters": { - "type": "object", - "properties": { - "entrypoint": { - "$ref": "#/components/schemas/017-PtNairob.entrypoint" - }, - "value": {} - }, - "required": [ - "entrypoint", - "value" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "amount", - "destination" - ] - }, - { - "title": "Origination", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "origination" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "script": { - "$ref": "#/components/schemas/017-PtNairob.scripted.contracts" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "balance", - "script" - ] - }, - { - "title": "Delegation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "delegation" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit" - ] - }, - { - "title": "Set_deposits_limit", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "set_deposits_limit" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "limit": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit" - ] - }, - { - "title": "Increase_paid_storage", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "increase_paid_storage" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "amount", - "destination" - ] - }, - { - "title": "Update_consensus_key", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "update_consensus_key" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "pk": { - "$ref": "#/components/schemas/Signature.Public_key" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "pk" - ] - }, - { - "title": "Drain_delegate", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "drain_delegate" - ] - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "destination": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "consensus_key", - "delegate", - "destination" - ] - }, - { - "title": "Failing_noop", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "failing_noop" - ] - }, - "arbitrary": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "arbitrary" - ] - }, - { - "title": "Register_global_constant", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "register_global_constant" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "value": {} - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "value" - ] - }, - { - "title": "Transfer_ticket", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "transfer_ticket" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_contents": {}, - "ticket_ty": {}, - "ticket_ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "ticket_amount": { - "$ref": "#/components/schemas/positive_bignum" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "entrypoint": { - "$ref": "#/components/schemas/unistring" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "ticket_contents", - "ticket_ty", - "ticket_ticketer", - "ticket_amount", - "destination", - "entrypoint" - ] - }, - { - "title": "Dal_publish_slot_header", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "dal_publish_slot_header" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "slot_header": { - "type": "object", - "properties": { - "published_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "slot_index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "commitment": { - "$ref": "#/components/schemas/DAL_commitment" - }, - "commitment_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "published_level", - "slot_index", - "commitment", - "commitment_proof" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "slot_header" - ] - }, - { - "title": "Smart_rollup_originate", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_originate" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "pvm_kind": { - "type": "string", - "enum": [ - "wasm_2_0_0", - "arith" - ] - }, - "kernel": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "origination_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "parameters_ty": {} - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "pvm_kind", - "kernel", - "origination_proof", - "parameters_ty" - ] - }, - { - "title": "Smart_rollup_add_messages", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_add_messages" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "message": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "message" - ] - }, - { - "title": "Smart_rollup_cement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_cement" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "commitment": { - "description": "DEPRECATED: This field is not used anymore by the protocol and will be removed in a future proposal.", - "oneOf": [ - { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "commitment" - ] - }, - { - "title": "Smart_rollup_publish", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_publish" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "commitment": { - "type": "object", - "properties": { - "compressed_state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "predecessor": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "number_of_ticks": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "commitment" - ] - }, - { - "title": "Smart_rollup_refute", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_refute" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "opponent": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "refutation": { - "oneOf": [ - { - "title": "Start", - "type": "object", - "properties": { - "refutation_kind": { - "type": "string", - "enum": [ - "start" - ] - }, - "player_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "opponent_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - }, - "required": [ - "refutation_kind", - "player_commitment_hash", - "opponent_commitment_hash" - ] - }, - { - "title": "Move", - "type": "object", - "properties": { - "refutation_kind": { - "type": "string", - "enum": [ - "move" - ] - }, - "choice": { - "$ref": "#/components/schemas/positive_bignum" - }, - "step": { - "oneOf": [ - { - "title": "Dissection", - "type": "array", - "items": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "tick": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "tick" - ] - } - }, - { - "title": "Proof", - "type": "object", - "properties": { - "pvm_step": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "input_proof": { - "oneOf": [ - { - "title": "inbox proof", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "inbox_proof" - ] - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "message_counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "serialized_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "input_proof_kind", - "level", - "message_counter", - "serialized_proof" - ] - }, - { - "title": "reveal proof", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "reveal_proof" - ] - }, - "reveal_proof": { - "oneOf": [ - { - "title": "raw data proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "raw_data_proof" - ] - }, - "raw_data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "reveal_proof_kind", - "raw_data" - ] - }, - { - "title": "metadata proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "metadata_proof" - ] - } - }, - "required": [ - "reveal_proof_kind" - ] - }, - { - "title": "dal page proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "dal_page_proof" - ] - }, - "dal_page_id": { - "type": "object", - "properties": { - "published_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "slot_index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "page_index": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - } - }, - "required": [ - "published_level", - "slot_index", - "page_index" - ] - }, - "dal_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "reveal_proof_kind", - "dal_page_id", - "dal_proof" - ] - } - ] - } - }, - "required": [ - "input_proof_kind", - "reveal_proof" - ] - }, - { - "title": "first input", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "first_input" - ] - } - }, - "required": [ - "input_proof_kind" - ] - } - ] - } - }, - "required": [ - "pvm_step" - ] - } - ] - } - }, - "required": [ - "refutation_kind", - "choice", - "step" - ] - } - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "opponent", - "refutation" - ] - }, - { - "title": "Smart_rollup_timeout", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_timeout" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "stakers": { - "type": "object", - "properties": { - "alice": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "bob": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "alice", - "bob" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "stakers" - ] - }, - { - "title": "Smart_rollup_execute_outbox_message", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_execute_outbox_message" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "cemented_commitment": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "output_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "cemented_commitment", - "output_proof" - ] - }, - { - "title": "Smart_rollup_recover_bond", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_recover_bond" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/Smart_rollup_hash" - }, - "staker": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "staker" - ] - }, - { - "title": "Zk_rollup_origination", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_origination" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "public_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "circuits_info": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "oneOf": [ - { - "title": "Public", - "type": "object", - "properties": { - "public": {} - }, - "required": [ - "public" - ] - }, - { - "title": "Private", - "type": "object", - "properties": { - "private": {} - }, - "required": [ - "private" - ] - }, - { - "title": "Fee", - "type": "object", - "properties": { - "fee": {} - }, - "required": [ - "fee" - ] - } - ] - } - ] - } - } - }, - "init_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "nb_ops": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "public_parameters", - "circuits_info", - "init_state", - "nb_ops" - ] - }, - { - "title": "Zk_rollup_publish", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_publish" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "op": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "op_code": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "price": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/script_expr" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "id", - "amount" - ] - }, - "l1_dst": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "rollup_id": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "payload": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "op_code", - "price", - "l1_dst", - "rollup_id", - "payload" - ] - }, - { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "contents": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "ty": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - } - }, - "required": [ - "contents", - "ty", - "ticketer" - ] - } - ] - } - ] - } - } - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "zk_rollup", - "op" - ] - }, - { - "title": "Zk_rollup_update", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_update" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "update": { - "type": "object", - "properties": { - "pending_pis": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "fee": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "exit_validity": { - "type": "boolean" - } - }, - "required": [ - "new_state", - "fee", - "exit_validity" - ] - } - ] - } - } - }, - "private_pis": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "fee": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "new_state", - "fee" - ] - } - ] - } - } - }, - "fee_pi": { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "new_state" - ] - }, - "proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "pending_pis", - "private_pis", - "fee_pi", - "proof" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "zk_rollup", - "update" - ] - } - ] - }, - "017-PtNairob.operation.alpha.internal_operation_result.delegation": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.internal_operation_result.event": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.internal_operation_result.origination": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.internal_operation_result.transaction": { - "oneOf": [ - { - "title": "Applied", - "oneOf": [ - { - "title": "To_contract", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_receipt": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "allocated_destination_contract": { - "type": "boolean" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - }, - { - "title": "To_tx_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "ticket_hash", - "paid_storage_size_diff" - ] - }, - { - "title": "To_smart_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_receipt": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - } - }, - "required": [ - "status", - "ticket_receipt" - ] - } - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "oneOf": [ - { - "title": "To_contract", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_receipt": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "allocated_destination_contract": { - "type": "boolean" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - }, - { - "title": "To_tx_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "ticket_hash", - "paid_storage_size_diff" - ] - }, - { - "title": "To_smart_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_receipt": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - } - }, - "required": [ - "status", - "ticket_receipt" - ] - } - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_contents_and_result": { - "oneOf": [ - { - "title": "Seed_nonce_revelation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "seed_nonce_revelation" - ] - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "nonce": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - } - } - }, - "required": [ - "kind", - "level", - "nonce", - "metadata" - ] - }, - { - "title": "Vdf_revelation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "vdf_revelation" - ] - }, - "solution": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - ] - } - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - } - } - }, - "required": [ - "kind", - "solution", - "metadata" - ] - }, - { - "title": "Endorsement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "endorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "endorsement_power": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "delegate", - "endorsement_power", - "consensus_key" - ] - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash", - "metadata" - ] - }, - { - "title": "Preendorsement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "preendorsement" - ] - }, - "slot": { - "type": "integer", - "minimum": 0, - "maximum": 65535 - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "round": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "block_payload_hash": { - "$ref": "#/components/schemas/value_hash" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "preendorsement_power": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "delegate", - "preendorsement_power", - "consensus_key" - ] - } - }, - "required": [ - "kind", - "slot", - "level", - "round", - "block_payload_hash", - "metadata" - ] - }, - { - "title": "Dal_attestation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "dal_attestation" - ] - }, - "attestor": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "attestation": { - "$ref": "#/components/schemas/bignum" - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "metadata": { - "type": "object", - "properties": { - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "delegate" - ] - } - }, - "required": [ - "kind", - "attestor", - "attestation", - "level", - "metadata" - ] - }, - { - "title": "Double_preendorsement_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_preendorsement_evidence" - ] - }, - "op1": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement" - }, - "op2": { - "$ref": "#/components/schemas/017-PtNairob.inlined.preendorsement" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - } - } - }, - "required": [ - "kind", - "op1", - "op2", - "metadata" - ] - }, - { - "title": "Double_endorsement_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_endorsement_evidence" - ] - }, - "op1": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement" - }, - "op2": { - "$ref": "#/components/schemas/017-PtNairob.inlined.endorsement" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - } - } - }, - "required": [ - "kind", - "op1", - "op2", - "metadata" - ] - }, - { - "title": "Double_baking_evidence", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "double_baking_evidence" - ] - }, - "bh1": { - "$ref": "#/components/schemas/017-PtNairob.block_header.alpha.full_header" - }, - "bh2": { - "$ref": "#/components/schemas/017-PtNairob.block_header.alpha.full_header" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - } - } - }, - "required": [ - "kind", - "bh1", - "bh2", - "metadata" - ] - }, - { - "title": "Activate_account", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "activate_account" - ] - }, - "pkh": { - "$ref": "#/components/schemas/Ed25519.Public_key_hash" - }, - "secret": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - } - } - }, - "required": [ - "kind", - "pkh", - "secret", - "metadata" - ] - }, - { - "title": "Proposals", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "proposals" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proposals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Protocol_hash" - } - }, - "metadata": { - "type": "object", - "properties": {} - } - }, - "required": [ - "kind", - "source", - "period", - "proposals", - "metadata" - ] - }, - { - "title": "Ballot", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "ballot" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "period": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proposal": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "ballot": { - "type": "string", - "enum": [ - "nay", - "yay", - "pass" - ] - }, - "metadata": { - "type": "object", - "properties": {} - } - }, - "required": [ - "kind", - "source", - "period", - "proposal", - "ballot", - "metadata" - ] - }, - { - "title": "Reveal", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "reveal" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "public_key": { - "$ref": "#/components/schemas/Signature.Public_key" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.reveal" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "public_key", - "metadata" - ] - }, - { - "title": "Transaction", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "transaction" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "amount": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "parameters": { - "type": "object", - "properties": { - "entrypoint": { - "$ref": "#/components/schemas/017-PtNairob.entrypoint" - }, - "value": {} - }, - "required": [ - "entrypoint", - "value" - ] - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.transaction" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "amount", - "destination", - "metadata" - ] - }, - { - "title": "Origination", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "origination" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "balance": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "script": { - "$ref": "#/components/schemas/017-PtNairob.scripted.contracts" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.origination" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "balance", - "script", - "metadata" - ] - }, - { - "title": "Delegation", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "delegation" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.delegation" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "metadata" - ] - }, - { - "title": "Register_global_constant", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "register_global_constant" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "value": {}, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.register_global_constant" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "value", - "metadata" - ] - }, - { - "title": "Set_deposits_limit", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "set_deposits_limit" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "limit": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.set_deposits_limit" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "metadata" - ] - }, - { - "title": "Increase_paid_storage", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "increase_paid_storage" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.increase_paid_storage" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "amount", - "destination", - "metadata" - ] - }, - { - "title": "Update_consensus_key", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "update_consensus_key" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "pk": { - "$ref": "#/components/schemas/Signature.Public_key" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.update_consensus_key" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "pk", - "metadata" - ] - }, - { - "title": "Drain_delegate", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "drain_delegate" - ] - }, - "consensus_key": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "destination": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "allocated_destination_contract": { - "type": "boolean" - } - } - } - }, - "required": [ - "kind", - "consensus_key", - "delegate", - "destination", - "metadata" - ] - }, - { - "title": "Transfer_ticket", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "transfer_ticket" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_contents": {}, - "ticket_ty": {}, - "ticket_ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "ticket_amount": { - "$ref": "#/components/schemas/positive_bignum" - }, - "destination": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "entrypoint": { - "$ref": "#/components/schemas/unistring" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.transfer_ticket" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "ticket_contents", - "ticket_ty", - "ticket_ticketer", - "ticket_amount", - "destination", - "entrypoint", - "metadata" - ] - }, - { - "title": "Dal_publish_slot_header", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "dal_publish_slot_header" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "slot_header": { - "type": "object", - "properties": { - "published_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "slot_index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "commitment": { - "$ref": "#/components/schemas/DAL_commitment" - }, - "commitment_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "published_level", - "slot_index", - "commitment", - "commitment_proof" - ] - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "slot_header", - "metadata" - ] - }, - { - "title": "Smart_rollup_originate", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_originate" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "pvm_kind": { - "type": "string", - "enum": [ - "wasm_2_0_0", - "arith" - ] - }, - "kernel": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "origination_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "parameters_ty": {}, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_originate" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "pvm_kind", - "kernel", - "origination_proof", - "parameters_ty", - "metadata" - ] - }, - { - "title": "Smart_rollup_add_messages", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_add_messages" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "message": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "message", - "metadata" - ] - }, - { - "title": "Smart_rollup_cement", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_cement" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "commitment": { - "description": "DEPRECATED: This field is not used anymore by the protocol and will be removed in a future proposal.", - "oneOf": [ - { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - ] - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_cement" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "commitment", - "metadata" - ] - }, - { - "title": "Smart_rollup_publish", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_publish" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "commitment": { - "type": "object", - "properties": { - "compressed_state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "predecessor": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "number_of_ticks": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" - ] - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_publish" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "commitment", - "metadata" - ] - }, - { - "title": "Smart_rollup_refute", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_refute" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "opponent": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "refutation": { - "oneOf": [ - { - "title": "Start", - "type": "object", - "properties": { - "refutation_kind": { - "type": "string", - "enum": [ - "start" - ] - }, - "player_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "opponent_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - }, - "required": [ - "refutation_kind", - "player_commitment_hash", - "opponent_commitment_hash" - ] - }, - { - "title": "Move", - "type": "object", - "properties": { - "refutation_kind": { - "type": "string", - "enum": [ - "move" - ] - }, - "choice": { - "$ref": "#/components/schemas/positive_bignum" - }, - "step": { - "oneOf": [ - { - "title": "Dissection", - "type": "array", - "items": { - "type": "object", - "properties": { - "state": { - "$ref": "#/components/schemas/Smart_rollup_state_hash" - }, - "tick": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "tick" - ] - } - }, - { - "title": "Proof", - "type": "object", - "properties": { - "pvm_step": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "input_proof": { - "oneOf": [ - { - "title": "inbox proof", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "inbox_proof" - ] - }, - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "message_counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "serialized_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "input_proof_kind", - "level", - "message_counter", - "serialized_proof" - ] - }, - { - "title": "reveal proof", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "reveal_proof" - ] - }, - "reveal_proof": { - "oneOf": [ - { - "title": "raw data proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "raw_data_proof" - ] - }, - "raw_data": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "reveal_proof_kind", - "raw_data" - ] - }, - { - "title": "metadata proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "metadata_proof" - ] - } - }, - "required": [ - "reveal_proof_kind" - ] - }, - { - "title": "dal page proof", - "type": "object", - "properties": { - "reveal_proof_kind": { - "type": "string", - "enum": [ - "dal_page_proof" - ] - }, - "dal_page_id": { - "type": "object", - "properties": { - "published_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "slot_index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "page_index": { - "type": "integer", - "minimum": -32768, - "maximum": 32767 - } - }, - "required": [ - "published_level", - "slot_index", - "page_index" - ] - }, - "dal_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "reveal_proof_kind", - "dal_page_id", - "dal_proof" - ] - } - ] - } - }, - "required": [ - "input_proof_kind", - "reveal_proof" - ] - }, - { - "title": "first input", - "type": "object", - "properties": { - "input_proof_kind": { - "type": "string", - "enum": [ - "first_input" - ] - } - }, - "required": [ - "input_proof_kind" - ] - } - ] - } - }, - "required": [ - "pvm_step" - ] - } - ] - } - }, - "required": [ - "refutation_kind", - "choice", - "step" - ] - } - ] - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_refute" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "opponent", - "refutation", - "metadata" - ] - }, - { - "title": "Smart_rollup_timeout", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_timeout" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "stakers": { - "type": "object", - "properties": { - "alice": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "bob": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "alice", - "bob" - ] - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "stakers", - "metadata" - ] - }, - { - "title": "Smart_rollup_execute_outbox_message", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_execute_outbox_message" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/017-PtNairob.smart_rollup_address" - }, - "cemented_commitment": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "output_proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "cemented_commitment", - "output_proof", - "metadata" - ] - }, - { - "title": "Smart_rollup_recover_bond", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "smart_rollup_recover_bond" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "rollup": { - "$ref": "#/components/schemas/Smart_rollup_hash" - }, - "staker": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "rollup", - "staker", - "metadata" - ] - }, - { - "title": "Zk_rollup_origination", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_origination" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "public_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "circuits_info": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "oneOf": [ - { - "title": "Public", - "type": "object", - "properties": { - "public": {} - }, - "required": [ - "public" - ] - }, - { - "title": "Private", - "type": "object", - "properties": { - "private": {} - }, - "required": [ - "private" - ] - }, - { - "title": "Fee", - "type": "object", - "properties": { - "fee": {} - }, - "required": [ - "fee" - ] - } - ] - } - ] - } - } - }, - "init_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "nb_ops": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.zk_rollup_origination" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "public_parameters", - "circuits_info", - "init_state", - "nb_ops", - "metadata" - ] - }, - { - "title": "Zk_rollup_publish", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_publish" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "op": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "op_code": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "price": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/script_expr" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "id", - "amount" - ] - }, - "l1_dst": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "rollup_id": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "payload": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "op_code", - "price", - "l1_dst", - "rollup_id", - "payload" - ] - }, - { - "nullable": true, - "oneOf": [ - { - "title": "Some", - "type": "object", - "properties": { - "contents": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "ty": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - } - }, - "required": [ - "contents", - "ty", - "ticketer" - ] - } - ] - } - ] - } - } - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.zk_rollup_publish" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "zk_rollup", - "op", - "metadata" - ] - }, - { - "title": "Zk_rollup_update", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "zk_rollup_update" - ] - }, - "source": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "fee": { - "$ref": "#/components/schemas/017-PtNairob.mutez" - }, - "counter": { - "$ref": "#/components/schemas/positive_bignum" - }, - "gas_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_limit": { - "$ref": "#/components/schemas/positive_bignum" - }, - "zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "update": { - "type": "object", - "properties": { - "pending_pis": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "fee": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "exit_validity": { - "type": "boolean" - } - }, - "required": [ - "new_state", - "fee", - "exit_validity" - ] - } - ] - } - } - }, - "private_pis": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "fee": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "new_state", - "fee" - ] - } - ] - } - } - }, - "fee_pi": { - "type": "object", - "properties": { - "new_state": { - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - } - }, - "required": [ - "new_state" - ] - }, - "proof": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "pending_pis", - "private_pis", - "fee_pi", - "proof" - ] - }, - "metadata": { - "type": "object", - "properties": { - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "operation_result": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_result.zk_rollup_update" - }, - "internal_operation_results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.apply_internal_results.alpha.operation_result" - } - } - }, - "required": [ - "operation_result" - ] - } - }, - "required": [ - "kind", - "source", - "fee", - "counter", - "gas_limit", - "storage_limit", - "zk_rollup", - "update", - "metadata" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "slot_header": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "commitment": { - "$ref": "#/components/schemas/DAL_commitment" - } - }, - "required": [ - "level", - "index", - "commitment" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "slot_header" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "slot_header": { - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "index": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "commitment": { - "$ref": "#/components/schemas/DAL_commitment" - } - }, - "required": [ - "level", - "index", - "commitment" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "slot_header" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.delegation": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.increase_paid_storage": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.origination": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.register_global_constant": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "global_address": { - "$ref": "#/components/schemas/script_expr" - } - }, - "required": [ - "status", - "global_address" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "global_address": { - "$ref": "#/components/schemas/script_expr" - } - }, - "required": [ - "status", - "global_address" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.reveal": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.set_deposits_limit": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_cement": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - }, - "required": [ - "status", - "inbox_level", - "commitment_hash" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "inbox_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - } - }, - "required": [ - "status", - "inbox_level", - "commitment_hash" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "ticket_updates" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "ticket_updates" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_originate": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "address": { - "$ref": "#/components/schemas/Smart_rollup_hash" - }, - "genesis_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "size": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "address", - "genesis_commitment_hash", - "size" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "address": { - "$ref": "#/components/schemas/Smart_rollup_hash" - }, - "genesis_commitment_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "size": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "address", - "genesis_commitment_hash", - "size" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_publish": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "staked_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "published_at_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - }, - "required": [ - "status", - "staked_hash", - "published_at_level", - "balance_updates" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "staked_hash": { - "$ref": "#/components/schemas/Smart_rollup_commitment_hash" - }, - "published_at_level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - }, - "required": [ - "status", - "staked_hash", - "published_at_level", - "balance_updates" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "balance_updates" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "balance_updates" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_refute": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "game_status": { - "oneOf": [ - { - "title": "Ongoing", - "type": "string", - "enum": [ - "ongoing" - ] - }, - { - "title": "Ended", - "type": "object", - "properties": { - "result": { - "oneOf": [ - { - "title": "Loser", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "loser" - ] - }, - "reason": { - "oneOf": [ - { - "title": "Conflict_resolved", - "type": "string", - "enum": [ - "conflict_resolved" - ] - }, - { - "title": "Timeout", - "type": "string", - "enum": [ - "timeout" - ] - } - ] - }, - "player": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "reason", - "player" - ] - }, - { - "title": "Draw", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "draw" - ] - } - }, - "required": [ - "kind" - ] - } - ] - } - }, - "required": [ - "result" - ] - } - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - }, - "required": [ - "status", - "game_status", - "balance_updates" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "game_status": { - "oneOf": [ - { - "title": "Ongoing", - "type": "string", - "enum": [ - "ongoing" - ] - }, - { - "title": "Ended", - "type": "object", - "properties": { - "result": { - "oneOf": [ - { - "title": "Loser", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "loser" - ] - }, - "reason": { - "oneOf": [ - { - "title": "Conflict_resolved", - "type": "string", - "enum": [ - "conflict_resolved" - ] - }, - { - "title": "Timeout", - "type": "string", - "enum": [ - "timeout" - ] - } - ] - }, - "player": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "reason", - "player" - ] - }, - { - "title": "Draw", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "draw" - ] - } - }, - "required": [ - "kind" - ] - } - ] - } - }, - "required": [ - "result" - ] - } - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - }, - "required": [ - "status", - "game_status", - "balance_updates" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "game_status": { - "oneOf": [ - { - "title": "Ongoing", - "type": "string", - "enum": [ - "ongoing" - ] - }, - { - "title": "Ended", - "type": "object", - "properties": { - "result": { - "oneOf": [ - { - "title": "Loser", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "loser" - ] - }, - "reason": { - "oneOf": [ - { - "title": "Conflict_resolved", - "type": "string", - "enum": [ - "conflict_resolved" - ] - }, - { - "title": "Timeout", - "type": "string", - "enum": [ - "timeout" - ] - } - ] - }, - "player": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "reason", - "player" - ] - }, - { - "title": "Draw", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "draw" - ] - } - }, - "required": [ - "kind" - ] - } - ] - } - }, - "required": [ - "result" - ] - } - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - }, - "required": [ - "status", - "game_status", - "balance_updates" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "game_status": { - "oneOf": [ - { - "title": "Ongoing", - "type": "string", - "enum": [ - "ongoing" - ] - }, - { - "title": "Ended", - "type": "object", - "properties": { - "result": { - "oneOf": [ - { - "title": "Loser", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "loser" - ] - }, - "reason": { - "oneOf": [ - { - "title": "Conflict_resolved", - "type": "string", - "enum": [ - "conflict_resolved" - ] - }, - { - "title": "Timeout", - "type": "string", - "enum": [ - "timeout" - ] - } - ] - }, - "player": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - } - }, - "required": [ - "kind", - "reason", - "player" - ] - }, - { - "title": "Draw", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "draw" - ] - } - }, - "required": [ - "kind" - ] - } - ] - } - }, - "required": [ - "result" - ] - } - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - } - }, - "required": [ - "status", - "game_status", - "balance_updates" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.transaction": { - "oneOf": [ - { - "title": "Applied", - "oneOf": [ - { - "title": "To_contract", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "allocated_destination_contract": { - "type": "boolean" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - }, - { - "title": "To_tx_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "ticket_hash", - "paid_storage_size_diff" - ] - }, - { - "title": "To_smart_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - } - }, - "required": [ - "status", - "ticket_updates" - ] - } - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "oneOf": [ - { - "title": "To_contract", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "storage": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "originated_contracts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.contract_id.originated" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "storage_size": { - "$ref": "#/components/schemas/bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - }, - "allocated_destination_contract": { - "type": "boolean" - }, - "lazy_storage_diff": { - "$ref": "#/components/schemas/017-PtNairob.lazy_storage_diff" - } - }, - "required": [ - "status" - ] - }, - { - "title": "To_tx_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_hash": { - "$ref": "#/components/schemas/script_expr" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status", - "ticket_hash", - "paid_storage_size_diff" - ] - }, - { - "title": "To_smart_rollup", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - } - }, - "required": [ - "status", - "ticket_updates" - ] - } - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.transfer_ticket": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "ticket_updates" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "ticket_updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ticket_token": { - "type": "object", - "properties": { - "ticketer": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "content_type": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - }, - "content": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "required": [ - "ticketer", - "content_type", - "content" - ] - }, - "updates": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account": { - "$ref": "#/components/schemas/017-PtNairob.transaction_destination" - }, - "amount": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "account", - "amount" - ] - } - } - }, - "required": [ - "ticket_token", - "updates" - ] - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "ticket_updates" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.update_consensus_key": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - } - }, - "required": [ - "status" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.zk_rollup_origination": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "originated_zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "size": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "originated_zk_rollup", - "size" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "originated_zk_rollup": { - "$ref": "#/components/schemas/Zk_rollup_hash" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "size": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "originated_zk_rollup", - "size" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.zk_rollup_publish": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "size": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "size" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "size": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates", - "size" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_result.zk_rollup_update": { - "oneOf": [ - { - "title": "Applied", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "applied" - ] - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates" - ] - }, - { - "title": "Failed", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "failed" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - } - }, - "required": [ - "status", - "errors" - ] - }, - { - "title": "Skipped", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "skipped" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Backtracked", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "backtracked" - ] - }, - "errors": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.error" - } - }, - "balance_updates": { - "$ref": "#/components/schemas/017-PtNairob.operation_metadata.alpha.balance_updates" - }, - "consumed_milligas": { - "$ref": "#/components/schemas/positive_bignum" - }, - "paid_storage_size_diff": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "status", - "balance_updates" - ] - } - ] - }, - "017-PtNairob.operation.alpha.operation_with_metadata": { - "oneOf": [ - { - "title": "Operation_with_metadata", - "type": "object", - "properties": { - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.operation_contents_and_result" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "contents" - ] - }, - { - "title": "Operation_without_metadata", - "type": "object", - "properties": { - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "contents" - ] - } - ] - }, - "017-PtNairob.operation_metadata.alpha.balance_updates": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "Contract", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "contract" - ] - }, - "contract": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "contract", - "change", - "origin" - ] - }, - { - "title": "Block_fees", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "accumulator" - ] - }, - "category": { - "type": "string", - "enum": [ - "block fees" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Deposits", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "freezer" - ] - }, - "category": { - "type": "string", - "enum": [ - "deposits" - ] - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "delegate", - "change", - "origin" - ] - }, - { - "title": "Nonce_revelation_rewards", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "nonce revelation rewards" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Double_signing_evidence_rewards", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "double signing evidence rewards" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Endorsing_rewards", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "endorsing rewards" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Baking_rewards", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "baking rewards" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Baking_bonuses", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "baking bonuses" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Storage_fees", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "burned" - ] - }, - "category": { - "type": "string", - "enum": [ - "storage fees" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Double_signing_punishments", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "burned" - ] - }, - "category": { - "type": "string", - "enum": [ - "punishments" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Lost_endorsing_rewards", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "burned" - ] - }, - "category": { - "type": "string", - "enum": [ - "lost endorsing rewards" - ] - }, - "delegate": { - "$ref": "#/components/schemas/Signature.Public_key_hash" - }, - "participation": { - "type": "boolean" - }, - "revelation": { - "type": "boolean" - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "delegate", - "participation", - "revelation", - "change", - "origin" - ] - }, - { - "title": "Liquidity_baking_subsidies", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "subsidy" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Burned", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "burned" - ] - }, - "category": { - "type": "string", - "enum": [ - "burned" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Commitments", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "commitment" - ] - }, - "category": { - "type": "string", - "enum": [ - "commitment" - ] - }, - "committer": { - "$ref": "#/components/schemas/Blinded public key hash" - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "committer", - "change", - "origin" - ] - }, - { - "title": "Bootstrap", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "bootstrap" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Invoice", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "invoice" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Initial_commitments", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "commitment" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Minted", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "minted" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Frozen_bonds", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "freezer" - ] - }, - "category": { - "type": "string", - "enum": [ - "bonds" - ] - }, - "contract": { - "$ref": "#/components/schemas/017-PtNairob.contract_id" - }, - "bond_id": { - "$ref": "#/components/schemas/017-PtNairob.bond_id" - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "contract", - "bond_id", - "change", - "origin" - ] - }, - { - "title": "Tx_rollup_rejection_rewards", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "tx_rollup_rejection_rewards" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Tx_rollup_rejection_punishments", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "burned" - ] - }, - "category": { - "type": "string", - "enum": [ - "tx_rollup_rejection_punishments" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Smart_rollup_refutation_punishments", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "burned" - ] - }, - "category": { - "type": "string", - "enum": [ - "smart_rollup_refutation_punishments" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - }, - { - "title": "Smart_rollup_refutation_rewards", - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "minted" - ] - }, - "category": { - "type": "string", - "enum": [ - "smart_rollup_refutation_rewards" - ] - }, - "change": { - "$ref": "#/components/schemas/int64" - }, - "origin": { - "oneOf": [ - { - "title": "Block_application", - "type": "string", - "enum": [ - "block" - ] - }, - { - "title": "Protocol_migration", - "type": "string", - "enum": [ - "migration" - ] - }, - { - "title": "Subsidy", - "type": "string", - "enum": [ - "subsidy" - ] - }, - { - "title": "Simulation", - "type": "string", - "enum": [ - "simulation" - ] - } - ] - } - }, - "required": [ - "kind", - "category", - "change", - "origin" - ] - } - ] - } - }, - "017-PtNairob.sapling_state_id": { - "title": "Sapling state identifier", - "description": "A sapling state identifier", - "oneOf": [ - { - "$ref": "#/components/schemas/bignum" - } - ] - }, - "017-PtNairob.scripted.contracts": { - "type": "object", - "properties": { - "code": {}, - "storage": {} - }, - "required": [ - "code", - "storage" - ] - }, - "017-PtNairob.scripted.trace": { - "type": "array", - "items": { - "type": "object", - "properties": { - "location": { - "$ref": "#/components/schemas/micheline.location" - }, - "gas": { - "$ref": "#/components/schemas/bignum" - }, - "stack": { - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - } - }, - "required": [ - "location", - "gas", - "stack" - ] - } - }, - "017-PtNairob.smart_rollup_address": { - "title": "A smart rollup address", - "description": "A smart rollup is identified by a base58 address starting with sr1", - "oneOf": [ - { - "$ref": "#/components/schemas/Smart_rollup_hash" - } - ] - }, - "017-PtNairob.transaction_destination": { - "title": "A destination of a transaction", - "description": "A destination notation compatible with the contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash, a base58 originated contract hash, a base58 originated transaction rollup, or a base58 originated smart rollup.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "017-PtNairob.tx_rollup_id": { - "title": "A tx rollup handle", - "description": "A tx rollup notation as given to an RPC or inside scripts, is a base58 tx rollup hash", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Blinded public key hash": { - "title": "A blinded public key hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Bls12_381.Public_key_hash": { - "title": "A Bls12_381 public key hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Chain_id": { - "title": "Network identifier (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Commitment_hash": { - "title": "A commitment ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Context_hash": { - "title": "A hash of context (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Contract_hash": { - "title": "A contract ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "DAL_commitment": { - "title": "Commitment representation for the DAL (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Ed25519.Public_key_hash": { - "title": "An Ed25519 public key hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Inbox_list_hash": { - "title": "A merkle root hash for inboxes (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Message_result_hash": { - "title": "A message result hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Message_result_list_hash": { - "title": "A merklised message result list hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Operation_hash": { - "title": "A Tezos operation ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Operation_list_list_hash": { - "title": "A list of list of operations (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Operation_metadata_hash": { - "title": "A Tezos operation metadata ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Protocol_hash": { - "title": "A Tezos protocol ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Signature.Public_key": { - "title": "A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Signature.Public_key_hash": { - "title": "A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Signature.V0": { - "title": "A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Signature.V1": { - "title": "A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_commitment_hash": { - "title": "The hash of a commitment of a smart rollup (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_hash": { - "title": "A smart rollup address (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_inbox_hash": { - "title": "The hash of an inbox of a smart rollup (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_merkelized_payload_hashes_hash": { - "title": "The merkelized payload hashes' hash of the smart rollup inbox (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Smart_rollup_state_hash": { - "title": "The hash of the VM state of a smart rollup (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Tx_rollup_inbox_message_hash": { - "title": "The hash of a transaction rollup inbox’s message (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Withdraw_list_hash": { - "title": "A list of withdraw orders (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "Zk_rollup_hash": { - "title": "A zk rollup address (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "bignum": { - "title": "Big number", - "description": "Decimal representation of a big number", - "type": "string" - }, - "block_hash": { - "title": "A block identifier (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "block_header.shell": { - "title": "Shell header", - "description": "Block header's shell-related content. It contains information such as the block level, its predecessor and timestamp.", - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context" - ] - }, - "block_header_metadata": { - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "next_protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "test_chain_status": { - "$ref": "#/components/schemas/test_chain_status" - }, - "max_operations_ttl": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_operation_data_length": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_block_header_length": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_operation_list_length": { - "type": "array", - "items": { - "type": "object", - "properties": { - "max_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_op": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - }, - "required": [ - "max_size" - ] - } - } - }, - "required": [ - "protocol", - "next_protocol", - "test_chain_status", - "max_operations_ttl", - "max_operation_data_length", - "max_block_header_length", - "max_operation_list_length" - ], - "additionalProperties": {} - }, - "block_header_metadata_with_legacy_attestation_name": { - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "next_protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "test_chain_status": { - "$ref": "#/components/schemas/test_chain_status" - }, - "max_operations_ttl": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_operation_data_length": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_block_header_length": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_operation_list_length": { - "type": "array", - "items": { - "type": "object", - "properties": { - "max_size": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "max_op": { - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - } - }, - "required": [ - "max_size" - ] - } - } - }, - "required": [ - "protocol", - "next_protocol", - "test_chain_status", - "max_operations_ttl", - "max_operation_data_length", - "max_block_header_length", - "max_operation_list_length" - ], - "additionalProperties": {} - }, - "cycle_nonce": { - "title": "A nonce hash (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "dal_skip_list_pointer": { - "title": "A hash that represents the skip list pointers (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "error": { - "description": "The full list of errors is available with the global RPC `GET errors`" - }, - "fitness": { - "title": "Block fitness", - "description": "The fitness, or score, of a block, that allow the Tezos to decide which chain is the best. A fitness value is a list of byte sequences. They are compared as follows: shortest lists are smaller; lists of the same length are compared according to the lexicographical order.", - "type": "array", - "items": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "inode_tree": { - "oneOf": [ - { - "title": "Inode_tree", - "type": "object", - "properties": { - "inode_tree": { - "type": "object", - "properties": { - "length": { - "$ref": "#/components/schemas/int64" - }, - "proofs": { - "oneOf": [ - { - "title": "sparse_proof", - "type": "object", - "properties": { - "sparse_proof": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - { - "$ref": "#/components/schemas/inode_tree" - } - ] - } - } - } - }, - "required": [ - "sparse_proof" - ] - }, - { - "title": "dense_proof", - "type": "object", - "properties": { - "dense_proof": { - "type": "array", - "items": { - "$ref": "#/components/schemas/inode_tree" - } - } - }, - "required": [ - "dense_proof" - ] - } - ] - } - }, - "required": [ - "length", - "proofs" - ] - } - }, - "required": [ - "inode_tree" - ] - }, - { - "title": "other_inode_trees", - "type": "object", - "properties": { - "other_inode_trees": { - "oneOf": [ - { - "title": "Inode_values", - "type": "object", - "properties": { - "inode_values": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "$ref": "#/components/schemas/tree_encoding" - } - ] - } - } - } - }, - "required": [ - "inode_values" - ] - }, - { - "title": "other_inode_trees", - "type": "object", - "properties": { - "other_inode_trees": { - "oneOf": [ - { - "title": "Blinded_inode", - "type": "object", - "properties": { - "blinded_inode": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "blinded_inode" - ] - }, - { - "title": "Inode_extender", - "type": "object", - "properties": { - "inode_extender": { - "type": "object", - "properties": { - "length": { - "$ref": "#/components/schemas/int64" - }, - "segment": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "proof": { - "$ref": "#/components/schemas/inode_tree" - } - }, - "required": [ - "length", - "segment", - "proof" - ] - } - }, - "required": [ - "inode_extender" - ] - }, - { - "title": "None", - "type": "object", - "properties": { - "none": {} - }, - "required": [ - "none" - ] - } - ] - } - }, - "required": [ - "other_inode_trees" - ] - } - ] - } - }, - "required": [ - "other_inode_trees" - ] - } - ] - }, - "int64": { - "title": "64 bit integers", - "description": "Decimal representation of 64 bit integers", - "type": "string" - }, - "merkle_tree": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - }, - { - "oneOf": [ - { - "title": "Hash", - "type": "array", - "items": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "#/components/schemas/unistring" - } - ] - } - }, - { - "title": "Data", - "oneOf": [ - { - "$ref": "#/components/schemas/raw_context" - } - ] - }, - { - "title": "Continue", - "oneOf": [ - { - "$ref": "#/components/schemas/merkle_tree" - } - ] - } - ] - } - ] - } - } - }, - "micheline.017-PtNairob.michelson_v1.expression": { - "oneOf": [ - { - "title": "Int", - "type": "object", - "properties": { - "int": { - "$ref": "#/components/schemas/bignum" - } - }, - "required": [ - "int" - ] - }, - { - "title": "String", - "type": "object", - "properties": { - "string": { - "$ref": "#/components/schemas/unistring" - } - }, - "required": [ - "string" - ] - }, - { - "title": "Bytes", - "type": "object", - "properties": { - "bytes": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "bytes" - ] - }, - { - "title": "Sequence", - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - { - "title": "Prim__generic", - "description": "Generic primitive (any number of args with or without annotations)", - "type": "object", - "properties": { - "prim": { - "$ref": "#/components/schemas/017-PtNairob.michelson.v1.primitives" - }, - "args": { - "type": "array", - "items": { - "$ref": "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" - } - }, - "annots": { - "type": "array", - "items": { - "$ref": "#/components/schemas/unistring" - } - } - }, - "required": [ - "prim" - ] - } - ] - }, - "micheline.location": { - "title": "Canonical location in a Micheline expression", - "description": "The location of a node in a Micheline expression tree in prefix order, with zero being the root and adding one for every basic node, sequence and primitive application.", - "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 - }, - "next_operation": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "protocol", - "branch", - "contents" - ] - }, - "next_operation_with_legacy_attestation_name": { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf" - ] - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "contents": { - "type": "array", - "items": { - "$ref": "#/components/schemas/017-PtNairob.operation.alpha.contents" - } - }, - "signature": { - "$ref": "#/components/schemas/Signature.V1" - } - }, - "required": [ - "protocol", - "branch", - "contents" - ] - }, - "operation": { - "oneOf": [ - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "metadata": { - "type": "string", - "enum": [ - "too large" - ] - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "branch", - "metadata" - ], - "additionalProperties": {} - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "branch" - ], - "additionalProperties": {} - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "branch" - ], - "additionalProperties": {} - } - ] - }, - "operation_with_legacy_attestation_name": { - "oneOf": [ - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - }, - "metadata": { - "type": "string", - "enum": [ - "too large" - ] - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "branch", - "metadata" - ], - "additionalProperties": {} - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "branch" - ], - "additionalProperties": {} - }, - { - "description": "An operation's shell header.", - "type": "object", - "properties": { - "protocol": { - "type": "string", - "enum": [ - "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "hash": { - "$ref": "#/components/schemas/Operation_hash" - }, - "branch": { - "$ref": "#/components/schemas/block_hash" - } - }, - "required": [ - "protocol", - "chain_id", - "hash", - "branch" - ], - "additionalProperties": {} - } - ] - }, - "positive_bignum": { - "title": "Positive big number", - "description": "Decimal representation of a positive big number", - "type": "string" - }, - "random": { - "title": "A random generation state (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "raw_block_header": { - "title": "Shell header", - "description": "Block header's shell-related content. It contains information such as the block level, its predecessor and timestamp.", - "type": "object", - "properties": { - "level": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 - }, - "proto": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "predecessor": { - "$ref": "#/components/schemas/block_hash" - }, - "timestamp": { - "$ref": "#/components/schemas/timestamp.protocol" - }, - "validation_pass": { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - "operations_hash": { - "$ref": "#/components/schemas/Operation_list_list_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "context": { - "$ref": "#/components/schemas/Context_hash" - }, - "content": { - "oneOf": [ - { - "title": "Activate", - "type": "object", - "properties": { - "command": { - "type": "string", - "enum": [ - "activate" - ] - }, - "hash": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "protocol_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "command", - "hash", - "fitness", - "protocol_parameters" - ] - }, - { - "title": "Activate_testchain", - "type": "object", - "properties": { - "command": { - "type": "string", - "enum": [ - "activate_testchain" - ] - }, - "hash": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "fitness": { - "$ref": "#/components/schemas/fitness" - }, - "protocol_parameters": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "validity_time": { - "$ref": "#/components/schemas/int64" - } - }, - "required": [ - "command", - "hash", - "fitness", - "protocol_parameters", - "validity_time" - ] - } - ] - }, - "signature": { - "$ref": "#/components/schemas/Signature.V0" - } - }, - "required": [ - "level", - "proto", - "predecessor", - "timestamp", - "validation_pass", - "operations_hash", - "fitness", - "context", - "content", - "signature" - ] - }, - "raw_context": { - "nullable": true, - "oneOf": [ - { - "title": "Key", - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "title": "Dir", - "type": "object", - "properties": {}, - "additionalProperties": { - "$ref": "#/components/schemas/raw_context" - } - } - ] - }, - "sapling.DH.epk": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "sapling.transaction.ciphertext": { - "type": "object", - "properties": { - "cv": { - "$ref": "#/components/schemas/sapling.transaction.commitment_value" - }, - "epk": { - "$ref": "#/components/schemas/sapling.DH.epk" - }, - "payload_enc": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "nonce_enc": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "payload_out": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "nonce_out": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - }, - "required": [ - "cv", - "epk", - "payload_enc", - "nonce_enc", - "payload_out", - "nonce_out" - ] - }, - "sapling.transaction.commitment": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "sapling.transaction.commitment_hash": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "sapling.transaction.commitment_value": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "sapling.transaction.nullifier": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "script_expr": { - "title": "A script expression ID (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "test_chain_status": { - "description": "The status of the test chain: not_running (there is no test chain at the moment), forking (the test chain is being setup), running (the test chain is running).", - "oneOf": [ - { - "title": "Not_running", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "not_running" - ] - } - }, - "required": [ - "status" - ] - }, - { - "title": "Forking", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "forking" - ] - }, - "protocol": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "expiration": { - "$ref": "#/components/schemas/timestamp.protocol" - } - }, - "required": [ - "status", - "protocol", - "expiration" - ] - }, - { - "title": "Running", - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "running" - ] - }, - "chain_id": { - "$ref": "#/components/schemas/Chain_id" - }, - "genesis": { - "$ref": "#/components/schemas/block_hash" - }, - "protocol": { - "$ref": "#/components/schemas/Protocol_hash" - }, - "expiration": { - "$ref": "#/components/schemas/timestamp.protocol" - } - }, - "required": [ - "status", - "chain_id", - "genesis", - "protocol", - "expiration" - ] - } - ] - }, - "timestamp.protocol": { - "description": "A timestamp as seen by the protocol: second-level precision, epoch based.", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - }, - "tree_encoding": { - "oneOf": [ - { - "title": "Inode", - "type": "object", - "properties": { - "inode": { - "type": "object", - "properties": { - "length": { - "$ref": "#/components/schemas/int64" - }, - "proofs": { - "oneOf": [ - { - "title": "sparse_proof", - "type": "object", - "properties": { - "sparse_proof": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 255 - }, - { - "$ref": "#/components/schemas/inode_tree" - } - ] - } - } - } - }, - "required": [ - "sparse_proof" - ] - }, - { - "title": "dense_proof", - "type": "object", - "properties": { - "dense_proof": { - "type": "array", - "items": { - "$ref": "#/components/schemas/inode_tree" - } - } - }, - "required": [ - "dense_proof" - ] - } - ] - } - }, - "required": [ - "length", - "proofs" - ] - } - }, - "required": [ - "inode" - ] - }, - { - "title": "other_trees", - "type": "object", - "properties": { - "other_trees": { - "oneOf": [ - { - "title": "Node", - "type": "object", - "properties": { - "node": { - "type": "array", - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "$ref": "#/components/schemas/tree_encoding" - } - ] - } - } - } - }, - "required": [ - "node" - ] - }, - { - "title": "other_trees", - "type": "object", - "properties": { - "other_trees": { - "oneOf": [ - { - "title": "Value", - "type": "object", - "properties": { - "value": { - "oneOf": [ - { - "title": "short_bytes", - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "title": "medium_bytes", - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - { - "title": "long_bytes", - "description": "This case is void. No data is accepted." - }, - { - "title": "unlimited_bytes", - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - } - ] - } - }, - "required": [ - "value" - ] - }, - { - "title": "Blinded_value", - "type": "object", - "properties": { - "blinded_value": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "blinded_value" - ] - }, - { - "title": "Blinded_node", - "type": "object", - "properties": { - "blinded_node": { - "$ref": "#/components/schemas/Context_hash" - } - }, - "required": [ - "blinded_node" - ] - }, - { - "title": "Extender", - "type": "object", - "properties": { - "extender": { - "type": "object", - "properties": { - "length": { - "$ref": "#/components/schemas/int64" - }, - "segment": { - "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" - }, - "proof": { - "$ref": "#/components/schemas/inode_tree" - } - }, - "required": [ - "length", - "segment", - "proof" - ] - } - }, - "required": [ - "extender" - ] - }, - { - "title": "None", - "type": "object", - "properties": { - "none": {} - }, - "required": [ - "none" - ] - } - ] - } - }, - "required": [ - "other_trees" - ] - } - ] - } - }, - "required": [ - "other_trees" - ] - } - ] - }, - "unistring": { - "title": "Universal string representation", - "description": "Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "invalid_utf8_string": { - "type": "array", - "items": { - "type": "integer", - "minimum": 0, - "maximum": 255 - } - } - }, - "required": [ - "invalid_utf8_string" - ] - } - ] - }, - "value_hash": { - "title": "Hash of a consensus value (Base58Check-encoded)", - "oneOf": [ - { - "$ref": "#/components/schemas/unistring" - } - ] - } - } - } -} diff --git a/docs/api/nairobi-smart-rollup-node-openapi.json b/docs/api/nairobi-smart-rollup-node-openapi.json deleted file mode 100644 index 49a9eab0af08..000000000000 --- a/docs/api/nairobi-smart-rollup-node-openapi.json +++ /dev/null @@ -1,5705 +0,0 @@ -{ "openapi": "3.0.0", - "info": - { "title": "Smart Rollup Node RPCs", - "description": - "Smart Rollup Node RPC API for protocol PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf", - "version": "325c2ab2 (2023-12-06 09:45:50 +0100) (18.0~rc1+dev)" }, - "paths": - { "/describe": - { "get": - { "description": "RPCs documentation and input/output schema", - "parameters": - [ { "name": "recurse", "in": "query", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "$ref": "#/components/schemas/service_tree" } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}": - { "get": - { "description": - "Layer-2 block of the layer-2 chain with respect to a Layer 1 block identifier", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "block_hash": - { "description": "Tezos block hash.", - "oneOf": - [ { "$ref": - "#/components/schemas/block_hash" } ] }, - "level": - { "description": - "Level of the block, corresponds to the level of the tezos block.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "description": - "Predecessor hash of the Tezos block.", - "oneOf": - [ { "$ref": - "#/components/schemas/block_hash" } ] }, - "commitment_hash": - { "description": - "Hash of this block's commitment if any was computed for it.", - "nullable": true, - "oneOf": - [ { "title": "Some", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" } ] } ] }, - "previous_commitment_hash": - { "description": - "Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" } ] }, - "context": - { "description": - "Hash of the layer 2 context for this block.", - "oneOf": - [ { "$ref": - "#/components/schemas/Smart_rollup_context_hash" } ] }, - "inbox_witness": - { "description": - "Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_merkelized_payload_hashes_hash" } ] }, - "inbox_hash": - { "description": - "Hash of the inbox for this block.", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_inbox_hash" } ] }, - "inbox": - { "description": - "Inbox for this block.", - "type": "object", - "properties": - { "level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "old_levels_messages": - { "type": "object", - "properties": - { "index": - { "$ref": - "#/components/schemas/positive_bignum" }, - "content": - { "type": "object", - "properties": - { "hash": - { "$ref": - "#/components/schemas/smart_rollup_merkelized_payload_hashes_hash" }, - "level": - { "type": - "integer", - "minimum": - -2147483648, - "maximum": - 2147483647 } }, - "required": - [ "hash", - "level" ] }, - "back_pointers": - { "type": "array", - "items": - { "$ref": - "#/components/schemas/smart_rollup_inbox_hash" } } }, - "required": - [ "index", "content", - "back_pointers" ] } }, - "required": - [ "level", - "old_levels_messages" ] }, - "messages": - { "description": - "Messages added to the inbox in this block.", - "type": "array", - "items": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } }, - "commitment": - { "description": - "Commitment, if any is computed for this block.", - "type": "object", - "properties": - { "compressed_state": - { "$ref": - "#/components/schemas/smart_rollup_state_hash" }, - "inbox_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "number_of_ticks": - { "$ref": - "#/components/schemas/int64" } }, - "required": - [ "compressed_state", - "inbox_level", "predecessor", - "number_of_ticks" ] }, - "initial_tick": - { "description": - "Initial tick of the PVM at this block, i.e. before evaluation of the messages.", - "oneOf": - [ { "$ref": - "#/components/schemas/positive_bignum" } ] }, - "num_ticks": - { "description": - "Number of ticks produced by the evaluation of the messages in this block.", - "oneOf": - [ { "$ref": - "#/components/schemas/int64" } ] } }, - "required": - [ "block_hash", "level", "predecessor", - "commitment_hash", - "previous_commitment_hash", "context", - "inbox_witness", "inbox_hash", "inbox", - "messages", "initial_tick", - "num_ticks" ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/dal/processed_slots": - { "get": - { "description": - "Data availability processed slots and their statuses", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "array", - "items": - { "type": "object", - "properties": - { "index": - { "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 }, - "status": - { "type": "string", - "enum": - [ "unconfirmed", - "confirmed" ] } }, - "required": [ "index", "status" ] } } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/dal/slot_headers": - { "get": - { "description": "Availability slots for a given block", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "array", - "items": - { "type": "object", - "properties": - { "level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "index": - { "type": "integer", - "minimum": 0, "maximum": 255 }, - "commitment": - { "$ref": - "#/components/schemas/DAL_commitment" } }, - "required": - [ "level", "index", "commitment" ] } } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/durable/wasm_2_0_0/length": - { "get": - { "description": - "Retrieve number of bytes in raw representation of value by key from PVM durable storage. PVM state is taken with respect to the specified block level.", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "key", "in": "query", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", - "oneOf": - [ { "$ref": - "#/components/schemas/int64" } ] } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/durable/wasm_2_0_0/subkeys": - { "get": - { "description": - "Retrieve subkeys of the specified key from PVM durable storage. PVM state is taken with respect to the specified block level.", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "key", "in": "query", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "array", - "items": - { "$ref": - "#/components/schemas/unistring" } } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/durable/wasm_2_0_0/value": - { "get": - { "description": - "Retrieve value by key from PVM durable storage. PVM state is taken with respect to the specified block level. Value returned in hex format.", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "key", "in": "query", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/hash": - { "get": - { "description": - "Tezos block hash of block known to the smart rollup node", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "title": - "A block identifier (Base58Check-encoded)", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/helpers/proofs/outbox": - { "get": - { "description": - "Generate serialized output proof for some outbox message", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "outbox_level", "in": "query", "required": false, - "schema": { "type": "string" } }, - { "name": "message_index", "in": "query", - "required": false, "schema": { "type": "string" } }, - { "name": "serialized_outbox_message", "in": "query", - "required": false, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "commitment": - { "$ref": - "#/components/schemas/Smart_rollup_commitment_hash" }, - "proof": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } }, - "required": [ "commitment", "proof" ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/helpers/proofs/outbox/{level}/messages": - { "get": - { "description": - "Generate serialized output proof for some outbox message at level and index", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "level", "in": "path", "required": true, - "schema": { "type": "string" } }, - { "name": "index", "in": "query", "required": false, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "commitment": - { "$ref": - "#/components/schemas/Smart_rollup_commitment_hash" }, - "proof": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } }, - "required": [ "commitment", "proof" ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/inbox": - { "get": - { "description": "Rollup inbox for block", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "old_levels_messages": - { "type": "object", - "properties": - { "index": - { "$ref": - "#/components/schemas/positive_bignum" }, - "content": - { "type": "object", - "properties": - { "hash": - { "$ref": - "#/components/schemas/smart_rollup_merkelized_payload_hashes_hash" }, - "level": - { "type": "integer", - "minimum": - -2147483648, - "maximum": - 2147483647 } }, - "required": - [ "hash", "level" ] }, - "back_pointers": - { "type": "array", - "items": - { "$ref": - "#/components/schemas/smart_rollup_inbox_hash" } } }, - "required": - [ "index", "content", - "back_pointers" ] } }, - "required": - [ "level", "old_levels_messages" ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/level": - { "get": - { "description": - "Level of Tezos block known to the smart rollup node", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "integer", "minimum": -2147483648, - "maximum": 2147483647 } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/num_messages": - { "get": - { "description": "Number of messages for specified block", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "title": "Big number", - "description": - "Decimal representation of a big number", - "type": "string" } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/outbox": - { "get": - { "description": "Outbox at block for a given outbox level", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "outbox_level", "in": "query", "required": false, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "array", - "items": - { "type": "object", - "properties": - { "outbox_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "message_index": - { "$ref": - "#/components/schemas/positive_bignum" }, - "message": - { "oneOf": - [ { "title": - "Atomic_transaction_batch", - "type": "object", - "properties": - { "transactions": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "parameters": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "destination": - { "$ref": - "#/components/schemas/017-PtNairob.contract_id.originated" }, - "entrypoint": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "parameters", - "destination" ] } }, - "kind": - { "type": "string", - "enum": - [ "untyped" ] } }, - "required": - [ "transactions", - "kind" ] }, - { "title": - "Atomic_transaction_batch_typed", - "type": "object", - "properties": - { "transactions": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "parameters": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "parameters_ty": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "destination": - { "$ref": - "#/components/schemas/017-PtNairob.contract_id.originated" }, - "entrypoint": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "parameters", - "parameters_ty", - "destination" ] } }, - "kind": - { "type": "string", - "enum": - [ "typed" ] } }, - "required": - [ "transactions", - "kind" ] } ] } }, - "required": - [ "outbox_level", "message_index", - "message" ] } } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/outbox/{level}/messages": - { "get": - { "description": "Outbox at block for a given outbox level", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "level", "in": "path", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "array", - "items": - { "type": "object", - "properties": - { "outbox_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "message_index": - { "$ref": - "#/components/schemas/positive_bignum" }, - "message": - { "oneOf": - [ { "title": - "Atomic_transaction_batch", - "type": "object", - "properties": - { "transactions": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "parameters": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "destination": - { "$ref": - "#/components/schemas/017-PtNairob.contract_id.originated" }, - "entrypoint": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "parameters", - "destination" ] } }, - "kind": - { "type": "string", - "enum": - [ "untyped" ] } }, - "required": - [ "transactions", - "kind" ] }, - { "title": - "Atomic_transaction_batch_typed", - "type": "object", - "properties": - { "transactions": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "parameters": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "parameters_ty": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "destination": - { "$ref": - "#/components/schemas/017-PtNairob.contract_id.originated" }, - "entrypoint": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "parameters", - "parameters_ty", - "destination" ] } }, - "kind": - { "type": "string", - "enum": - [ "typed" ] } }, - "required": - [ "transactions", - "kind" ] } ] } }, - "required": - [ "outbox_level", "message_index", - "message" ] } } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/simulate": - { "post": - { "description": "Simulate messages evaluation by the PVM", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "requestBody": - { "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "messages": - { "description": - "Serialized messages for simulation.", - "type": "array", - "items": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } }, - "reveal_pages": - { "description": - "Pages (at most 4kB) to be used for revelation ticks", - "type": "array", - "items": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } }, - "insight_requests": - { "description": - "Paths in the PVM to inspect after the simulation", - "type": "array", - "items": - { "oneOf": - [ { "title": "pvm_state", - "description": - "Path in the PVM state", - "type": "object", - "properties": - { "kind": - { "type": "string", - "enum": - [ "pvm_state" ] }, - "key": - { "type": "array", - "items": - { "$ref": - "#/components/schemas/unistring" } } }, - "required": [ "kind", "key" ] }, - { "title": "durable_storage", - "description": - "Path in the PVM durable storage", - "type": "object", - "properties": - { "kind": - { "type": "string", - "enum": - [ "durable_storage" ] }, - "key": - { "type": "array", - "items": - { "$ref": - "#/components/schemas/unistring" } } }, - "required": [ "kind", "key" ] } ] } }, - "log_kernel_debug_file": - { "description": - "File in which to emit kernel logs. This file will be created in /simulation_kernel_logs/, where is the data directory of the rollup node.", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] } }, - "required": [ "messages" ] } } } }, - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "state_hash": - { "description": - "Hash of the state after execution of the PVM on the input messages", - "oneOf": - [ { "$ref": - "#/components/schemas/Smart_rollup_state_hash" } ] }, - "status": - { "description": - "Status of the PVM after evaluation", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] }, - "output": - { "description": - "Output produced by evaluation of the messages", - "type": "array", - "items": - { "type": "object", - "properties": - { "outbox_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "message_index": - { "$ref": - "#/components/schemas/positive_bignum" }, - "message": - { "oneOf": - [ { "title": - "Atomic_transaction_batch", - "type": "object", - "properties": - { "transactions": - { "type": - "array", - "items": - { "type": - "object", - "properties": - { "parameters": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "destination": - { "$ref": - "#/components/schemas/017-PtNairob.contract_id.originated" }, - "entrypoint": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "parameters", - "destination" ] } }, - "kind": - { "type": - "string", - "enum": - [ "untyped" ] } }, - "required": - [ "transactions", - "kind" ] }, - { "title": - "Atomic_transaction_batch_typed", - "type": "object", - "properties": - { "transactions": - { "type": - "array", - "items": - { "type": - "object", - "properties": - { "parameters": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "parameters_ty": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" }, - "destination": - { "$ref": - "#/components/schemas/017-PtNairob.contract_id.originated" }, - "entrypoint": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "parameters", - "parameters_ty", - "destination" ] } }, - "kind": - { "type": - "string", - "enum": - [ "typed" ] } }, - "required": - [ "transactions", - "kind" ] } ] } }, - "required": - [ "outbox_level", - "message_index", - "message" ] } }, - "inbox_level": - { "description": - "Level of the inbox that would contain these messages", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "num_ticks": - { "description": - "Ticks taken by the PVM for evaluating the messages", - "oneOf": - [ { "$ref": - "#/components/schemas/bignum" } ] }, - "insights": - { "description": - "PVM state values requested after the simulation", - "type": "array", - "items": - { "nullable": true, - "oneOf": - [ { "title": "Some", - "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } ] } } }, - "required": - [ "state_hash", "status", "output", - "inbox_level", "num_ticks" ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/state": - { "get": - { "description": - "Retrieve value from key is PVM state of specified block", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } }, - { "name": "key", "in": "query", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/state_current_level": - { "get": - { "description": "Retrieve the current level of a PVM", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/state_hash": - { "get": - { "description": "State hash for this block", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "title": - "The hash of the VM state of a smart rollup (Base58Check-encoded)", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/status": - { "get": - { "description": "PVM status at block", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "title": "Universal string representation", - "description": - "Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.", - "oneOf": - [ { "type": "string" }, - { "type": "object", - "properties": - { "invalid_utf8_string": - { "type": "array", - "items": - { "type": "integer", - "minimum": 0, - "maximum": 255 } } }, - "required": [ "invalid_utf8_string" ] } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/ticks": - { "get": - { "description": "Number of ticks for specified level", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "title": "Big number", - "description": - "Decimal representation of a big number", - "type": "string" } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/block/{block_id}/total_ticks": - { "get": - { "description": "Total number of ticks at specified block", - "parameters": - [ { "name": "block_id", "in": "path", - "description": "An L1 block identifier.", - "required": true, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "title": "Positive big number", - "description": - "Decimal representation of a positive big number", - "type": "string" } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/last_stored_commitment": - { "get": - { "description": "Last commitment computed by the node", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", "type": "object", - "properties": - { "commitment": - { "type": "object", - "properties": - { "compressed_state": - { "$ref": - "#/components/schemas/smart_rollup_state_hash" }, - "inbox_level": - { "type": "integer", - "minimum": - -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "number_of_ticks": - { "$ref": - "#/components/schemas/int64" } }, - "required": - [ "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" ] }, - "hash": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" } }, - "required": [ "commitment", "hash" ] } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/monitor_blocks": - { "get": - { "description": "Monitor and streaming the L2 blocks", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "block_hash": - { "description": "Tezos block hash.", - "oneOf": - [ { "$ref": - "#/components/schemas/block_hash" } ] }, - "level": - { "description": - "Level of the block, corresponds to the level of the tezos block.", - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "description": - "Predecessor hash of the Tezos block.", - "oneOf": - [ { "$ref": - "#/components/schemas/block_hash" } ] }, - "commitment_hash": - { "description": - "Hash of this block's commitment if any was computed for it.", - "nullable": true, - "oneOf": - [ { "title": "Some", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" } ] } ] }, - "previous_commitment_hash": - { "description": - "Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" } ] }, - "context": - { "description": - "Hash of the layer 2 context for this block.", - "oneOf": - [ { "$ref": - "#/components/schemas/Smart_rollup_context_hash" } ] }, - "inbox_witness": - { "description": - "Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_merkelized_payload_hashes_hash" } ] }, - "inbox_hash": - { "description": - "Hash of the inbox for this block.", - "oneOf": - [ { "$ref": - "#/components/schemas/smart_rollup_inbox_hash" } ] }, - "initial_tick": - { "description": - "Initial tick of the PVM at this block, i.e. before evaluation of the messages.", - "oneOf": - [ { "$ref": - "#/components/schemas/positive_bignum" } ] }, - "num_ticks": - { "description": - "Number of ticks produced by the evaluation of the messages in this block.", - "oneOf": - [ { "$ref": - "#/components/schemas/int64" } ] } }, - "required": - [ "block_hash", "level", "predecessor", - "commitment_hash", - "previous_commitment_hash", "context", - "inbox_witness", "inbox_hash", - "initial_tick", "num_ticks" ], - "additionalProperties": {} } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/smart_rollup_address": - { "get": - { "description": "Smart rollup address", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "title": - "A smart rollup address (Base58Check-encoded)", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/tezos_head": - { "get": - { "description": "Tezos head known to the smart rollup node", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", - "oneOf": - [ { "$ref": - "#/components/schemas/block_hash" } ] } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/global/tezos_level": - { "get": - { "description": "Tezos level known to the smart rollup node", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/local/batcher/injection": - { "post": - { "description": "Inject messages in the batcher's queue", - "requestBody": - { "content": - { "application/json": - { "schema": - { "description": "Messages to inject", - "type": "array", - "items": - { "$ref": - "#/components/schemas/sc_l2_message" } } } } }, - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "Hashes of injected L2 messages", - "type": "array", - "items": - { "$ref": - "#/components/schemas/sc_rollup_l2_message" } } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/local/batcher/queue": - { "get": - { "description": "List messages present in the batcher's queue", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "array", - "items": - { "type": "object", - "properties": - { "hash": - { "$ref": - "#/components/schemas/sc_rollup_l2_message" }, - "message": - { "type": "object", - "properties": - { "counter": - { "$ref": - "#/components/schemas/bignum" }, - "content": - { "$ref": - "#/components/schemas/sc_l2_message" } }, - "required": - [ "counter", "content" ] } }, - "required": [ "hash", "message" ] } } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/local/batcher/queue/{l2_message_hash}": - { "get": - { "description": "Retrieve an L2 message and its status", - "parameters": - [ { "name": "l2_message_hash", "in": "path", - "description": "A L2 message hash.", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "oneOf": - [ { "title": "unknown", - "description": - "The message is not known by the batcher.", - "type": "object", - "properties": - { "content": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" }, - "status": - { "type": "string", - "enum": [ "unknown" ] } }, - "required": [ "status" ] }, - { "title": "pending_batch", - "description": - "The message is in the batcher queue.", - "type": "object", - "properties": - { "content": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" }, - "status": - { "type": "string", - "enum": [ "pending_batch" ] } }, - "required": [ "status" ] }, - { "title": "pending_injection", - "description": - "The message is batched but not injected yet.", - "type": "object", - "properties": - { "content": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" }, - "status": - { "type": "string", - "enum": - [ "pending_injection" ] }, - "operation": - { "$ref": - "#/components/schemas/sc_rollup_node_l1_operation" } }, - "required": [ "status", "operation" ] }, - { "title": "injected", - "description": - "The message is injected as part of an L1 operation but it is not included in a block.", - "type": "object", - "properties": - { "content": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" }, - "status": - { "type": "string", - "enum": [ "injected" ] }, - "operation": - { "$ref": - "#/components/schemas/sc_rollup_node_l1_operation" }, - "layer1": - { "type": "object", - "properties": - { "operation_hash": - { "$ref": - "#/components/schemas/Operation_hash" }, - "operation_index": - { "type": "integer", - "minimum": - -1073741824, - "maximum": 1073741823 } }, - "required": - [ "operation_hash", - "operation_index" ] } }, - "required": - [ "status", "operation", "layer1" ] }, - { "title": "included", - "description": - "The message is included in an inbox in an L1 block.", - "type": "object", - "properties": - { "content": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" }, - "status": - { "type": "string", - "enum": [ "included" ] }, - "operation": - { "$ref": - "#/components/schemas/sc_rollup_node_l1_operation" }, - "layer1": - { "type": "object", - "properties": - { "operation_hash": - { "$ref": - "#/components/schemas/Operation_hash" }, - "operation_index": - { "type": "integer", - "minimum": - -1073741824, - "maximum": 1073741823 }, - "block_hash": - { "$ref": - "#/components/schemas/block_hash" }, - "level": - { "type": "integer", - "minimum": - -2147483648, - "maximum": 2147483647 } }, - "required": - [ "operation_hash", - "operation_index", - "block_hash", "level" ] }, - "finalized": - { "type": "boolean" }, - "cemented": { "type": "boolean" } }, - "required": - [ "status", "operation", "layer1", - "finalized", "cemented" ] }, - { "title": "committed", - "description": - "The message is included in a committed inbox on L1.", - "type": "object", - "properties": - { "content": - { "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" }, - "status": - { "type": "string", - "enum": [ "committed" ] }, - "operation": - { "$ref": - "#/components/schemas/sc_rollup_node_l1_operation" }, - "layer1": - { "type": "object", - "properties": - { "operation_hash": - { "$ref": - "#/components/schemas/Operation_hash" }, - "operation_index": - { "type": "integer", - "minimum": - -1073741824, - "maximum": 1073741823 }, - "block_hash": - { "$ref": - "#/components/schemas/block_hash" }, - "level": - { "type": "integer", - "minimum": - -2147483648, - "maximum": 2147483647 } }, - "required": - [ "operation_hash", - "operation_index", - "block_hash", "level" ] }, - "finalized": - { "type": "boolean" }, - "cemented": { "type": "boolean" }, - "commitment": - { "type": "object", - "properties": - { "compressed_state": - { "$ref": - "#/components/schemas/smart_rollup_state_hash" }, - "inbox_level": - { "type": "integer", - "minimum": - -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "number_of_ticks": - { "$ref": - "#/components/schemas/int64" } }, - "required": - [ "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" ] }, - "hash": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "first_published_at_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "published_at_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 } }, - "required": - [ "status", "operation", "layer1", - "finalized", "cemented", - "commitment", "hash", - "first_published_at_level", - "published_at_level" ] } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/local/commitments/{commitment_hash}": - { "get": - { "description": "Commitment computed and published by the node", - "parameters": - [ { "name": "commitment_hash", "in": "path", - "description": "A commitment hash.", "required": true, - "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", "type": "object", - "properties": - { "commitment": - { "type": "object", - "properties": - { "compressed_state": - { "$ref": - "#/components/schemas/smart_rollup_state_hash" }, - "inbox_level": - { "type": "integer", - "minimum": - -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "number_of_ticks": - { "$ref": - "#/components/schemas/int64" } }, - "required": - [ "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" ] }, - "hash": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "first_published_at_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "published_at_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 } }, - "required": [ "commitment", "hash" ] } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/local/gc_info": - { "get": - { "description": "Information about garbage collection", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "type": "object", - "properties": - { "last_gc_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "first_available_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 } }, - "required": - [ "last_gc_level", - "first_available_level" ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/local/last_published_commitment": - { "get": - { "description": "Last commitment published by the node", - "responses": - { "200": - { "description": "", - "content": - { "application/json": - { "schema": - { "nullable": true, - "oneOf": - [ { "title": "Some", "type": "object", - "properties": - { "commitment": - { "type": "object", - "properties": - { "compressed_state": - { "$ref": - "#/components/schemas/smart_rollup_state_hash" }, - "inbox_level": - { "type": "integer", - "minimum": - -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "number_of_ticks": - { "$ref": - "#/components/schemas/int64" } }, - "required": - [ "compressed_state", - "inbox_level", - "predecessor", - "number_of_ticks" ] }, - "hash": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "first_published_at_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "published_at_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 } }, - "required": [ "commitment", "hash" ] } ] } } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } }, - "/openapi": - { "get": - { "description": "OpenAPI specification of RPCs for rollup node", - "parameters": - [ { "name": "protocol", "in": "query", - "description": "Protocol_hash (Base58Check-encoded)", - "required": false, "schema": { "type": "string" } } ], - "responses": - { "200": - { "description": "", - "content": { "application/json": { "schema": {} } } }, - "default": - { "description": "", - "content": - { "application/json": - { "schema": - { "description": - "The full list of errors is available with the global RPC `GET errors`" } } } } } } } }, - "components": - { "schemas": - { "017-PtNairob.contract_id.originated": - { "title": "A contract handle -- originated account", - "description": - "A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "017-PtNairob.michelson.v1.primitives": - { "type": "string", - "enum": - [ "SHA512", "HASH_KEY", "SIZE", "SAPLING_VERIFY_UPDATE", - "False", "SAPLING_EMPTY_STATE", "RENAME", - "sapling_transaction", "UNPACK", "NAT", "unit", - "bls12_381_fr", "Pair", "IF_NONE", "int", "timestamp", - "storage", "UNPAIR", "view", "BLAKE2B", "AMOUNT", "DUP", - "nat", "NEG", "bool", "SELF_ADDRESS", "ISNAT", "DIG", - "CHAIN_ID", "set", "LSR", "key", "address", "ABS", - "CREATE_CONTRACT", "SHA256", "JOIN_TICKETS", "LEVEL", - "bls12_381_g1", "operation", "tx_rollup_l2_address", - "string", "CHECK_SIGNATURE", "STEPS_TO_QUOTA", "SELF", - "DIP", "lambda", "AND", "COMPARE", "chain_id", "MAP", - "APPLY", "Elt", "BYTES", "NOT", "IMPLICIT_ACCOUNT", "LT", - "UNIT", "EMIT", "SET_DELEGATE", "Some", "parameter", - "signature", "ticket", "EMPTY_BIG_MAP", "None", "SUB", - "key_hash", "ADD", "map", "VOTING_POWER", "big_map", "CDR", - "GT", "IF_CONS", "CONS", "LSL", "DUG", "PACK", "SHA3", - "SOURCE", "or", "SUB_MUTEZ", "LAMBDA", "RIGHT", - "CREATE_ACCOUNT", "Unit", "CAST", "NEQ", "ITER", - "FAILWITH", "PUSH", "OPEN_CHEST", "SOME", "list", - "BALANCE", "NIL", "pair", "CAR", "UPDATE", - "TOTAL_VOTING_POWER", "PAIR", "constant", "LAMBDA_REC", - "ADDRESS", "True", "Right", "Lambda_rec", "IF", "NEVER", - "sapling_transaction_deprecated", "SWAP", "EMPTY_MAP", - "MUL", "INT", "option", "KECCAK", "LEFT", "Left", "chest", - "SPLIT_TICKET", "chest_key", "bls12_381_g2", "EDIV", - "LOOP", "bytes", "TICKET", "LE", "PAIRING_CHECK", - "MIN_BLOCK_TIME", "OR", "contract", "GET_AND_UPDATE", - "mutez", "sapling_state", "NONE", "IF_LEFT", "GET", "NOW", - "TRANSFER_TOKENS", "LOOP_LEFT", "CONTRACT", - "TICKET_DEPRECATED", "VIEW", "EMPTY_SET", "XOR", "never", - "READ_TICKET", "EQ", "GE", "MEM", "SENDER", "DROP", - "CONCAT", "EXEC", "SLICE", "code" ] }, - "DAL_commitment": - { "title": - "Commitment representation for the DAL (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "Operation_hash": - { "title": "A Tezos operation ID (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "Signature.Public_key_hash": - { "title": - "A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "Smart_rollup_commitment_hash": - { "title": - "The hash of a commitment of a smart rollup (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "Smart_rollup_context_hash": - { "title": - "A base58-check encoded hash of a Smart rollup node context (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "Smart_rollup_state_hash": - { "title": - "The hash of the VM state of a smart rollup (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "bignum": - { "title": "Big number", - "description": "Decimal representation of a big number", - "type": "string" }, - "block_hash": - { "title": "A block identifier (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "int64": - { "title": "64 bit integers", - "description": "Decimal representation of 64 bit integers", - "type": "string" }, - "layout": - { "oneOf": - [ { "title": "Zero_width", "type": "object", - "properties": - { "kind": - { "type": "string", "enum": [ "Zero_width" ] } }, - "required": [ "kind" ] }, - { "title": "Int", "type": "object", - "properties": - { "size": - { "type": "string", - "enum": - [ "Int32", "Int16", "Uint16", "Int64", "Int8", - "Uint8" ] }, - "kind": { "type": "string", "enum": [ "Int" ] } }, - "required": [ "size", "kind" ] }, - { "title": "Bool", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "Bool" ] } }, - "required": [ "kind" ] }, - { "title": "RangedInt", "type": "object", - "properties": - { "min": - { "type": "integer", "minimum": -1073741824, - "maximum": 1073741823 }, - "max": - { "type": "integer", "minimum": -1073741824, - "maximum": 1073741823 }, - "kind": { "type": "string", "enum": [ "RangedInt" ] } }, - "required": [ "min", "max", "kind" ] }, - { "title": "RangedFloat", "type": "object", - "properties": - { "min": { "type": "number" }, - "max": { "type": "number" }, - "kind": - { "type": "string", "enum": [ "RangedFloat" ] } }, - "required": [ "min", "max", "kind" ] }, - { "title": "Float", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "Float" ] } }, - "required": [ "kind" ] }, - { "title": "Bytes", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "Bytes" ] } }, - "required": [ "kind" ] }, - { "title": "String", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "String" ] } }, - "required": [ "kind" ] }, - { "title": "Enum", "type": "object", - "properties": - { "size": - { "type": "string", - "enum": [ "Int16", "Uint16", "Int8", "Uint8" ] }, - "reference": - { "$ref": "#/components/schemas/unistring" }, - "kind": { "type": "string", "enum": [ "Enum" ] } }, - "required": [ "size", "reference", "kind" ] }, - { "title": "Seq", "type": "object", - "properties": - { "layout": { "$ref": "#/components/schemas/layout" }, - "kind": { "type": "string", "enum": [ "Seq" ] }, - "length_limit": - { "oneOf": - [ { "title": "No_limit", "type": "object", - "properties": - { "kind": - { "type": "string", - "enum": [ "no-limit" ] } }, - "required": [ "kind" ] }, - { "title": "At_most", "type": "object", - "properties": - { "kind": - { "type": "string", - "enum": [ "at-most" ] }, - "at_most": - { "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 } }, - "required": [ "kind", "at_most" ] }, - { "title": "Exactly", "type": "object", - "properties": - { "kind": - { "type": "string", - "enum": [ "exactly" ] }, - "exactly": - { "type": "integer", - "minimum": -1073741824, - "maximum": 1073741823 } }, - "required": [ "kind", "exactly" ] } ] } }, - "required": [ "layout", "kind" ] }, - { "title": "Ref", "type": "object", - "properties": - { "name": { "$ref": "#/components/schemas/unistring" }, - "kind": { "type": "string", "enum": [ "Ref" ] } }, - "required": [ "name", "kind" ] }, - { "title": "Padding", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "Padding" ] } }, - "required": [ "kind" ] } ] }, - "micheline.017-PtNairob.michelson_v1.expression": - { "oneOf": - [ { "title": "Int", "type": "object", - "properties": - { "int": { "$ref": "#/components/schemas/bignum" } }, - "required": [ "int" ] }, - { "title": "String", "type": "object", - "properties": - { "string": - { "$ref": "#/components/schemas/unistring" } }, - "required": [ "string" ] }, - { "title": "Bytes", "type": "object", - "properties": - { "bytes": - { "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" } }, - "required": [ "bytes" ] }, - { "title": "Sequence", "type": "array", - "items": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" } }, - { "title": "Prim__generic", - "description": - "Generic primitive (any number of args with or without annotations)", - "type": "object", - "properties": - { "prim": - { "$ref": - "#/components/schemas/017-PtNairob.michelson.v1.primitives" }, - "args": - { "type": "array", - "items": - { "$ref": - "#/components/schemas/micheline.017-PtNairob.michelson_v1.expression" } }, - "annots": - { "type": "array", - "items": - { "$ref": "#/components/schemas/unistring" } } }, - "required": [ "prim" ] } ] }, - "positive_bignum": - { "title": "Positive big number", - "description": - "Decimal representation of a positive big number", - "type": "string" }, - "sc_l2_message": - { "description": "A hex encoded smart rollup message", - "type": "string", "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" }, - "sc_rollup_l2_message": - { "title": "A smart rollup layer 2 message (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "sc_rollup_node_l1_operation": - { "oneOf": - [ { "title": "add_messages", "type": "object", - "properties": - { "kind": - { "type": "string", "enum": [ "add_messages" ] }, - "message": - { "type": "array", - "items": - { "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" } } }, - "required": [ "kind", "message" ] }, - { "title": "cement", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "cement" ] }, - "rollup": - { "$ref": - "#/components/schemas/smart_rollup_address" }, - "commitment": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" } }, - "required": [ "kind", "rollup", "commitment" ] }, - { "title": "publish", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "publish" ] }, - "rollup": - { "$ref": - "#/components/schemas/smart_rollup_address" }, - "commitment": - { "type": "object", - "properties": - { "compressed_state": - { "$ref": - "#/components/schemas/smart_rollup_state_hash" }, - "inbox_level": - { "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647 }, - "predecessor": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "number_of_ticks": - { "$ref": "#/components/schemas/int64" } }, - "required": - [ "compressed_state", "inbox_level", - "predecessor", "number_of_ticks" ] } }, - "required": [ "kind", "rollup", "commitment" ] }, - { "title": "refute", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "refute" ] }, - "rollup": - { "$ref": - "#/components/schemas/smart_rollup_address" }, - "opponent": - { "$ref": - "#/components/schemas/Signature.Public_key_hash" }, - "refutation": - { "oneOf": - [ { "title": "Start", "type": "object", - "properties": - { "refutation_kind": - { "type": "string", - "enum": [ "start" ] }, - "player_commitment_hash": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "opponent_commitment_hash": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" } }, - "required": - [ "refutation_kind", - "player_commitment_hash", - "opponent_commitment_hash" ] }, - { "title": "Move", "type": "object", - "properties": - { "refutation_kind": - { "type": "string", - "enum": [ "move" ] }, - "choice": - { "$ref": - "#/components/schemas/positive_bignum" }, - "step": - { "oneOf": - [ { "title": "Dissection", - "type": "array", - "items": - { "type": "object", - "properties": - { "state": - { "$ref": - "#/components/schemas/smart_rollup_state_hash" }, - "tick": - { "$ref": - "#/components/schemas/positive_bignum" } }, - "required": [ "tick" ] } }, - { "title": "Proof", - "type": "string", - "pattern": - "^([a-zA-Z0-9][a-zA-Z0-9])*$" } ] } }, - "required": - [ "refutation_kind", "choice", "step" ] } ] } }, - "required": - [ "kind", "rollup", "opponent", "refutation" ] }, - { "title": "timeout", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "timeout" ] }, - "rollup": - { "$ref": - "#/components/schemas/smart_rollup_address" }, - "stakers": - { "type": "object", - "properties": - { "alice": - { "$ref": - "#/components/schemas/Signature.Public_key_hash" }, - "bob": - { "$ref": - "#/components/schemas/Signature.Public_key_hash" } }, - "required": [ "alice", "bob" ] } }, - "required": [ "kind", "rollup", "stakers" ] }, - { "title": "recover", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "recover" ] }, - "rollup": - { "$ref": - "#/components/schemas/smart_rollup_address" }, - "staker": - { "$ref": - "#/components/schemas/Signature.Public_key_hash" } }, - "required": [ "kind", "rollup", "staker" ] }, - { "title": "execute_outbox_message", "type": "object", - "properties": - { "kind": - { "type": "string", - "enum": [ "execute_outbox_message" ] }, - "rollup": - { "$ref": - "#/components/schemas/smart_rollup_address" }, - "cemented_commitment": - { "$ref": - "#/components/schemas/smart_rollup_commitment_hash" }, - "proof": - { "type": "string", - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" } }, - "required": - [ "kind", "rollup", "cemented_commitment", "proof" ] } ] }, - "schema.field": - { "oneOf": - [ { "title": "Named_field", "type": "object", - "properties": - { "name": { "$ref": "#/components/schemas/unistring" }, - "layout": { "$ref": "#/components/schemas/layout" }, - "data_kind": - { "$ref": "#/components/schemas/schema.kind" }, - "kind": { "type": "string", "enum": [ "named" ] } }, - "required": [ "name", "layout", "data_kind", "kind" ] }, - { "title": "Anonymous_field", "type": "object", - "properties": - { "layout": { "$ref": "#/components/schemas/layout" }, - "kind": { "type": "string", "enum": [ "anon" ] }, - "data_kind": - { "$ref": "#/components/schemas/schema.kind" } }, - "required": [ "layout", "kind", "data_kind" ] }, - { "title": "Dynamic_field", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "dyn" ] }, - "name": { "$ref": "#/components/schemas/unistring" }, - "num_fields": - { "type": "integer", "minimum": -1073741824, - "maximum": 1073741823 }, - "size": - { "type": "string", - "enum": [ "N", "Uint30", "Uint16", "Uint8" ] } }, - "required": [ "kind", "num_fields", "size" ] }, - { "title": "Optional_field", "type": "object", - "properties": - { "kind": - { "type": "string", - "enum": [ "option_indicator" ] }, - "name": { "$ref": "#/components/schemas/unistring" } }, - "required": [ "kind", "name" ] } ] }, - "schema.kind": - { "oneOf": - [ { "title": "Fixed", "type": "object", - "properties": - { "size": - { "type": "integer", "minimum": -1073741824, - "maximum": 1073741823 }, - "kind": { "type": "string", "enum": [ "Fixed" ] } }, - "required": [ "size", "kind" ] }, - { "title": "Dynamic", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "Dynamic" ] } }, - "required": [ "kind" ] }, - { "title": "Variable", "type": "object", - "properties": - { "kind": { "type": "string", "enum": [ "Variable" ] } }, - "required": [ "kind" ] } ] }, - "service_tree": - { "oneOf": - [ { "title": "Static", "type": "object", - "properties": - { "static": - { "type": "object", - "properties": - { "get_service": - { "type": "object", - "properties": - { "meth": - { "type": "string", - "enum": - [ "PATCH", "GET", "POST", - "PUT", "DELETE" ] }, - "path": - { "type": "array", - "items": - { "oneOf": - [ { "title": "PStatic", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] }, - { "title": "PDynamic", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] }, - { "title": "PDynamicTail", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "multiple" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] } ] } }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "query": - { "type": "array", - "items": - { "type": "object", - "properties": - { "name": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "kind": - { "oneOf": - [ { "title": - "Single", - "type": - "object", - "properties": - { "single": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "single" ] }, - { "title": - "Optional", - "type": - "object", - "properties": - { "optional": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "optional" ] }, - { "title": "Flag", - "type": - "object", - "properties": - { "flag": - { "type": - "object", - "properties": - {} } }, - "required": - [ "flag" ] }, - { "title": - "Multi", - "type": - "object", - "properties": - { "multi": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "multi" ] } ] } }, - "required": - [ "name", "kind" ] } }, - "input": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "output": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "error": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] } }, - "required": - [ "meth", "path", "query", "output", - "error" ] }, - "post_service": - { "type": "object", - "properties": - { "meth": - { "type": "string", - "enum": - [ "PATCH", "GET", "POST", - "PUT", "DELETE" ] }, - "path": - { "type": "array", - "items": - { "oneOf": - [ { "title": "PStatic", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] }, - { "title": "PDynamic", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] }, - { "title": "PDynamicTail", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "multiple" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] } ] } }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "query": - { "type": "array", - "items": - { "type": "object", - "properties": - { "name": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "kind": - { "oneOf": - [ { "title": - "Single", - "type": - "object", - "properties": - { "single": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "single" ] }, - { "title": - "Optional", - "type": - "object", - "properties": - { "optional": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "optional" ] }, - { "title": "Flag", - "type": - "object", - "properties": - { "flag": - { "type": - "object", - "properties": - {} } }, - "required": - [ "flag" ] }, - { "title": - "Multi", - "type": - "object", - "properties": - { "multi": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "multi" ] } ] } }, - "required": - [ "name", "kind" ] } }, - "input": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "output": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "error": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] } }, - "required": - [ "meth", "path", "query", "output", - "error" ] }, - "delete_service": - { "type": "object", - "properties": - { "meth": - { "type": "string", - "enum": - [ "PATCH", "GET", "POST", - "PUT", "DELETE" ] }, - "path": - { "type": "array", - "items": - { "oneOf": - [ { "title": "PStatic", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] }, - { "title": "PDynamic", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] }, - { "title": "PDynamicTail", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "multiple" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] } ] } }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "query": - { "type": "array", - "items": - { "type": "object", - "properties": - { "name": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "kind": - { "oneOf": - [ { "title": - "Single", - "type": - "object", - "properties": - { "single": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "single" ] }, - { "title": - "Optional", - "type": - "object", - "properties": - { "optional": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "optional" ] }, - { "title": "Flag", - "type": - "object", - "properties": - { "flag": - { "type": - "object", - "properties": - {} } }, - "required": - [ "flag" ] }, - { "title": - "Multi", - "type": - "object", - "properties": - { "multi": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "multi" ] } ] } }, - "required": - [ "name", "kind" ] } }, - "input": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "output": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "error": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] } }, - "required": - [ "meth", "path", "query", "output", - "error" ] }, - "put_service": - { "type": "object", - "properties": - { "meth": - { "type": "string", - "enum": - [ "PATCH", "GET", "POST", - "PUT", "DELETE" ] }, - "path": - { "type": "array", - "items": - { "oneOf": - [ { "title": "PStatic", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] }, - { "title": "PDynamic", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] }, - { "title": "PDynamicTail", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "multiple" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] } ] } }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "query": - { "type": "array", - "items": - { "type": "object", - "properties": - { "name": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "kind": - { "oneOf": - [ { "title": - "Single", - "type": - "object", - "properties": - { "single": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "single" ] }, - { "title": - "Optional", - "type": - "object", - "properties": - { "optional": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "optional" ] }, - { "title": "Flag", - "type": - "object", - "properties": - { "flag": - { "type": - "object", - "properties": - {} } }, - "required": - [ "flag" ] }, - { "title": - "Multi", - "type": - "object", - "properties": - { "multi": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "multi" ] } ] } }, - "required": - [ "name", "kind" ] } }, - "input": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "output": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "error": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] } }, - "required": - [ "meth", "path", "query", "output", - "error" ] }, - "patch_service": - { "type": "object", - "properties": - { "meth": - { "type": "string", - "enum": - [ "PATCH", "GET", "POST", - "PUT", "DELETE" ] }, - "path": - { "type": "array", - "items": - { "oneOf": - [ { "title": "PStatic", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] }, - { "title": "PDynamic", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] }, - { "title": "PDynamicTail", - "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "multiple" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] } ] } }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "query": - { "type": "array", - "items": - { "type": "object", - "properties": - { "name": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" }, - "kind": - { "oneOf": - [ { "title": - "Single", - "type": - "object", - "properties": - { "single": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "single" ] }, - { "title": - "Optional", - "type": - "object", - "properties": - { "optional": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "optional" ] }, - { "title": "Flag", - "type": - "object", - "properties": - { "flag": - { "type": - "object", - "properties": - {} } }, - "required": - [ "flag" ] }, - { "title": - "Multi", - "type": - "object", - "properties": - { "multi": - { "type": - "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", - "name" ] } }, - "required": - [ "multi" ] } ] } }, - "required": - [ "name", "kind" ] } }, - "input": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "output": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] }, - "error": - { "type": "object", - "properties": - { "json_schema": {}, - "binary_schema": - { "type": "object", - "properties": - { "toplevel": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] }, - "fields": - { "type": "array", - "items": - { "type": - "object", - "properties": - { "description": - { "type": - "object", - "properties": - { "title": - { "$ref": - "#/components/schemas/unistring" }, - "description": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "title" ] }, - "encoding": - { "oneOf": - [ { "title": - "Obj", - "type": - "object", - "properties": - { "fields": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/schema.field" } } }, - "required": - [ "fields" ] }, - { "title": - "Cases", - "type": - "object", - "properties": - { "tag_size": - { "type": - "string", - "enum": - [ "Uint16", - "Uint8" ] }, - "kind": - { "$ref": - "#/components/schemas/schema.kind" }, - "cases": - { "type": - "array", - "items": - { "$ref": - "#/components/schemas/union case" } } }, - "required": - [ "tag_size", - "kind", - "cases" ] }, - { "title": - "Int_enum", - "type": - "object", - "properties": - { "size": - { "type": - "string", - "enum": - [ "Int16", - "Uint16", - "Int8", - "Uint8" ] }, - "cases": - { "type": - "array", - "items": - { "type": - "array", - "items": - { "oneOf": - [ { "type": - "integer", - "minimum": - -1073741824, - "maximum": - 1073741823 }, - { "$ref": - "#/components/schemas/unistring" } ] } } } }, - "required": - [ "size", - "cases" ] } ] } }, - "required": - [ "description", - "encoding" ] } } }, - "required": - [ "toplevel", - "fields" ] } }, - "required": - [ "json_schema", - "binary_schema" ] } }, - "required": - [ "meth", "path", "query", "output", - "error" ] }, - "subdirs": - { "oneOf": - [ { "title": "Suffixes", - "type": "object", - "properties": - { "suffixes": - { "type": "array", - "items": - { "type": "object", - "properties": - { "name": - { "$ref": - "#/components/schemas/unistring" }, - "tree": - { "$ref": - "#/components/schemas/service_tree" } }, - "required": - [ "name", "tree" ] } } }, - "required": [ "suffixes" ] }, - { "title": "Arg", "type": "object", - "properties": - { "dynamic_dispatch": - { "type": "object", - "properties": - { "arg": - { "type": "object", - "properties": - { "id": - { "type": - "string", - "enum": - [ "single" ] }, - "name": - { "$ref": - "#/components/schemas/unistring" }, - "descr": - { "$ref": - "#/components/schemas/unistring" } }, - "required": - [ "id", "name" ] }, - "tree": - { "$ref": - "#/components/schemas/service_tree" } }, - "required": - [ "arg", "tree" ] } }, - "required": [ "dynamic_dispatch" ] } ] } } } }, - "required": [ "static" ] }, - { "title": "Dynamic", "type": "object", - "properties": - { "dynamic": - { "nullable": true, - "oneOf": - [ { "title": "Some", - "oneOf": - [ { "$ref": - "#/components/schemas/unistring" } ] } ] } }, - "required": [ "dynamic" ] }, - { "title": "Empty", "type": "string", "enum": [ "empty" ] } ] }, - "smart_rollup_address": - { "title": "A smart rollup address (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "smart_rollup_commitment_hash": - { "title": - "The hash of a commitment of a smart rollup (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "smart_rollup_inbox_hash": - { "title": - "The hash of an inbox of a smart rollup (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "smart_rollup_merkelized_payload_hashes_hash": - { "title": - "The hash of the Merkelized payload hashes of a smart rollup inbox (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "smart_rollup_state_hash": - { "title": - "The hash of the VM state of a smart rollup (Base58Check-encoded)", - "oneOf": [ { "$ref": "#/components/schemas/unistring" } ] }, - "union case": - { "type": "object", - "properties": - { "tag": - { "type": "integer", "minimum": -1073741824, - "maximum": 1073741823 }, - "fields": - { "type": "array", - "items": - { "$ref": "#/components/schemas/schema.field" } }, - "name": { "$ref": "#/components/schemas/unistring" } }, - "required": [ "tag", "fields" ] }, - "unistring": - { "title": "Universal string representation", - "description": - "Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.", - "oneOf": - [ { "type": "string" }, - { "type": "object", - "properties": - { "invalid_utf8_string": - { "type": "array", - "items": - { "type": "integer", "minimum": 0, - "maximum": 255 } } }, - "required": [ "invalid_utf8_string" ] } ] } } } } diff --git a/docs/index.rst b/docs/index.rst index 870e607ea8d2..68e65e4154ef 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -180,7 +180,7 @@ Platform developers are also provided reference materials for internal APIs of O .. toctree:: :maxdepth: 2 - :caption: Nairobi Protocol Reference + :caption: Oxford Protocol Reference :hidden: active/protocol @@ -188,16 +188,6 @@ Platform developers are also provided reference materials for internal APIs of O active/cli-commands active/rpc -.. toctree:: - :maxdepth: 2 - :caption: Oxford Protocol Reference - :hidden: - - oxford/protocol - oxford/glossary - oxford/cli-commands - oxford/rpc - .. toctree:: :maxdepth: 2 :caption: Alpha Dev Protocol Reference @@ -232,7 +222,6 @@ Platform developers are also provided reference materials for internal APIs of O :hidden: protocols/naming - protocols/017_nairobi protocols/018_oxford protocols/alpha protocols/history diff --git a/docs/nairobi/blocks_ops.rst b/docs/nairobi/blocks_ops.rst deleted file mode 100644 index 3a8571edd17f..000000000000 --- a/docs/nairobi/blocks_ops.rst +++ /dev/null @@ -1,267 +0,0 @@ -===================== -Blocks and Operations -===================== - -The content of a Tezos block is made up of operations, which implement -and reify different functionalities provided by a Tezos economic -protocol: from reaching consensus on the state of the Tezos -blockchain, to performing smart contract calls and transactions. Each -Tezos economic protocol can specify different kinds of operations. - -This entry describes the operations supported by :doc:`the economic -protocol <./protocol>` that implement *enabled* features -- that is, -those available to end-users on Tezos Mainnet. The complete list of -operations, including those corresponding to features in development -or available only on test networks, is given in the -:package-api:`OCaml Documentation -`. - -.. _validation_passes: -.. _validation_passes_nairobi: - -Validation Passes -~~~~~~~~~~~~~~~~~ - -The different kinds of operations are grouped into classes. Each class -has an associated index, a natural number, also known as a -:ref:`validation pass`. There are currently four classes -of operations: :ref:`consensus `, -:ref:`voting `, -:ref:`anonymous`, and :ref:`manager -operations`. This order also specifies the -:ref:`validation and application` priority -of each of these classes. Consensus operations are considered the -highest priority ones, and manager operations the lowest. - -The current protocol implementation enforces the following invariant: - -- each kind of operation belongs to *at most one* validation pass; -- operations whose kind does not belong to any validation pass cannot - be :ref:`applied`. - -.. FIXME tezos/tezos#3915: - - Failing noops don't fit within any of the validation passes - below. We need to change the structure a bit to be able to list - them here. - -In the sequel, we describe the different classes of operations, and -the different kinds of operations belonging to each class. - -.. _consensus_operations: -.. _consensus_operations_nairobi: - -Consensus Operations -~~~~~~~~~~~~~~~~~~~~ - -.. TODO tezos/tezos#4204: document PCQ/PQ - -Consensus operations are administrative operations that are necessary -to implement the :doc:`consensus algorithm`. There are two -kinds of consensus operations, each belonging to the different voting -phases required to agree on the next block. - -- A ``Preendorsement`` operation implements a first vote for a - :ref:`candidate block ` with the aim of - building a :ref:`preendorsement quorum `. - -- An ``Endorsement`` operation implements a vote for a candidate block - for which a preendorsement quorum certificate (PQC) has been - observed. - -.. _voting_operations: -.. _voting_operations_nairobi: - -Voting Operations -~~~~~~~~~~~~~~~~~ - -Voting operations are operations related to the on-chain :doc:`Tezos -Amendment` process. In this economic protocol, there are two -voting operations: - -- The ``Proposal`` operation enables delegates to submit (also known as - to "inject") protocol amendment proposals, or to up-vote previously - submitted proposals, during the Proposal period. - -- The ``Ballot`` operation enables delegates to participate in the - Exploration and Promotion periods. Delegates use this operation to - vote for (``Yea``), against (``Nay``), or to side with the majority - (``Pass``), when examining a protocol amendment proposal. - -Further details on each operation's implementation and semantics are -provided in the dedicated entry for :ref:`on-chain -governance`. - -.. _anonymous_operations: -.. _anonymous_operations_nairobi: - -Anonymous Operations -~~~~~~~~~~~~~~~~~~~~ - -This class groups all operations that do not require a signature from -a Tezos account (with an exception, detailed below). They implement -different functionalities of the protocol, and their common -characteristic is that they allow the account originating these -operations to remain anonymous in order to avoid censorship. - -Two operations in this class implement functionality pertaining to the -protocol's :doc:`random seeds generation -mechanism`: - -- The ``Seed_nonce_revelation`` operation allows a baker to - anonymously reveal the nonce seed for the commitment it had included - in a previously baked block (in the previous cycle). - -- The ``Vdf_revelation`` operation allows the submission of a solution - to, and a proof of correctness of, the :ref:`VDF - challenge` corresponding to the VDF revelation period of - the randomness generation protocol. - -Further details on the latter operation's implementation and semantics -are provided in the :ref:`random seed generation -protocol`. - -Three operations in this class are used to :ref:`punish participants -which engage in Byzantine behaviour` -- notably -delegates which :ref:`"double sign" ` blocks, or emit -conflicting :ref:`consensus operations`: - -- The ``Double_preendorsement_evidence`` operation allows for accusing - a delegate of having *double-preendorsed* -- i.e., of having - preendorsed two different block candidates, at the same level and at - the same round. The bulk of the evidence, the two arguments - provided, consists of the two offending preendorsements. - -- Similarly, the ``Double_endorsement_evidence`` operation allows for - accusing a delegate of having *double-endorsed* -- i.e., of having - endorsed two different block candidates at the same level and the - same round -- by providing the two offending endorsements. - -- The ``Double_baking_evidence`` allows for accusing a delegate of - having "double-baked" a block -- i.e., of having signed two - different blocks at the same level and at same round. The bulk of - the evidence consists of the :ref:`block - headers` of each of the two offending blocks. - -See :ref:`here` for further detail on the semantics of -evidence-providing operations. - -The ``Activation`` operation allows users which participated in the -Tezos fundraiser to make their :ref:`accounts ` operational. - -Finally, the ``Drain_delegate`` operation allows an active -consensus-key account, i.e., an account to which a baker delegated its -consensus-signing responsibility, to **empty** its delegate -account. This operation is used as a deterrent to ensure that a -delegate secures its consensus key as much as its manager (or main) -key. - -.. _manager_operations: -.. _manager_operations_nairobi: - -Manager Operations -~~~~~~~~~~~~~~~~~~ - -.. FIXME tezos/tezos#3936: integrate consensus keys operations. - -.. FIXME tezos/tezos#3937: - - Document increased paid storage manager operation. - -Manager operations enable end-users to interact with the Tezos -blockchain -- e.g., transferring funds or calling :doc:`smart -contracts`. A manager operation is issued by a single -*manager* account which signs the operation and pays the -:ref:`fees` to the baker for its inclusion in a block. Indeed, -manager operations are the only fee-paying and -:ref:`gas-consuming` operations. - -- The ``Reveal`` operation reveals the public key of the sending - manager. Knowing this public key is indeed necessary to check the signature - of future operations signed by this manager. -- The ``Transaction`` operation allows users to either transfer tez - between accounts and/or to invoke a smart contract. -- The ``Delegation`` operation allows users to :ref:`delegate their - stake ` to a :ref:`delegate` (a - *baker*), or to register themselves as delegates. -- The ``Update_consensus_key`` operation allows users to delegate the - responsibility of signing blocks and consensus-related operations to - another account. Note that consensus keys cannot be BLS public keys. -- The ``Origination`` operation is used to - :ref:`originate`, that is to deploy, smart contracts - in the Tezos blockchain. -- The ``Set_deposits_limit`` operation enables delegates to adjust the - amount of stake a delegate :ref:`has locked in - bonds`. -- Support for registering global constants is implemented with the - ``Register_global_constant`` operation. -- The ``Increase_paid_storage`` operation allows a sender to increase - the paid storage of some previously deployed contract. -- The ``Event`` operation enables sending event-like information to - external applications from Tezos smart contracts -- see - :doc:`Contract Events` for further detail. - -Moreover, all operations necessary to implement Tezos' *enshrined* -Layer 2 solutions into the economic protocol are also manager -operations. - -In particular, :doc:`smart rollups ` maintenance is -handled with dedicated manager operations. - -- The ``Smart_rollup_originate`` operation is used to originate, that - is, to deploy smart rollups in the Tezos blockchain. -- The ``Smart_rollup_add_messages`` operation is used to add messages - to the inbox shared by all the smart rollups originated in the Tezos - blockchain. These messages are interpreted by the smart rollups - according to their specific semantics. -- The ``Smart_rollup_publish`` operation is used to regularly declare - what is the new state of a given smart rollup in a so-called - “commitment”. To publish commitments, an implicit account has to - own at least ꜩ 10,000, which are frozen as long as at least one of - their commitments is disputable. -- The ``Smart_rollup_cement`` operation is used to cement a - commitment, if the following requirements are met: it has been - published for long enough, and there is no concurrent commitment for - the same state update. Once a commitment is cemented, it cannot be - disputed anymore. -- The ``Smart_rollup_recover_bond`` operation is used by an implicit - account to unfreeze their ꜩ 10,000. This operation only succeeds if - and only if all the commitments published by the implicit account - have been cemented. -- The ``Smart_rollup_refute`` operation is used to start or pursue a - dispute. A dispute is resolved on the Tezos blockchain through a - so-called refutation game, where two players seek to prove the - correctness of their respective commitment. The game consists in a - dissection phase, where the two players narrow down their - disagreement to a single execution step, and a resolution, where the - players provide a proof sustaining their claims. The looser of a - dispute looses their frozen bond: half of it is burned, and the - winner receives the other half in compensation. -- The ``Smart_rollup_timeout`` operation is used to put an end to a - dispute if one of the two players takes too much time to send their - next move (with a ``Smart_rollup_refute`` operation). It is not - necessary to be one of the players to send this operation. -- The ``Smart_rollup_execute_outbox_message`` operation is used to - enact a transaction from a smart rollup to a smart contract, as - authorized by a cemented commitment. The targeted smart contract can - determine if it is called by a smart rollup using the ``SENDER`` - Michelson instruction. - -.. _manager_operations_batches: -.. _manager_operations_batches_nairobi: - -Manager Operation Batches -""""""""""""""""""""""""" - -Manager operations can be grouped, forming a so-called -**batch**. Batches enable the inclusion of several manager operations -from the same manager in a single block. - -Batches satisfy the following properties: - -- All operations in a batch are issued by the same manager, which - provides a single signature for the entire batch. -- A batch is :ref:`applied` - atomically: all its operations are executed sequentially, without - interleaving other operations. Either all the operations in the - batch succeed, or none is applied. diff --git a/docs/nairobi/cli-commands.rst b/docs/nairobi/cli-commands.rst deleted file mode 100644 index 1cdf5a921e85..000000000000 --- a/docs/nairobi/cli-commands.rst +++ /dev/null @@ -1,50 +0,0 @@ -********************** -Command Line Interface -********************** - -This document is a prettier output of the documentation produced by -the command ``man`` of the different Octez binaries. You can obtain similar pages -using shell commands such as (:ref:`indicating the appropriate protocol `): - -:: - - octez-client -protocol man -verbosity 3 - -The rest of this page documents the protocol-dependent tools. -The protocol-independent tools are documented :doc:`here <../shell/cli-commands>`. - - -.. _client_manual: -.. _client_manual_nairobi: - -Client manual -============= - -.. raw:: html - :file: octez-client.html - - -.. _baker_manual: -.. _baker_manual_nairobi: - -Baker manual -============ - -.. raw:: html - :file: octez-baker.html - - -.. _accuser_manual: -.. _accuser_manual_nairobi: - -Accuser manual -============== - -.. raw:: html - :file: octez-accuser.html - -Smart rollup node manual -======================== - -.. raw:: html - :file: octez-smart-rollup-node.html diff --git a/docs/nairobi/consensus.rst b/docs/nairobi/consensus.rst deleted file mode 100644 index fdb9a976e868..000000000000 --- a/docs/nairobi/consensus.rst +++ /dev/null @@ -1,520 +0,0 @@ -The consensus algorithm -======================= - -This document provides a high-level description of Tenderbake, the Tezos -:doc:`proof-of-stake` consensus algorithm. - -History -------- - -Before Tenderbake, there was -`Emmy* `_, -a Nakamoto-style consensus consisting of a series of improvements of the one in -the `Tezos whitepaper `_. - -Emmy*, like any Nakamoto-style consensus algorithm (such as `Bitcoin -`_ or `Ouroboros -`_), offers *probabilistic* -finality: forks of arbitrary length are possible but they collapse -with a probability that increases rapidly with fork length. - -`Tenderbake `_ instead, like any classic -BFT-style consensus algorithm (such as -`PBFT `_ or -`Tendermint `_), offers *deterministic* -finality: a block that has just been appended to the chain of some node is known -to be final once it has two additional blocks on top of it, regardless of -network latency. - - -Overview --------- - -The starting point for Tenderbake is -`Tendermint `_, the first classic-style algorithm -for blockchains. - -Tenderbake adapts Tendermint to the Tezos blockchain, but the adjustments -required are -`substantive `_: - -* Tenderbake is tailored to match the Tezos architecture by using only - communication primitives and network assumptions which Tezos supports. -* Tenderbake makes weaker network assumptions than Tendermint, at the price of - adding the extra assumption that participants have loosely synchronized clocks - — which is fine, because Tezos already uses them. - -The design of Tenderbake and its rationale are described at -length in the `technical report `_ and in a -`Nomadic Labs's blog -post `_. Here we -only provide a user/developer perspective. - -.. _tb_validator: -.. _tb_validator_nairobi: - -Tenderbake is executed for each new block level by a "committee" whose members -are called *validators*, which are delegates selected at random based on their -stake, in the same way as endorsers are selected in Emmy*. We let -``CONSENSUS_COMMITTEE_SIZE`` be the number of validator :ref:`slots` per level. -Furthermore, we use ``CONSENSUS_THRESHOLD`` to denote two thirds of ``CONSENSUS_COMMITTEE_SIZE``. - -For each level, Tenderbake proceeds in rounds. Each *round* represents an -attempt by the validators to agree on the content of the block for the current -level, that is, on the sequence of non-consensus operations the block contains. -We call this sequence the block's *payload*. - -Each round has an associated duration. Round durations are set to increase so -that for any possible message delay, there is a round that is sufficiently long -for all required messages to be exchanged. -Round durations depend on protocol parameters ``MINIMAL_BLOCK_DELAY`` and ``DELAY_INCREMENT_PER_ROUND``. -These parameters specify round durations as follows: - -.. math:: - - round\_duration(0) &= minimal\_block\_delay \\ - round\_duration(r+1) &= round\_duration(r) + delay\_increment\_per\_round \\ - & = minimal\_block\_delay + (r + 1) * delay\_increment\_per\_round - -Round durations thus increase linearly with ``DELAY_INCREMENT_PER_ROUND``. - -Schematically, a round consists in the following steps: - -.. _candidate_block: -.. _candidate_block_nairobi: - -* a validator designated for that round injects a *candidate block* (representing a proposal) and consensus operations (representing votes) into the node to which it is attached, which then -* diffuses those blocks and consensus operations to other nodes of the network, and thus -* communicates them to the validators attached to those nodes, to carry out voting on which block to accept. - -.. _quorum: -.. _quorum_nairobi: - -Unlike Emmy*, Tenderbake has `two types of -votes `_: -before endorsing a block ``b``, a validator preendorses ``b``. Furthermore, -to be able to endorse, a validator must have observed a preendorsement *quorum*, that is a -set of preendorsements from validators having at least ``CONSENSUS_THRESHOLD`` validator slots. Similarly, to be able to decide, a validator must have observed an endorsement quorum, that is, a set of endorsements from validators having at least ``CONSENSUS_THRESHOLD`` validator slots. The -endorsement quorum for a block ``b`` is included in a block ``b'`` on top of ``b``, -serving as a certification that ``b`` has been agreed upon. -We also say that block ``b'`` confirms block ``b``. - -The validator's whose turn is to inject a candidate block at a given round is -called the *proposer* at that round. Proposers in Tenderbake are selected -similarly to bakers in Emmy*: the proposer at round ``r`` is the -validator who has the validator slot ``r``. A proposer who has observed a -preendorsement quorum for a candidate block in a previous round, is required to propose a block with -the same *payload* as -the initial block. We talk about a *re-proposal* in this case. - - -.. _finality: -.. _finality_nairobi: - -Transaction and block finality -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -A transaction is final as soon as the block including it has a confirmation (that is, a block on top of it). -Indeed, as hinted above, a block contains the certification (that is, the endorsement quorum) for the previous -payload. Thanks to the endorsement quorum, Tenderbake guarantees **transaction finality -after 1 confirmation**. - -It may be possible that different validators decide at different rounds, though on the same payload. The blocks at these different rounds differ precisely because they contain, in the header, as part of the block fitness, -the round at which they were proposed. -Among these "candidate" blocks, the block with the smallest round has the highest fitness and so it will be the one decided. -Consequently, to agree on a block, that is, on both the payload and the header, Tenderbake needs one more -confirmation, and thus guarantees -**block finality after 2 confirmations**. - -Time between blocks -~~~~~~~~~~~~~~~~~~~~~~~ - -The time between blocks represents the difference between the timestamps of the blocks. The timestamp of a block is given by the beginning of the round at which the block has been agreed upon. Thus, the time between blocks depends on the round at which decisions are taken. For -example, if the decision at the previous level was taken at round 4 and at the current level at round 2, then the current block's delay relative to -its predecessor, is :math:`round\_duration(4) + round\_duration(0) + round\_duration(1)`. -The general case is as follows, say that the decision at the previous -level is taken at round ``m`` and the decision at the current level is -taken at round ``n``, then the current block's delay relative to its -predecessor is :math:`round\_duration(m) + \sum_{i=0}^{n-1} round\_duration(i)`. -We note that, under -normal network conditions, and with active and compliant validators, decisions -should be taken at round 0, meaning that the time between blocks would be -:math:`round\_duration(0)` seconds i.e., parameter ``MINIMAL_BLOCK_DELAY``. - - -.. _active_stake: -.. _active_stake_nairobi: - -Validator selection: staking balance, active stake, and frozen deposits -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Validator selection is based on the stake, as in Emmy*, with the exception that -it is based on the delegate's *active stake* instead of its *staking -balance*. Let us first (re)define these and related concepts. - -- The *(maximal) staking balance* of a delegate is its full balance (i.e. all the tokens owned by the delegate) plus the - balances of all accounts that have delegated to it. - It must be at least ``MINIMAL_STAKE`` tez, otherwise the delegate cannot be selected as a validator. -- The *active stake* of a delegate is the amount of tez with which - it participates in consensus. It is at most its - staking balance. We explain below how it is computed. -- The *frozen deposit* represents a percentage ``FROZEN_DEPOSIT_PERCENTAGE`` - of the maximum active stake during the last ``PRESERVED_CYCLES + MAX_SLASHING_PERIOD``. This amount - represents the delegate's skin in the game: in the case that the - delegate behaves badly, its frozen deposit is partly slashed (see - :ref:`slashing_nairobi`). Taking the maximum over an - interval of cycles (instead of just considering the active stake at - the cycle where the bad action can occur) allows to avoid situations - where a malicious delegate empties its accounts between the time when - rights are attributed and the time when the deposit is frozen. The frozen deposits are updated at the end of each cycle. -- The *spendable balance* of a delegate is its full balance - minus the frozen deposits. - -We state next the RPCs which allow to retrieve these types of balances, and also some invariants about them -(Note that these are just invariants, not definitions; for -instance, the frozen deposits are computed in terms of the full balance, -not the other way around.): - -- ``delegated balance`` represents the total amount of tokens delegated by others to a - given delegate; it excludes the delegate's full balance; it is obtained - with ``../context/delegates//delegated_balance`` -- ``staking balance = full balance + delegated balance``; it is obtained with - ``../context/delegates//staking_balance`` -- ``full balance = spendable balance + frozen deposit``; it is obtained with - ``../context/delegates//full_balance`` -- ``frozen deposit`` is obtained with ``../context/delegates//frozen_deposits`` -- ``spendable balance`` is obtained with ``../context/contracts//balance`` - -Delegates can set an upper limit to their frozen deposits with the -command ``octez-client set deposits limit for to -``, and unset this limit with the command ``octez-client -unset deposits limit for ``. These commands are implemented -using a new manager operation ``Set_deposits_limit``. When emitting such a -command in cycle ``c``, it affects the active stake for cycles starting -with ``c + PRESERVED_CYCLES + 1``; the new active stake is -taken into account when computing the frozen deposit for cycle ``c+1`` -already, however the user may see an update to its frozen deposit at -cycle ``c + PRESERVED_CYCLES + MAX_SLASHING_PERIOD`` at the -latest (because up to that cycle the frozen deposit also depends on the -active stake at cycles before cycle ``c+1``). - -The active stake is computed ``PRESERVED_CYCLES`` in advance: at -the end of cycle ``c`` for cycle ``c + 1 + PRESERVED_CYCLES`` (as in Emmy*), -before updating the delegates' :ref:`activity status`. - -.. - This entails that a delegate which was participating until cycle ``c - - 1`` and is no longer participating in cycle ``c`, - will lose its rights from cycle - ``c + 2 * PRESERVED_CYCLES + 2`` onwards -- at the end of cycle ``c + - PRESERVED_CYCLES``, the rights for cycle ``c + 2 * - PRESERVED_CYCLES + 1`` are computed, and only then is the delegate - declared passive. Here "participation" means *having baked a final - block* or *having a preendorsement or endorsement included in a final - block*. - -Intuitively, the active stake is set to 10 times the delegate's chosen frozen -deposit limit, without going beyond its available staking balance, -nor its maximum staking capacity (determined by its full balance). -More precisely, the active stake is the minimum between: - -- the delegate's staking balance, and -- 10 times the delegate's *deposit cap*, i.e. ``deposit_cap * 100 / deposit_percentage``. If the delegate has not set a frozen deposit limit, ``deposit_cap`` is its full balance. Otherwise ``deposit_cap`` is the minimum between its full balance and the frozen deposit limit set by the delegate. - -Let's take some examples. Say that the full balance of a delegate is ``1000`` tez. -Then its theoretical maximum staking balance is -``10000`` tez. The following table lists some scenarios (assuming for -simplicity no changes in the delegate's full and staking balances -during the last 8 cycles). - -.. list-table:: - :widths: 20 20 20 20 20 - :header-rows: 1 - - * - Staking balance - - Frozen deposit limit - - Active stake - - Frozen deposit - - Spendable balance - * - 9000 - - -- - - 9000 - - 900 - - 100 - * - 12000 - - -- - - 10000 - - 1000 - - 0 - * - 9000 - - 400 - - 4000 - - 400 - - 600 - * - 12000 - - 400 - - 4000 - - 400 - - 600 - -We note in passing that this new schema basically solves the main -problem of over-delegation: a delegate will not fail anymore to bake -and endorse because of an insufficient balance to pay the -deposit. However, a delegate can still be over-delegated, and it will be -rewarded based on its active stake, not on its staking balance. - -Economic Incentives -~~~~~~~~~~~~~~~~~~~ - -As Emmy*, Tenderbake rewards participation in consensus and punishes bad -behavior. Notable changes however are as follows: - -* Fees and baking rewards go to the payload producer, the one who selected the - transactions to be included in the block (and was the first to propose a - block with that payload). In case of re-proposal, the payload producer might - be different from the block proposer, the baker who injects the block. -* Including extra endorsements, that is, more than the minimal required to - obtain a quorum, is rewarded with a bonus. -* Endorsing rewards are shared equally among all validators. Participation above - a minimal threshold per cycle is however required. -* Deposits are no longer frozen and unfrozen, instead a percentage of the active - stake is always locked. A delegate with an empty deposit cannot bake nor - (pre)endorse. -* Validators are rewarded instantaneously for baking blocks and including extra endorsements, and not at the end of the cycle like in Emmy*. -* At the end of a cycle ``c``, the following actions happen: - - - the selection of the consensus committee cycle ``c + PRESERVED_CYCLES``, based on the current active stake distribution, - - the distribution of endorsing rewards, - - the adjustment of frozen deposits. - - -Fees -^^^^ - -The fees associated to the transactions included in a block go to the payload -producer. This is only natural given that this is the validator that selects the -transactions to be included; see `an in-depth blog -post `_ for further motivation. - -The payload producer is usually the same delegate as the block -proposer (that is, the one that signs and injects the block): that's -always true for blocks at round 0; however, in case of re-proposals -this is not necessarily the case (see the algorithm description above). - -Fees are given to the payload producer immediately, that is, they are -already reflected in the blockchain state obtained after applying the injected -block. - -Rewards -^^^^^^^ - -There are three kinds of rewards: baking rewards, endorsing rewards, and a bonus for including extra endorsements. - -The baking rewards are treated in the same way as fees: they go to the *payload* -producer and are distributed immediately. - -To encourage fairness and participation, the *block* proposer receives -a bonus for the extra endorsements it includes in the block. -The bonus is proportional to the number of -validator slots above the threshold of ``CONSENSUS_COMMITTEE_SIZE * 2 / 3`` that -the included endorsements represent. The bonus is also distributed -immediately. - -The endorsing rewards are distributed at the end of the cycle. -The endorsing reward may be received even if not all of the validator's endorsements are included in a block and is proportional to the validator's active stake (in other words, to its *expected* number of validator slots, and not its actual number of slots). -However, two conditions must be met: - - - the validator has revealed its nonce, and - - the validator has been present during the cycle. - -Not giving rewards in case of missing revelations is not new as it is :ref:`adapted` -from Emmy*. -The second condition is new. We say that a delegate is *present* during a cycle -if the endorsing power (that is, the number of validator slots at the -corresponding level) of all the endorsements included by the delegate during the -cycle represents at least ``MINIMAL_PARTICIPATION_RATIO`` of the delegate's expected number of -validator slots for the current cycle (which is ``BLOCKS_PER_CYCLE * -CONSENSUS_COMMITTEE_SIZE * active_stake / total_active_stake``). - -Regarding the concrete values for rewards, we first fix the total reward per -level, call it ``total_rewards``, to ``80 / blocks_per_minute`` tez. -Assuming ``blocks_per_minute = 4``, ``total_rewards`` is 20 tez. -We define: - -- ``BAKING_REWARD_FIXED_PORTION := baking_reward_ratio * total_rewards`` -- ``bonus := (1 - baking_reward_ratio) * bonus_ratio * total_rewards`` is the max bonus -- ``endorsing_reward := (1 - baking_reward_ratio) * (1 - bonus_ratio) * total_rewards`` - -where: - -- ``baking_reward_ratio`` to ``1 / 4``, -- ``bonus_ratio`` to ``1 / 3``. - -Thus, we obtain ``BAKING_REWARD_FIXED_PORTION = 5`` tez, -(maximum) ``bonus = 5`` tez, and ``endorsing_rewards = 10`` tez. -The bonus per additional endorsement slot is in turn ``bonus / -(CONSENSUS_COMMITTEE_SIZE / 3)`` (because there are at most -``CONSENSUS_COMMITTEE_SIZE / 3`` validator slots corresponding to the -additional endorsements included in a block). The rewards per -endorsement slot are ``endorsing_rewards / CONSENSUS_COMMITTEE_SIZE``. -Assuming ``CONSENSUS_COMMITTEE_SIZE = 7000``, we obtain a bonus per slot of -``5 / (7000 / 3) = 0.002143`` tez and an endorsing -rewards per slot of ``10 / 7000 = 0.001428`` tez. - -Let's take an example. Say a block has round 1, is proposed by -delegate B, and contains the payload from round 0 produced by delegate -A. Also, B includes endorsements with endorsing power ``5251``. Then A receives -the fees and 10 tez (the ``BAKING_REWARD_FIXED_PORTION``) as a reward for -producing the block's payload. Concerning the bonus, given that -``CONSENSUS_COMMITTEE_SIZE = 7000``, the minimum required validator slots is ``4667``, and there are ``2333 = 7000 - 4667`` additional validator slots. -Therefore B receives the bonus ``(5251 - 4667) * 0.002143 = 1.251512`` tez. (Note -that B only included endorsements corresponding to 584 = 5251 - 4667 additional validator slots, about a quarter of the -maximum 2333 extra endorsements it could have theoretically included.) Finally, consider some -delegate C, whose active stake at some cycle is 5% of the total stake. Note that -his expected number of validator slots for that cycle is ``5/100 * 8192 * 7000 = -2,867,200`` slots. Assume also that the endorsing power of C's endorsements -included during that cycle has been ``2,123,456`` slots. Given that this number is -bigger than the minimum required (``2,867,200 * 2 / 3``), it receives an endorsing -reward of ``2,867,200 * 0.001428 = 4094.3616`` tez for that cycle. - -.. _slashing: -.. _slashing_nairobi: - -Slashing -^^^^^^^^ - -Like in Emmy*, not revealing nonces and double signing are punishable. If a -validator does not reveal its nonce by the end of the cycle, it does not receive -its endorsing rewards. If a validator double signs, that is, it double bakes -(which means signing different blocks at the same level and same round) or -it double (pre)endorses (which means voting on two different proposals at the -same level and round), a part of the frozen deposit is slashed. The slashed amount for double baking -is ``DOUBLE_BAKING_PUNISHMENT``. The slashed amount for double (pre)endorsing is -a fixed percentage ``RATIO_OF_FROZEN_DEPOSITS_SLASHED_PER_DOUBLE_ENDORSEMENT`` -of the frozen deposit. The payload producer that includes the misbehavior -evidence is rewarded half of the slashed amount. - -The evidence for double signing at a given level can be collected by any -:ref:`accuser` and included as an *accusation* operation in a block -for a period of ``MAX_SLASHING_PERIOD``. - -If a delegates' deposit is smaller than the slashed amount, the deposit is -simply emptied, which leads to the delegate losing its baking and endorsing -rights for the rest of the cycle. - -We note that selfish baking is not an issue in Tenderbake: say we are at round -``r`` and the validator which is proposer at round ``r+1`` does not (pre)endorse -at round ``r`` in the hope that the block at round ``r`` is not agreed upon and -its turn comes to propose at round ``r+1``. Under the assumption that the -correct validators have more than two thirds of the total stake, these correct -validators have sufficient power for agreement to be reached, thus the lack of -participation of a selfish baker does not have an impact. - -.. _cs_constants: -.. _cs_constants_nairobi: - -Consensus related protocol parameters -------------------------------------- - -.. list-table:: - :widths: 55 25 - :header-rows: 1 - - * - Parameter name - - Parameter value - * - ``CONSENSUS_COMMITTEE_SIZE`` - - 7000 - * - ``CONSENSUS_THRESHOLD`` - - ``ceil(2 * CONSENSUS_COMMITTEE_SIZE / 3)`` = 4667 - * - ``MINIMAL_BLOCK_DELAY`` - - 15s - * - ``DELAY_INCREMENT_PER_ROUND`` - - 8s - * - ``MINIMAL_PARTICIPATION_RATIO`` - - 2/3 - * - ``FROZEN_DEPOSITS_PERCENTAGE`` - - 10 - * - ``MAX_SLASHING_PERIOD`` - - 2 cycles - * - ``DOUBLE_BAKING_PUNISHMENT`` - - 640 tez - * - ``RATIO_OF_FROZEN_DEPOSITS_SLASHED_PER_DOUBLE_ENDORSEMENT`` - - 1/2 - * - ``BAKING_REWARD_FIXED_PORTION`` - - 5 tez - * - ``BAKING_REWARD_BONUS_PER_SLOT`` - - ``bonus / (CONSENSUS_COMMITTEE_SIZE / 3)`` = 0.002143 tez - * - ``ENDORSING_REWARD_PER_SLOT`` - - ``endorsing_reward / CONSENSUS_COMMITTEE_SIZE`` = 0.001428 tez - -These are a subset of the :ref:`protocol constants `. - -.. _shell_proto_revisit: -.. _shell_proto_revisit_nairobi: - -Shell-protocol interaction revisited ------------------------------------- - -.. FIXME tezos/tezos#3914: - - Integrate protocol-specific block parts in the blocks and ops - entry. - -:ref:`Recall` that, for the shell to interact with the economic protocol, two notions are defined abstractly at the level of the shell and made concrete at the level of the consensus protocol. -Namely, these two notions are the protocol-specific header and the fitness. -As in Emmy*, the protocol-specific header contains the fields: - -- ``signature``: a digital signature of the shell and protocol headers (excluding the signature itself) -- ``seed_nonce_hash``: a commitment to :ref:`a random number`, used to generate entropy on the chain -- ``proof_of_work_nonce``: a nonce used to pass a low-difficulty proof-of-work for the block, as a spam prevention measure -- ``liquidity_baking_toggle_vote``: :ref:`a vote` to continue the Liquidity Baking Subsidy, stop it, or abstain. - -There are two additional fields: ``payload_hash`` and ``payload_round`` which are needed for establishing if a block is :ref:`final`. - -.. _fitness: -.. _fitness_nairobi: - -The fitness is given by the tuple ``(version, level, locked_round, - predecessor_round - 1, round)``. -The current version of the fitness is 2 (version 0 was used by Emmy, and version 1 by Emmy+ and Emmy*). -The fitness encapsulates more information than in Emmy* because Tenderbake is more complex: recall that blocks at the last level only represent :ref:`candidate blocks`. -In Emmy*, only the level mattered. -But in Tenderbake, we need to, for instance, allow for new blocks at the same level to be accepted by nodes. -Therefore the fitness also includes the block's round (as the fifth component). -Furthermore, we also allow to change the predecessor block when it has a :ref:`smaller round`. -Therefore the fitness also includes the opposite of predecessor block's round as the forth component (the predecessor is taken for technical reasons). -Finally, to (partially) enforce :ref:`the rule on -re-proposals`, the fitness also includes, as the third -component, the round at which a preendorsement quorum was observed by -the baker, if any (this component can therefore be empty). By the way, -preendorsements are present in a block if and only if the locked round -component is non-empty and if so, the locked round has to match the -round of the included preendorsements. - -Next, we provide two examples of fitness values: -``02::00001000::::ffffffff::00000000`` and -``02::00001000::00000000::fffffffe::00000001`` (in the hexadecimal -format that one may observe in the node's logs). These two values have -the following components: - -- the 1st component, ``02``, is the fitness version; -- the 2nd component, ``00001000``, is the block's level (level 4096); -- the 3rd component is the block's locked round: empty in the first case, 0 in the second; -- the 4th component is the round of the predecessor block, here 0 in the first case and 1 in the second case; -- the 5th component is the block's round: 0 in the first case, 1 in the second case. - -We recall (see :ref:`shell_header`) that the fitness is, from the -shell's perspective, a sequence of sequences of unsigned bytes and -comparison is done first by the length of the sequence and then -lexicographically (both for the outer sequence, and for each of the -inner sequences). So the first fitness is smaller than the second one, -because of the third component, the empty bitstring being smaller than -any other bitstring. - - - -Further External Resources --------------------------- - -* Tenderbake `report `_ -* Tenderbake `blog post `_. -* Tenderbake `tzip `_. diff --git a/docs/nairobi/event.rst b/docs/nairobi/event.rst deleted file mode 100644 index 9f355d18dace..000000000000 --- a/docs/nairobi/event.rst +++ /dev/null @@ -1,111 +0,0 @@ -Contract events -=============== - -Contract events provide a way for contracts to deliver event-like information to external applications. -This mechanism allows off-chain applications to react to Tezos contracts execution. - - -Sending events --------------- -Contract events can be emitted by invoking the Michelson instruction ``EMIT``. -``EMIT %tag ty`` pops an item of type ``ty`` off the stack and pushes an ``operation`` onto the stack. -The type ascription ``ty`` is special since annotations in ``ty`` are preserved and eventually transmitted -in the event so that indexers have a choice to present the event body with appropriate labels. -Both the ``ty`` type ascription and ``%tag`` are optional. -If ``ty`` is absent, this type is inferred from the type of the top element of the stack. -If ``%tag`` is absent, no tag is attached to the event. - -To actually send out the events, most importantly, the produced ``operation``\s must be included in the list of -operations, along with ``TRANSFER_TOKEN`` operations for example, that the contract wants to effect. - -Event ------ - -Each successful contract execution attaches into the transaction receipt a list of contract events -arranged in the order of appearance in the resultant list of operations. -There, the events are made ready for consumption by services observing the chain. - -Example -------- -Suppose a contract wants to emit events with the following type: - -:: - - or (nat %int) (string %str) - -Then, this contract may generate an event emission operation with the following instructions. -Note that the ``EMIT`` instruction will emit an event with a tag ``notify_client``. -In addition, it allows indexers to recognise the two variants as ``int`` and ``str`` and, -therefore, be able to present the values with the appropriate variant labels. - -:: - - PUSH string "right"; - RIGHT nat; - EMIT %notify_client (or (nat %int) (string %str)); - - -Retrieving events ------------------ -Events successfully emitted can be read off directly from transaction results. -This is typically achieved by making JSON RPCs to the block service. -It will return a list of operations, each including the event entries with the information above. - -Here is a sample result from a call, corresponding to the example above. - -:: - - { - "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", - "hash": "opNX59asPwNZGu2kFiHFVJzn7QwtyaExoLtxdZSm3Q3o4jDdSmo", - // ... fields elided for brevity - "contents": [ - { - "kind": "transaction", - // ... fields elided for brevity - "metadata": { - // ... fields elided for brevity - "internal_operation_results": [ - { - "kind": "event", - // ... fields elided for brevity - "source": "KT1M1ynE3YXkM7qLZoMppq6szMbBvxX9yQVL", - "nonce": 0, - "type": { - "prim": "or", - "args": [ - { - "prim": "nat", - "annots": [ - "%int" - ] - }, - { - "prim": "string", - "annots": [ - "%str" - ] - } - ] - }, - "tag": "notify_client", - "payload": { - "prim": "Right", - "args": [ - { - "string": "right" - } - ] - }, - "result": { - "status": "applied", - "consumed_milligas": "1000000" - } - } - ] - } - } - ] - } - -Note that the ``operation`` produced by ``EMIT`` does not constitute a call to any other contract. diff --git a/docs/nairobi/global_constants.rst b/docs/nairobi/global_constants.rst deleted file mode 100644 index 383f3e0e3fd2..000000000000 --- a/docs/nairobi/global_constants.rst +++ /dev/null @@ -1,141 +0,0 @@ -Global Constants -================ - -The size limit for :doc:`Michelson ` contracts is quite small, limited to 60 -kilobytes as of Granada protocol. Global constants are a feature added -in Hangzhou protocol that enables the re-use of user-defined Micheline chunks in Michelson scripts, allowing -for larger and more complex contracts on the chain. It works in the -following way: - -- Fragments of Michelson code (written in the :doc:`Micheline format <../shell/micheline>`) are - registered on the chain via a new operation - ``register_global_constant``. An example expression might be the - integer ``999`` or the lambda expression ``{ PUSH int 999; ADD }`` -- Included in the receipt of the operation is a hash of the expression - registered. For example the hash ``999`` is - ``expruQN5r2umbZVHy6WynYM8f71F8zS4AERz9bugF8UkPBEqrHLuU8``. -- Constants can be referenced inside a Michelson script with the new - primitive ``constant``. For example, we could write a lambda - equivalent to the one above like so: - ``{ PUSH int (constant "expruQN5r2umbZVHy6WynYM8f71F8zS4AERz9bugF8UkPBEqrHLuU8"); ADD }`` - -Global Constant Registration ----------------------------- - -The new ``register_global_constant`` operation includes an object with a -single key ``"value"``, the value of which is the Micheline expression -to be registered. - -You can submit this operation conveniently through a new :doc:`octez-client ` command. -For example, the command: - -.. code:: sh - - octez-client register global constant "999" from bootstrap1 --burn-cap 0.017 - -would result in the output: - -:: - - Node is bootstrapped. - Estimated gas: 1440 units (will add 100 for safety) - Estimated storage: 68 bytes added (will add 20 for safety) - Operation successfully injected in the node. - Operation hash is 'onsFknW5iWa6eiTYqAghY4peQZ7JYQUJg5fR8MwAQkMKjXfNqGf' - NOT waiting for the operation to be included. - Use command - octez-client wait for onsFknW5iWa6eiTYqAghY4peQZ7JYQUJg5fR8MwAQkMKjXfNqGf to be included --confirmations 5 --branch BLockGenesisGenesisGenesisGenesisGenesisCCCCCeZiLHU - and/or an external block explorer to make sure that it has been included. - This sequence of operations was run: - Manager signed operations: - From: tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx - Fee to the baker: ꜩ0.000385 - Expected counter: 1 - Gas limit: 1540 - Storage limit: 88 bytes - Balance updates: - tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx ................ -ꜩ0.000385 - fees(the baker who will include this operation,0) ... +ꜩ0.000385 - Register Global: - Value: 999 - This global constant registration was successfully applied - Balance updates: - tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx ... -ꜩ0.017 - Consumed gas: 1440 - Storage size: 68 bytes - Global address: expruQN5r2umbZVHy6WynYM8f71F8zS4AERz9bugF8UkPBEqrHLuU8 - -As you can see, the address of the constant is returned in the operation -receipt in the field ``Global address``. This address is the Base58-encode Blake2b -hash of the binary serialization of the registered Micheline expression. -This means constants are content-addressable - given a particular Micheline -expression, you can always calculate its on-chain address and check if it’s registered. - -A few points about registering global constants: - -- Global constants may contain references to other constants; however, - any referenced constants must already be registered on the chain. As a - corollary, you cannot have cyclic references. -- Global constants are not type-checked before registration - any - valid Micheline expression may be registered. That said, attempting - to originate a contract that uses a constant in an ill-typed way will - fail. -- The total depth of the expression registered as a constant (after - expanding all constant references) may not exceed 10,000. -- The total number of nodes in the Micheline expression being - registered (after expanding all constant references) may not exceed - the ``max_micheline_node_count`` protocol constant. As of Hangzhou - this is 50,000. -- The total number of bytes in the Micheline expression being - registered (after expanding all constant references) may not exceed - the ``max_micheline_bytes_limit`` protocol constant. As of Hangzhou - this is 50,000. - -Originating a Contract that uses Global Constants -------------------------------------------------- - -A global constant can be referenced in Michelson scripts via the -primitive ``constant``, which accepts a single string argument, being -the hash of the expression to be referenced at runtime. This primitive -can be used to replace any Micheline node in the bodies of the -``parameter``, ``storage``, ``code``, or ``view`` fields of a Michelson script. For -example, we replace every instance of the type ``lambda unit unit`` and -value 999 with their respective hashes: - -.. code-block:: michelson - - parameter (constant "exprtYirrFwYKm6yKLzJNtYRbq49zedYq16BonRvMzHiwSbUekB9YL"); - storage (big_map int (constant "exprtYirrFwYKm6yKLzJNtYRbq49zedYq16BonRvMzHiwSbUekB9YL")); - code { - PUSH int (constant "expruQN5r2umbZVHy6WynYM8f71F8zS4AERz9bugF8UkPBEqrHLuU8"); - # - }; - -The full expansion of this contract would be: - -.. code-block:: michelson - - parameter (lambda unit unit); - storage (big_map int (lambda unit unit)); - code { - PUSH int 999; - # - }; - -During origination, all constants are expanded recursively. The -operation will fail if the resulting contract is ill-typed. Global -constant expansion consumes gas; thus, the operation may also fail due -to gas exhaustion. - -Global Constants at Runtime ---------------------------- - -Contracts that use global constants are semantically equivalent to the -contract with all constants expanded. - -Note that using the `UNPACK `__ -operation to deserialize a lambda which contains a reference to a global -constant is not supported. Similarly, originating a contract which contains -a reference to a global constant using the -`CREATE_CONTRACT `__ -instruction will also fail. diff --git a/docs/nairobi/glossary.rst b/docs/nairobi/glossary.rst deleted file mode 100644 index 8ddb3015d828..000000000000 --- a/docs/nairobi/glossary.rst +++ /dev/null @@ -1,350 +0,0 @@ -Glossary -======== - -This glossary is divided in two sections, the first one concerns Tezos, and -the second one concerns the `economic protocol`_. The definitions in the latter -section may be different for other protocol versions. - -Tezos ------ - -_`Block` - The Tezos blockchain is a linked list of blocks (or actually, a tree when several competing branches exist). - Blocks conceptually contain a header and a list of operation_\ s, - which are specific to the `economic protocol`_. - - The header itself decomposes into a :ref:`shell header` (common to all Tezos economic protocols), and a protocol-specific header. - The shell header contains protocol-agnostic data such as the predecessor's block hash and the block's timestamp. - -.. _def_context: -.. _def_context_nairobi: - -_`Context` - The state of the blockchain. The context is defined by the - `economic protocol`_ and typically includes information such as - “this account_ is credited with this many tez” and “this is the - code for that `smart contract`_.” - - The context is modified by operation_\ s. For example, an - operation_ can transfer tez from one account_ to another, which modifies the - part of the context that tracks account_ credit. - -_`Economic protocol` - The economic protocol is the set of rules defining valid operation_\ s and block_\ s, how the network agrees on the next block to build (the consensus algorithm), - and how operations update the blockchain state, also called context_. - - In Tezos, the economic protocol can be upgraded without interruption or - forking of the blockchain. This is because the procedure for an upgrade is also defined within the economic protocol, which can thus update itself. - -_`Fitness` (a.k.a. score, weight) - For each block, the consensus algotrithm can compute a score called fitness which determines the quality of the chain leading to that block. - The shell changes the head of the chain to the valid block that has the highest fitness. - -_`Height` - See level_. - -.. _def_level: -.. _def_level_nairobi: - -_`Level` (a.k.a. block height) - The position of a block_ in the blockchain, that is, the number of blocks - since the genesis block, where the genesis block is at level 0. - -_`Mempool` - A pool (set) of operation_\ s maintained by a node_ and not yet included in a block_. - -.. _def_metadata: -.. _def_metadata_nairobi: - -_`Metadata` - A (block or operation) metadata is a piece of data - computed as a result of the application of the - block or operation on an associated context_. The metadata - consists of many pieces of information such as the operation receipts, - rewards updates, voting period, etc. - - A block's metadata is the collections of operations metadata for all the operations included in the block (if the validation was successful). - - For a detailed metadata content check the :doc:`./rpc` under - the prefix ``..//metadata``. - -_`Node` - A peer in the P2P network. It maintains a local state and propagates block_\ s - and operation_\ s. - -_`Operation` - An operation transforms the context_; this is what makes the state of the chain - change. Operations are grouped into block_\ s; thus, the chain progresses in - batches. - For the different kinds of operations defined by the protocol, see `operation kinds`_. - -_`Score` - See fitness_. - -_`Shell` - The shell is a software component of the node_. It is parameterized by a - specific `economic protocol`_. It serves as the bridge between the P2P layer - (handling communication between nodes) and the `economic protocol`_ layer - (handling the context_, operation_ application, scoring, etc.). - -_`Weight` - See fitness_. - -Protocol --------- - -.. _def_accuser: -.. _def_accuser_nairobi: - -_`Accuser` - When a delegate_ attempts `double signing`_ (or when it tries - to abuse the network in another similar way), another delegate_ can make an - accusation, by providing evidence of the offense. The delegate_ injecting the accusation in a newly baked block is called the accuser.\ - - The accuser is awarded some funds from the security deposit of the accused. - - When using :ref:`Octez `, accusation operations are emitted by the - accuser daemon. Note that this daemon is not associated to a delegate: accusation operations are anonymous, and any delegate can include them in a block. - -.. _def_account: -.. _def_account_nairobi: - -_`Account` - An account is an address managed by the protocol. - In the context_, each account is associated with a balance (an amount of - tez available). - - An account can be either an `originated account`_ or an `implicit account`_. - -_`Baker` - When a delegate_ creates a new block_, it is called the baker of this block. - `Baking rights`_ are distributed to different delegates based on their - available stake_. Only a delegate with baking rights - is allowed to bake. - The baker selects transactions from the mempool_ to be included in the block it bakes. - - When using :ref:`Octez `, baking and other consensus actions are handled by the baker - daemon, on behalf of one or more delegate_ accounts. - By extension, a baker designates the owner of such a delegate account, typically running the baker daemon on its behalf. - -_`Baking` - The act of creating a new block_ by a baker_. - -_`Baking rights` - Baking_/endorsing_ a block_ can only be done by a delegate_ who holds the - baking/endorsing right for that block level_ and round_. At the start of a cycle_, - baking and endorsing rights are computed for all the block_ levels and rounds in the - cycle_, based on the proportion of the stake_ of each delegate_. - - For each block_ level and round_, there is exactly one account that is allowed to bake, but several accounts are allowed to endorse. - -_`Burn` - To ensure responsible use of the storage space on the public blockchain, - there are some costs charged to users for consuming storage. These - costs are burnt (i.e., the amount of tez is destroyed). For example, - a per-byte storage cost is burnt for increasing the storage space of a - smart contract; a fixed amount is burnt for allocating a new contract - (which consumes space by storing its address on the blockchain). - - See also `fee`_. - -_`Constant` - Protocols are parameterized by several parameters called protocol constants, which may vary from one protocol to another or from one network to another. - -_`Contract` - See account_. - -.. _def_cycle: -.. _def_cycle_nairobi: - -_`Cycle` - A cycle is a sequence of consecutive block_\ s of fixed length (given by a protocol constant_). E.g., cycle 12 started at block - level 49152 and ended at block_ level 53248. - - Cycles are used as a unit of “time” in the block_ chain. For example, the - different phases in the amendment voting procedures are defined based on - numbers of cycles. - - The length of a cycle is a (parametric) protocol - constant_, and thus might change across different - Tezos protocols. - -.. _def_delegate: -.. _def_delegate_nairobi: - -_`Delegate` - An `implicit account`_ that can participate in consensus and in governance. - Actual participation is under further provisions, like having a `minimal stake`_. - An implicit account becomes a delegate by registering as such. - Through delegation_, other accounts can delegate their rights to a delegate account. - The delegate's rights are calculated based on its stake_. - Note that ``tz4`` accounts cannot be delegates. - -_`Delegation` - An operation_ in which an account_ designates a - delegate_. The delegating account's balance increases the delegate_'s stake_ and consequently - its `baking rights`_ and `endorsing rights`_. However, the delegate_ does not control the funds of - the delegating account_, e.g., it can not spend them. - -.. _def_double_signing: -.. _def_double_signing_nairobi: - -_`Double signing` - The situation when a baker_ signs two different block_\ s at the same level and same round, - is called double baking. Double baking is detrimental to the network and might be - indicative of an attempt to double spend. - The same goes for signing two different endorsements at the same level and the same round. - As such, double signing (i.e., double baking or double endorsing) is punished by the - network: an accuser_ can provide proof of the double signing to be awarded - part of the double signer's deposit -- see :ref:`Slashing`. - -_`Failing Noop` - The ``Failing_noop`` operation implements a *No-op*, which always - fails at :ref:`application time`, and - should never appear in :ref:`applied - blocks`. This operation allows end-users to - :ref:`sign arbitrary messages` which have no - computational semantics. - -_`Endorsing` - When a block_ is created and propagated on the network, delegates that have - `endorsing rights`_ for the matching block level_ and round_ can emit an endorsement operation_. - Endorsement operations are included in the next block_. - -_`Endorsing rights` - See `baking rights`_. - -.. _def_fee: -.. _def_fee_nairobi: - -_`Fee` - To ensure responsible use of computation resources of other nodes, and also to encourage active participation in the consensus protocol, - users pay fees to bakers for including their operation_\ s in block_\ s. - For example, fees are paid to a baker for operations such as a transaction_ or a revelation of a public key. - - Currently, only :ref:`manager operations` - require collecting fees from its sender account_. - - See also `burn`_. - -.. _def_gas: -.. _def_gas_nairobi: - -_`Gas` - A measure of the number of elementary steps performed during - the execution of a `smart contract`_. Gas is used to measure how - much computing power is used to execute a `smart contract`_. - -.. _def_implicit_account: -.. _def_implicit_account_nairobi: - -_`Implicit account` - An account_ that is linked to a public key. Contrary to a `smart - contract`_, an implicit account cannot include a script and it - cannot reject incoming transactions. - - If *registered*, an `implicit account`_ can act as a delegate_. - - The address of an implicit account always starts with the - letters `tz` followed by `1`, `2`, `3`, or `4` (depending on the - signature scheme) and finally the hash of the public key. - -_`Layer 1` - The primary blockchain i.e. the Tezos chain. Within any blockchain ecosystem, Layer 1 (L1) refers to the main chain to - which side chains, rollups, or other protocols connect and settle to. The Layer 1 chain is deemed to be most - secure, since it has the most value (or stake) tied to it, and be most decentralized and censorship resistant. - However, transaction space is limited leading to low throughput and possibly high transaction costs. - See `Layer 2`_. - -_`Layer 2` - Layer 2 (L2) includes sidechains, rollups, payment channels, etc. that batch their transactions and - write to the `layer 1`_ chain. By processing transactions on layer 2 networks, - greater scalability in speed and throughput can be achieved by the ecosystem overall, since the number of transactions - the layer 1 can process directly is limited. By cementing transactions from a L2 to L1, - the security of the L1 chain backs those operations. In Tezos there are a number of layer 2 solutions, - including :doc:`Smart Optimistic Rollups `, - validity or ZK-Rollups `Epoxy `_ , - zkChannels, and sidechains such as `Deku `_. - -_`Michelson` - The built-in language used by a `smart contract`_. - -.. _def_minimal_stake: -.. _def_minimal_stake_nairobi: - -_`Minimal stake` - An amount of tez (e.g., 6000ꜩ) serving as a minimal amount for a - delegate to have `baking rights`_ and voting rights in a cycle_. - -_`Operation kinds` - The main kinds of operations in the protocol are transactions (to transfer funds - or to execute smart contracts), accusations, activations, delegations, - endorsements, and originations. - For the full list of operations, see :doc:`./blocks_ops`. - -_`Originated account` - See `smart contract`_. - -.. _def_origination: -.. _def_origination_nairobi: - -_`Origination` - A manager operation_ whose purpose is to create -- that - is, to deploy -- a `smart contract`_ on the Tezos blockchain. - -.. _def_round: -.. _def_round_nairobi: - -_`Round` - An attempt to reach consensus on a block at a given level. - A round is represented by an index, starting with 0. - Each round corresponds to a time span. - A baker_ with `baking rights`_ at a given round is only allowed to bake during - the round's corresponding time span. Baking_ outside of one's designated - round results in an invalid block_. - -_`Roll` - deprecated; see `minimal stake`_. - -_`Smart contract` - Account_ which is associated to a Michelson_ script. - They are created with an - explicit origination_ operation and are therefore sometimes called - originated accounts. The address of a smart contract always starts - with the letters ``KT1``. - -_`Smart Optimistic Rollups` - Smart optimistic rollups constitute a `layer 2`_ solution that can be used to deploy either a general-purpose polyvalent layer 2 blockchain - (e.g., an EVM-compatible one), or an application-specific DApp. - See :doc:`smart_rollups`. - -_`Stake` - The amount of tokens that determines a delegate_'s weight in the - governance process and in the selection of its baking and - `endorsing rights`_. A delegate's stake is usually given by the - delegate's own tokens plus the sum of tokens delegated to - it. However, there are cases when this is not the case, see - :ref:`here` for details. - -_`Transaction` - An operation_ to transfer tez between two accounts, or to run the code of a - `smart contract`_. - -_`Validation pass` - An index (a natural number) associated with a particular kind of - operations, allowing to group them into classes. Validation passes - enable prioritizing the :ref:`validation and - application` of certain classes of - operations. - -_`Voting period` - Any of the ``proposal``, ``exploration``, ``cooldown``, - ``promotion`` or ``adoption`` stages in the voting procedure when - amending the `economic protocol`_. - -_`Voting listings` - The list calculated at the beginning of each `voting period`_ that contains - the staking balance (in number of mutez) of each delegate_ that owns more - than the `minimal stake`_ at that moment. For each delegate_, the voting listings - reflect the weight of the vote emitted by the delegate_ when amending the - `economic protocol`_. diff --git a/docs/nairobi/liquidity_baking.rst b/docs/nairobi/liquidity_baking.rst deleted file mode 100644 index 7624bec91ac3..000000000000 --- a/docs/nairobi/liquidity_baking.rst +++ /dev/null @@ -1,89 +0,0 @@ -Liquidity Baking -================ - -Liquidity baking incentivizes large amounts of decentralized liquidity provision between tez and tzBTC by minting a small amount of tez every block and depositing it inside of a constant product market making smart-contract. - -Contracts -~~~~~~~~~ - -During activation of Granada protocol, a constant product market making (CPMM) Michelson contract has been deployed on the chain with address ``KT1TxqZ8QtKvLu3V3JH7Gx58n7Co8pgtpQU5`` as well as an associated liquidity token contract (LQT) with address ``KT1AafHA1C1vk959wvHWBispY9Y2f3fxBUUo``. - -.. warning:: - - While the CPMM and LQT contract originations provide an ``Origination_result``, the LQT contract contains two big maps not included in a `lazy_storage_diff` field. Indexers and other tooling may need manual updates to include these. - -The CPMM maintains a balance of ``a`` tez and ``b`` `tzBTC `_, where tzBTC is the `FA1.2 token `_ found at address ``KT1PWx2mnDueood7fEmfbBDKx1D9BAnnXitn``. The smart contract accepts deposits of ``da`` tez and returns ``db`` tzBTC (or vice versa) where the invariant ``(a + da * (1 - f - n)) * (b - db) = a b`` is preserved, and ``f`` and ``n`` are a fee and burn, set at 0.1% each. Calculations are done with precision of 1000, rounding down on division. - -To implement this contract, we use a fork of the open source code base used by `version two `_ of the "Dexter" project. The implementation of this contract has been `formally verified `_ against its functional specification. The contract code is modified in the following way: - -1. The fee is set to 0.1% only (the fee in Dexter v2 is set to 0.3%). Rationale: given the subsidy it is not necessary to charge a large fee and better to improve liquidity. -2. An additional 0.1% of every trade is burned by being transferred to the null implicit account. Rationale: this mechanism offsets inflation from the subsidy. The inflation is exactly balanced at a daily trade volume of 7.2 million tez. -3. The ability to set a delegate has been removed. Rationale: the subsidy means there is no need for a baker for that contract and having one would create an imbalance. -4. The ability to set a manager has been removed. Rationale: the only privilege of the Dexter manager is to set Dexter's delegate so this role is now unnecessary. - -The LIGO and Michelson code for these contracts, as well as detailed documentation, can be found on `the liquidity baking branch of the Dexter 2 repository `_. - -Subsidy -~~~~~~~ - -At every block in the chain, a small amount of tez is minted and credited to the CPMM contract, and the CPMM's ``%default`` entrypoint is called to update the ``xtz_pool`` balance in its storage. The amount that is minted and sent to the CPMM contract is 1/16th of the rewards for a block of round 0 with all endorsements; currently these rewards are 20 tez per block so the amount that is sent to the CPMM contract is 1.25 tez per block. - -So the credits to the CPMM contract can be accounted for by indexers, they are included in block metadata as a balance update with a new constructor for ``update_origin``, ``Subsidy``. - -.. _toggle: -.. _toggle_nairobi: - -Toggle vote -~~~~~~~~~~~ - -The subsidy can be paused by a mechanism called the Liquidity Baking -Toggle Vote. At every block, the baker producing the block includes -a flag that requests ending the subsidy or on the contrary continuing -or restarting it. The context maintains an exponential moving average -of that flag. The baker has three options for this flag: ``Off`` to -request ending the subsidy, ``On`` to request continuing or restarting -the subsidy, and ``Pass`` to abstain. - -``e[n+1] = e[n]`` if the flag is set to ``Pass``. -``e[n+1] = (1999 * e[n] // 2000) + 1_000_000`` if the flag is set to ``Off``. -``e[n+1] = (1999 * e[n] // 2000)`` if the flag is set to ``On``. -When computing ``e[n+1]``, the division is rounded toward ``1_000_000_000``. - -If at any block ``e[n] >= 1_000_000_000`` then it means that an -exponential moving average with a window size on the order of two -thousand non-abstaining blocks has had roughly at least a half of the -blocks demanding the end of the subsidy. If that is the case, the -subsidy is halted but can be reactivated if for some later block -``e[n] < 1_000_000_000``. - -For indicative purposes, if among the non-abstaining blocks a fraction -``f`` of blocks use it to request ending the subsidy, the threshold is -reached after roughly ``2*(log(1-1/(2f)) / log(0.999))`` -non-abstaining blocks, about 1386 blocks if everyone signals, 1963 -blocks if 80% do, 3583 blocks if 60% do etc. Recall for comparison -that assuming four blocks per minute there are 5760 blocks per day. - -When producing blocks using Octez baking daemon ``octez-baker``, there -are two command-line options affecting toggle vote. The -``--liquidity-baking-toggle-vote `` option sets a static -value to be used in each block. Note that this option must be placed -**after** ``run`` on the command-line. Moreover, the path of a JSON -file can be given to the ``--votefile `` option -e.g. ``octez-baker- run with local node -~/.tezos-node alice --liquidity-baking-toggle-vote on --votefile -"per_block_votes.json"``, or placed in a default location: -``per_block_votes.json`` in the current working directory **or** in -the client data directory -(e.g. ``~/.tezos-client/per_block_votes.json``); the former location -takes precedence. The content of the JSON file will be repeatedly -submitted on each baked block, where ``per_block_votes.json`` contains -just ``{"liquidity_baking_toggle_vote": "pass"}`` (to abstain), -``{"liquidity_baking_toggle_vote": "off"}`` (to request ending the -subsidy), or ``{"liquidity_baking_toggle_vote": "on"}`` (to request -continuing the subsidy). When the ``--votefile`` option is present it -takes precedence over ``--liquidity-baking-toggle-vote``. If the JSON -file is deleted or becomes malformed while the baker is running, the -last valid value read is used. If neither a valid vote file is -provided nor a CLI value given, the baker will fail on the first block -after it was started. See also the :ref:`baker man -page`. diff --git a/docs/nairobi/michelson.rst b/docs/nairobi/michelson.rst deleted file mode 100644 index 78334f5f4b82..000000000000 --- a/docs/nairobi/michelson.rst +++ /dev/null @@ -1,3528 +0,0 @@ -Michelson: the language of Smart Contracts in Tezos -=================================================== - -This specification gives a detailed formal semantics of the Michelson -language and a short explanation of how smart contracts are executed -and interact in the blockchain. - -The language is stack-based, with high level data types and primitives, -and strict static type checking. Its design cherry picks traits from -several language families. Vigilant readers will notice direct -references to Forth, Scheme, ML and Cat. - -A Michelson program is a series of instructions that are run in -sequence: each instruction receives as input the stack resulting from the -previous instruction, and rewrites it for the next one. The stack -contains both immediate values and heap allocated structures. All values -are immutable and garbage collected. - -The types of the input and output stack are fixed and monomorphic, -and the program is typechecked before being introduced into the system. -No smart contract execution can fail because an instruction has been -executed on a stack of unexpected length or contents. - -This specification gives the complete instruction set, type system and -semantics of the language. It is meant as a precise reference manual, -not an easy introduction. Even though, some examples are provided at -the end of the document and can be read first or at the same time as -the specification. The document also starts with a less formal -explanation of the context: how Michelson code interacts with the -blockchain. - -.. _address_prefixes: -.. _address_prefixes_nairobi: - -Semantics of smart contracts and transactions ---------------------------------------------- - -The Tezos ledger currently has two types of accounts that can hold -tokens (and be the destinations of transactions). - - - An implicit account is a non programmable account, whose tokens - are spendable and delegatable by a public key. Its address is - directly the public key hash, and starts with ``tz1``, ``tz2``, - ``tz3`` or ``tz4``. - - A smart contract is a programmable account. A transaction to such - an address can provide data, and can fail for reasons decided by - its Michelson code. Its address is a unique hash that depends on - the operation that led to its creation, and starts with ``KT1``. - -From Michelson, they are indistinguishable. A safe way to think about -this is to consider that implicit accounts are smart contracts that -always succeed in receiving tokens, and do nothing else. - -Finally, addresses prefixed with ``sr1`` identify :doc:`smart rollups <./smart_rollups>`. - -Intra-transaction semantics -~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Alongside their tokens, smart contracts keep a piece of storage. Both -are ruled by a specific logic specified by a Michelson program. A -transaction to a smart contract will provide an input value and in -option some tokens, and in return, the smart contract can modify its -storage and transfer its tokens. - -The Michelson program receives as input a stack containing a single -pair whose first element is an input value and second element the -content of the storage space. It must return a stack containing a -single pair whose first element is the list of internal operations -that it wants to emit, and second element is the new contents of the -storage space. Alternatively, a Michelson program can fail, explicitly -using a specific opcode, or because something went wrong that could -not be caught by the type system (e.g. gas exhaustion). - -A bit of polymorphism can be used at contract level, with a -lightweight system of named entrypoints: instead of an input value, -the contract can be called with an entrypoint name and an argument, -and these two components are transformed automatically in a simple and -deterministic way to an input value. This feature is available both -for users and from Michelson code. See the dedicated section. - -Inter-transaction semantics -~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -An operation included in the blockchain is a sequence of "external -operations" signed as a whole by a source address. These operations -are of three kinds: - - - Transactions to transfer tokens to implicit accounts or tokens and - parameters to a smart contract (or, optionally, to a specified - entrypoint of a smart contract). - - Originations to create new smart contracts from its Michelson - source code, an initial amount of tokens transferred from the - source, and an initial storage contents. - - Delegations to assign the tokens of the source to the stake of - another implicit account (without transferring any tokens). - -Smart contracts can also emit "internal operations". These are run -in sequence after the external transaction completes, as in the -following schema for a sequence of two external operations. - -:: - - +------+----------------+-------+----------------+ - | op 1 | internal ops 1 | op 2 | internal ops 2 | - +------+----------------+-------+----------------+ - -Smart contracts called by internal transactions can in turn also emit -internal operation. The interpretation of the internal operations -of a given external operation uses a stack, as in the following -example, also with two external operations. - -:: - - +-----------+---------------+--------------------------+ - | executing | emissions | resulting stack | - +-----------+---------------+--------------------------+ - | op 1 | 1a, 1b, 1c | 1a, 1b, 1c | - | op 1a | 1ai, 1aj | 1ai, 1aj, 1b, 1c | - | op 1ai | | 1aj, 1b, 1c | - | op 1aj | | 1b, 1c | - | op 1b | 1bi | 1bi, 1c | - | op 1bi | | 1c | - | op 1c | | | - | op 2 | 2a, 2b | 2a, 2b | - | op 2a | 2ai | 2ai, 2b | - | op 2ai | 2ai1 | 2ai1, 2b | - | op 2ai1 | | 2b | - | op 2b | 2bi | 2bi | - | op 2bi | 2bi1 | 2bi1 | - | op 2bi1 | 2bi2 | 2bi2 | - | op 2bi2 | | | - +-----------+---------------+--------------------------+ - -Failures -~~~~~~~~ - -All transactions can fail for a few reasons, mostly: - - - Not enough tokens in the source to spend the specified amount. - - The script took too many execution steps. - - The script failed programmatically using the ``FAILWITH`` instruction. - -External transactions can also fail for these additional reasons: - - - The signature of the external operations was wrong. - - The code or initial storage in an origination did not typecheck. - - The parameter in a transfer did not typecheck. - - The destination did not exist. - - The specified entrypoint did not exist. - -All these errors cannot happen in internal transactions, as the type -system catches them at operation creation time. In particular, -Michelson has two types to talk about other accounts: ``address`` and -``contract t``. The ``address`` type merely gives the guarantee that -the value has the form of a Tezos address. The ``contract t`` type, on -the other hand, guarantees that the value is indeed a valid, existing -account whose parameter type is ``t``. To make a transaction from -Michelson, a value of type ``contract t`` must be provided, and the -type system checks that the argument to the transaction is indeed of -type ``t``. Hence, all transactions made from Michelson are well -formed by construction. - -In any case, when a failure happens, either total success or total -failure is guaranteed. If a transaction (internal or external) fails, -then the whole sequence fails and all the effects up to the failure -are reverted. These transactions can still be included in blocks, and -the transaction fees are given to the implicit account who baked the -block. - -Language semantics ------------------- - -This specification explains in a symbolic way the computation performed by the -Michelson interpreter on a given program and initial stack to produce -the corresponding resulting stack. The Michelson interpreter is a pure -function: it only builds a result stack from the elements of an initial -one, without affecting its environment. This semantics is then naturally -given in what is called a big step form: a symbolic definition of a -recursive reference interpreter. This definition takes the form of a -list of rules that cover all the possible inputs of the interpreter -(program and stack), and describe the computation of the corresponding -resulting stacks. - -Rules form and selection -~~~~~~~~~~~~~~~~~~~~~~~~ - -The rules have the main following form. - -:: - - > (syntax pattern) / (initial stack pattern) => (result stack pattern) - iff (conditions) - where (recursions) - and (more recursions) - -The left hand side of the ``=>`` sign is used for selecting the rule. -Given a program and an initial stack, one (and only one) rule can be -selected using the following process. First, the toplevel structure of -the program must match the syntax pattern. This is quite simple since -there are only a few non-trivial patterns to deal with instruction -sequences, and the rest is made of trivial patterns that match one -specific instruction. Then, the initial stack must match the initial -stack pattern. Finally, some rules add extra conditions over the values -in the stack that follow the ``iff`` keyword. Sometimes, several rules -may apply in a given context. In this case, the one that appears first -in this specification is to be selected. If no rule applies, the result -is equivalent to the one for the explicit ``FAILWITH`` instruction. This -case does not happen on well-typed programs, as explained in the next -section. - -The right hand side describes the result of the interpreter if the rule -applies. It consists in a stack pattern, whose parts are either -constants, or elements of the context (program and initial stack) that -have been named on the left hand side of the ``=>`` sign. - -Recursive rules (big step form) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Sometimes, the result of interpreting a program is derived from the -result of interpreting another one (as in conditionals or function -calls). In these cases, the rule contains a clause of the following -form. - -:: - - where (intermediate program) / (intermediate stack) => (partial result) - -This means that this rule applies in case interpreting the intermediate -state on the left gives the pattern on the right. - -The left hand sign of the ``=>`` sign is constructed from elements of -the initial state or other partial results, and the right hand side -identify parts that can be used to build the result stack of the rule. - -If the partial result pattern does not actually match the result of the -interpretation, then the result of the whole rule is equivalent to the -one for the explicit ``FAILWITH`` instruction. Again, this case does not -happen on well-typed programs, as explained in the next section. - -Format of patterns -~~~~~~~~~~~~~~~~~~ - -Code patterns are of one of the following syntactical forms. - -- ``INSTR`` (an uppercase identifier) is a simple instruction (e.g. - ``DROP``). -- ``INSTR (arg) ...`` is a compound instruction, whose arguments can be - code, data or type patterns (e.g. ``PUSH nat 3``). -- ``{ (instr) ; ... }`` is a possibly empty sequence of instructions, - (e.g. ``IF { SWAP ; DROP } { DROP }``), nested sequences can drop the - braces. -- ``name`` is a pattern that matches any program and names a part of - the matched program that can be used to build the result. -- ``_`` is a pattern that matches any instruction. - -Stack patterns are of one of the following syntactical forms. - -- ``[FAILED]`` is the special failed state. -- ``[]`` is the empty stack. -- ``(top) : (rest)`` is a stack whose top element is matched by the - data pattern ``(top)`` on the left, and whose remaining elements are - matched by the stack pattern ``(rest)`` on the right (e.g. - ``x : y : rest``). -- ``name`` is a pattern that matches any stack and names it in order to - use it to build the result. -- ``_`` is a pattern that matches any stack. - -Data patterns are of one of the following syntactical forms. - -- integer/natural number literals, (e.g. ``3``). -- string literals, (e.g. ``"contents"``). -- raw byte sequence literals (e.g. ``0xABCDEF42``). -- ``Tag`` (capitalized) is a symbolic constant, (e.g. ``Unit``, - ``True``, ``False``). -- ``(Tag (arg) ...)`` tagged constructed data, (e.g. ``(Pair 3 4)``). -- a code pattern for first class code values. -- ``name`` to name a value in order to use it to build the result. -- ``_`` to match any value. - -The domain of instruction names, symbolic constants and data -constructors is fixed by this specification. Michelson does not let the -programmer introduce its own types. - -Be aware that the syntax used in the specification may differ from -the :ref:`concrete syntax `. In particular -some instructions are annotated with types that are not present in the -concrete language because they are synthesized by the typechecker. - -Shortcuts -~~~~~~~~~ - -Sometimes, it is easier to think (and shorter to write) in terms of -program rewriting than in terms of big step semantics. When it is the -case, and when both are equivalents, we write rules of the form: - -:: - - p / S => S'' - where p' / S' => S'' - -using the following shortcut: - -:: - - p / S => p' / S' - -The concrete language also has some syntax sugar to group some common -sequences of operations as one. This is described in this specification -using a simple regular expression style recursive instruction rewriting. - -.. _michelson_type_system: -.. _michelson_type_system_nairobi: - -Introduction to the type system and notations ---------------------------------------------- - -This specification describes a type system for Michelson. To make things -clear, in particular to readers that are not accustomed to reading -formal programming language specifications, it does not give a -typechecking or inference algorithm. It only gives an intentional -definition of what we consider to be well-typed programs. For each -syntactical form, it describes the stacks that are considered well-typed -inputs, and the resulting outputs. - -The type system is sound, meaning that if a program can be given a type, -then if run on a well-typed input stack, the interpreter will never -apply an interpretation rule on a stack of unexpected length or -contents. Also, it will never reach a state where it cannot select an -appropriate rule to continue the execution. Well-typed programs do not -block, and do not go wrong. - -Type notations -~~~~~~~~~~~~~~ - -The specification introduces notations for the types of values, terms -and stacks. Apart from a subset of value types that appear in the form -of type annotations in some places throughout the language, it is -important to understand that this type language only exists in the -specification. - -A stack type can be written: - -- ``[]`` for the empty stack. -- ``(top) : (rest)`` for the stack whose first value has type ``(top)`` - and queue has stack type ``(rest)``. - -Instructions, programs and primitives of the language are also typed, -their types are written: - -:: - - (type of stack before) -> (type of stack after) - -The types of values in the stack are written: - -- ``identifier`` for a primitive data-type (e.g. ``bool``). -- ``identifier (arg)`` for a parametric data-type with one parameter - type ``(arg)`` (e.g. ``list nat``). -- ``identifier (arg) ...`` for a parametric data-type with several - parameters (e.g. ``map string int``). -- ``[ (type of stack before) -> (type of stack after) ]`` for a code - quotation, (e.g. ``[ int : int : [] -> int : [] ]``). -- ``lambda (arg) (ret)`` is a shortcut for - ``[ (arg) : [] -> (ret) : [] ]``. - -Meta type variables -~~~~~~~~~~~~~~~~~~~ - -The typing rules introduce meta type variables. To be clear, this has -nothing to do with polymorphism, which Michelson does not have. These -variables only live at the specification level, and are used to express -the consistency between the parts of the program. For instance, the -typing rule for the ``IF`` construct introduces meta variables to -express that both branches must have the same type. - -Here are the notations for meta type variables: - -- ``'a`` for a type variable. -- ``'A`` for a stack type variable. -- ``_`` for an anonymous type or stack type variable. - -Typing rules -~~~~~~~~~~~~ - -The system is syntax directed, meaning that it defines a single -typing rule for each syntax construct. A typing rule restricts the type -of input stacks that are authorized for this syntax construct, links the -output type to the input type, and links both of them to the -subexpressions when needed, using meta type variables. - -Typing rules are of the form: - -:: - - (syntax pattern) - :: (type of stack before) -> (type of stack after) [rule-name] - iff (premises) - -Where premises are typing requirements over subprograms or values in the -stack, both of the form ``(x) :: (type)``, meaning that value ``(x)`` -must have type ``(type)``. - -A program is shown well-typed if one can find an instance of a rule that -applies to the toplevel program expression, with all meta type variables -replaced by non variable type expressions, and of which all type -requirements in the premises can be proven well-typed in the same -manner. For the reader unfamiliar with formal type systems, this is -called building a typing derivation. - -Here is an example typing derivation on a small program that computes -``(x+5)*10`` for a given input ``x``, obtained by instantiating the -typing rules for instructions ``PUSH``, ``ADD`` and for the sequence, as -found in the next sections. When instantiating, we replace the ``iff`` -with ``by``. - -:: - - { PUSH nat 5 ; ADD ; PUSH nat 10 ; MUL } - :: [ nat : [] -> nat : [] ] - by { PUSH nat 5 ; ADD } - :: [ nat : [] -> nat : [] ] - by PUSH nat 5 - :: [ nat : [] -> nat : nat : [] ] - by 5 :: nat - and ADD - :: [ nat : nat : [] -> nat : [] ] - and { PUSH nat 10 ; MUL } - :: [ nat : [] -> nat : [] ] - by PUSH nat 10 - :: [ nat : [] -> nat : nat : [] ] - by 10 :: nat - and MUL - :: [ nat : nat : [] -> nat : [] ] - -Producing such a typing derivation can be done in a number of manners, -such as unification or abstract interpretation. In the implementation of -Michelson, this is done by performing a recursive symbolic evaluation of -the program on an abstract stack representing the input type provided by -the programmer, and checking that the resulting symbolic stack is -consistent with the expected result, also provided by the programmer. - -Side note -~~~~~~~~~ - -As with most type systems, it is incomplete. There are programs that -cannot be given a type in this type system, yet that would not go wrong -if executed. This is a necessary compromise to make the type system -usable. Also, it is important to remember that the implementation of -Michelson does not accept as many programs as the type system describes -as well-typed. This is because the implementation uses a simple single -pass typechecking algorithm, and does not handle any form of -polymorphism. - -Core data types and notations ------------------------------ - -- ``string``, ``nat``, ``int`` and ``bytes``: The core primitive - constant types. - -- ``bool``: The type for booleans whose values are ``True`` and - ``False``. - -- ``unit``: The type whose only value is ``Unit``, to use as a - placeholder when some result or parameter is not necessary. For - instance, when the only goal of a contract is to update its storage. - -- ``never``: The empty type. Since ``never`` has no inhabitant, no value of - this type is allowed to occur in a well-typed program. - -- ``list (t)``: A single, immutable, homogeneous linked list, whose - elements are of type ``(t)``, and that we write ``{}`` for the empty - list or ``{ first ; ... }``. In the semantics, we use chevrons to - denote a subsequence of elements. For instance: ``{ head ; }``. - -- ``pair (l) (r)``: A pair of values ``a`` and ``b`` of types ``(l)`` - and ``(r)``, that we write ``(Pair a b)``. - -- ``pair (t{1}) ... (t{n})`` with ``n > 2``: A shorthand for ``pair (t{1}) (pair (t{2}) ... (pair (t{n-1}) (t{n})) ...)``. - -- ``option (t)``: Optional value of type ``(t)`` that we write ``None`` - or ``(Some v)``. - -- ``or (l) (r)``: A union of two types: a value holding either a value - ``a`` of type ``(l)`` or a value ``b`` of type ``(r)``, that we write - ``(Left a)`` or ``(Right b)``. - -- ``set (t)``: Immutable sets of values of type ``(t)`` that we write as - lists ``{ item ; ... }``, of course with their elements unique, and - sorted. - -- ``map (k) (t)``: Immutable maps from keys of type ``(k)`` of values - of type ``(t)`` that we write ``{ Elt key value ; ... }``, with keys - sorted. - -- ``big_map (k) (t)``: Lazily deserialized maps from keys of type - ``(k)`` of values of type ``(t)``. - These maps should be used if you intend to store large amounts of data in a map. - Using ``big_map`` can reduce gas costs significantly compared to standard maps, as data is lazily deserialized. - Note however that individual operations on ``big_map`` have higher gas costs than those over standard maps. - A ``big_map`` also has a lower storage cost than a standard map of the same size, when large keys are used, since only the hash of each key is stored in a ``big_map``. - - A ``big_map`` cannot appear inside another ``big_map``. - See the section on :ref:`operations on big maps ` for a description of the syntax of values of type ``big_map (k) (t)`` and available operations. - -Core instructions ------------------ - -Control structures -~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``FAILWITH``: Explicitly abort the current program (`documentation `__). -- ``{}``: Empty sequence (`documentation `__). -- ``{ I ; C }``: Sequence (`documentation `__). -- ``IF bt bf``: Conditional branching (`documentation `__). -- ``LOOP body``: A generic loop (`documentation `__). -- ``LOOP_LEFT body``: A loop with an accumulator (`documentation `__). -- ``DIP code``: Runs code protecting the top element of the stack (`documentation `__). -- ``DIP n code``: Runs code protecting the ``n`` topmost elements of the stack (`documentation `__). -- ``EXEC``: Execute a function from the stack (`documentation `__). -- ``APPLY``: Partially apply a tuplified function from the stack (`documentation `__). - -Stack operations -~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``DROP``: Drop the top element of the stack (`documentation `__). -- ``DROP n``: Drop the ``n`` topmost elements of the stack (`documentation `__). -- ``DUP``: Duplicate the top element of the stack (`documentation `__). -- ``DUP n``: Duplicate the ``n``-th element of the stack (`documentation `__). -- ``SWAP``: Exchange the top two elements of the stack (`documentation `__). -- ``DIG n``: Take the element at depth ``n`` of the stack and move it - on top (`documentation `__). -- ``DUG n``: Place the element on top of the stack at depth ``n`` (`documentation `__). -- ``PUSH 'a x``: Push a constant value of a given type onto the stack (`documentation `__). -- ``LAMBDA 'a 'b code``: Push a lambda with the given parameter type ``'a`` and return type ``'b`` onto the stack (`documentation `__). -- ``LAMBDA_REC 'a 'b code``: Push a recursive lambda onto the stack (`documentation `__). - -Generic comparison -~~~~~~~~~~~~~~~~~~ - -Comparison only works on a class of types that we call comparable. A -``COMPARE`` operation is defined in an ad hoc way for each comparable -type, but the result of compare is always an ``int``, which can in turn -be checked in a generic manner using the following combinators. The -result of ``COMPARE`` is ``0`` if the top two elements of the stack are -equal, negative if the first element in the stack is less than the -second, and positive otherwise. - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``EQ``: Checks that the top element of the stack is equal to zero (`documentation `__). -- ``NEQ``: Checks that the top element of the stack is not equal to zero (`documentation `__). -- ``LT``: Checks that the top element of the stack is less than zero (`documentation `__). -- ``GT``: Checks that the top element of the stack is greater than zero (`documentation `__). -- ``LE``: Checks that the top element of the stack is less than or equal to - zero (`documentation `__). -- ``GE``: Checks that the top of the stack is greater than or equal to - zero (`documentation `__). - -Operations ----------- - -Operations on unit -~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``UNIT``: Push a unit value onto the stack (`documentation `__). -- ``COMPARE``: Unit comparison (`documentation `__). - -Operations on type never -~~~~~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``NEVER``: Close a forbidden branch (`documentation `__). -- ``COMPARE``: Trivial comparison on type ``never`` (`documentation `__). - - -Operations on booleans -~~~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``OR`` (`documentation `__). -- ``AND`` (`documentation `__). -- ``XOR`` (`documentation `__). -- ``NOT`` (`documentation `__). -- ``COMPARE``: Boolean comparison (`documentation `__). - -Operations on integers and natural numbers -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``NEG`` (`documentation `__). -- ``ABS`` (`documentation `__). -- ``ISNAT`` (`documentation `__). -- ``INT`` (`documentation `__). -- ``ADD`` (`documentation `__). -- ``SUB`` (`documentation `__). -- ``MUL`` (`documentation `__). -- ``EDIV``: Perform Euclidean division (`documentation `__). -- ``OR`` (`documentation `__). -- ``AND`` (`documentation `__). -- ``XOR`` (`documentation `__). -- ``NOT``: Two's complement (`documentation `__). -- ``LSL`` (`documentation `__). -- ``LSR`` (`documentation `__). -- ``COMPARE``: Integer/natural comparison (`documentation `__). - -Operations on strings -~~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``CONCAT``: String concatenation (`documentation `__). -- ``SIZE``: number of characters in a string (`documentation `__). -- ``SLICE``: String access (`documentation `__). -- ``COMPARE``: Lexicographic comparison (`documentation `__). - -Operations on pairs and right combs -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``PAIR``: Build a binary pair from the stack's top two elements (`documentation `__). -- ``PAIR n``: Fold ``n`` values on the top of the stack in a right comb (`documentation `__). -- ``UNPAIR``: Split a pair into its components (`documentation `__). -- ``UNPAIR n``: Unfold ``n`` values from a right comb on the top of the stack (`documentation `__). -- ``CAR``: Access the left part of a pair (`documentation `__). -- ``CDR``: Access the right part of a pair (`documentation `__). -- ``GET k``: Access an element or a sub comb in a right comb (`documentation `__). -- ``UPDATE k``: Update an element or a sub comb in a right comb (`documentation `__). -- ``COMPARE``: Lexicographic comparison (`documentation `__). - -Operations on sets -~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``EMPTY_SET 'elt``: Build a new, empty set for elements of a given - type (`documentation `__). -- ``MEM``: Check for the presence of an element in a set (`documentation `__). -- ``UPDATE``: Inserts or removes an element in a set, replacing a - previous value (`documentation `__). -- ``ITER body``: Apply the body expression to each element of a set (`documentation `__). -- ``SIZE``: Get the cardinality of the set (`documentation `__). - -Operations on maps -~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``EMPTY_MAP 'key 'val``: Build a new, empty map (`documentation `__). -- ``GET``: Access an element in a map (`documentation `__). -- ``MEM``: Check for the presence of a binding for a key in a map (`documentation `__). -- ``UPDATE``: Add, update, or remove an element in a map (`documentation `__). -- ``GET_AND_UPDATE``: A combination of the ``GET`` and ``UPDATE`` instructions (`documentation `__). -- ``MAP body``: Apply the body expression to each element of a map (`documentation `__). -- ``ITER body``: Apply the body expression to each element of a map (`documentation `__). -- ``SIZE``: Get the cardinality of the map (`documentation `__). - - -Operations on ``big_maps`` -~~~~~~~~~~~~~~~~~~~~~~~~~~ -.. _OperationsOnBigMaps: -.. _OperationsOnBigMaps_nairobi: - -Big maps have three possible representations. A map literal is always -a valid representation for a big map. Big maps can also be represented -by integers called big-map identifiers. Finally, big maps can be -represented as pairs of a big-map identifier (an integer) and a -big-map diff (written in the same syntax as a map whose values are -options). - -So for example, ``{ Elt "bar" True ; Elt "foo" False }``, ``42``, and -``Pair 42 { Elt "foo" (Some False) }`` are all valid representations -of type ``big_map string bool``. - -The behavior of big-map operations is the same as if they were normal -maps, except that under the hood, the elements are loaded and -deserialized on demand. - -- ``EMPTY_BIG_MAP 'key 'val``: Build a new, empty big map from keys of a - given type to values of another given type. - - The ``'key`` type must be comparable (the ``COMPARE`` primitive must - be defined over it). - -:: - - :: 'S -> map 'key 'val : 'S - -- ``GET``: Access an element in a ``big_map``, returns an optional value to be - checked with ``IF_SOME``. - -:: - - :: 'key : big_map 'key 'val : 'S -> option 'val : 'S - -- ``MEM``: Check for the presence of an element in a ``big_map``. - -:: - - :: 'key : big_map 'key 'val : 'S -> bool : 'S - -- ``UPDATE``: Assign or remove an element in a ``big_map``. - -:: - - :: 'key : option 'val : big_map 'key 'val : 'S -> big_map 'key 'val : 'S - - -- ``GET_AND_UPDATE``: A combination of the ``GET`` and ``UPDATE`` instructions. - -:: - - :: 'key : option 'val : big_map 'key 'val : 'S -> option 'val : big_map 'key 'val : 'S - -This instruction is similar to ``UPDATE`` but it also returns the -value that was previously stored in the ``big_map`` at the same key as -``GET`` would. - - -Operations on optional values -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``SOME``: Pack a value as an optional value (`documentation `__). -- ``NONE 'a``: The absent optional value (`documentation `__). -- ``IF_NONE bt bf``: Inspect an optional value (`documentation `__). -- ``COMPARE``: Optional values comparison (`documentation `__). -- ``MAP body``: Apply the body expression to the value inside the option if there is one (`documentation `__). - -Operations on unions -~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``LEFT 'b``: Pack a value in a union (left case) (`documentation `__). -- ``RIGHT 'a``: Pack a value in a union (right case) (`documentation `__). -- ``IF_LEFT bt bf``: Inspect a value of a union (`documentation `__). -- ``COMPARE``: Unions comparison (`documentation `__). - -Operations on lists -~~~~~~~~~~~~~~~~~~~ - -- ``CONS``: Prepend an element to a list. - -:: - - :: 'a : list 'a : 'S -> list 'a : 'S - - > CONS / a : { } : S => { a ; } : S - -- ``NIL 'a``: The empty list. - -:: - - :: 'S -> list 'a : 'S - - > NIL / S => {} : S - -- ``IF_CONS bt bf``: Inspect a list. - -:: - - :: list 'a : 'A -> 'B - iff bt :: [ 'a : list 'a : 'A -> 'B] - bf :: [ 'A -> 'B] - - > IF_CONS bt bf / { a ; } : S => bt / a : { } : S - > IF_CONS bt bf / {} : S => bf / S - -- ``MAP body``: Apply the body expression to each element of the list. - The body sequence has access to the stack. - -:: - - :: (list 'elt) : 'A -> (list 'b) : 'A - iff body :: [ 'elt : 'A -> 'b : 'A ] - - > MAP body / {} : S => {} : S - > MAP body / { a ; } : S => { b ; } : S'' - where body / a : S => b : S' - and MAP body / { } : S' => { } : S'' - -- ``SIZE``: Get the number of elements in the list. - -:: - - :: list 'elt : 'S -> nat : 'S - - > SIZE / { _ ; } : S => 1 + s : S - where SIZE / { } : S => s : S - > SIZE / {} : S => 0 : S - - -- ``ITER body``: Apply the body expression to each element of a list. - The body sequence has access to the stack. - -:: - - :: (list 'elt) : 'A -> 'A - iff body :: [ 'elt : 'A -> 'A ] - > ITER body / {} : S => S - > ITER body / { a ; } : S => ITER body / { } : S' - iff body / a : S => S' - - -Domain specific data types --------------------------- - -- ``timestamp``: Dates in the real world. - -- ``mutez``: A specific type for manipulating tokens. - -- ``address``: An untyped address (implicit account or smart contract). - -- ``contract 'param``: A contract, with the type of its code, - ``contract unit`` for implicit accounts. - -- ``operation``: An internal operation emitted by a contract. - -- ``key``: A public cryptographic key. - -- ``key_hash``: The hash of a public cryptographic key. - -- ``signature``: A cryptographic signature. - -- ``chain_id``: An identifier for a chain, used to distinguish the test and the main chains. - -- ``bls12_381_g1``, ``bls12_381_g2`` : Points on the BLS12-381 curves G\ :sub:`1`\ and G\ :sub:`2`\ , respectively. - -- ``bls12_381_fr`` : An element of the scalar field F\ :sub:`r`\ , used for scalar multiplication on the BLS12-381 curves G\ :sub:`1`\ and G\ :sub:`2`\ . - -- ``sapling_transaction ms``: A :doc:`Sapling ` transaction - -- ``sapling_state ms``: A :doc:`Sapling ` state - -- ``ticket (t)``: A ticket used to authenticate information of type ``(t)`` on-chain. - -- ``chest``: a timelocked chest containing bytes and information to open it. - see :doc:`Timelock ` . - -- ``chest_key``: used to open a chest, also contains a proof - to check the correctness of the opening. see :doc:`Timelock ` . - -- ``tx_rollup_l2_address``: An address used to identify an account in a transaction rollup ledger. It is the hash of a BLS public key, used to authenticate layer-2 operations to transfer tickets from this account. - - -Domain specific operations --------------------------- - -Operations on timestamps -~~~~~~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``ADD`` Increment / decrement a timestamp of the given number of - seconds (`documentation `__). -- ``SUB`` Subtract a number of seconds from a timestamp (`documentation `__). -- ``SUB`` Subtract two timestamps (`documentation `__). -- ``COMPARE``: Timestamp comparison (`documentation `__). - - -Operations on Mutez -~~~~~~~~~~~~~~~~~~~ - -A detailed description of the following instructions can be found in the `interactive Michelson reference manual `__. - -- ``ADD`` (`documentation `__). -- ``SUB_MUTEZ`` (`documentation `__). -- ``MUL`` (`documentation `__). -- ``EDIV`` (`documentation `__). -- ``COMPARE``: Mutez comparison (`documentation `__). - -Operations on contracts -~~~~~~~~~~~~~~~~~~~~~~~ - -- ``CREATE_CONTRACT { storage 'g ; parameter 'p ; code ... }``: - Forge a new contract from a literal. - -:: - - :: option key_hash : mutez : 'g : 'S - -> operation : address : 'S - -Originate a contract based on a literal. The parameters are the -optional delegate, the initial amount taken from the current -contract, and the initial storage of the originated contract. -The contract is returned as a first class value (to be dropped, passed -as parameter or stored). The ``CONTRACT 'p`` instruction will fail -until it is actually originated. Note that since ``tz4`` addresses -cannot be registered as delegates, the origination operation will fail -if the delegate is a ``tz4``. - -- ``TRANSFER_TOKENS``: Forge a transaction. - -:: - - :: 'p : mutez : contract 'p : 'S -> operation : 'S - -The parameter must be consistent with the one expected by the -contract, unit for an account. - -.. _MichelsonSetDelegate: -.. _MichelsonSetDelegate_nairobi: - -- ``SET_DELEGATE``: Set or withdraw the contract's delegation. - -:: - - :: option key_hash : 'S -> operation : 'S - -Using this instruction is the only way to modify the delegation of a -smart contract. If the parameter is ``None`` then the delegation of the -current contract is withdrawn; if it is ``Some kh`` where ``kh`` is the -key hash of a registered delegate that is not the current delegate of -the contract, then this operation sets the delegate of the contract to -this registered delegate. The operation fails if ``kh`` is the current -delegate of the contract or if ``kh`` is not a registered delegate. -Note that ``tz4`` addresses cannot be registered as delegates. - -- ``BALANCE``: Push the current amount of mutez held by the executing - contract, including any mutez added by the calling transaction. - -:: - - :: 'S -> mutez : 'S - -- ``ADDRESS``: Cast the contract to its address. - -:: - - :: contract _ : 'S -> address : 'S - - > ADDRESS / addr : S => addr : S - -- ``CONTRACT 'p``: Cast the address to the given contract type if possible. - -:: - - :: address : 'S -> option (contract 'p) : 'S - - > CONTRACT / addr : S => Some addr : S - iff addr exists and is a contract of parameter type 'p - > CONTRACT / addr : S => Some addr : S - iff 'p = unit and addr is an implicit contract - > CONTRACT / addr : S => None : S - otherwise - -- ``SOURCE``: Push the contract that initiated the current - transaction, i.e. the contract that paid the fees and - storage cost, and whose manager signed the operation - that was sent on the blockchain. Note that since - ``TRANSFER_TOKENS`` instructions can be chained, - ``SOURCE`` and ``SENDER`` are not necessarily the same. - -:: - - :: 'S -> address : 'S - -- ``SENDER``: Push the contract that initiated the current - internal transaction. It may be the ``SOURCE``, but may - also be different if the source sent an order to an intermediate - smart contract, which then called the current contract. - -:: - - :: 'S -> address : 'S - -- ``SELF``: Push the current contract. - -:: - - :: 'S -> contract 'p : 'S - where contract 'p is the type of the current contract - -Note that ``SELF`` is forbidden in lambdas because it cannot be -type-checked; the type of the contract executing the lambda cannot be -known at the point of type-checking the lambda's body. - -- ``SELF_ADDRESS``: Push the address of the current contract. This is - equivalent to ``SELF; ADDRESS`` except that it is allowed in - lambdas. - -:: - - :: 'S -> address : 'S - -Note that ``SELF_ADDRESS`` inside a lambda returns the address of the -contract executing the lambda, which can be different from the address -of the contract in which the ``SELF_ADDRESS`` instruction is written. - -- ``AMOUNT``: Push the amount of the current transaction. - -:: - - :: 'S -> mutez : 'S - -- ``IMPLICIT_ACCOUNT``: Return a default contract with the given - public/private key pair. Any funds deposited in this contract can - immediately be spent by the holder of the private key. This contract - cannot execute Michelson code and will always exist on the - blockchain. - -:: - - :: key_hash : 'S -> contract unit : 'S - -- ``VOTING_POWER``: Return the voting power of a given contract. This - voting power coincides with the weight of the contract in the - voting listings, which is calculated at the beginning of every - voting period. Currently the voting power is proportional to the - full staking balance of the contract, but this might change in - future version of the protocol and developers should not rely on - this. Hence, the value returned by ``VOTING_POWER`` should only be - considered relative to the one returned by ``TOTAL_VOTING_POWER``. - -:: - - :: key_hash : 'S -> nat : 'S - -Special operations -~~~~~~~~~~~~~~~~~~ - -- ``NOW``: Push the minimal injection time for the current block, - namely the block whose validation triggered this execution. The - minimal injection time is 60 seconds after the timestamp of the - predecessor block. This value does not change during the execution - of the contract. - -:: - - :: 'S -> timestamp : 'S - -- ``CHAIN_ID``: Push the chain identifier. - -:: - - :: 'S -> chain_id : 'S - -- ``COMPARE``: Chain identifier comparison - -:: - - :: chain_id : chain_id : 'S -> int : 'S - - > COMPARE / x : y : S => -1 : S - iff x < y - > COMPARE / x : y : S => 0 : S - iff x = y - > COMPARE / x : y : S => 1 : S - iff x > y - -- ``LEVEL``: Push the level of the current transaction's block. - -:: - - :: 'S -> nat : 'S - -- ``TOTAL_VOTING_POWER``: Return the total voting power of all contracts. The total - voting power coincides with the sum of the voting power of every contract in - the voting listings (as returned by ``VOTING_POWER``). The voting listings is calculated at the beginning of every - voting period. - -:: - - :: 'S -> nat : 'S - -- ``MIN_BLOCK_TIME``: Push the current minimal block time in seconds. - -:: - - :: 'S -> nat : 'S - -Operations on bytes -~~~~~~~~~~~~~~~~~~~ - -Bytes are used for serializing data, in order to check signatures and -compute hashes on them. They can also be used to incorporate data from -the wild and untyped outside world. - -- ``PACK``: Serializes a piece of data to its optimized - binary representation. - -:: - - :: 'a : 'S -> bytes : 'S - -- ``UNPACK 'a``: Deserializes a piece of data, if valid. - -:: - - :: bytes : 'S -> option 'a : 'S - -- ``CONCAT``: Byte sequence concatenation. - -:: - - :: bytes : bytes : 'S -> bytes : 'S - - > CONCAT / s : t : S => (s ^ t) : S - - :: bytes list : 'S -> bytes : 'S - - > CONCAT / {} : S => 0x : S - > CONCAT / { s ; } : S => (s ^ r) : S - where CONCAT / { } : S => r : S - -- ``SIZE``: size of a sequence of bytes. - -:: - - :: bytes : 'S -> nat : 'S - -- ``SLICE``: Bytes access. - -:: - - :: nat : nat : bytes : 'S -> option bytes : 'S - - > SLICE / offset : length : s : S => Some ss : S - where ss is the substring of s at the given offset and of the given length - iff offset and (offset + length) are in bounds - > SLICE / offset : length : s : S => None : S - iff offset or (offset + length) are out of bounds - -- ``COMPARE``: Lexicographic comparison. - -:: - - :: bytes : bytes : 'S -> int : 'S - - > COMPARE / s : t : S => -1 : S - iff s < t - > COMPARE / s : t : S => 0 : S - iff s = t - > COMPARE / s : t : S => 1 : S - iff s > t - -Bitwise logical operators are also available on bytes. - -- ``OR`` - -:: - - :: bytes : bytes : 'S -> bytes : 'S - - > OR / x : y : S => (x | y) : S - -- ``AND`` - -:: - - :: bytes : bytes : 'S -> bytes : 'S - - > AND / x : y : S => (x & y) : S - -- ``XOR`` - -:: - - :: bytes : bytes : 'S -> bytes : 'S - - > XOR / x : y : S => (x ^ y) : S - -- ``NOT`` - -:: - - :: bytes : 'S -> bytes : 'S - - > NOT / x : S => ~x : S - -Logical shifts are also available on bytes. - -- ``LSL`` - -:: - - :: bytes : nat : 'S -> bytes : 'S - - > LSL / x : s : S => (x << s) : S - iff s <= 64000 - > LSL / x : s : S => [FAILED] - iff s > 64000 - -- ``LSR`` - -:: - - :: bytes : nat : 'S -> bytes : 'S - - > LSR / x : s : S => (x >> s) : S - iff s <= 256 - > LSR / x : s : S => [FAILED] - iff s > 256 - -Bytes can be converted to natural numbers and integers. - -- ``NAT``: Convert ``bytes`` to type ``nat`` using big-endian encoding. - The ``bytes`` are allowed to have leading zeros. - -:: - - :: bytes : 'S -> nat : 'S - - > NAT / s : S => n : S - iff s is a big-endian encoding of natural number n - -- ``INT``: Convert ``bytes`` to type ``int`` using big-endian two's complement encoding. - The ``bytes`` are allowed to have leading zeros for non-negative numbers and leading ones for negative numbers. - -:: - - :: bytes : 'S -> int : 'S - - > INT / s : S => z : S - iff s is a big-endian encoding of integer z - -- ``BYTES``: Convert a ``nat`` or an ``int`` to type ``bytes`` using big-endian encoding (and two's complement for ``int``). - -:: - - :: int : 'S -> bytes : 'S - :: nat : 'S -> bytes : 'S - - > BYTES / n : S => s : S - iff s is the shortest big-endian encoding of natural number or integer n - -Cryptographic primitives -~~~~~~~~~~~~~~~~~~~~~~~~ - -- ``HASH_KEY``: Compute the b58check of a public key. - -:: - - :: key : 'S -> key_hash : 'S - -- ``BLAKE2B``: Compute a cryptographic hash of the value contents using the - Blake2b-256 cryptographic hash function. - -:: - - :: bytes : 'S -> bytes : 'S - -- ``KECCAK``: Compute a cryptographic hash of the value contents using the - Keccak-256 cryptographic hash function. - -:: - - :: bytes : 'S -> bytes : 'S - -- ``SHA256``: Compute a cryptographic hash of the value contents using the - Sha256 cryptographic hash function. - -:: - - :: bytes : 'S -> bytes : 'S - -- ``SHA512``: Compute a cryptographic hash of the value contents using the - Sha512 cryptographic hash function. - -:: - - :: bytes : 'S -> bytes : 'S - -- ``SHA3``: Compute a cryptographic hash of the value contents using the - SHA3-256 cryptographic hash function. - -:: - - :: bytes : 'S -> bytes : 'S - -- ``CHECK_SIGNATURE``: Check that a sequence of bytes has been signed - with a given key. - -:: - - :: key : signature : bytes : 'S -> bool : 'S - -- ``COMPARE``: Key hash, key and signature comparison - -:: - - :: key_hash : key_hash : 'S -> int : 'S - :: key : key : 'S -> int : 'S - :: signature : signature : 'S -> int : 'S - - > COMPARE / x : y : S => -1 : S - iff x < y - > COMPARE / x : y : S => 0 : S - iff x = y - > COMPARE / x : y : S => 1 : S - iff x > y - -BLS12-381 primitives -~~~~~~~~~~~~~~~~~~~~~~~~ - -- ``NEG``: Negate a curve point or field element. - -:: - - :: bls12_381_g1 : 'S -> bls12_381_g1 : 'S - :: bls12_381_g2 : 'S -> bls12_381_g2 : 'S - :: bls12_381_fr : 'S -> bls12_381_fr : 'S - -- ``ADD``: Add two curve points or field elements. - -:: - - :: bls12_381_g1 : bls12_381_g1 : 'S -> bls12_381_g1 : 'S - :: bls12_381_g2 : bls12_381_g2 : 'S -> bls12_381_g2 : 'S - :: bls12_381_fr : bls12_381_fr : 'S -> bls12_381_fr : 'S - -- ``MUL``: Multiply a curve point or field element by a scalar field element. Fr - elements can be built from naturals by multiplying by the unit of Fr using ``PUSH bls12_381_fr 1; MUL``. Note - that the multiplication will be computed using the natural modulo the order - of Fr. - -:: - - :: bls12_381_g1 : bls12_381_fr : 'S -> bls12_381_g1 : 'S - :: bls12_381_g2 : bls12_381_fr : 'S -> bls12_381_g2 : 'S - :: bls12_381_fr : bls12_381_fr : 'S -> bls12_381_fr : 'S - :: nat : bls12_381_fr : 'S -> bls12_381_fr : 'S - :: int : bls12_381_fr : 'S -> bls12_381_fr : 'S - :: bls12_381_fr : nat : 'S -> bls12_381_fr : 'S - :: bls12_381_fr : int : 'S -> bls12_381_fr : 'S - -- ``INT``: Convert a field element to type ``int``. The returned value is always between ``0`` (inclusive) and the order of Fr (exclusive). - -:: - - :: bls12_381_fr : 'S -> int : 'S - -- ``PAIRING_CHECK``: - Verify that the product of pairings of the given list of points is equal to 1 in Fq12. Returns ``true`` if the list is empty. - Can be used to verify if two pairings P1 and P2 are equal by verifying P1 * P2^(-1) = 1. - -:: - - :: list (pair bls12_381_g1 bls12_381_g2) : 'S -> bool : 'S - - -Sapling operations -~~~~~~~~~~~~~~~~~~ - -Please see the :doc:`Sapling integration` page for a more -comprehensive description of the Sapling protocol. - -- ``SAPLING_VERIFY_UPDATE``: verify and apply a transaction on a Sapling state. - -:: - - :: sapling_transaction ms : sapling_state ms : 'S -> option (pair bytes (pair int (sapling_state ms))): 'S - - > SAPLING_VERIFY_UPDATE / t : s : S => Some (Pair bound_data (Pair balance s')) : S - iff the transaction t successfully applied on state s resulting - in the bound_data and the balance of the transaction and an updated state s' - > SAPLING_VERIFY_UPDATE / t : s : S => None : S - iff the transaction t is invalid with respect to the state - -- ``SAPLING_EMPTY_STATE ms``: Pushes an empty state on the stack. - - :: - - :: 'S -> sapling_state ms: 'S - - > SAPLING_EMPTY_STATE ms / S => sapling_state ms : S - with `sapling_state ms` being the empty state (ie. no one can spend tokens from it) - with memo_size `ms` - -.. _MichelsonTickets: -.. _MichelsonTickets_nairobi: - -Operations on tickets -~~~~~~~~~~~~~~~~~~~~~ - -The following operations deal with tickets. Tickets are a way for smart-contracts -to authenticate data with respect to a Tezos address. This authentication can -then be used to build composable permission systems. For a high-level explanation of -tickets in Tezos, see :doc: `Tickets `. - -A contract can create a ticket from a value and an amount. The ticket, when -inspected reveals the value, the amount, and the address of the ticketer (the contract that created the ticket). It is -impossible for a contract to “forge” a ticket that appears to have been created -by another ticketer. - -The amount is a meta-data that can be used to implement UTXOs. - -Tickets cannot be duplicated using the ``DUP`` instruction. - -For example, a ticket could represent a Non Fungible Token (NFT) or a Unspent -Transaction Output (UTXO) which can then be passed around and behave like a value. -This process can happen without the need to interact with a centralized NFT contract, -simplifying the code. - -- ``TICKET``: Create a ticket with the given content and amount. The ticketer is the address - of `SELF`. The resulting value is ``NONE`` if the amount is zero. - -:: - - :: 'a : nat : 'S -> option ticket 'a : 'S - -Type ``'a`` must be comparable (the ``COMPARE`` primitive must be defined over it). - -- ``READ_TICKET``: Retrieve the information stored in a ticket. Also return the ticket. - -:: - - :: ticket 'a : 'S -> pair address 'a nat : ticket 'a : 'S - -- ``SPLIT_TICKET``: Delete the given ticket and create two tickets with the - same content and ticketer as the original, but with the new provided amounts. - (This can be used to easily implement UTXOs.) - Return None iff the ticket's original amount is not equal to the sum of the - provided amounts, or one of the provided amounts is zero. - -:: - - :: ticket 'a : (pair nat nat) : 'S -> - option (pair (ticket 'a) (ticket 'a)) : 'S - -- ``JOIN_TICKETS``: The inverse of ``SPLIT_TICKET``. Delete the given tickets and create a ticket with an amount equal to the - sum of the amounts of the input tickets. - (This can be used to consolidate UTXOs.) - Return None iff the input tickets have a different ticketer or content. - -:: - - :: (pair (ticket 'a) (ticket 'a)) : 'S -> - option (ticket 'a) : 'S - -Operations on timelock -~~~~~~~~~~~~~~~~~~~~~~ - -- ``OPEN_CHEST``: opens a timelocked chest given its key and the time. The results can be bytes - if the opening is correct, or a boolean indicating whether the chest was incorrect, - or its opening was. See :doc:`Timelock ` for more information. - -:: - - :: chest_key : chest : nat : 'S -> or bytes bool : 'S - - -Events -~~~~~~ - -- ``EMIT %tag 'ty``: constructs an operation that will write an event into - the transaction receipt after the successful execution of this contract. - It accepts as arguments an annotation as a tag to the emitted event and - the type of data attachment. - - See :doc:`Event ` for more information. - -:: - - :: 'ty : 'S -> operation : 'S - - -Removed instructions -~~~~~~~~~~~~~~~~~~~~ - -:doc:`../protocols/005_babylon` deprecated the following instructions. Because no smart -contract used these on Mainnet before they got deprecated, they have been -removed. The Michelson type-checker will reject any contract using them. - -- ``CREATE_CONTRACT { storage 'g ; parameter 'p ; code ... }``: - Forge a new contract from a literal. - -:: - - :: key_hash : option key_hash : bool : bool : mutez : 'g : 'S - -> operation : address : 'S - -See the documentation of the new ``CREATE_CONTRACT`` instruction. The -first, third, and fourth parameters are ignored. - -- ``CREATE_ACCOUNT``: Forge an account creation operation. - -:: - - :: key_hash : option key_hash : bool : mutez : 'S - -> operation : address : 'S - -Takes as argument the manager, optional delegate, the delegatable flag -and finally the initial amount taken from the currently executed -contract. This instruction originates a contract with two entrypoints; -``%default`` of type ``unit`` that does nothing and ``%do`` of type -``lambda unit (list operation)`` that executes and returns the -parameter if the sender is the contract's manager. - -- ``STEPS_TO_QUOTA``: Push the remaining steps before the contract - execution must terminate. - -:: - - :: 'S -> nat : 'S - -.. _MichelsonViews: -.. _MichelsonViews_nairobi: - -Operations on views -~~~~~~~~~~~~~~~~~~~~ - -Views are a mechanism for contract calls that: - -- are read-only: they may depend on the storage of the contract declaring the view but cannot modify it nor emit operations (but they can call other views), -- take arguments as input in addition to the contract storage, -- return results as output, -- are synchronous: the result is immediately available on the stack of the caller contract. - -In other words, the execution of a view is included in the operation of caller's contract, but accesses the storage of the declarer's contract, in read-only mode. -Thus, in terms of execution, views are more like lambda functions rather than contract entrypoints, -Here is an example: - -:: - - code { - ...; - TRANSFER_TOKENS; - ...; - VIEW "view_ex" unit; - ...; - }; - -This contract calls a contract ``TRANSFER_TOKENS``, and, later on, a view called "view_ex". -No matter if the callee "view_ex" is defined in the same contract with this caller contract or not, -this view will be executed immediately in the current operation, -while the operations emitted by ``TRANSFER_TOKENS`` will be executed later on. -As a result, although it may seem that "view_ex" receives the storage modified by ``TRANSFER_TOKENS``, -this is not the case. -In other words, the storage of the view is the same as when the current contract was called. -In particular, in case of re-entrance, i.e., if a contract A calls a contract B that calls a view on A, the storage of the view will be the same as when B started, not when A started. - -Views are **declared** at the toplevel of the script of the contract on which they operate, -alongside the contract parameter type, storage type, and code. -To declare a view, the ``view`` keyword is used; its syntax is -``view name 'arg 'return { instr; ... }`` where: - -- ``name`` is a string of at most 31 characters matching the regular expression ``[a-zA-Z0-9_.%@]*``; it is used to identify the view, hence it must be different from the names of the other views declared in the same script; -- ``'arg`` is the type of the argument of the view; -- ``'return`` is the type of the result returned by the view; -- ``{ instr; ... }`` is a sequence of instructions of type ``lambda (pair 'arg 'storage_ty) 'return`` where ``'storage_ty`` is the type of the storage of the current contract. Certain specific instructions have different semantics in ``view``: ``BALANCE`` represents the current amount of mutez held by the contract where ``view`` is; ``SENDER`` represents the contract which is the caller of ``view``; ``SELF_ADDRESS`` represents the contract where ``view`` is; ``AMOUNT`` is always 0 mutez. - -Note that in both view input (type ``'arg``) and view output (type ``'return``), the following types are forbidden: ``ticket``, ``operation``, ``big_map`` and ``sapling_state``. - -Views are **called** using the following Michelson instruction: - -- ``VIEW name 'return``: Call the view named ``name`` from the contract whose address is the second element of the stack, sending it as input the top element of the stack. - -:: - - :: 'arg : address : 'S -> option 'return : 'S - - > VIEW name 'return / x : addr : S => Some y : S - iff addr is the address of a smart contract c with storage s - where c has a toplevel declaration of the form "view name 'arg 'return { code }" - and code / Pair x s : [] => y : [] - - > VIEW name 'return / _ : _ : S => None : S - otherwise - - - -If the given address is nonexistent or if the contract at that address does not have a view of the expected name and type, -``None`` will be returned. -Otherwise, ``Some a`` will be returned where ``a`` is the result of the view call. -Note that if a contract address containing an entrypoint ``address%entrypoint`` is provided, -only the ``address`` part will be taken. -``operation``, ``big_map`` and ``sapling_state`` and ``ticket`` types are forbidden for the ``'return`` type. - - -Here is an example using views, consisting of two contracts. -The first contract defines two views at toplevel that are named ``add_v`` and ``mul_v``. - -:: - - { parameter nat; - storage nat; - code { CAR; NIL operation ; PAIR }; - view "add_v" nat nat { UNPAIR; ADD }; - view "mul_v" nat nat { UNPAIR; MUL }; - } - - -The second contract calls the ``add_v`` view of the above contract and obtains a result immediately. - -:: - - { parameter (pair nat address) ; - storage nat ; - code { CAR ; UNPAIR; VIEW "add_v" nat ; - IF_SOME { } { FAIL }; NIL operation; PAIR }; } - -Macros ------- - -In addition to the operations above, several extensions have been added -to the language's concrete syntax. If you are interacting with the node -via RPC, bypassing the client, which expands away these macros, you will -need to desugar them yourself. - -These macros are designed to be unambiguous and reversible, meaning that -errors are reported in terms of desugared syntax. Below you'll see -these macros defined in terms of other syntactic forms. That is how -these macros are seen by the node. - -Compare -~~~~~~~ - -Syntactic sugar exists for merging ``COMPARE`` and comparison -combinators, and also for branching. - -- ``CMP{EQ|NEQ|LT|GT|LE|GE}`` - -:: - - > CMP(\op) / S => COMPARE ; (\op) / S - -- ``IF{EQ|NEQ|LT|GT|LE|GE} bt bf`` - -:: - - > IF(\op) bt bf / S => (\op) ; IF bt bf / S - -- ``IFCMP{EQ|NEQ|LT|GT|LE|GE} bt bf`` - -:: - - > IFCMP(\op) / S => COMPARE ; (\op) ; IF bt bf / S - -Fail -~~~~ - -The ``FAIL`` macros is equivalent to ``UNIT; FAILWITH`` and is callable -in any context since it does not use its input stack. - -- ``FAIL`` - -:: - - > FAIL / S => UNIT; FAILWITH / S - -Assertion macros -~~~~~~~~~~~~~~~~ - -All assertion operations are syntactic sugar for conditionals with a -``FAIL`` instruction in the appropriate branch. When possible, use them -to increase clarity about illegal states. - -- ``ASSERT`` - -:: - - > ASSERT => IF {} {FAIL} - -- ``ASSERT_{EQ|NEQ|LT|LE|GT|GE}`` - -:: - - > ASSERT_(\op) => IF(\op) {} {FAIL} - -- ``ASSERT_CMP{EQ|NEQ|LT|LE|GT|GE}`` - -:: - - > ASSERT_CMP(\op) => IFCMP(\op) {} {FAIL} - -- ``ASSERT_NONE`` - -:: - - > ASSERT_NONE => IF_NONE {} {FAIL} - -- ``ASSERT_SOME`` - -:: - - > ASSERT_SOME @x => IF_NONE {FAIL} {RENAME @x} - -- ``ASSERT_LEFT`` - -:: - - > ASSERT_LEFT @x => IF_LEFT {RENAME @x} {FAIL} - -- ``ASSERT_RIGHT`` - -:: - - > ASSERT_RIGHT @x => IF_LEFT {FAIL} {RENAME @x} - -Syntactic Conveniences -~~~~~~~~~~~~~~~~~~~~~~ - -These macros are simply more convenient syntax for various common -operations. - -- ``P(\left=A|P(\left)(\right))(\right=I|P(\left)(\right))R``: A syntactic sugar - for building nested pairs. In the case of right combs, `PAIR n` is more efficient. - -:: - - > PA(\right)R / S => DIP ((\right)R) ; PAIR / S - > P(\left)IR / S => (\left)R ; PAIR / S - > P(\left)(\right)R => (\left)R ; DIP ((\right)R) ; PAIR / S - -A good way to quickly figure which macro to use is to mentally parse the -macro as ``P`` for pair constructor, ``A`` for left leaf and ``I`` for -right leaf. The macro takes as many elements on the stack as there are -leaves and constructs a nested pair with the shape given by its name. - -Take the macro ``PAPPAIIR`` for instance: - -:: - - P A P P A I I R - ( l, ( ( l, r ), r )) - -A typing rule can be inferred: - -:: - - PAPPAIIR - :: 'a : 'b : 'c : 'd : 'S -> (pair 'a (pair (pair 'b 'c) 'd)) - -- ``UNP(\left=A|P(\left)(\right))(\right=I|P(\left)(\right))R``: A syntactic sugar - for destructing nested pairs. These macros follow the same convention - as the previous one. - -:: - - > UNPA(\right)R / S => UNPAIR ; DIP (UN(\right)R) / S - > UNP(\left)IR / S => UNPAIR ; UN(\left)R / S - > UNP(\left)(\right)R => UNPAIR ; DIP (UN(\right)R) ; UN(\left)R / S - -- ``C[AD]+R``: A syntactic sugar for accessing fields in nested pairs. In the case of right combs, ``CAR k`` and ``CDR k`` are more efficient. - -:: - - > CA(\rest=[AD]+)R / S => CAR ; C(\rest)R / S - > CD(\rest=[AD]+)R / S => CDR ; C(\rest)R / S - -- ``CAR k``: Access the ``k`` -th part of a right comb of size ``n > k + 1``. ``CAR 0`` is equivalent to ``CAR`` and in general ``CAR k`` is equivalent to ``k`` times the ``CDR`` instruction followed by once the ``CAR`` instruction. Note that this instruction cannot access the last element of a right comb; ``CDR k`` should be used for that. - -:: - - > CAR n / S => GET (2n+1) / S - -- ``CDR k``: Access the rightmost element of a right comb of size ``k``. ``CDR 0`` is a no-op, ``CDR 1`` is equivalent to ``CDR`` and in general ``CDR k`` is equivalent to ``k`` times the ``CDR`` instruction. Note that on a right comb of size ``n > k >= 2``, ``CDR k`` will return the right comb composed of the same elements but the ``k`` leftmost ones. - -:: - - > CDR n / S => GET (2n) / S - -- ``IF_SOME bt bf``: Inspect an optional value. - -:: - - > IF_SOME bt bf / S => IF_NONE bf bt / S - -- ``IF_RIGHT bt bf``: Inspect a value of a union. - -:: - - > IF_RIGHT bt bf / S => IF_LEFT bf bt / S - -- ``SET_CAR``: Set the left field of a pair. This is equivalent to ``SWAP; UPDATE 1``. - -:: - - > SET_CAR => CDR ; SWAP ; PAIR - -- ``SET_CDR``: Set the right field of a pair. This is equivalent to ``SWAP; UPDATE 2``. - -:: - - > SET_CDR => CAR ; PAIR - -- ``SET_C[AD]+R``: A syntactic sugar for setting fields in nested - pairs. In the case of right combs, `UPDATE n` is more efficient. - -:: - - > SET_CA(\rest=[AD]+)R / S => - { DUP ; DIP { CAR ; SET_C(\rest)R } ; CDR ; SWAP ; PAIR } / S - > SET_CD(\rest=[AD]+)R / S => - { DUP ; DIP { CDR ; SET_C(\rest)R } ; CAR ; PAIR } / S - -- ``MAP_CAR`` code: Transform the left field of a pair. - -:: - - > MAP_CAR code => DUP ; CDR ; DIP { CAR ; code } ; SWAP ; PAIR - -- ``MAP_CDR`` code: Transform the right field of a pair. - -:: - - > MAP_CDR code => DUP ; CDR ; code ; SWAP ; CAR ; PAIR - -- ``MAP_C[AD]+R`` code: A syntactic sugar for transforming fields in - nested pairs. - -:: - - > MAP_CA(\rest=[AD]+)R code / S => - { DUP ; DIP { CAR ; MAP_C(\rest)R code } ; CDR ; SWAP ; PAIR } / S - > MAP_CD(\rest=[AD]+)R code / S => - { DUP ; DIP { CDR ; MAP_C(\rest)R code } ; CAR ; PAIR } / S - -Concrete syntax ---------------- -.. _ConcreteSyntax: -.. _ConcreteSyntax_nairobi: - -The concrete language is very close to the formal notation of the -specification. Its structure is extremely simple: an expression in the -language can only be one of the five following constructs. - -1. An integer in decimal notation. -2. A character string. -3. A byte sequence in hexadecimal notation prefixed by ``0x``. -4. The application of a primitive to a sequence of expressions. -5. A sequence of expressions. - -This simple five cases notation is called :doc:`../shell/micheline`. - -In the Tezos protocol, the primitive ``constant`` with a single -character string applied has special meaning. See -:doc:`global_constants`. - -Constants -~~~~~~~~~ - -There are three kinds of constants: - -1. Integers or naturals in decimal notation. -2. Strings, with some usual escape sequences: ``\n``, ``\\``, - ``\"``. Unescaped line-breaks (both ``\n`` and ``\r``) cannot - appear in a Michelson string. Moreover, the current version of - Michelson restricts strings to be the printable subset of 7-bit - ASCII, namely characters with codes from within `[32, 126]` range, - plus the escaped characters mentioned above. -3. Byte sequences in hexadecimal notation, prefixed with ``0x``. - -Differences with the formal notation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The concrete syntax follows the same lexical conventions as the -specification: instructions are represented by uppercase identifiers, -type constructors by lowercase identifiers, and constant constructors -are capitalized. - -All domain specific constants are Micheline constants with specific -formats. Some have two variants accepted by the data type checker: a -readable one in a string, and an optimized one using a more compact -encoding. - -- ``mutez`` amounts are written as naturals. -- ``timestamp``\ s are written either using ``RFC3339`` notation - in a string (readable), or as the number of seconds since Epoch - (when positive) or before Epoch (when negative) (optimized). -- ``contract``\ s, ``address``\ es, ``key``\ s and ``signature``\ s - are written as strings, in their usual Base58 encoded versions - (readable), or as their raw bytes (optimized). -- ``bls12_381_g1``\ s and ``bls12_381_g2``\ s are written as their raw bytes, using a big-endian point encoding, `as specified here `__. -- ``bls12_381_fr``\ s are written as their raw bytes, using a little-endian encoding. - -The optimized versions should not reach the RPCs, the protocol code -will convert to optimized by itself when forging operations, storing -to the database, and before hashing to get a canonical representation -of a datum for a given type. - -To prevent errors, control flow primitives that take instructions as -parameters require sequences in the concrete syntax. - -:: - - IF { instr1_true ; instr2_true ; ... } - { instr1_false ; instr2_false ; ... } - -.. _syntax_of_scripts: -.. _syntax_of_scripts_nairobi: - -Main program structure -~~~~~~~~~~~~~~~~~~~~~~ - -The toplevel of a smart contract file must be an un-delimited sequence -of three primitive applications (in no particular order) that provide its -``code``, ``parameter`` and ``storage`` fields. - -See the next section for a concrete example. - -Annotations ------------ - -The annotation mechanism of Michelson provides ways to better track -data on the stack and to give additional type constraints. Except for -a single exception specified just after, annotations are only here to -add constraints, *i.e.* they cannot turn an otherwise rejected program -into an accepted one. The notable exception to this rule is for -entrypoints: the semantics of the `CONTRACT` and `SELF` instructions vary depending on -their constructor annotations, and some contract origination may fail due -to invalid entrypoint constructor annotations. - -Stack visualization tools like the Michelson's Emacs mode print -annotations associated with each type in the program, as propagated by -the typechecker as well as variable annotations on the types of elements -in the stack. This is useful as a debugging aid. - -We distinguish three kinds of annotations: - -- type annotations, written ``:type_annot``, -- variable annotations, written ``@var_annot``, -- and field or constructors annotations, written ``%field_annot``. - -Type annotations -~~~~~~~~~~~~~~~~ - -Each type can be annotated with at most one type annotation. They are -used to give names to types. For types to be equal, their unnamed -version must be equal and their names must be the same or at least one -type must be unnamed. - -For instance, the following Michelson program which put its integer -parameter in the storage is not well typed: - -.. code-block:: michelson - - parameter (int :p) ; - storage (int :s) ; - code { UNPAIR ; SWAP ; DROP ; NIL operation ; PAIR } - -Whereas this one is: - -.. code-block:: michelson - - parameter (int :p) ; - storage int ; - code { UNPAIR ; SWAP ; DROP ; NIL operation ; PAIR } - -Inner components of composed typed can also be named. - -:: - - (pair :point (int :x_pos) (int :y_pos)) - -Push-like instructions, that act as constructors, can also be given a -type annotation. The stack type will then have on top a type with a corresponding name. - -:: - - UNIT :t - :: 'A -> (unit :t) : 'A - - PAIR :t - :: 'a : 'b : 'S -> (pair :t 'a 'b) : 'S - - SOME :t - :: 'a : 'S -> (option :t 'a) : 'S - - NONE :t 'a - :: 'S -> (option :t 'a) : 'S - - LEFT :t 'b - :: 'a : 'S -> (or :t 'a 'b) : 'S - - RIGHT :t 'a - :: 'b : 'S -> (or :t 'a 'b) : 'S - - NIL :t 'a - :: 'S -> (list :t 'a) : 'S - - EMPTY_SET :t 'elt - :: 'S -> (set :t 'elt) : 'S - - EMPTY_MAP :t 'key 'val - :: 'S -> (map :t 'key 'val) : 'S - - EMPTY_BIG_MAP :t 'key 'val - :: 'S -> (big_map :t 'key 'val) : 'S - - -A no-op instruction ``CAST`` ensures the top of the stack has the -specified type, and change its type if it is compatible. In particular, -this allows to change or remove type names explicitly. - -:: - - CAST 'b - :: 'a : 'S -> 'b : 'S - iff 'a = 'b - - > CAST t / a : S => a : S - - -Variable annotations -~~~~~~~~~~~~~~~~~~~~ - -Variable annotations can only be used on instructions that produce -elements on the stack. An instruction that produces ``n`` elements on -the stack can be given at most ``n`` variable annotations. - -The stack type contains both the types of each element in the stack, as -well as an optional variable annotation for each element. In this -sub-section we note: - -- ``[]`` for the empty stack, -- ``@annot (top) : (rest)`` for the stack whose first value has type ``(top)`` and is annotated with variable annotation ``@annot`` and whose queue has stack type ``(rest)``. - -The instructions which do not accept any variable annotations are: - -:: - - DROP - SWAP - DIG - DUG - IF_NONE - IF_LEFT - IF_CONS - ITER - IF - LOOP - LOOP_LEFT - DIP - FAILWITH - -The instructions which accept at most one variable annotation are: - -:: - - DUP - PUSH - UNIT - SOME - NONE - PAIR - CAR - CDR - LEFT - RIGHT - NIL - CONS - SIZE - MAP - MEM - EMPTY_SET - EMPTY_MAP - EMPTY_BIG_MAP - UPDATE - GET - LAMBDA - LAMBDA_REC - EXEC - ADD - SUB - CONCAT - MUL - OR - AND - XOR - NOT - ABS - ISNAT - INT - NEG - EDIV - LSL - LSR - COMPARE - EQ - NEQ - LT - GT - LE - GE - ADDRESS - CONTRACT - SET_DELEGATE - IMPLICIT_ACCOUNT - NOW - LEVEL - AMOUNT - BALANCE - HASH_KEY - CHECK_SIGNATURE - BLAKE2B - SOURCE - SENDER - SELF - SELF_ADDRESS - CAST - RENAME - CHAIN_ID - NAT - BYTES - -The instructions which accept at most two variable annotations are: - -:: - - UNPAIR - CREATE_CONTRACT - -Annotations on instructions that produce multiple elements on the stack -will be used in order, where the first variable annotation is given to -the top-most element on the resulting stack. Instructions that produce -``n`` elements on the stack but are given less than ``n`` variable -annotations will see only their top-most stack type elements annotated. - -:: - - UNPAIR @first @second - :: pair 'a 'b : 'S - -> @first 'a : @second 'b : 'S - - UNPAIR @first - :: pair 'a 'b : 'S - -> @first 'a : 'b : 'S - -A no-op instruction ``RENAME`` allows to rename variables in the stack -or to erase variable annotations in the stack. - -:: - - RENAME @new - :: @old 'a ; 'S -> @new 'a : 'S - - RENAME - :: @old 'a ; 'S -> 'a : 'S - - -Field and constructor annotations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Components of pair types, option types and or types can be annotated -with a field or constructor annotation. This feature is useful to encode -records fields and constructors of sum types. - -:: - - (pair :point - (int %x) - (int %y)) - -The previous Michelson type can be used as visual aid to represent the -record type (given in OCaml-like syntax): - -:: - - type point = { x : int ; y : int } - -Similarly, - -:: - - (or :t - (int %A) - (or - (bool %B) - (pair %C - (nat %n1) - (nat %n2)))) - -can be used to represent the algebraic data type (in OCaml-like syntax): - -:: - - type t = - | A of int - | B of bool - | C of { n1 : nat ; n2 : nat } - - -Field annotations are part of the type (at the same level as type name -annotations), and so types with differing field names (if present) are -not considered equal. - -Instructions that construct elements of composed types can also be -annotated with one or multiple field annotations (in addition to type -and variable annotations). - -:: - - PAIR %fst %snd - :: 'a : 'b : 'S -> (pair ('a %fst) ('b %snd)) : 'S - - LEFT %left %right 'b - :: 'a : 'S -> (or ('a %left) ('b %right)) : 'S - - RIGHT %left %right 'a - :: 'b : 'S -> (or ('a %left) ('b %right)) : 'S - -To improve readability and robustness, instructions ``CAR`` and ``CDR`` -accept one field annotation. For the contract to type check, the name of -the accessed field in the destructed pair must match the one given here. - -:: - - CAR %fst - :: (pair ('a %fst) 'b) : S -> 'a : 'S - - CDR %snd - :: (pair 'a ('b %snd)) : S -> 'b : 'S - - -Syntax -~~~~~~ - -Primitive applications can receive one or many annotations. - -An annotation is a sequence of characters that matches the regular -expression ``@%|@%%|%@|[@:%][_0-9a-zA-Z][_0-9a-zA-Z\.%@]*``. -Note however that ``@%``, ``@%%`` and ``%@`` are -:ref:`special annotations ` and are not allowed everywhere. - -Annotations come after the primitive name and before its potential arguments. - -:: - - (prim @v :t %x arg1 arg2 ...) - - -Ordering between different kinds of annotations is not significant, but -ordering among annotations of the same kind is. Annotations of the same -kind must be grouped together. - -For instance these two annotated instructions are equivalent: - -:: - - PAIR :t @my_pair %x %y - - PAIR %x %y :t @my_pair - -An annotation can be empty, in this case it will mean *no annotation* -and can be used as a wildcard. For instance, it is useful to annotate -only the right field of a pair instruction ``PAIR % %right`` or to -ignore field access constraints, *e.g.* in the macro ``UNPPAIPAIR %x1 % -%x3 %x4``. - -Annotations and macros -~~~~~~~~~~~~~~~~~~~~~~ - -Macros also support annotations, which are propagated on their expanded -forms. As with instructions, macros that produce ``n`` values on the -stack accept ``n`` variable annotations. - -:: - - DUU+P @annot - > DUU(\rest=U*)P @annot / S => DIP (DU(\rest)P @annot) ; SWAP / S - - C[AD]+R @annot %field_name - > CA(\rest=[AD]+)R @annot %field_name / S => CAR ; C(\rest)R @annot %field_name / S - > CD(\rest=[AD]+)R @annot %field_name / S => CDR ; C(\rest)R @annot %field_name / S - - CMP{EQ|NEQ|LT|GT|LE|GE} @annot - > CMP(\op) @annot / S => COMPARE ; (\op) @annot / S - -The variable annotation on ``SET_C[AD]+R`` and ``MAP_C[AD]+R`` annotates -the resulting toplevel pair while its field annotation is used to check -that the modified field is the expected one. - -:: - - SET_C[AD]+R @var %field - > SET_CAR @var %field => CDR %field ; SWAP ; PAIR @var - > SET_CDR @var %field => CAR %field ; PAIR @var - > SET_CA(\rest=[AD]+)R @var %field / S => - { DUP ; DIP { CAR ; SET_C(\rest)R %field } ; CDR ; SWAP ; PAIR @var } / S - > SET_CD(\rest=[AD]+)R @var %field/ S => - { DUP ; DIP { CDR ; SET_C(\rest)R %field } ; CAR ; PAIR @var } / S - - MAP_C[AD]+R @var %field code - > MAP_CAR code => DUP ; CDR ; DIP { CAR %field ; code } ; SWAP ; PAIR @var - > MAP_CDR code => DUP ; CDR %field ; code ; SWAP ; CAR ; PAIR @var - > MAP_CA(\rest=[AD]+)R @var %field code / S => - { DUP ; DIP { CAR ; MAP_C(\rest)R %field code } ; CDR ; SWAP ; PAIR @var} / S - > MAP_CD(\rest=[AD]+)R @var %field code / S => - { DUP ; DIP { CDR ; MAP_C(\rest)R %field code } ; CAR ; PAIR @var} / S - -Macros for nested ``PAIR`` accept multiple annotations. Field -annotations for ``PAIR`` give names to leaves of the constructed -nested pair, in order. This next snippet gives examples instead of -generic rewrite rules for readability purposes. - -:: - - PAPPAIIR @p %x1 %x2 %x3 %x4 - :: 'a : 'b : 'c : 'd : 'S - -> @p (pair ('a %x1) (pair (pair ('b %x) ('c %x3)) ('d %x4))) : 'S - - PAPAIR @p %x1 %x2 %x3 - :: 'a : 'b : 'c : 'S -> @p (pair ('a %x1) (pair ('b %x) ('c %x3))) : 'S - -Annotations for nested ``UNPAIR`` are deprecated. - -Automatic variable and field annotations inferring -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -When no annotation is provided by the Michelson programmer, the -typechecker infers some annotations in specific cases. This greatly -helps users track information in the stack for bare contracts. - -For unannotated accesses with ``CAR`` and ``CDR`` to fields that are -named will be appended (with an additional ``.`` character) to the pair -variable annotation. - -:: - - CDAR - :: @p (pair ('a %foo) (pair %bar ('b %x) ('c %y))) : 'S -> @p.bar.x 'b : 'S - -If fields are not named but the pair is still named in the stack then -``.car`` or ``.cdr`` will be appended. - -:: - - CDAR - :: @p (pair 'a (pair 'b 'c)) : 'S -> @p.cdr.car 'b : 'S - -If the original pair is not named in the stack, but a field annotation -is present in the pair type the accessed value will be annotated with a -variable annotation corresponding to the field annotation alone. - -:: - - CDAR - :: (pair ('a %foo) (pair %bar ('b %x) ('c %y))) : 'S -> @bar.x 'b : 'S - -A similar mechanism is used for context dependent instructions: - -:: - - ADDRESS :: @c contract _ : 'S -> @c.address address : 'S - - CONTRACT 'p :: @a address : 'S -> @a.contract contract 'p : 'S - - BALANCE :: 'S -> @balance mutez : 'S - - SOURCE :: 'S -> @source address : 'S - - SENDER :: 'S -> @sender address : 'S - - SELF :: 'S -> @self contract 'p : 'S - - SELF_ADDRESS :: 'S -> @self address : 'S - - AMOUNT :: 'S -> @amount mutez : 'S - - NOW :: 'S -> @now timestamp : 'S - - LEVEL :: 'S -> @level nat : 'S - -Inside nested code blocks, bound items on the stack will be given a -default variable name annotation depending on the instruction and stack -type (which can be changed). For instance the annotated typing rule for -``ITER`` on lists is: - -:: - - ITER body - :: @l (list 'e) : 'A -> 'A - iff body :: [ @l.elt e' : 'A -> 'A ] - -Special annotations -~~~~~~~~~~~~~~~~~~~ -.. _SpecialAnnotations: -.. _SpecialAnnotations_nairobi: - -The special variable annotations ``@%`` and ``@%%`` can be used on instructions -``CAR``, ``CDR``, and ``UNPAIR``. It means to use the accessed field name (if any) as -a name for the value on the stack. The following typing rule -demonstrates their use for instruction ``CAR``. - -:: - - CAR @% - :: @p (pair ('a %fst) ('b %snd)) : 'S -> @fst 'a : 'S - - CAR @%% - :: @p (pair ('a %fst) ('b %snd)) : 'S -> @p.fst 'a : 'S - -The special field annotation ``%@`` can be used on instructions -``PAIR``, ``LEFT`` and ``RIGHT``. It means to use the variable -name annotation in the stack as a field name for the constructed -element. Two examples with ``PAIR`` follows, notice the special -treatment of annotations with ``.``. - -:: - - PAIR %@ %@ - :: @x 'a : @y 'b : 'S -> (pair ('a %x) ('b %y)) : 'S - - PAIR %@ %@ - :: @p.x 'a : @p.y 'b : 'S -> @p (pair ('a %x) ('b %y)) : 'S - :: @p.x 'a : @q.y 'b : 'S -> (pair ('a %x) ('b %y)) : 'S - -Entrypoints ------------ - -The specification up to this point has been mostly ignoring existence -of entrypoints: a mechanism of contract level polymorphism. This -mechanism is optional, non intrusive, and transparent to smart -contracts that don't use them. This section is to be read as a patch -over the rest of the specification, introducing rules that apply only -in presence of contracts that make use of entrypoints. - -Defining and calling entrypoints -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Entrypoints piggyback on the constructor annotations. A contract with -entrypoints is basically a contract that takes a disjunctive type (a -nesting of ``or`` types) as the root of its input parameter, decorated -with constructor annotations. An extra check is performed on these -constructor annotations: a contract cannot define two entrypoints with -the same name. - -An external transaction can include an entrypoint name alongside the -parameter value. In that case, if there is a constructor annotation -with this name at any position in the nesting of ``or`` types, the -value is automatically wrapped into the according constructors. If the -transaction specifies an entrypoint, but there is no such constructor -annotation, the transaction fails. - -For instance, suppose the following input type. - -``parameter (or (or (nat %A) (bool %B)) (or %maybe_C (unit %Z) (string %C)))`` - -The input values will be wrapped as in the following examples. - -:: - - +------------+-----------+---------------------------------+ - | entrypoint | input | wrapped input | - +------------+-----------+---------------------------------+ - | %A | 3 | Left (Left 3) | - | %B | False | Left (Right False) | - | %C | "bob" | Right (Right "bob") | - | %Z | Unit | Right (Left Unit) | - | %maybe_C | Right "x" | Right (Right "x") | - | %maybe_C | Left Unit | Right (Left Unit) | - +------------+-----------+---------------------------------+ - | not given | value | value (untouched) | - | %BAD | _ | failure, contract not called | - +------------+-----------+---------------------------------+ - -The ``default`` entrypoint -~~~~~~~~~~~~~~~~~~~~~~~~~~ - -A special semantics is assigned to the ``default`` entrypoint. If the -contract does not explicitly declare a ``default`` entrypoint, then it -is automatically assigned to the root of the parameter -type. Conversely, if the contract is called without specifying an -entrypoint, then it is assumed to be called with the ``default`` -entrypoint. This behaviour makes the entrypoint system completely -transparent to contracts that do not use it. - -This is the case for the previous example, for instance. If a value is -passed to such a contract specifying entrypoint ``default``, then the -value is fed to the contract untouched, exactly as if no entrypoint -was given. - -A non enforced convention is to make the entrypoint ``default`` of -type unit, and to implement the crediting operation (just receive the -transferred tokens). - -A consequence of this semantics is that if the contract uses the -entrypoint system and defines a ``default`` entrypoint somewhere else -than at the root of the parameter type, then it must provide an -entrypoint for all the paths in the toplevel disjunction. Otherwise, -some parts of the contracts would be dead code. - -Another consequence of setting the entrypoint somewhere else than at -the root is that it makes it impossible to send the raw values of the -full parameter type to a contract. A trivial solution for that is to -name the root of the type. The conventional name for that is ``root``. - -Let us recapitulate this by tweaking the names of the previous example. - -``parameter (or %root (or (nat %A) (bool %B)) (or (unit %default) string))`` - -The input values will be wrapped as in the following examples. - -:: - - +------------+---------------------+-----------------------+ - | entrypoint | input | wrapped input | - +------------+---------------------+-----------------------+ - | %A | 3 | Left (Left 3) | - | %B | False | Left (Right False) | - | %default | Unit | Right (Left Unit) | - | %root | Right (Right "bob") | Right (Right "bob") | - +------------+---------------------+-----------------------+ - | not given | Unit | Right (Left Unit) | - | %BAD | _ | failure, contract not | - +------------+---------------------+-----------------------+ - -Calling entrypoints from Michelson -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Michelson code can also produce transactions to a specific entrypoint. - -For this, both types ``address`` and ``contract`` have the ability to -denote not just an address, but a pair of an address and an -entrypoint. The concrete notation is ``"address%entrypoint"``. -Note that ``"address"`` is strictly equivalent to ``"address%default"``, -and for clarity, the second variant is forbidden in the concrete syntax. - -When the ``TRANSFER_TOKENS`` instruction is called, it places the -entrypoint provided in the contract handle in the transaction. - -The ``CONTRACT t`` instruction has a variant ``CONTRACT %entrypoint -t``, that works as follows. Note that ``CONTRACT t`` is strictly -equivalent to ``CONTRACT %default t``, and for clarity, the second -variant is forbidden in the concrete syntax. - -:: - - +---------------+---------------------+------------------------------------------+ - | input address | instruction | output contract | - +---------------+---------------------+------------------------------------------+ - | "addr" | CONTRACT t | (Some "addr") if contract exists, has a | - | | | default entrypoint of type t, or has no | - | | | default entrypoint and parameter type t | - +---------------+---------------------+------------------------------------------+ - | "addr%name" | CONTRACT t | (Some "addr%name") if addr exists and | - +---------------+---------------------+ has an entrypoint %name of type t | - | "addr" | CONTRACT %name t | | - +---------------+---------------------+------------------------------------------+ - | "addr%_" | CONTRACT %_ t | None | - +---------------+---------------------+------------------------------------------+ - -Similarly, the ``SELF`` instruction has a variant ``SELF %entrypoint``, -that is only well-typed if the current contract has an entrypoint named ``%entrypoint``. - -- ``SELF %entrypoint`` - -:: - - :: 'S -> contract 'p : 'S - where contract 'p is the type of the entrypoint %entrypoint of the current contract - -Implicit accounts are considered to have a single ``default`` -entrypoint of type ``Unit``. - -JSON syntax ------------ - -Micheline expressions are encoded in JSON like this: - -- An integer ``N`` is an object with a single field ``"int"`` whose - value is the decimal representation as a string. - - ``{ "int": "N" }`` - -- A string ``"contents"`` is an object with a single field ``"string"`` - whose value is the decimal representation as a string. - - ``{ "string": "contents" }`` - -- A sequence is a JSON array. - - ``[ expr, ... ]`` - -- A primitive application is an object with two fields ``"prim"`` for - the primitive name and ``"args"`` for the arguments (that must - contain an array). A third optional field ``"annots"`` contains a - list of annotations, including their leading ``@``, ``%`` or ``:`` - sign. - - ``{ "prim": "pair", "args": [ { "prim": "nat", "args": [] }, { "prim": "nat", "args": [] } ], "annots": [":t"] }`` - -As in the concrete syntax, all domain specific constants are encoded as -strings. - -Environment for writing Michelson contracts -------------------------------------------- - -`Emacs `_ can be used as a practical environment for writing, -editing and debugging Michelson programs. `Install it `_ and follow the -configuration instructions in the Michelson Emacs README `here `__. - -Examples --------- - -Contracts in the system are stored as a piece of code and a global data -storage. The type of the global data of the storage is fixed for each -contract at origination time. This is ensured statically by checking on -origination that the code preserves the type of the global data. For -this, the code of the contract is checked to be of type -``lambda (pair 'arg 'global) -> (pair (list operation) 'global)`` where -``'global`` is the type of the original global store given on origination. -The contract also takes a parameter and returns a list of internal operations, -hence the complete calling convention above. The internal operations are -queued for execution when the contract returns. - -Empty contract -~~~~~~~~~~~~~~ - -The simplest contract is the contract for which the ``parameter`` and -``storage`` are all of type ``unit``. This contract is as follows: - -.. code-block:: michelson - - code { CDR ; # keep the storage - NIL operation ; # return no internal operation - PAIR }; # respect the calling convention - storage unit; - parameter unit; - - -Example contract with entrypoints -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The following contract maintains a number in its storage. It has two -entrypoints ``add`` and ``sub`` to modify it, and the default -entrypoint, of type ``unit`` will reset it to ``0``. - -:: - - { parameter (or (or (nat %add) (nat %sub)) (unit %default)) ; - storage int ; - code { AMOUNT ; PUSH mutez 0 ; ASSERT_CMPEQ ; UNPAIR ; - IF_LEFT - { IF_LEFT { ADD } { SWAP ; SUB } } - { DROP ; DROP ; PUSH int 0 } ; - NIL operation ; PAIR } } - - -Example contract with recursive lambda -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The following contract computes the factorial of the given parameter -using a recursive function and then saves the result in the storage. - -In Michelson regular functions start with a stack containing a single -value, the function argument. If the function is of type ``lambda int -int``, when calling the function the stack will have just an -``int``. Recursive functions start with two values, the argument and -the function itself. Therefore, if the recursive function is of type -``lambda int int`` then, when it is being called, the stack will have -an ``int`` at the top and a ``lambda int int`` at the bottom. - -In this recursive factorial we can see the first branch of the ``IF``, -this is the base case. The second one performs the recursive call. To -do that, we need to access the function. This is what the ``DUP 3`` -instruction does. Then we decrement the argument and finally make the -recursive call with ``EXEC``. - -:: - - { parameter int; - storage int; - code { CAR ; - LAMBDA_REC int int - { DUP; - EQ; - IF { PUSH int 1 } - { DUP; - DUP 3; - PUSH int 1; - DUP 4; - SUB; - EXEC; - MUL}; - DIP { DROP 2 }}; - SWAP; - EXEC; - NIL operation; - PAIR}} - -Multisig contract -~~~~~~~~~~~~~~~~~ - -The multisig is a typical access control contract. The ownership of -the multisig contract is shared between ``N`` participants represented -by their public keys in the contract's storage. Any action on the -multisig contract needs to be signed by ``K`` participants where the -threshold ``K`` is also stored in the storage. - -To avoid replay of the signatures sent to the contract, the signed -data include not only a description of the action to perform but also -the address of the multisig contract and a counter that gets -incremented at each successful call to the contract. - -The multisig commands of :ref:`Octez command line client ` -use this -smart contract. Moreover, `functional correctness of this contract has -been verified -`__ -using the Coq proof assistant. - - -.. code-block:: michelson - - parameter (pair - (pair :payload - (nat %counter) # counter, used to prevent replay attacks - (or :action # payload to sign, represents the requested action - (pair :transfer # transfer tokens - (mutez %amount) # amount to transfer - (contract %dest unit)) # destination to transfer to - (or - (option %delegate key_hash) # change the delegate to this address - (pair %change_keys # change the keys controlling the multisig - (nat %threshold) # new threshold - (list %keys key))))) # new list of keys - (list %sigs (option signature))); # signatures - - storage (pair (nat %stored_counter) (pair (nat %threshold) (list %keys key))) ; - - code - { - UNPAIR ; SWAP ; DUP ; DIP { SWAP } ; - DIP - { - UNPAIR ; - # pair the payload with the current contract address, to ensure signatures - # can't be replayed across different contracts if a key is reused. - DUP ; SELF ; ADDRESS ; CHAIN_ID ; PAIR ; PAIR ; - PACK ; # form the binary payload that we expect to be signed - DIP { UNPAIR @counter ; DIP { SWAP } } ; SWAP - } ; - - # Check that the counters match - UNPAIR @stored_counter; DIP { SWAP }; - ASSERT_CMPEQ ; - - # Compute the number of valid signatures - DIP { SWAP } ; UNPAIR @threshold @keys; - DIP - { - # Running count of valid signatures - PUSH @valid nat 0; SWAP ; - ITER - { - DIP { SWAP } ; SWAP ; - IF_CONS - { - IF_SOME - { SWAP ; - DIP - { - SWAP ; DIIP { DIP { DUP } ; SWAP } ; - # Checks signatures, fails if invalid - CHECK_SIGNATURE ; ASSERT ; - PUSH nat 1 ; ADD @valid } } - { SWAP ; DROP } - } - { - # There were fewer signatures in the list - # than keys. Not all signatures must be present, but - # they should be marked as absent using the option type. - FAIL - } ; - SWAP - } - } ; - # Assert that the threshold is less than or equal to the - # number of valid signatures. - ASSERT_CMPLE ; - DROP ; DROP ; - - # Increment counter and place in storage - DIP { UNPAIR ; PUSH nat 1 ; ADD @new_counter ; PAIR} ; - - # We have now handled the signature verification part, - # produce the operation requested by the signers. - NIL operation ; SWAP ; - IF_LEFT - { # Transfer tokens - UNPAIR ; UNIT ; TRANSFER_TOKENS ; CONS } - { IF_LEFT { - # Change delegate - SET_DELEGATE ; CONS } - { - # Change set of signatures - DIP { SWAP ; CAR } ; SWAP ; PAIR ; SWAP }} ; - PAIR } - - - -Full grammar ------------- - -:: - - ::= - | - | - | - | Unit - | True - | False - | Pair ... - | Left - | Right - | Some - | None - | Lambda_rec - | { ; ... } - | { Elt ; ... } - | instruction - ::= - | [0-9]+ - ::= - | - | - - ::= - | "*" - ::= - | \" - | \r - | \n - | \t - | \b - | \\ - | [^"\] - ::= - | 0x[0-9a-fA-F]+ - ::= - | { ... } - | DROP - | DROP - | DUP - | DUP - | SWAP - | DIG - | DUG - | PUSH - | SOME - | NONE - | UNIT - | NEVER - | IF_NONE { ... } { ... } - | PAIR - | PAIR - | CAR - | CDR - | UNPAIR - | UNPAIR - | LEFT - | RIGHT - | IF_LEFT { ... } { ... } - | NIL - | CONS - | IF_CONS { ... } { ... } - | SIZE - | EMPTY_SET - | EMPTY_MAP - | EMPTY_BIG_MAP - | MAP { ... } - | ITER { ... } - | MEM - | GET - | GET - | UPDATE - | UPDATE - | IF { ... } { ... } - | LOOP { ... } - | LOOP_LEFT { ... } - | LAMBDA { ... } - | LAMBDA_REC { ... } - | EXEC - | APPLY - | DIP { ... } - | DIP { ... } - | FAILWITH - | CAST - | RENAME - | CONCAT - | SLICE - | PACK - | UNPACK - | ADD - | SUB - | MUL - | EDIV - | ABS - | ISNAT - | INT - | NEG - | LSL - | LSR - | OR - | AND - | XOR - | NOT - | COMPARE - | EQ - | NEQ - | LT - | GT - | LE - | GE - | SELF - | SELF_ADDRESS - | CONTRACT - | TRANSFER_TOKENS - | SET_DELEGATE - | CREATE_CONTRACT { ... } - | IMPLICIT_ACCOUNT - | VOTING_POWER - | NOW - | LEVEL - | AMOUNT - | BALANCE - | CHECK_SIGNATURE - | BLAKE2B - | KECCAK - | SHA3 - | SHA256 - | SHA512 - | HASH_KEY - | SOURCE - | SENDER - | ADDRESS - | CHAIN_ID - | TOTAL_VOTING_POWER - | PAIRING_CHECK - | SAPLING_EMPTY_STATE - | SAPLING_VERIFY_UPDATE - | TICKET - | READ_TICKET - | SPLIT_TICKET - | JOIN_TICKETS - | OPEN_CHEST - | BYTES - | NAT - ::= - | - | option - | list - | set - | operation - | contract - | ticket - | pair ... - | or - | lambda - | map - | big_map - | bls12_381_g1 - | bls12_381_g2 - | bls12_381_fr - | sapling_transaction - | sapling_state - | chest - | chest_key - ::= - | unit - | never - | bool - | int - | nat - | string - | chain_id - | bytes - | mutez - | key_hash - | key - | signature - | timestamp - | address - | tx_rollup_l2_address - | option - | or - | pair ... - - -Reference implementation ------------------------- - -The language is implemented in OCaml as follows: - -- The lower internal representation is written as a GADT whose type - parameters encode exactly the typing rules given in this - specification. In other words, if a program written in this - representation is accepted by OCaml's typechecker, it is guaranteed - type-safe. This is of course also valid for programs not - handwritten but generated by OCaml code, so we are sure that any - manipulated code is type-safe. - - In the end, what remains to be checked is the encoding of the typing - rules as OCaml types, which boils down to half a line of code for - each instruction. Everything else is left to the venerable and well - trusted OCaml. - -- The interpreter is basically the direct transcription of the - rewriting rules presented above. It takes an instruction, a stack and - transforms it. OCaml's typechecker ensures that the transformation - respects the pre and post stack types declared by the GADT case for - each instruction. - - The only things that remain to be reviewed are value dependent - choices, such as we did not swap true and false when - interpreting the IF instruction. - -- The input, untyped internal representation is an OCaml ADT with - only 5 grammar constructions: ``String``, ``Int``, ``Bytes``, ``Seq`` and - ``Prim``. It is the target language for the parser, since not all - parsable programs are well typed, and thus could simply not be - constructed using the GADT. - -- The typechecker is a simple function that recognizes the abstract - grammar described in section X by pattern matching, producing the - well-typed, corresponding GADT expressions. It is mostly a checker, - not a full inferrer, and thus takes some annotations (basically the - input and output of the program, of lambdas and of uninitialized maps - and sets). It works by performing a symbolic evaluation of the - program, transforming a symbolic stack. It only needs one pass over - the whole program. - - Here again, OCaml does most of the checking, the structure of the - function is very simple, what we have to check is that we transform a - ``Prim ("If", ...)`` into an ``If``, a ``Prim ("Dup", ...)`` into a - ``Dup``, etc. - -.. michelson_tzt: -.. michelson_tzt_nairobi: - -TZT, a Syntax extension for writing unit tests ----------------------------------------------- - -This section describes the TZT format, an extension of the Michelson -language allowing to run Michelson unit tests at a finer level than a -full smart contract script. This extension adds syntax to specify an -instruction (or sequence of instructions) to test, a concrete input -stack and the expected output stack. - -These unit tests can be useful for both smart contract developers who -need to independently test various parts of the smart contracts they -develop and to the developers of new implementations of the Michelson -interpreter who need to check that their new implementations behave as -the reference implementation by passing `a conformance test suite -`__. - -Similarly to Michelson scripts, the concrete syntax of TZT unit tests -is :doc:`../shell/micheline`. - -TZT unit test files usually have the extension ``.tzt``. A unit test -file describes a single unit test. It consists of a Micheline sequence -of primitive applications (see :doc:`../shell/micheline`), in no particular order. This is -:ref:`similar to Michelson scripts ` but -the set of primitives allowed at the toplevel differ; in Michelson -scripts, the allowed toplevel primitives are ``parameter`` -(mandatory), ``storage`` (mandatory), ``code`` (mandatory), and -``view`` (optional and repeated). For TZT unit tests, the toplevel -primitives which can be used are: - - - ``input``, - - ``code``, - - ``output``, - - ``now``, - - ``sender``, - - ``source``, - - ``chain_id``, - - ``self``, - - ``parameter``, - - ``amount``, - - ``balance``, - - ``other_contracts``, and - - ``big_maps``. - -Mandatory primitives -~~~~~~~~~~~~~~~~~~~~ - -Each of the mandatory primitives ``input``, ``code``, and ``output`` -must occur exactly once in a unit test file in no particular order. - -The ``input`` primitive is used to declare the input stack (see the -:ref:`syntax of concrete stacks `). - -The ``code`` primitive is used to declare the instruction or sequence -of instructions to execute. - -The ``output`` primitive is used to declare if the execution is -expected to succeed or fail and what result is expected from the -execution. For executions expected to succeed, the argument of the -``output`` primitive is simply the expected output stack (see the -:ref:`syntax of errors `). For executions -expected to fail, the argument is the expected error. In both cases, -the :ref:`wildcard pattern ` can -be used to omit part of the expected output. - -The simplest test which can be written asserts that executing no -instruction on the empty stack successfully returns the empty stack: - -:: - - input {}; - code {}; - output {} - -Here is a slightly more involved test which demonstrates the effect of the `SWAP -`__ instruction: - -:: - - input - { - Stack_elt nat 8 ; - Stack_elt bool False - }; - code SWAP; - output - { - Stack_elt bool False ; - Stack_elt nat 8 - } - -It is possible to test the effect of several instructions by wrapping them in a sequence: - -:: - - input - { - Stack_elt nat 8 ; - Stack_elt bool False - }; - code { SWAP ; SWAP }; - output - { - Stack_elt nat 8 ; - Stack_elt bool False - } - -Here is an example showing how to test the ``FAILWITH`` instruction: - -:: - - input {Stack_elt nat 2}; - code FAILWITH; - output (Failed 2) - -Optional primitives -~~~~~~~~~~~~~~~~~~~ - -Optional primitives are used to set the execution context for the -test. Each of the optional primitives can be used at most once, in no -particular order. - - - ``amount`` (optional, defaults to 0): the amount, expressed in - mutez, that should be pushed by the `AMOUNT - `__ - instruction - - - ``balance`` (optional, defaults to 0): the balance, expressed in - mutez, that should be pushed by the `BALANCE - `__ - instruction - - - ``now`` (optional, defaults to ``"1970-01-01T00:00:00Z"``): the - timestamp that should be pushed by the `NOW - `__ - instruction - - - ``sender`` (optional, defaults to - ``"tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx"``): the sender address - that should be pushed by the `SENDER - `__ - instruction - - - ``source`` (optional, defaults to - ``"tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx"``): the source address - that should be pushed by the `SOURCE - `__ - instruction - - - ``chain_id`` (optional, defaults to ``"NetXdQprcVkpaWU"``): the - chain identifier that should be pushed by the `CHAIN_ID - `__ - instruction - - - ``self`` (optional, defaults to - ``"KT1BEqzn5Wx8uJrZNvuS9DVHmLvG9td3fDLi"``): the address that - should be pushed by the `SELF - `__ and - `SELF_ADDRESS - `__ - instructions - - - ``parameter`` (optional, defaults to ``unit``): the type of the - parameter of the contract pushed by the `SELF - `__ - instruction - - - ``other_contracts`` (optional, defaults to ``{}``): mapping between - the contract addresses that are assumed to exist and their - parameter types (see the :ref:`syntax of other contracts - specifications `) - - - ``big_maps`` (optional, defaults to ``{}``): mapping between - integers representing ``big_map`` indices and descriptions of big - maps (see the :ref:`syntax of extra big maps specifications - `) - -The following test example asserts that the default value for the `NOW -`__ -instruction is the unix epoch: - -:: - - input {}; - code NOW; - output { Stack_elt timestamp "1970-01-01T00:00:00Z" } - -The following example shows how to use the ``now`` toplevel primitive -to make the `NOW -`__ -instruction return a chosen timestamp: - -:: - - input {}; - now "2020-01-08T07:13:51Z"; - code NOW; - output { Stack_elt timestamp "2020-01-08T07:13:51Z" } - -.. _syntax_of_concrete_stacks: -.. _syntax_of_concrete_stacks_nairobi: - -Syntax of concrete stacks -~~~~~~~~~~~~~~~~~~~~~~~~~ - -A concrete stack is written as a Micheline sequence whose elements are -of the form ``Stack_elt `` where ```` is a Michelson value -and ```` is its type. For example, ``{ Stack_elt bool True ; -Stack_elt nat 42 }`` is a concrete stack of length 2 whose top element -is the boolean ``True`` and the bottom element is the natural number -``42``. - -.. _omitting_parts_of_the_output: -.. _omitting_parts_of_the_output_nairobi: - -Omitting parts of the output -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Any part of the ``output`` specification can be replaced with the -wildcard pattern ``_``. - -For example, let's consider the following test of the ``PAIR`` instruction: - -:: - - input {Stack_elt bool True; Stack_elt string "foo"}; - code PAIR; - output {Stack_elt (pair bool string) (Pair True "foo")} - -Omitting the ``True`` argument to the ``Pair`` primitive can be done as follows: - -:: - - input {Stack_elt bool True; Stack_elt string "foo"}; - code PAIR; - output {Stack_elt (pair bool string) (Pair _ "foo")} - -Omitting the ``Pair`` primitive: - -:: - - input {Stack_elt bool True; Stack_elt string "foo"}; - code PAIR; - output {Stack_elt (pair bool string) (_ True "foo")} - -Omitting the ``pair bool string`` type: - -:: - - input {Stack_elt bool True; Stack_elt string "foo"}; - code PAIR; - output {Stack_elt _ (Pair True "foo")} - -Omitting the resulting stack element: - -:: - - input {Stack_elt bool True; Stack_elt string "foo"}; - code PAIR; - output {_} - -Omitting all of the output: - -:: - - input {Stack_elt bool True; Stack_elt string "foo"}; - code PAIR; - output _ - -The difference between the last two examples is that ``output {_}`` -means that the instruction is expected to successfully return a stack -of length 1 while ``output _`` means that nothing in particular is -expected from the execution of the instruction, not even being -successful. - -The wildcard pattern is typically used to omit unspecified aspects of -the Michelson language when writing portable tests; in particular the -cryptographic nonces in values of type ``operation`` (see the -:ref:`syntax of concrete operations -`) or implementation-specific -parts of error outputs (see the :ref:`syntax of errors -`). - -.. _output_normalization: -.. _output_normalization_nairobi: - -Output normalization -~~~~~~~~~~~~~~~~~~~~ - -The input and output stacks can use the readable and optimized formats -for Michelson values and even mix the formats; for a test to pass, the -expected output does not need to syntactically match the result of the -execution but only to match up to conversion between optimized and -readable formats; the TZT test runner is responsible for normalizing -the actual output and the expected one to common format. This means in -particular that conversion between readable and optimized formats can -be tested by using ``{}`` as the ``code`` instruction sequence to -test; for example these two tests pass: - -:: - - input {Stack_elt address 0x0000e7670f32038107a59a2b9cfefae36ea21f5aa63c}; - code {}; - output {Stack_elt address "tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN"} - -:: - - input {Stack_elt address "tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN"}; - code {}; - output {Stack_elt address 0x0000e7670f32038107a59a2b9cfefae36ea21f5aa63c} - -This normalization feature is however incompatible with using the -:ref:`wildcard pattern ` in the -output; when using wildcards the output must be formatted using the -readable format so the following test does not pass: - -:: - - input {Stack_elt address "tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN"}; - code {}; - output {Stack_elt _ 0x0000e7670f32038107a59a2b9cfefae36ea21f5aa63c} - -but the following test does pass: - -:: - - input {Stack_elt address 0x0000e7670f32038107a59a2b9cfefae36ea21f5aa63c}; - code {}; - output {Stack_elt _ "tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN"} - -.. _syntax_of_errors: -.. _syntax_of_errors_nairobi: - -Syntax of errors -~~~~~~~~~~~~~~~~ - -To test that the execution of an instruction fails, the following -syntaxes can be used instead of the output stack as the argument of the -``output`` toplevel primitive to specify which error the instruction is expected to -raise: - - - ``(StaticError )``: an error occurred before the - instruction was executed; the error description format is - unspecified so consider using a :ref:`wildcard - ` such as ``(StaticError _)`` - to write portable tests; - - - ``(Failed )``: the execution reached a ``FAILWITH`` - instruction and the topmost element of the stack at this point was - ````; - - - ``MutezUnderflow``: a mutez subtraction resulted in a negative - value. This should only happen in the case of the deprecated - ``mutez`` case of the ``SUB`` instruction; - - - ``Overflow``: an overflow was detected. This can happen when an - addition or multiplication on type ``mutez`` produces a result - which is too large to be represented as a value of type ``mutez``, - or when the number of bits to shift using the ``LSL`` or ``LSR`` - instruction is too large. - - -The following example shows how to test a runtime failure; it asserts -that the `FAILWITH -`__ -instruction produces a runtime error containing the top of the stack. - -:: - - input { Stack_elt nat 4 ; Stack_elt bytes 0x }; - code FAILWITH; - output (Failed 4) - -The following example shows how to test type checking failure; it -asserts that the `DUP -`__ -instruction cannot be used on an empty stack. - -:: - - input {}; - code DUP; - output (StaticError _) - -The following example shows another kind of static failure: a string -cannot be passed as argument to the `DUP -`__ -instruction. - -:: - - input { Stack_elt nat 8 }; - code { DUP "foo" }; - output (StaticError _) - -.. _syntax_of_concrete_operations: -.. _syntax_of_concrete_operations_nairobi: - -Syntax of concrete operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The `operation type -`__ has -no concrete syntax in Michelson. In order to specify the result of the -operation forging instructions `TRANSFER_TOKENS -`__, -`CREATE_CONTRACT -`__, -and `SET_DELEGATE -`__ , -the following data constructors are added: - - - ``Transfer_tokens``, - - ``Create_contract``, and - - ``Set_delegate``. - -They take as arguments the inputs of the corresponding operation -forging instructions plus a cryptographic nonce represented as a byte -sequence. The result of ``TRANSFER_TOKENS``, ``CREATE_CONTRACT``, -and ``SET_DELEGATE`` have respectively the following shapes: - - - ``Transfer_tokens
``, - - ``Create_contract { - - - -.. _rpc_index: -.. _rpc_index_nairobi : - -Nairobi RPCs - Reference -######################## - -.. include:: /include/rpc_introduction.rst.inc - -Index -***** - -* ../ (`GET `_) - - * ..//context - - * ..//context/big_maps - - * ..//context/big_maps/ (`GET `_) - - * ..//context/big_maps// (`GET `_) - - * ..//context/cache - - * ..//context/cache/contracts - - * ..//context/cache/contracts/all (`GET `_) - - * ..//context/cache/contracts/rank (`POST `_) - - * ..//context/cache/contracts/size (`GET `_) - - * ..//context/cache/contracts/size_limit (`GET `_) - - * ..//context/constants (`GET `_) - - * ..//context/constants/errors (`GET `_) - - * ..//context/constants/parametric (`GET `_) - - * ..//context/contracts (`GET `_) - - * ..//context/contracts/ (`GET `_) - - * ..//context/contracts//balance (`GET `_) - - * ..//context/contracts//balance_and_frozen_bonds (`GET `_) - - * ..//context/contracts//big_map_get (`POST `_) - - * ..//context/contracts//counter (`GET `_) - - * ..//context/contracts//delegate (`GET `_) - - * ..//context/contracts//entrypoints (`GET `_) - - * ..//context/contracts//entrypoints/ (`GET `_) - - * ..//context/contracts//frozen_bonds (`GET `_) - - * ..//context/contracts//manager_key (`GET `_) - - * ..//context/contracts//script (`GET `_) - - * ..//context/contracts//single_sapling_get_diff (`GET `_) - - * ..//context/contracts//storage (`GET `_) - - * ..//context/delegates (`GET `_) - - * ..//context/delegates/ (`GET `_) - - * ..//context/delegates//consensus_key (`GET `_) - - * ..//context/delegates//current_frozen_deposits (`GET `_) - - * ..//context/delegates//deactivated (`GET `_) - - * ..//context/delegates//delegated_balance (`GET `_) - - * ..//context/delegates//delegated_contracts (`GET `_) - - * ..//context/delegates//frozen_deposits (`GET `_) - - * ..//context/delegates//frozen_deposits_limit (`GET `_) - - * ..//context/delegates//full_balance (`GET `_) - - * ..//context/delegates//grace_period (`GET `_) - - * ..//context/delegates//participation (`GET `_) - - * ..//context/delegates//staking_balance (`GET `_) - - * ..//context/delegates//voting_info (`GET `_) - - * ..//context/delegates//voting_power (`GET `_) - - * ..//context/liquidity_baking - - * ..//context/liquidity_baking/cpmm_address (`GET `_) - - * ..//context/merkle_tree (`GET `_) - - * ..//context/merkle_tree_v2 (`GET `_) - - * ..//context/nonces - - * ..//context/nonces/ (`GET `_) - - * ..//context/raw - - * ..//context/raw/bytes (`GET `_) - - * ..//context/raw/json () - - * ..//context/sapling - - * ..//context/sapling/ - - * ..//context/sapling//get_diff (`GET `_) - - * ..//context/seed (`POST `_) - - * ..//context/seed_computation (`GET `_) - - * ..//context/selected_snapshot (`GET `_) - - * ..//context/tx_rollup - - * ..//context/tx_rollup/ - - * ..//context/tx_rollup//commitment - - * ..//context/tx_rollup//commitment/ (`GET `_) - - * ..//context/tx_rollup//inbox - - * ..//context/tx_rollup//inbox/ (`GET `_) - - * ..//context/tx_rollup//pending_bonded_commitments - - * ..//context/tx_rollup//pending_bonded_commitments/ (`GET `_) - - * ..//context/tx_rollup//state (`GET `_) - - * ..//hash (`GET `_) - - * ..//header (`GET `_) - - * ..//header/protocol_data (`GET `_) - - * ..//header/protocol_data/raw (`GET `_) - - * ..//header/raw (`GET `_) - - * ..//header/shell (`GET `_) - - * ..//helpers - - * ..//helpers/complete - - * ..//helpers/complete/ (`GET `_) - - * ..//helpers/forge_block_header (`POST `_) - - * ..//helpers/preapply - - * ..//helpers/preapply/block (`POST `_) - - * ..//helpers/preapply/operations (`POST `_) - - * ..//live_blocks (`GET `_) - - * ..//metadata (`GET `_) - - * ..//metadata_hash (`GET `_) - - * ..//operation_hashes (`GET `_) - - * ..//operation_hashes/ (`GET `_) - - * ..//operation_hashes// (`GET `_) - - * ..//operation_metadata_hashes (`GET `_) - - * ..//operation_metadata_hashes/ (`GET `_) - - * ..//operation_metadata_hashes// (`GET `_) - - * ..//operations (`GET `_) - - * ..//operations/ (`GET `_) - - * ..//operations// (`GET `_) - - * ..//operations_metadata_hash (`GET `_) - - * ..//protocols (`GET `_) - - * ..//resulting_context_hash (`GET `_) - - * ..//votes - - * ..//votes/ballot_list (`GET `_) - - * ..//votes/ballots (`GET `_) - - * ..//votes/current_period (`GET `_) - - * ..//votes/current_proposal (`GET `_) - - * ..//votes/current_quorum (`GET `_) - - * ..//votes/listings (`GET `_) - - * ..//votes/proposal_count - - * ..//votes/proposal_count/ (`GET `_) - - * ..//votes/proposals (`GET `_) - - * ..//votes/successor_period (`GET `_) - - * ..//votes/total_voting_power (`GET `_) - -Full description -**************** - -.. _GET_..--block_id : - -**GET ../?[force_metadata]&[metadata=]** - -.. raw:: html - -
- - -
-

- All the information about a block. The associated metadata may not be present depending on the history mode and block's distance from the head.

Optional query arguments :

  • force_metadata : DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.
  • metadata = <metadata_rpc_arg> : Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy.

-
-
-
-    { "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-      "chain_id": $Chain_id,
-      "hash": $block_hash,
-      "header": $raw_block_header,
-      "metadata"?: $block_header_metadata,
-      "operations": [ [ $operation ... ] ... ] }
-    $017-PtNairob.apply_internal_results.alpha.operation_result:
-      { /* transaction */
-        "kind": "transaction",
-        "source": $017-PtNairob.transaction_destination,
-        "nonce": integer ∈ [0, 2^16-1],
-        "amount": $017-PtNairob.mutez,
-        "destination": $017-PtNairob.transaction_destination,
-        "parameters"?: { "entrypoint": $017-PtNairob.entrypoint,
-                         "value": any },
-        "result":
-          $017-PtNairob.operation.alpha.internal_operation_result.transaction }
-      || { /* origination */
-           "kind": "origination",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.origination }
-      || { /* delegation */
-           "kind": "delegation",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "delegate"?: $Signature.Public_key_hash,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.delegation }
-      || { /* event */
-           "kind": "event",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "type": $micheline.017-PtNairob.michelson_v1.expression,
-           "tag"?: $017-PtNairob.entrypoint,
-           "payload"?: $micheline.017-PtNairob.michelson_v1.expression,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.event }
-    $017-PtNairob.big_map_id:
-      /* Big map identifier
-         A big map identifier */
-      $bignum
-    $017-PtNairob.block_header.alpha.full_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $017-PtNairob.bond_id:
-      { /* Tx_rollup_bond_id */
-        "tx_rollup": $017-PtNairob.tx_rollup_id }
-      || { /* Smart_rollup_bond_id */
-           "smart_rollup": $017-PtNairob.smart_rollup_address }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.contract_id.originated:
-      /* A contract handle -- originated account
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.entrypoint:
-      /* entrypoint
-         Named entrypoint to a Michelson smart contract */
-      "default"
-      || "root"
-      || "do"
-      || "set_delegate"
-      || "remove_delegate"
-      || "deposit"
-      || $unistring
-      /* named */
-    $017-PtNairob.error:
-      /* The full list of RPC errors would be too long to include.
-         It is available at RPC `/errors` (GET).
-         Errors specific to protocol Alpha have an id that starts with
-         `proto.alpha`. */
-      any
-    $017-PtNairob.inlined.endorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.endorsement_mempool.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.endorsement_mempool.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.inlined.preendorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.preendorsement.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.preendorsement.contents:
-      { /* Preendorsement */
-        "kind": "preendorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.lazy_storage_diff:
-      [ { /* big_map */
-          "kind": "big_map",
-          "id": $017-PtNairob.big_map_id,
-          "diff":
-            { /* update */
-              "action": "update",
-              "updates":
-                [ { "key_hash": $script_expr,
-                    "key": $micheline.017-PtNairob.michelson_v1.expression,
-                    "value"?: $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* remove */
-                 "action": "remove" }
-            || { /* copy */
-                 "action": "copy",
-                 "source": $017-PtNairob.big_map_id,
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* alloc */
-                 "action": "alloc",
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ],
-                 "key_type": $micheline.017-PtNairob.michelson_v1.expression,
-                 "value_type": $micheline.017-PtNairob.michelson_v1.expression } }
-        || { /* sapling_state */
-             "kind": "sapling_state",
-             "id": $017-PtNairob.sapling_state_id,
-             "diff":
-               { /* update */
-                 "action": "update",
-                 "updates":
-                   { "commitments_and_ciphertexts":
-                       [ [ $sapling.transaction.commitment,
-                           $sapling.transaction.ciphertext ] ... ],
-                     "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* remove */
-                    "action": "remove" }
-               || { /* copy */
-                    "action": "copy",
-                    "source": $017-PtNairob.sapling_state_id,
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* alloc */
-                    "action": "alloc",
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] },
-                    "memo_size": integer ∈ [0, 2^16-1] } } ... ]
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.operation.alpha.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31] }
-      || { /* Seed_nonce_revelation */
-           "kind": "seed_nonce_revelation",
-           "level": integer ∈ [-2^31-1, 2^31],
-           "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ] }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass" }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash }
-      || { /* Failing_noop */
-           "kind": "failing_noop",
-           "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */ }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30] }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ] }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-    $017-PtNairob.operation.alpha.contents_and_signature:
-      { "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.operation.alpha.internal_operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.event:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.internal_operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_contents_and_result:
-      { /* Seed_nonce_revelation */
-        "kind": "seed_nonce_revelation",
-        "level": integer ∈ [-2^31-1, 2^31],
-        "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "metadata":
-          { "balance_updates"?:
-              $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Endorsement */
-           "kind": "endorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "endorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "preendorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31],
-           "metadata": { "delegate": $Signature.Public_key_hash } }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ],
-           "metadata": {  } }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass",
-           "metadata": {  } }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.reveal,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transaction,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.delegation,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.register_global_constant,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.set_deposits_limit,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.increase_paid_storage,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.update_consensus_key,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "allocated_destination_contract"?: boolean } }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transfer_ticket,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_update,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-    $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header:
-      { /* Applied */
-        "status": "applied",
-        "slot_header":
-          { "level": integer ∈ [-2^31-1, 2^31],
-            "index": integer ∈ [0, 255],
-            "commitment": $DAL_commitment },
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "slot_header":
-             { "level": integer ∈ [-2^31-1, 2^31],
-               "index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment },
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.increase_paid_storage:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.operation_result.register_global_constant:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "global_address": $script_expr }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "global_address": $script_expr }
-    $017-PtNairob.operation.alpha.operation_result.reveal:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.set_deposits_limit:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "inbox_level": integer ∈ [-2^31-1, 2^31],
-        "commitment_hash": $Smart_rollup_commitment_hash }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "inbox_level": integer ∈ [-2^31-1, 2^31],
-           "commitment_hash": $Smart_rollup_commitment_hash }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "address": $Smart_rollup_hash,
-        "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "address": $Smart_rollup_hash,
-           "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "staked_hash": $Smart_rollup_commitment_hash,
-        "published_at_level": integer ∈ [-2^31-1, 2^31],
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "staked_hash": $Smart_rollup_commitment_hash,
-           "published_at_level": integer ∈ [-2^31-1, 2^31],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_result.transfer_ticket:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.update_consensus_key:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_zk_rollup": $Zk_rollup_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_zk_rollup": $Zk_rollup_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_update:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_with_metadata:
-      { /* Operation_with_metadata */
-        "contents":
-          [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-        "signature"?: $Signature.V1 }
-      || { /* Operation_without_metadata */
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $017-PtNairob.operation.alpha.successful_manager_operation_result:
-      { /* reveal */
-        "kind": "reveal",
-        "consumed_milligas"?: $positive_bignum }
-      || /* transaction */
-      { /* To_contract */
-        "kind": "transaction",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "kind": "transaction",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "kind": "transaction",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* origination */
-           "kind": "origination",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* delegation */
-           "kind": "delegation",
-           "consumed_milligas"?: $positive_bignum }
-      || { /* update_consensus_key */
-           "kind": "update_consensus_key",
-           "consumed_milligas"?: $positive_bignum }
-      || { /* set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "consumed_milligas"?: $positive_bignum }
-      || { /* increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-      || { /* smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "address": $Smart_rollup_hash,
-           "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation_metadata.alpha.balance_updates:
-      [ { /* Contract */
-          "kind": "contract",
-          "contract": $017-PtNairob.contract_id,
-          "change": $int64,
-          "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Block_fees */
-             "kind": "accumulator",
-             "category": "block fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Deposits */
-             "kind": "freezer",
-             "category": "deposits",
-             "delegate": $Signature.Public_key_hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Nonce_revelation_rewards */
-             "kind": "minted",
-             "category": "nonce revelation rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_evidence_rewards */
-             "kind": "minted",
-             "category": "double signing evidence rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Endorsing_rewards */
-             "kind": "minted",
-             "category": "endorsing rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_rewards */
-             "kind": "minted",
-             "category": "baking rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_bonuses */
-             "kind": "minted",
-             "category": "baking bonuses",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Storage_fees */
-             "kind": "burned",
-             "category": "storage fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_punishments */
-             "kind": "burned",
-             "category": "punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Lost_endorsing_rewards */
-             "kind": "burned",
-             "category": "lost endorsing rewards",
-             "delegate": $Signature.Public_key_hash,
-             "participation": boolean,
-             "revelation": boolean,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Liquidity_baking_subsidies */
-             "kind": "minted",
-             "category": "subsidy",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Burned */
-             "kind": "burned",
-             "category": "burned",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Commitments */
-             "kind": "commitment",
-             "category": "commitment",
-             "committer": $Blinded public key hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Bootstrap */
-             "kind": "minted",
-             "category": "bootstrap",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Invoice */
-             "kind": "minted",
-             "category": "invoice",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Initial_commitments */
-             "kind": "minted",
-             "category": "commitment",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Minted */
-             "kind": "minted",
-             "category": "minted",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Frozen_bonds */
-             "kind": "freezer",
-             "category": "bonds",
-             "contract": $017-PtNairob.contract_id,
-             "bond_id": $017-PtNairob.bond_id,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_rewards */
-             "kind": "minted",
-             "category": "tx_rollup_rejection_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_punishments */
-             "kind": "burned",
-             "category": "tx_rollup_rejection_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_punishments */
-             "kind": "burned",
-             "category": "smart_rollup_refutation_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_rewards */
-             "kind": "minted",
-             "category": "smart_rollup_refutation_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" } ... ]
-    $017-PtNairob.sapling_state_id:
-      /* Sapling state identifier
-         A sapling state identifier */
-      $bignum
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $017-PtNairob.smart_rollup_address:
-      /* A smart rollup address
-         A smart rollup is identified by a base58 address starting with sr1 */
-      $Smart_rollup_hash
-    $017-PtNairob.transaction_destination:
-      /* A destination of a transaction
-         A destination notation compatible with the contract notation as given
-         to an RPC or inside scripts. Can be a base58 implicit contract hash, a
-         base58 originated contract hash, a base58 originated transaction
-         rollup, or a base58 originated smart rollup. */
-      $unistring
-    $017-PtNairob.tx_rollup_id:
-      /* A tx rollup handle
-         A tx rollup notation as given to an RPC or inside scripts, is a base58
-         tx rollup hash */
-      $unistring
-    $Blinded public key hash:
-      /* A blinded public key hash (Base58Check-encoded) */
-      $unistring
-    $Chain_id:
-      /* Network identifier (Base58Check-encoded) */
-      $unistring
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $DAL_commitment:
-      /* Commitment representation for the DAL (Base58Check-encoded) */
-      $unistring
-    $Ed25519.Public_key_hash:
-      /* An Ed25519 public key hash (Base58Check-encoded) */
-      $unistring
-    $Operation_hash:
-      /* A Tezos operation ID (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_commitment_hash:
-      /* The hash of a commitment of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_hash:
-      /* A smart rollup address (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_state_hash:
-      /* The hash of the VM state of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Zk_rollup_hash:
-      /* A zk rollup address (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $block_header_metadata:
-      { "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-        "next_protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-        "test_chain_status": $test_chain_status,
-        "max_operations_ttl": integer ∈ [-2^30, 2^30],
-        "max_operation_data_length": integer ∈ [-2^30, 2^30],
-        "max_block_header_length": integer ∈ [-2^30, 2^30],
-        "max_operation_list_length":
-          [ { "max_size": integer ∈ [-2^30, 2^30],
-              "max_op"?: integer ∈ [-2^30, 2^30] } ... ],
-        "proposer": $Signature.Public_key_hash,
-        "baker": $Signature.Public_key_hash,
-        "level_info":
-          { "level":
-              integer ∈ [-2^31-1, 2^31]
-              /* The level of the block relative to genesis. This is also the
-                 Shell's notion of level. */,
-            "level_position":
-              integer ∈ [-2^31-1, 2^31]
-              /* The level of the block relative to the successor of the
-                 genesis block. More precisely, it is the position of the block
-                 relative to the block that starts the "Alpha family" of
-                 protocols, which includes all protocols except Genesis (that
-                 is, from 001 onwards). */,
-            "cycle":
-              integer ∈ [-2^31-1, 2^31]
-              /* The current cycle's number. Note that cycles are a
-                 protocol-specific notion. As a result, the cycle number starts
-                 at 0 with the first block of the Alpha family of protocols. */,
-            "cycle_position":
-              integer ∈ [-2^31-1, 2^31]
-              /* The current level of the block relative to the first block of
-                 the current cycle. */,
-            "expected_commitment":
-              boolean
-              /* Tells whether the baker of this block has to commit a seed
-                 nonce hash. */ },
-        "voting_period_info":
-          { "voting_period":
-              { /* The voting period to which the block belongs. */
-                "index":
-                  integer ∈ [-2^31-1, 2^31]
-                  /* The voting period's index. Starts at 0 with the first
-                     block of the Alpha family of protocols. */,
-                "kind":
-                  /* One of the several kinds of periods in the voting
-                     procedure. */
-                  "proposal"
-                  || "exploration"
-                  || "cooldown"
-                  || "promotion"
-                  || "adoption",
-                "start_position":
-                  integer ∈ [-2^31-1, 2^31]
-                  /* The relative position of the first level of the period
-                     with respect to the first level of the Alpha family of
-                     protocols. */ },
-            "position":
-              integer ∈ [-2^31-1, 2^31]
-              /* The position of the block within the voting period. */,
-            "remaining":
-              integer ∈ [-2^31-1, 2^31]
-              /* The number of blocks remaining till the end of the voting
-                 period. */ },
-        "nonce_hash": $cycle_nonce /* Some */ || null /* None */,
-        "deactivated": [ $Signature.Public_key_hash ... ],
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "liquidity_baking_toggle_ema": integer ∈ [-2^31-1, 2^31],
-        "implicit_operations_results":
-          [ $017-PtNairob.operation.alpha.successful_manager_operation_result ... ],
-        "proposer_consensus_key": $Signature.Public_key_hash,
-        "baker_consensus_key": $Signature.Public_key_hash,
-        "consumed_milligas": $positive_bignum,
-        "dal_attestation"?: $bignum }
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $operation:
-      { /* An operation's shell header. */
-        "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-        "chain_id": $Chain_id,
-        "hash": $Operation_hash,
-        "branch": $block_hash,
-        "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1,
-        "metadata": "too large" }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents":
-             [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-           "signature"?: $Signature.V1 }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $raw_block_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.ciphertext:
-      { "cv": $sapling.transaction.commitment_value,
-        "epk": $sapling.DH.epk,
-        "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $script_expr:
-      /* A script expression ID (Base58Check-encoded) */
-      $unistring
-    $test_chain_status:
-      /* The status of the test chain: not_running (there is no test chain at
-         the moment), forking (the test chain is being setup), running (the
-         test chain is running). */
-      { /* Not_running */
-        "status": "not_running" }
-      || { /* Forking */
-           "status": "forking",
-           "protocol": $Protocol_hash,
-           "expiration": $timestamp.protocol }
-      || { /* Running */
-           "status": "running",
-           "chain_id": $Chain_id,
-           "genesis": $block_hash,
-           "protocol": $Protocol_hash,
-           "expiration": $timestamp.protocol }
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | chain_id                       | 4 bytes              | bytes                               |
-    +--------------------------------+----------------------+-------------------------------------+
-    | hash                           | 32 bytes             | bytes                               |
-    +--------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field          | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------+----------------------+-------------------------------------+
-    | header                         | Variable             | $raw_block_header                   |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "metadata" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_0                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field          | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------+----------------------+-------------------------------------+
-    | operations                     | Variable             | sequence of $X_78                   |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    raw_block_header
-    ****************
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    test_chain_status (Determined from data, 8-bit tag)
-    ***************************************************
-    
-    Not_running (tag 0)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Forking (tag 1)
-    ===============
-    
-    +------------+----------+------------------------+
-    | Name       | Size     | Contents               |
-    +============+==========+========================+
-    | Tag        | 1 byte   | unsigned 8-bit integer |
-    +------------+----------+------------------------+
-    | protocol   | 32 bytes | bytes                  |
-    +------------+----------+------------------------+
-    | expiration | 8 bytes  | signed 64-bit integer  |
-    +------------+----------+------------------------+
-    
-    
-    Running (tag 2)
-    ===============
-    
-    +------------+----------+------------------------+
-    | Name       | Size     | Contents               |
-    +============+==========+========================+
-    | Tag        | 1 byte   | unsigned 8-bit integer |
-    +------------+----------+------------------------+
-    | chain_id   | 4 bytes  | bytes                  |
-    +------------+----------+------------------------+
-    | genesis    | 32 bytes | bytes                  |
-    +------------+----------+------------------------+
-    | protocol   | 32 bytes | bytes                  |
-    +------------+----------+------------------------+
-    | expiration | 8 bytes  | signed 64-bit integer  |
-    +------------+----------+------------------------+
-    
-    
-    X_2
-    ***
-    
-    +------------------------------+---------+--------------------------------------------------------------+
-    | Name                         | Size    | Contents                                                     |
-    +==============================+=========+==============================================================+
-    | max_size                     | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +------------------------------+---------+--------------------------------------------------------------+
-    | ? presence of field "max_op" | 1 byte  | boolean (0 for false, 255 for true)                          |
-    +------------------------------+---------+--------------------------------------------------------------+
-    | max_op                       | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +------------------------------+---------+--------------------------------------------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    X_3
-    ***
-    
-    +---------------------+---------+-------------------------------------+
-    | Name                | Size    | Contents                            |
-    +=====================+=========+=====================================+
-    | level               | 4 bytes | signed 32-bit integer               |
-    +---------------------+---------+-------------------------------------+
-    | level_position      | 4 bytes | signed 32-bit integer               |
-    +---------------------+---------+-------------------------------------+
-    | cycle               | 4 bytes | signed 32-bit integer               |
-    +---------------------+---------+-------------------------------------+
-    | cycle_position      | 4 bytes | signed 32-bit integer               |
-    +---------------------+---------+-------------------------------------+
-    | expected_commitment | 1 byte  | boolean (0 for false, 255 for true) |
-    +---------------------+---------+-------------------------------------+
-    
-    
-    X_6 (1 byte, 8-bit tag)
-    ***********************
-    
-    Proposal (tag 0)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    exploration (tag 1)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Cooldown (tag 2)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Promotion (tag 3)
-    =================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Adoption (tag 4)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_5
-    ***
-    
-    +----------------+---------+-----------------------+
-    | Name           | Size    | Contents              |
-    +================+=========+=======================+
-    | index          | 4 bytes | signed 32-bit integer |
-    +----------------+---------+-----------------------+
-    | kind           | 1 byte  | $X_6                  |
-    +----------------+---------+-----------------------+
-    | start_position | 4 bytes | signed 32-bit integer |
-    +----------------+---------+-----------------------+
-    
-    
-    X_4
-    ***
-    
-    +---------------+---------+-----------------------+
-    | Name          | Size    | Contents              |
-    +===============+=========+=======================+
-    | voting_period | 9 bytes | $X_5                  |
-    +---------------+---------+-----------------------+
-    | position      | 4 bytes | signed 32-bit integer |
-    +---------------+---------+-----------------------+
-    | remaining     | 4 bytes | signed 32-bit integer |
-    +---------------+---------+-----------------------+
-    
-    
-    X_7 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-------------+----------+------------------------+
-    | Name        | Size     | Contents               |
-    +=============+==========+========================+
-    | Tag         | 1 byte   | unsigned 8-bit integer |
-    +-------------+----------+------------------------+
-    | cycle_nonce | 32 bytes | bytes                  |
-    +-------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    017-PtNairob.bond_id (21 bytes, 8-bit tag)
-    ******************************************
-    
-    Tx_rollup_bond_id (tag 0)
-    =========================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | tx_rollup | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Smart_rollup_bond_id (tag 1)
-    ============================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | smart_rollup | 20 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    X_9 (Determined from data, 8-bit tag)
-    *************************************
-    
-    Contract (tag 0)
-    ================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    
-    
-    Block_fees (tag 2)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Deposits (tag 4)
-    ================
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | delegate | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    
-    
-    Nonce_revelation_rewards (tag 5)
-    ================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_evidence_rewards (tag 6)
-    =======================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Endorsing_rewards (tag 7)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_rewards (tag 8)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_bonuses (tag 9)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Storage_fees (tag 11)
-    =====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_punishments (tag 12)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Lost_endorsing_rewards (tag 13)
-    ===============================
-    
-    +---------------+----------+-------------------------------------+
-    | Name          | Size     | Contents                            |
-    +===============+==========+=====================================+
-    | Tag           | 1 byte   | unsigned 8-bit integer              |
-    +---------------+----------+-------------------------------------+
-    | delegate      | 21 bytes | $public_key_hash                    |
-    +---------------+----------+-------------------------------------+
-    | participation | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    | revelation    | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    
-    
-    Liquidity_baking_subsidies (tag 14)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Burned (tag 15)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Commitments (tag 16)
-    ====================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | committer | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Bootstrap (tag 17)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Invoice (tag 18)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Initial_commitments (tag 19)
-    ============================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Minted (tag 20)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Frozen_bonds (tag 21)
-    =====================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    | bond_id  | 21 bytes | $017-PtNairob.bond_id     |
-    +----------+----------+---------------------------+
-    
-    
-    Tx_rollup_rejection_rewards (tag 22)
-    ====================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Tx_rollup_rejection_punishments (tag 23)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_punishments (tag 24)
-    ============================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_rewards (tag 25)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_10 (1 byte, 8-bit tag)
-    ************************
-    
-    Block_application (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Protocol_migration (tag 1)
-    ==========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Subsidy (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Simulation (tag 3)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_8
-    ***
-    
-    +-----------------+----------------------+-----------------------+
-    | Name            | Size                 | Contents              |
-    +=================+======================+=======================+
-    | Unnamed field 0 | Determined from data | $X_9                  |
-    +-----------------+----------------------+-----------------------+
-    | change          | 8 bytes              | signed 64-bit integer |
-    +-----------------+----------------------+-----------------------+
-    | origin          | 1 byte               | $X_10                 |
-    +-----------------+----------------------+-----------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    017-PtNairob.contract_id.originated (22 bytes, 8-bit tag)
-    *********************************************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    sapling.transaction.ciphertext
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | cv                    | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | epk                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | payload_enc           | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_enc             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | payload_out           | 80 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_out             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_21
-    ****
-    
-    +-----------------+----------------------+---------------------------------+
-    | Name            | Size                 | Contents                        |
-    +=================+======================+=================================+
-    | Unnamed field 0 | 32 bytes             | bytes                           |
-    +-----------------+----------------------+---------------------------------+
-    | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
-    +-----------------+----------------------+---------------------------------+
-    
-    
-    X_20
-    ****
-    
-    +-----------------------------+----------+-------------------------+
-    | Name                        | Size     | Contents                |
-    +=============================+==========+=========================+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | commitments_and_ciphertexts | Variable | sequence of $X_21       |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | nullifiers                  | Variable | sequence of bytes       |
-    +-----------------------------+----------+-------------------------+
-    
-    
-    X_26 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_20                  |
-    +---------+----------------------+------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | source  | Determined from data | $Z.t                   |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_20                  |
-    +---------+----------------------+------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------+----------------------+-------------------------+
-    | Name      | Size                 | Contents                |
-    +===========+======================+=========================+
-    | Tag       | 1 byte               | unsigned 8-bit integer  |
-    +-----------+----------------------+-------------------------+
-    | updates   | Determined from data | $X_20                   |
-    +-----------+----------------------+-------------------------+
-    | memo_size | 2 bytes              | unsigned 16-bit integer |
-    +-----------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_27
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | Name                        | Size                 | Contents                                        |
-    +=============================+======================+=================================================+
-    | key_hash                    | 32 bytes             | bytes                                           |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | key                         | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | ? presence of field "value" | 1 byte               | boolean (0 for false, 255 for true)             |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | value                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_38 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | updates               | Variable | sequence of $X_27       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | Determined from data | $Z.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_27       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------------------+----------------------+-------------------------------------------------+
-    | Name                  | Size                 | Contents                                        |
-    +=======================+======================+=================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                          |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                         |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | updates               | Variable             | sequence of $X_27                               |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | key_type              | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | value_type            | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_39 (Determined from data, 8-bit tag)
-    **************************************
-    
-    big_map (tag 0)
-    ===============
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_38                  |
-    +------+----------------------+------------------------+
-    
-    
-    sapling_state (tag 1)
-    =====================
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_26                  |
-    +------+----------------------+------------------------+
-    
-    
-    017-PtNairob.lazy_storage_diff
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_39       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_41
-    ****
-    
-    +--------------+----------------------+-------------------------------------------------+
-    | Name         | Size                 | Contents                                        |
-    +==============+======================+=================================================+
-    | ticketer     | 22 bytes             | $017-PtNairob.contract_id                       |
-    +--------------+----------------------+-------------------------------------------------+
-    | content_type | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    | content      | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    
-    
-    017-PtNairob.transaction_destination (22 bytes, 8-bit tag)
-    **********************************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    Tx_rollup (tag 2)
-    =================
-    
-    +-------------+----------+------------------------+
-    | Name        | Size     | Contents               |
-    +=============+==========+========================+
-    | Tag         | 1 byte   | unsigned 8-bit integer |
-    +-------------+----------+------------------------+
-    | Rollup_hash | 20 bytes | bytes                  |
-    +-------------+----------+------------------------+
-    | padding     | 1 byte   | padding                |
-    +-------------+----------+------------------------+
-    
-    
-    Smart_rollup (tag 3)
-    ====================
-    
-    +-------------------+----------+------------------------+
-    | Name              | Size     | Contents               |
-    +===================+==========+========================+
-    | Tag               | 1 byte   | unsigned 8-bit integer |
-    +-------------------+----------+------------------------+
-    | Smart_rollup_hash | 20 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    | padding           | 1 byte   | padding                |
-    +-------------------+----------+------------------------+
-    
-    
-    Zk_rollup (tag 4)
-    =================
-    
-    +----------------+----------+------------------------+
-    | Name           | Size     | Contents               |
-    +================+==========+========================+
-    | Tag            | 1 byte   | unsigned 8-bit integer |
-    +----------------+----------+------------------------+
-    | Zk_rollup_hash | 20 bytes | bytes                  |
-    +----------------+----------+------------------------+
-    | padding        | 1 byte   | padding                |
-    +----------------+----------+------------------------+
-    
-    
-    X_44
-    ****
-    
-    +---------+----------------------+---------------------------------------+
-    | Name    | Size                 | Contents                              |
-    +=========+======================+=======================================+
-    | account | 22 bytes             | $017-PtNairob.transaction_destination |
-    +---------+----------------------+---------------------------------------+
-    | amount  | Determined from data | $Z.t                                  |
-    +---------+----------------------+---------------------------------------+
-    
-    
-    X_40
-    ****
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | ticket_token          | Determined from data | $X_41                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_44       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    X_77 (Determined from data, 8-bit tag)
-    **************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                 |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_updates        | Variable             | sequence of $X_40       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.successful_manager_operation_result (Determined from data, 8-bit tag)
-    **************************************************************************************************
-    
-    reveal (tag 0)
-    ==============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    transaction (tag 1)
-    ===================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_77                  |
-    +-----------------+----------------------+------------------------+
-    
-    
-    origination (tag 2)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                 |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    delegation (tag 3)
-    ==================
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    set_deposits_limit (tag 5)
-    ==========================
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    update_consensus_key (tag 6)
-    ============================
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    increase_paid_storage (tag 9)
-    =============================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    smart_rollup_originate (tag 200)
-    ================================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | address                                                                  | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                      |
-    +==========================================================================+======================+===============================================================================+
-    | # bytes in next 22 fields                                                | 4 bytes              | unsigned 30-bit integer                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | test_chain_status                                                        | Determined from data | $test_chain_status                                                            |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | max_operations_ttl                                                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | max_operation_data_length                                                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | max_block_header_length                                                  | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | max_operation_list_length                                                | Determined from data | $X_1                                                                          |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | proposer                                                                 | 21 bytes             | $public_key_hash                                                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | baker                                                                    | 21 bytes             | $public_key_hash                                                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | level_info                                                               | 17 bytes             | $X_3                                                                          |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | voting_period_info                                                       | 17 bytes             | $X_4                                                                          |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | nonce_hash                                                               | Determined from data | $X_7                                                                          |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | deactivated                                                              | Variable             | sequence of $public_key_hash                                                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | liquidity_baking_toggle_ema                                              | 4 bytes              | signed 32-bit integer                                                         |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | implicit_operations_results                                              | Variable             | sequence of $017-PtNairob.operation.alpha.successful_manager_operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | proposer_consensus_key                                                   | 21 bytes             | $public_key_hash                                                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | baker_consensus_key                                                      | 21 bytes             | $public_key_hash                                                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                                                          |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    | dal_attestation                                                          | Variable             | $Z.t                                                                          |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
-    
-    
-    X_81
-    ****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_82
-    ****
-    
-    +-----------------------+----------+-------------------------------------+
-    | Name                  | Size     | Contents                            |
-    +=======================+==========+=====================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer             |
-    +-----------------------+----------+-------------------------------------+
-    | new_state             | Variable | sequence of bytes                   |
-    +-----------------------+----------+-------------------------------------+
-    | fee                   | 32 bytes | bytes                               |
-    +-----------------------+----------+-------------------------------------+
-    | exit_validity         | 1 byte   | boolean (0 for false, 255 for true) |
-    +-----------------------+----------+-------------------------------------+
-    
-    
-    X_80
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_81    |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_82    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_85
-    ****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | new_state             | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    | fee                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_83
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_81    |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_85    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_86
-    ****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_79
-    ****
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | pending_pis           | Variable             | sequence of $X_80       |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | private_pis           | Variable             | sequence of $X_83       |
-    +-----------------------+----------------------+-------------------------+
-    | fee_pi                | Determined from data | $X_86                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | proof                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    X_89
-    ****
-    
-    +--------+----------------------+----------+
-    | Name   | Size                 | Contents |
-    +========+======================+==========+
-    | id     | 32 bytes             | bytes    |
-    +--------+----------------------+----------+
-    | amount | Determined from data | $Z.t     |
-    +--------+----------------------+----------+
-    
-    
-    X_88
-    ****
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | op_code               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | price                 | Determined from data | $X_89                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | l1_dst                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | rollup_id             | 20 bytes             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | payload               | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    X_92 (Determined from data, 8-bit tag)
-    **************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------+----------------------+-------------------------------------------------+
-    | Name     | Size                 | Contents                                        |
-    +==========+======================+=================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                          |
-    +----------+----------------------+-------------------------------------------------+
-    | contents | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ty       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ticketer | 22 bytes             | $017-PtNairob.contract_id                       |
-    +----------+----------------------+-------------------------------------------------+
-    
-    
-    X_87
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_88    |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_92    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_95 (1 byte, 8-bit tag)
-    ************************
-    
-    Public (tag 0)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Private (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Fee (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_93
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_81    |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | 1 byte               | $X_95    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_96
-    ****
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | published_level  | 4 bytes  | signed 32-bit integer  |
-    +------------------+----------+------------------------+
-    | slot_index       | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | commitment       | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    | commitment_proof | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    
-    
-    X_97
-    ****
-    
-    +-------+----------+------------------+
-    | Name  | Size     | Contents         |
-    +=======+==========+==================+
-    | alice | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    | bob   | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    
-    
-    X_98
-    ****
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | published_level | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    | slot_index      | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | page_index      | 2 bytes | signed 16-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    X_99 (Determined from data, 8-bit tag)
-    **************************************
-    
-    raw data proof (tag 0)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | raw_data              | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    metadata proof (tag 1)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    dal page proof (tag 2)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | dal_page_id           | 7 bytes  | $X_98                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | dal_proof             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_100 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    inbox proof (tag 0)
-    ===================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | level                 | 4 bytes              | signed 32-bit integer   |
-    +-----------------------+----------------------+-------------------------+
-    | message_counter       | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | serialized_proof      | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    reveal proof (tag 1)
-    ====================
-    
-    +--------------+----------------------+------------------------+
-    | Name         | Size                 | Contents               |
-    +==============+======================+========================+
-    | Tag          | 1 byte               | unsigned 8-bit integer |
-    +--------------+----------------------+------------------------+
-    | reveal_proof | Determined from data | $X_99                  |
-    +--------------+----------------------+------------------------+
-    
-    
-    first input (tag 2)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_101
-    *****
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | ? presence of field "state" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | state                       | 32 bytes             | bytes                               |
-    +-----------------------------+----------------------+-------------------------------------+
-    | tick                        | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    X_102 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Dissection (tag 0)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_101      |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Proof (tag 1)
-    =============
-    
-    +-----------------------------------+----------------------+-------------------------------------+
-    | Name                              | Size                 | Contents                            |
-    +===================================+======================+=====================================+
-    | Tag                               | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field             | 4 bytes              | unsigned 30-bit integer             |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | pvm_step                          | Variable             | bytes                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "input_proof" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | input_proof                       | Determined from data | $X_100                              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_103 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Start (tag 0)
-    =============
-    
-    +--------------------------+----------+------------------------+
-    | Name                     | Size     | Contents               |
-    +==========================+==========+========================+
-    | Tag                      | 1 byte   | unsigned 8-bit integer |
-    +--------------------------+----------+------------------------+
-    | player_commitment_hash   | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    | opponent_commitment_hash | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    
-    
-    Move (tag 1)
-    ============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | choice | Determined from data | $N.t                   |
-    +--------+----------------------+------------------------+
-    | step   | Determined from data | $X_102                 |
-    +--------+----------------------+------------------------+
-    
-    
-    X_104
-    *****
-    
-    +------------------+----------+-----------------------+
-    | Name             | Size     | Contents              |
-    +==================+==========+=======================+
-    | compressed_state | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | inbox_level      | 4 bytes  | signed 32-bit integer |
-    +------------------+----------+-----------------------+
-    | predecessor      | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | number_of_ticks  | 8 bytes  | signed 64-bit integer |
-    +------------------+----------+-----------------------+
-    
-    
-    X_106 (Enumeration: unsigned 8-bit integer):
-    ********************************************
-    
-    +-------------+----------------+
-    | Case number | Encoded string |
-    +=============+================+
-    | 0           | arith          |
-    +-------------+----------------+
-    | 1           | wasm_2_0_0     |
-    +-------------+----------------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.entrypoint (Determined from data, 8-bit tag)
-    *********************************************************
-    
-    default (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    root (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    do (tag 2)
-    ==========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    set_delegate (tag 3)
-    ====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    remove_delegate (tag 4)
-    =======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    deposit (tag 5)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    named (tag 255)
-    ===============
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_107
-    *****
-    
-    +-----------------------+----------------------+--------------------------+
-    | Name                  | Size                 | Contents                 |
-    +=======================+======================+==========================+
-    | entrypoint            | Determined from data | $017-PtNairob.entrypoint |
-    +-----------------------+----------------------+--------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
-    +-----------------------+----------------------+--------------------------+
-    | value                 | Variable             | bytes                    |
-    +-----------------------+----------------------+--------------------------+
-    
-    
-    X_108
-    *****
-    
-    +-----------------+-----------+----------+
-    | Name            | Size      | Contents |
-    +=================+===========+==========+
-    | Unnamed field 0 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    | Unnamed field 1 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    
-    
-    017-PtNairob.inlined.preendorsement.contents (43 bytes, 8-bit tag)
-    ******************************************************************
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.preendorsement
-    ***********************************
-    
-    +------------+----------+-----------------------------------------------+
-    | Name       | Size     | Contents                                      |
-    +============+==========+===============================================+
-    | branch     | 32 bytes | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.preendorsement.contents |
-    +------------+----------+-----------------------------------------------+
-    | signature  | Variable | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
-    ***********************************************************************
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement
-    ********************************
-    
-    +------------+----------+----------------------------------------------------+
-    | Name       | Size     | Contents                                           |
-    +============+==========+====================================================+
-    | branch     | 32 bytes | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.endorsement_mempool.contents |
-    +------------+----------+----------------------------------------------------+
-    | signature  | Variable | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents (Determined from data, 8-bit tag)
-    ***********************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bh1                   | Variable | $raw_block_header       |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bh2                   | Variable | $raw_block_header       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_108                 |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_107                              |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                   |
-    +=======================+======================+============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                     |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                           |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_106) |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_81       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_104                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_103                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_97                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_96                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_93                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_87       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_79                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    X_121
-    *****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag)
-    ************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag)
-    **********************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_121                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.origination (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                 |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                 |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    X_218 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                 |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_receipt                                                           | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_receipt        | Variable             | sequence of $X_40       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.transaction (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_218                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_121                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_218                              |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.apply_internal_results.alpha.operation_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    transaction (tag 1)
-    ===================
-    
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                             | Size                 | Contents                                                            |
-    +==================================+======================+=====================================================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer                                              |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                           | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                            | 2 bytes              | unsigned 16-bit integer                                             |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | amount                           | Determined from data | $N.t                                                                |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | parameters                       | Determined from data | $X_107                                                              |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                           | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.transaction |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    origination (tag 2)
-    ===================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                            |
-    +================================+======================+=====================================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                             |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | balance                        | Determined from data | $N.t                                                                |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    delegation (tag 3)
-    ==================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                      |
-    +================================+======================+===============================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                        |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                       |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    event (tag 4)
-    =============
-    
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                          | Size                 | Contents                                                      |
-    +===============================+======================+===============================================================+
-    | Tag                           | 1 byte               | unsigned 8-bit integer                                        |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | source                        | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                         | 2 bytes              | unsigned 16-bit integer                                       |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | type                          | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "tag"     | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | tag                           | Determined from data | $017-PtNairob.entrypoint                                      |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "payload" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | payload                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | result                        | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    X_117
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_update         |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag)
-    *************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_263
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag)
-    *****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_406
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_552
-    *****
-    
-    +------------+----------+------------------------+
-    | Name       | Size     | Contents               |
-    +============+==========+========================+
-    | level      | 4 bytes  | signed 32-bit integer  |
-    +------------+----------+------------------------+
-    | index      | 1 byte   | unsigned 8-bit integer |
-    +------------+----------+------------------------+
-    | commitment | 48 bytes | bytes                  |
-    +------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header (Determined from data, 8-bit tag)
-    *******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | slot_header       | 53 bytes             | $X_552                 |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_121                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | slot_header                  | 53 bytes             | $X_552                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_547
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag)
-    *********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_683
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                 |
-    +==========================================================================+======================+==========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                         |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag)
-    *******************************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_823
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                           |
-    +==========================================================================+======================+====================================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                                   |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    
-    
-    X_979 (1 byte, 8-bit tag)
-    *************************
-    
-    Conflict_resolved (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Timeout (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_980 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Loser (tag 0)
-    =============
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | reason | 1 byte   | $X_979                 |
-    +--------+----------+------------------------+
-    | player | 21 bytes | $public_key_hash       |
-    +--------+----------+------------------------+
-    
-    
-    Draw (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_981 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Ongoing (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Ended (tag 1)
-    =============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | result | Determined from data | $X_980                 |
-    +--------+----------------------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | game_status                                                              | Determined from data | $X_981                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | game_status                                                              | Determined from data | $X_981                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_974
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1273
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag)
-    ***************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    | inbox_level       | 4 bytes              | signed 32-bit integer  |
-    +-------------------+----------------------+------------------------+
-    | commitment_hash   | 32 bytes             | bytes                  |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_121                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    | inbox_level                  | 4 bytes              | signed 32-bit integer               |
-    +------------------------------+----------------------+-------------------------------------+
-    | commitment_hash              | 32 bytes             | bytes                               |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1413
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_1548
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event           |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag)
-    ******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | address                                                                  | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | address                                                                  | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1683
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.register_global_constant (Determined from data, 8-bit tag)
-    ********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | global_address                                                           | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_121                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | global_address                                                           | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2381
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.register_global_constant |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2655
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.transaction (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_77                  |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_81       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_121                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_77                               |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2836
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.transaction              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_3180
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_8                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | endorsement_power                                                        | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3184
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_8                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | preendorsement_power                                                     | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3188
-    ******
-    
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | Name                                                                     | Size     | Contents                            |
-    +==========================================================================+==========+=====================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_8                    |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | allocated_destination_contract                                           | 1 byte   | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.operation_metadata.alpha.balance_updates
-    *****************************************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_8        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_contents_and_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | level    | 4 bytes              | signed 32-bit integer                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | nonce    | 32 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh1                   | Variable             | $raw_block_header                                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh2                   | Variable             | $raw_block_header                                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | pkh      | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | secret   | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | solution | 200 bytes            | $X_108                                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | consensus_key | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | delegate      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | destination   | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_3188                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3184                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3180                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    | metadata    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1548                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_107                              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | metadata                         | Determined from data | $X_2836                             |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_2655                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_1548                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_2381                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | metadata                    | Determined from data | $X_1548                             |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    | metadata      | Determined from data | $X_683                               |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1548                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | metadata              | Determined from data | $X_823                    |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                   |
-    +=======================+======================+============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                     |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                           |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_106) |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | metadata              | Determined from data | $X_1683                                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_81       |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_1548                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1413                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_104                 |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1273                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_103                 |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_974                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_97                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_974                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_823                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_683                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_96                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_547                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_93                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | metadata              | Determined from data | $X_406                                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_87       |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_263                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_79                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_117                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    X_3211 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation_with_metadata (tag 0)
-    ===============================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                |
-    +=======================+==========+=========================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                  |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                 |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.operation_contents_and_result |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | signature             | Variable | bytes                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    
-    
-    Operation_without_metadata (tag 1)
-    ==================================
-    
-    +-----------------------+----------+----------------------------------------------------+
-    | Name                  | Size     | Contents                                           |
-    +=======================+==========+====================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                             |
-    +-----------------------+----------+----------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                            |
-    +-----------------------+----------+----------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.contents |
-    +-----------------------+----------+----------------------------------------------------+
-    | signature             | Variable | bytes                                              |
-    +-----------------------+----------+----------------------------------------------------+
-    
-    
-    bls_signature_prefix (33 bytes, 8-bit tag)
-    ******************************************
-    
-    Bls_prefix (tag 3)
-    ==================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents_or_signature_prefix (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bh1                   | Variable | $raw_block_header       |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bh2                   | Variable | $raw_block_header       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_108                 |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_107                              |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                   |
-    +=======================+======================+============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                     |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                           |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                       |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_106) |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                    |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                      |
-    +-----------------------+----------------------+------------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_81       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_104                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_103                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_97                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_96                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_93                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_87       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_79                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Signature_prefix (tag 255)
-    ==========================
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | Tag              | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | signature_prefix | 33 bytes | $bls_signature_prefix  |
-    +------------------+----------+------------------------+
-    
-    
-    X_3272 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation with too large metadata (tag 0)
-    =========================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation without metadata (tag 1)
-    ==================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation with metadata (tag 2)
-    ===============================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | Variable | $X_3211                |
-    +-----------------+----------+------------------------+
-    
-    
-    operation
-    *********
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | chain_id              | 4 bytes  | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | hash                  | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | branch                | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | $X_3272                 |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_78
-    ****
-    
-    +--------------------------+----------+-------------------------+
-    | Name                     | Size     | Contents                |
-    +==========================+==========+=========================+
-    | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer |
-    +--------------------------+----------+-------------------------+
-    | # bytes in next field    | 4 bytes  | unsigned 30-bit integer |
-    +--------------------------+----------+-------------------------+
-    | Unnamed field 0          | Variable | sequence of $operation  |
-    +--------------------------+----------+-------------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--big_maps--big_map_id : - -**GET ..//context/big_maps/?[offset=]&[length=]** - -.. raw:: html - -
- - -
-

- Get the (optionally paginated) list of values in a big map. Order of values is unspecified, but is guaranteed to be consistent.

Optional query arguments :

  • offset = <uint> : Skip the first [offset] values. Useful in combination with [length] for pagination.
  • length = <uint> : Only retrieve [length] values. Useful in combination with [offset] for pagination.

-
-
-
-    [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--big_maps--big_map_id--script_expr : - -**GET ..//context/big_maps//** - -.. raw:: html - -
- - -
-

- Access the value associated with a key in a big map.

-
-
-
-    $micheline.017-PtNairob.michelson_v1.expression
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+-------------------------------------------------+
-    | Name            | Size                 | Contents                                        |
-    +=================+======================+=================================================+
-    | Unnamed field 0 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------+----------------------+-------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--cache--contracts--all : - -**GET ..//context/cache/contracts/all** - -.. raw:: html - -
- - -
-

- Return the list of cached contracts

-
-
-
-    [ [ $Contract_hash, integer ∈ [-2^30, 2^30] ] ... ]
-    $Contract_hash:
-      /* A contract ID (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------+----------+--------------------------------------------------------------+
-    | Name            | Size     | Contents                                                     |
-    +=================+==========+==============================================================+
-    | Unnamed field 0 | 20 bytes | bytes                                                        |
-    +-----------------+----------+--------------------------------------------------------------+
-    | Unnamed field 1 | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------+----------+--------------------------------------------------------------+
-    
-    
-
- - - -.. _POST_..--block_id--context--cache--contracts--rank : - -**POST ..//context/cache/contracts/rank** - -.. raw:: html - -
- - - - -
-

- Return the number of cached contracts older than the provided contract

-
-
-
-    $unistring
-    /* A contract handle -- originated account
-       A contract notation as given to an RPC or inside scripts. Can be a
-       base58 originated contract hash. */
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------+----------+
-    | Name            | Size     | Contents |
-    +=================+==========+==========+
-    | Unnamed field 0 | 22 bytes | $X_0     |
-    +-----------------+----------+----------+
-    
-    
-    X_0 (22 bytes, 8-bit tag)
-    *************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-
-
-
-    integer ∈ [-2^30, 2^30] /* Some */ || null /* None */
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_0     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+---------+--------------------------------------------------------------+
-    | Name            | Size    | Contents                                                     |
-    +=================+=========+==============================================================+
-    | Tag             | 1 byte  | unsigned 8-bit integer                                       |
-    +-----------------+---------+--------------------------------------------------------------+
-    | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------+---------+--------------------------------------------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--cache--contracts--size : - -**GET ..//context/cache/contracts/size** - -.. raw:: html - -
- - -
-

- Return the size of the contract cache

-
-
-
-    integer ∈ [-2^30, 2^30]
-
-
-
-    +-----------------+---------+--------------------------------------------------------------+
-    | Name            | Size    | Contents                                                     |
-    +=================+=========+==============================================================+
-    | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------+---------+--------------------------------------------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--cache--contracts--size_limit : - -**GET ..//context/cache/contracts/size_limit** - -.. raw:: html - -
- - -
-

- Return the size limit of the contract cache

-
-
-
-    integer ∈ [-2^30, 2^30]
-
-
-
-    +-----------------+---------+--------------------------------------------------------------+
-    | Name            | Size    | Contents                                                     |
-    +=================+=========+==============================================================+
-    | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------+---------+--------------------------------------------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--constants : - -**GET ..//context/constants** - -.. raw:: html - -
- - -
-

- All constants

-
-
-
-    { "proof_of_work_nonce_size": integer ∈ [0, 255],
-      "nonce_length": integer ∈ [0, 255],
-      "max_anon_ops_per_block": integer ∈ [0, 255],
-      "max_operation_data_length": integer ∈ [-2^30, 2^30],
-      "max_proposals_per_delegate": integer ∈ [0, 255],
-      "max_micheline_node_count": integer ∈ [-2^30, 2^30],
-      "max_micheline_bytes_limit": integer ∈ [-2^30, 2^30],
-      "max_allowed_global_constants_depth": integer ∈ [-2^30, 2^30],
-      "cache_layout_size": integer ∈ [0, 255],
-      "michelson_maximum_type_size": integer ∈ [0, 2^16-1],
-      "smart_rollup_max_wrapped_proof_binary_size": integer ∈ [-2^30, 2^30],
-      "smart_rollup_message_size_limit": integer ∈ [-2^30, 2^30],
-      "smart_rollup_max_number_of_messages_per_level": $positive_bignum,
-      "preserved_cycles": integer ∈ [0, 255],
-      "blocks_per_cycle": integer ∈ [-2^31-1, 2^31],
-      "blocks_per_commitment": integer ∈ [-2^31-1, 2^31],
-      "nonce_revelation_threshold": integer ∈ [-2^31-1, 2^31],
-      "blocks_per_stake_snapshot": integer ∈ [-2^31-1, 2^31],
-      "cycles_per_voting_period": integer ∈ [-2^31-1, 2^31],
-      "hard_gas_limit_per_operation": $bignum,
-      "hard_gas_limit_per_block": $bignum,
-      "proof_of_work_threshold": $int64,
-      "minimal_stake": $017-PtNairob.mutez,
-      "vdf_difficulty": $int64,
-      "seed_nonce_revelation_tip": $017-PtNairob.mutez,
-      "origination_size": integer ∈ [-2^30, 2^30],
-      "baking_reward_fixed_portion": $017-PtNairob.mutez,
-      "baking_reward_bonus_per_slot": $017-PtNairob.mutez,
-      "endorsing_reward_per_slot": $017-PtNairob.mutez,
-      "cost_per_byte": $017-PtNairob.mutez,
-      "hard_storage_limit_per_operation": $bignum,
-      "quorum_min": integer ∈ [-2^31-1, 2^31],
-      "quorum_max": integer ∈ [-2^31-1, 2^31],
-      "min_proposal_quorum": integer ∈ [-2^31-1, 2^31],
-      "liquidity_baking_subsidy": $017-PtNairob.mutez,
-      "liquidity_baking_toggle_ema_threshold": integer ∈ [-2^31-1, 2^31],
-      "max_operations_time_to_live": integer ∈ [-2^15, 2^15-1],
-      "minimal_block_delay": $int64,
-      "delay_increment_per_round": $int64,
-      "consensus_committee_size": integer ∈ [-2^30, 2^30],
-      "consensus_threshold": integer ∈ [-2^30, 2^30],
-      "minimal_participation_ratio":
-        { "numerator": integer ∈ [0, 2^16-1],
-          "denominator": integer ∈ [0, 2^16-1] },
-      "max_slashing_period": integer ∈ [-2^30, 2^30],
-      "frozen_deposits_percentage": integer ∈ [-2^30, 2^30],
-      "double_baking_punishment": $017-PtNairob.mutez,
-      "ratio_of_frozen_deposits_slashed_per_double_endorsement":
-        { "numerator": integer ∈ [0, 2^16-1],
-          "denominator": integer ∈ [0, 2^16-1] },
-      "testnet_dictator"?: $Signature.Public_key_hash,
-      "initial_seed"?: $random,
-      "cache_script_size": integer ∈ [-2^30, 2^30],
-      "cache_stake_distribution_cycles": integer ∈ [-128, 127],
-      "cache_sampler_state_cycles": integer ∈ [-128, 127],
-      "tx_rollup_enable": boolean,
-      "tx_rollup_origination_size": integer ∈ [-2^30, 2^30],
-      "tx_rollup_hard_size_limit_per_inbox": integer ∈ [-2^30, 2^30],
-      "tx_rollup_hard_size_limit_per_message": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_withdrawals_per_batch": integer ∈ [-2^30, 2^30],
-      "tx_rollup_commitment_bond": $017-PtNairob.mutez,
-      "tx_rollup_finality_period": integer ∈ [-2^30, 2^30],
-      "tx_rollup_withdraw_period": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_inboxes_count": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_messages_per_inbox": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_commitments_count": integer ∈ [-2^30, 2^30],
-      "tx_rollup_cost_per_byte_ema_factor": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_ticket_payload_size": integer ∈ [-2^30, 2^30],
-      "tx_rollup_rejection_max_proof_size": integer ∈ [-2^30, 2^30],
-      "tx_rollup_sunset_level": integer ∈ [-2^31-1, 2^31],
-      "dal_parametric":
-        { "feature_enable": boolean,
-          "number_of_slots": integer ∈ [-2^15, 2^15-1],
-          "attestation_lag": integer ∈ [-2^15, 2^15-1],
-          "attestation_threshold": integer ∈ [-2^15, 2^15-1],
-          "blocks_per_epoch": integer ∈ [-2^31-1, 2^31],
-          "redundancy_factor": integer ∈ [0, 255],
-          "page_size": integer ∈ [0, 2^16-1],
-          "slot_size": integer ∈ [-2^30, 2^30],
-          "number_of_shards": integer ∈ [0, 2^16-1] },
-      "smart_rollup_enable": boolean,
-      "smart_rollup_arith_pvm_enable": boolean,
-      "smart_rollup_origination_size": integer ∈ [-2^30, 2^30],
-      "smart_rollup_challenge_window_in_blocks": integer ∈ [-2^30, 2^30],
-      "smart_rollup_stake_amount": $017-PtNairob.mutez,
-      "smart_rollup_commitment_period_in_blocks": integer ∈ [-2^30, 2^30],
-      "smart_rollup_max_lookahead_in_blocks": integer ∈ [-2^31-1, 2^31],
-      "smart_rollup_max_active_outbox_levels": integer ∈ [-2^31-1, 2^31],
-      "smart_rollup_max_outbox_messages_per_level": integer ∈ [-2^30, 2^30],
-      "smart_rollup_number_of_sections_in_dissection": integer ∈ [0, 255],
-      "smart_rollup_timeout_period_in_blocks": integer ∈ [-2^30, 2^30],
-      "smart_rollup_max_number_of_cemented_commitments":
-        integer ∈ [-2^30, 2^30],
-      "smart_rollup_max_number_of_parallel_games": integer ∈ [-2^30, 2^30],
-      "zk_rollup_enable": boolean,
-      "zk_rollup_origination_size": integer ∈ [-2^30, 2^30],
-      "zk_rollup_min_pending_to_process": integer ∈ [-2^30, 2^30] }
-    $017-PtNairob.mutez: $positive_bignum
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $random:
-      /* A random generation state (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | Name                                                    | Size                 | Contents                                                     |
-    +=========================================================+======================+==============================================================+
-    | proof_of_work_nonce_size                                | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | nonce_length                                            | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_anon_ops_per_block                                  | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_operation_data_length                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_proposals_per_delegate                              | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_micheline_node_count                                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_micheline_bytes_limit                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_allowed_global_constants_depth                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cache_layout_size                                       | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | michelson_maximum_type_size                             | 2 bytes              | unsigned 16-bit integer                                      |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_wrapped_proof_binary_size              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_message_size_limit                         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_number_of_messages_per_level           | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | preserved_cycles                                        | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | blocks_per_cycle                                        | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | blocks_per_commitment                                   | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | nonce_revelation_threshold                              | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | blocks_per_stake_snapshot                               | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cycles_per_voting_period                                | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | hard_gas_limit_per_operation                            | Determined from data | $Z.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | hard_gas_limit_per_block                                | Determined from data | $Z.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | proof_of_work_threshold                                 | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | minimal_stake                                           | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | vdf_difficulty                                          | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | seed_nonce_revelation_tip                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | origination_size                                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | baking_reward_fixed_portion                             | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | baking_reward_bonus_per_slot                            | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | endorsing_reward_per_slot                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cost_per_byte                                           | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | hard_storage_limit_per_operation                        | Determined from data | $Z.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | quorum_min                                              | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | quorum_max                                              | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | min_proposal_quorum                                     | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | liquidity_baking_subsidy                                | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | liquidity_baking_toggle_ema_threshold                   | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_operations_time_to_live                             | 2 bytes              | signed 16-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | minimal_block_delay                                     | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | delay_increment_per_round                               | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | consensus_committee_size                                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | consensus_threshold                                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | minimal_participation_ratio                             | 4 bytes              | $X_0                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_slashing_period                                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | frozen_deposits_percentage                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | double_baking_punishment                                | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ratio_of_frozen_deposits_slashed_per_double_endorsement | 4 bytes              | $X_0                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ? presence of field "testnet_dictator"                  | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | testnet_dictator                                        | 21 bytes             | $public_key_hash                                             |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ? presence of field "initial_seed"                      | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | initial_seed                                            | 32 bytes             | bytes                                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cache_script_size                                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cache_stake_distribution_cycles                         | 1 byte               | signed 8-bit integer                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cache_sampler_state_cycles                              | 1 byte               | signed 8-bit integer                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_enable                                        | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_origination_size                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_hard_size_limit_per_inbox                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_hard_size_limit_per_message                   | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_withdrawals_per_batch                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_commitment_bond                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_finality_period                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_withdraw_period                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_inboxes_count                             | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_messages_per_inbox                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_commitments_count                         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_cost_per_byte_ema_factor                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_ticket_payload_size                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_rejection_max_proof_size                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_sunset_level                                  | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | dal_parametric                                          | 20 bytes             | $X_2                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_enable                                     | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_arith_pvm_enable                           | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_origination_size                           | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_challenge_window_in_blocks                 | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_stake_amount                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_commitment_period_in_blocks                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_lookahead_in_blocks                    | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_active_outbox_levels                   | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_outbox_messages_per_level              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_number_of_sections_in_dissection           | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_timeout_period_in_blocks                   | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_number_of_cemented_commitments         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_number_of_parallel_games               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | zk_rollup_enable                                        | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | zk_rollup_origination_size                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | zk_rollup_min_pending_to_process                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_0
-    ***
-    
-    +-------------+---------+-------------------------+
-    | Name        | Size    | Contents                |
-    +=============+=========+=========================+
-    | numerator   | 2 bytes | unsigned 16-bit integer |
-    +-------------+---------+-------------------------+
-    | denominator | 2 bytes | unsigned 16-bit integer |
-    +-------------+---------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+---------+--------------------------------------------------------------+
-    | Name                  | Size    | Contents                                                     |
-    +=======================+=========+==============================================================+
-    | feature_enable        | 1 byte  | boolean (0 for false, 255 for true)                          |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | number_of_slots       | 2 bytes | signed 16-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | attestation_lag       | 2 bytes | signed 16-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | attestation_threshold | 2 bytes | signed 16-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | blocks_per_epoch      | 4 bytes | signed 32-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | redundancy_factor     | 1 byte  | unsigned 8-bit integer                                       |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | page_size             | 2 bytes | unsigned 16-bit integer                                      |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | slot_size             | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | number_of_shards      | 2 bytes | unsigned 16-bit integer                                      |
-    +-----------------------+---------+--------------------------------------------------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--constants--errors : - -**GET ..//context/constants/errors** - -.. raw:: html - -
- - -
-

- Schema for all the RPC errors from this protocol version

-
-
-
-    any
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--constants--parametric : - -**GET ..//context/constants/parametric** - -.. raw:: html - -
- - -
-

- Parametric constants

-
-
-
-    { "preserved_cycles": integer ∈ [0, 255],
-      "blocks_per_cycle": integer ∈ [-2^31-1, 2^31],
-      "blocks_per_commitment": integer ∈ [-2^31-1, 2^31],
-      "nonce_revelation_threshold": integer ∈ [-2^31-1, 2^31],
-      "blocks_per_stake_snapshot": integer ∈ [-2^31-1, 2^31],
-      "cycles_per_voting_period": integer ∈ [-2^31-1, 2^31],
-      "hard_gas_limit_per_operation": $bignum,
-      "hard_gas_limit_per_block": $bignum,
-      "proof_of_work_threshold": $int64,
-      "minimal_stake": $017-PtNairob.mutez,
-      "vdf_difficulty": $int64,
-      "seed_nonce_revelation_tip": $017-PtNairob.mutez,
-      "origination_size": integer ∈ [-2^30, 2^30],
-      "baking_reward_fixed_portion": $017-PtNairob.mutez,
-      "baking_reward_bonus_per_slot": $017-PtNairob.mutez,
-      "endorsing_reward_per_slot": $017-PtNairob.mutez,
-      "cost_per_byte": $017-PtNairob.mutez,
-      "hard_storage_limit_per_operation": $bignum,
-      "quorum_min": integer ∈ [-2^31-1, 2^31],
-      "quorum_max": integer ∈ [-2^31-1, 2^31],
-      "min_proposal_quorum": integer ∈ [-2^31-1, 2^31],
-      "liquidity_baking_subsidy": $017-PtNairob.mutez,
-      "liquidity_baking_toggle_ema_threshold": integer ∈ [-2^31-1, 2^31],
-      "max_operations_time_to_live": integer ∈ [-2^15, 2^15-1],
-      "minimal_block_delay": $int64,
-      "delay_increment_per_round": $int64,
-      "consensus_committee_size": integer ∈ [-2^30, 2^30],
-      "consensus_threshold": integer ∈ [-2^30, 2^30],
-      "minimal_participation_ratio":
-        { "numerator": integer ∈ [0, 2^16-1],
-          "denominator": integer ∈ [0, 2^16-1] },
-      "max_slashing_period": integer ∈ [-2^30, 2^30],
-      "frozen_deposits_percentage": integer ∈ [-2^30, 2^30],
-      "double_baking_punishment": $017-PtNairob.mutez,
-      "ratio_of_frozen_deposits_slashed_per_double_endorsement":
-        { "numerator": integer ∈ [0, 2^16-1],
-          "denominator": integer ∈ [0, 2^16-1] },
-      "testnet_dictator"?: $Signature.Public_key_hash,
-      "initial_seed"?: $random,
-      "cache_script_size": integer ∈ [-2^30, 2^30],
-      "cache_stake_distribution_cycles": integer ∈ [-128, 127],
-      "cache_sampler_state_cycles": integer ∈ [-128, 127],
-      "tx_rollup_enable": boolean,
-      "tx_rollup_origination_size": integer ∈ [-2^30, 2^30],
-      "tx_rollup_hard_size_limit_per_inbox": integer ∈ [-2^30, 2^30],
-      "tx_rollup_hard_size_limit_per_message": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_withdrawals_per_batch": integer ∈ [-2^30, 2^30],
-      "tx_rollup_commitment_bond": $017-PtNairob.mutez,
-      "tx_rollup_finality_period": integer ∈ [-2^30, 2^30],
-      "tx_rollup_withdraw_period": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_inboxes_count": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_messages_per_inbox": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_commitments_count": integer ∈ [-2^30, 2^30],
-      "tx_rollup_cost_per_byte_ema_factor": integer ∈ [-2^30, 2^30],
-      "tx_rollup_max_ticket_payload_size": integer ∈ [-2^30, 2^30],
-      "tx_rollup_rejection_max_proof_size": integer ∈ [-2^30, 2^30],
-      "tx_rollup_sunset_level": integer ∈ [-2^31-1, 2^31],
-      "dal_parametric":
-        { "feature_enable": boolean,
-          "number_of_slots": integer ∈ [-2^15, 2^15-1],
-          "attestation_lag": integer ∈ [-2^15, 2^15-1],
-          "attestation_threshold": integer ∈ [-2^15, 2^15-1],
-          "blocks_per_epoch": integer ∈ [-2^31-1, 2^31],
-          "redundancy_factor": integer ∈ [0, 255],
-          "page_size": integer ∈ [0, 2^16-1],
-          "slot_size": integer ∈ [-2^30, 2^30],
-          "number_of_shards": integer ∈ [0, 2^16-1] },
-      "smart_rollup_enable": boolean,
-      "smart_rollup_arith_pvm_enable": boolean,
-      "smart_rollup_origination_size": integer ∈ [-2^30, 2^30],
-      "smart_rollup_challenge_window_in_blocks": integer ∈ [-2^30, 2^30],
-      "smart_rollup_stake_amount": $017-PtNairob.mutez,
-      "smart_rollup_commitment_period_in_blocks": integer ∈ [-2^30, 2^30],
-      "smart_rollup_max_lookahead_in_blocks": integer ∈ [-2^31-1, 2^31],
-      "smart_rollup_max_active_outbox_levels": integer ∈ [-2^31-1, 2^31],
-      "smart_rollup_max_outbox_messages_per_level": integer ∈ [-2^30, 2^30],
-      "smart_rollup_number_of_sections_in_dissection": integer ∈ [0, 255],
-      "smart_rollup_timeout_period_in_blocks": integer ∈ [-2^30, 2^30],
-      "smart_rollup_max_number_of_cemented_commitments":
-        integer ∈ [-2^30, 2^30],
-      "smart_rollup_max_number_of_parallel_games": integer ∈ [-2^30, 2^30],
-      "zk_rollup_enable": boolean,
-      "zk_rollup_origination_size": integer ∈ [-2^30, 2^30],
-      "zk_rollup_min_pending_to_process": integer ∈ [-2^30, 2^30] }
-    $017-PtNairob.mutez: $positive_bignum
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $random:
-      /* A random generation state (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | Name                                                    | Size                 | Contents                                                     |
-    +=========================================================+======================+==============================================================+
-    | preserved_cycles                                        | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | blocks_per_cycle                                        | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | blocks_per_commitment                                   | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | nonce_revelation_threshold                              | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | blocks_per_stake_snapshot                               | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cycles_per_voting_period                                | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | hard_gas_limit_per_operation                            | Determined from data | $Z.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | hard_gas_limit_per_block                                | Determined from data | $Z.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | proof_of_work_threshold                                 | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | minimal_stake                                           | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | vdf_difficulty                                          | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | seed_nonce_revelation_tip                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | origination_size                                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | baking_reward_fixed_portion                             | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | baking_reward_bonus_per_slot                            | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | endorsing_reward_per_slot                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cost_per_byte                                           | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | hard_storage_limit_per_operation                        | Determined from data | $Z.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | quorum_min                                              | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | quorum_max                                              | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | min_proposal_quorum                                     | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | liquidity_baking_subsidy                                | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | liquidity_baking_toggle_ema_threshold                   | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_operations_time_to_live                             | 2 bytes              | signed 16-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | minimal_block_delay                                     | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | delay_increment_per_round                               | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | consensus_committee_size                                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | consensus_threshold                                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | minimal_participation_ratio                             | 4 bytes              | $X_0                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | max_slashing_period                                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | frozen_deposits_percentage                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | double_baking_punishment                                | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ratio_of_frozen_deposits_slashed_per_double_endorsement | 4 bytes              | $X_0                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ? presence of field "testnet_dictator"                  | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | testnet_dictator                                        | 21 bytes             | $public_key_hash                                             |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ? presence of field "initial_seed"                      | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | initial_seed                                            | 32 bytes             | bytes                                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cache_script_size                                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cache_stake_distribution_cycles                         | 1 byte               | signed 8-bit integer                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | cache_sampler_state_cycles                              | 1 byte               | signed 8-bit integer                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_enable                                        | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_origination_size                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_hard_size_limit_per_inbox                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_hard_size_limit_per_message                   | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_withdrawals_per_batch                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_commitment_bond                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_finality_period                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_withdraw_period                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_inboxes_count                             | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_messages_per_inbox                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_commitments_count                         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_cost_per_byte_ema_factor                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_max_ticket_payload_size                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_rejection_max_proof_size                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | tx_rollup_sunset_level                                  | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | dal_parametric                                          | 20 bytes             | $X_2                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_enable                                     | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_arith_pvm_enable                           | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_origination_size                           | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_challenge_window_in_blocks                 | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_stake_amount                               | Determined from data | $N.t                                                         |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_commitment_period_in_blocks                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_lookahead_in_blocks                    | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_active_outbox_levels                   | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_outbox_messages_per_level              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_number_of_sections_in_dissection           | 1 byte               | unsigned 8-bit integer                                       |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_timeout_period_in_blocks                   | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_number_of_cemented_commitments         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | smart_rollup_max_number_of_parallel_games               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | zk_rollup_enable                                        | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | zk_rollup_origination_size                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    | zk_rollup_min_pending_to_process                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_0
-    ***
-    
-    +-------------+---------+-------------------------+
-    | Name        | Size    | Contents                |
-    +=============+=========+=========================+
-    | numerator   | 2 bytes | unsigned 16-bit integer |
-    +-------------+---------+-------------------------+
-    | denominator | 2 bytes | unsigned 16-bit integer |
-    +-------------+---------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+---------+--------------------------------------------------------------+
-    | Name                  | Size    | Contents                                                     |
-    +=======================+=========+==============================================================+
-    | feature_enable        | 1 byte  | boolean (0 for false, 255 for true)                          |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | number_of_slots       | 2 bytes | signed 16-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | attestation_lag       | 2 bytes | signed 16-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | attestation_threshold | 2 bytes | signed 16-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | blocks_per_epoch      | 4 bytes | signed 32-bit integer                                        |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | redundancy_factor     | 1 byte  | unsigned 8-bit integer                                       |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | page_size             | 2 bytes | unsigned 16-bit integer                                      |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | slot_size             | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+---------+--------------------------------------------------------------+
-    | number_of_shards      | 2 bytes | unsigned 16-bit integer                                      |
-    +-----------------------+---------+--------------------------------------------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts : - -**GET ..//context/contracts** - -.. raw:: html - -
- - -
-

- All existing contracts (excluding empty implicit contracts).

-
-
-
-    [ $017-PtNairob.contract_id ... ]
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+---------------------------------------+
-    | Name                  | Size     | Contents                              |
-    +=======================+==========+=======================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer               |
-    +-----------------------+----------+---------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $017-PtNairob.contract_id |
-    +-----------------------+----------+---------------------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--contracts--contract_id : - -**GET ..//context/contracts/?[normalize_types]** - -.. raw:: html - -
- - -
-

- Access the complete status of a contract.

Optional query arguments :

  • normalize_types : Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.

-
-
-
-    { "balance": $017-PtNairob.mutez,
-      "delegate"?: $Signature.Public_key_hash,
-      "script"?: $017-PtNairob.scripted.contracts,
-      "counter"?: $positive_bignum }
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "script"   | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "counter"  | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--contracts--contract_id--balance : - -**GET ..//context/contracts//balance** - -.. raw:: html - -
- - -
-

- Access the spendable balance of a contract, excluding frozen bonds.

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--balance_and_frozen_bonds : - -**GET ..//context/contracts//balance_and_frozen_bonds** - -.. raw:: html - -
- - -
-

- Access the sum of the spendable balance and frozen bonds of a contract. This sum is part of the contract's stake, and it is exactly the contract's stake if the contract is not a delegate.

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _POST_..--block_id--context--contracts--contract_id--big_map_get : - -**POST ..//context/contracts//big_map_get** - -.. raw:: html - -
- - - - -
-

- Access the value associated with a key in a big map of the contract (deprecated).

-
-
-
-    { "key": $micheline.017-PtNairob.michelson_v1.expression,
-      "type": $micheline.017-PtNairob.michelson_v1.expression }
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +------+----------------------+-------------------------------------------------+
-    | Name | Size                 | Contents                                        |
-    +======+======================+=================================================+
-    | key  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +------+----------------------+-------------------------------------------------+
-    | type | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +------+----------------------+-------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
-
-
-    $micheline.017-PtNairob.michelson_v1.expression
-    /* Some */
-    || null
-    /* None */
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_1     |
-    +-----------------+----------------------+----------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_1 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+----------------------+-------------------------------------------------+
-    | Name            | Size                 | Contents                                        |
-    +=================+======================+=================================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer                          |
-    +-----------------+----------------------+-------------------------------------------------+
-    | Unnamed field 0 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------+----------------------+-------------------------------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--counter : - -**GET ..//context/contracts//counter** - -.. raw:: html - -
- - -
-

- Access the counter of a contract, if any.

-
-
-
-    string
-    /* Positive big number
-       Decimal representation of a positive big number */
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--delegate : - -**GET ..//context/contracts//delegate** - -.. raw:: html - -
- - -
-

- Access the delegate of a contract, if any.

-
-
-
-    $unistring
-    /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +---------------------------+----------+------------------+
-    | Name                      | Size     | Contents         |
-    +===========================+==========+==================+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash |
-    +---------------------------+----------+------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--entrypoints : - -**GET ..//context/contracts//entrypoints?[normalize_types]** - -.. raw:: html - -
- - -
-

- Return the list of entrypoints of the contract

Optional query arguments :

  • normalize_types : Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.

-
-
-
-    { "unreachable"?:
-        [ { "path": [ $017-PtNairob.michelson.v1.primitives ... ] } ... ],
-      "entrypoints": { *: $micheline.017-PtNairob.michelson_v1.expression } }
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | unreachable           | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | entrypoints           | Variable | sequence of $X_1        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                              |
-    +=======================+==========+=======================================================================================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------------------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------+----------------------+-------------------------------------------------+
-    | Name            | Size                 | Contents                                        |
-    +=================+======================+=================================================+
-    | Unnamed field 0 | Determined from data | $X_2                                            |
-    +-----------------+----------------------+-------------------------------------------------+
-    | Unnamed field 1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------+----------------------+-------------------------------------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--contracts--contract_id--entrypoints--entrypoint : - -**GET ..//context/contracts//entrypoints/?[normalize_types]** - -.. raw:: html - -
- - -
-

- Return the type of the given entrypoint of the contract

Optional query arguments :

  • normalize_types : Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.

-
-
-
-    $micheline.017-PtNairob.michelson_v1.expression
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+-------------------------------------------------+
-    | Name            | Size                 | Contents                                        |
-    +=================+======================+=================================================+
-    | Unnamed field 0 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------+----------------------+-------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--frozen_bonds : - -**GET ..//context/contracts//frozen_bonds** - -.. raw:: html - -
- - -
-

- Access the frozen bonds of a contract.

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--manager_key : - -**GET ..//context/contracts//manager_key** - -.. raw:: html - -
- - -
-

- Access the manager of an implicit contract.

-
-
-
-    $Signature.Public_key /* Some */ || null /* None */
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_0     |
-    +-----------------+----------------------+----------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------------------+----------------------+------------------------+
-    | Name                 | Size                 | Contents               |
-    +======================+======================+========================+
-    | Tag                  | 1 byte               | unsigned 8-bit integer |
-    +----------------------+----------------------+------------------------+
-    | Signature.Public_key | Determined from data | $public_key            |
-    +----------------------+----------------------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--script : - -**GET ..//context/contracts//script** - -.. raw:: html - -
- - -
-

- Access the code and data of the contract.

-
-
-
-    { "code": any,
-      "storage": any }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--single_sapling_get_diff : - -**GET ..//context/contracts//single_sapling_get_diff?[offset_commitment=]&[offset_nullifier=]** - -.. raw:: html - -
- - -
-

- Returns the root and a diff of a state starting from an optional offset which is zero by default.

Optional query arguments :

  • offset_commitment = <uint63> : Commitments and ciphertexts are returned from the specified offset up to the most recent.
  • offset_nullifier = <uint63> : Nullifiers are returned from the specified offset up to the most recent.

-
-
-
-    { "root": $sapling.transaction.commitment_hash,
-      "commitments_and_ciphertexts":
-        [ [ $sapling.transaction.commitment, $sapling.transaction.ciphertext ] ... ],
-      "nullifiers": [ $sapling.transaction.nullifier ... ] }
-    $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.ciphertext:
-      { "cv": $sapling.transaction.commitment_value,
-        "epk": $sapling.DH.epk,
-        "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_hash: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-
-
-
-    +-----------------------------+----------+-------------------------+
-    | Name                        | Size     | Contents                |
-    +=============================+==========+=========================+
-    | root                        | 32 bytes | bytes                   |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | commitments_and_ciphertexts | Variable | sequence of $X_0        |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | nullifiers                  | Variable | sequence of bytes       |
-    +-----------------------------+----------+-------------------------+
-    
-    
-    sapling.transaction.ciphertext
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | cv                    | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | epk                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | payload_enc           | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_enc             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | payload_out           | 80 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_out             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------+----------------------+---------------------------------+
-    | Name            | Size                 | Contents                        |
-    +=================+======================+=================================+
-    | Unnamed field 0 | 32 bytes             | bytes                           |
-    +-----------------+----------------------+---------------------------------+
-    | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
-    +-----------------+----------------------+---------------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--contracts--contract_id--storage : - -**GET ..//context/contracts//storage** - -.. raw:: html - -
- - -
-

- Access the data of the contract.

-
-
-
-    $micheline.017-PtNairob.michelson_v1.expression
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+-------------------------------------------------+
-    | Name            | Size                 | Contents                                        |
-    +=================+======================+=================================================+
-    | Unnamed field 0 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------+----------------------+-------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates : - -**GET ..//context/delegates?[active]&[inactive]&[with_minimal_stake]&[without_minimal_stake]** - -.. raw:: html - -
- - -
-

- Lists all registered delegates by default. The arguments `active`, `inactive`, `with_minimal_stake`, and `without_minimal_stake` allow to enumerate only the delegates that are active, inactive, have at least a minimal stake to participate in consensus and in governance, or do not have such a minimal stake, respectively. Note, setting these arguments to false has no effect.

Optional query arguments :

  • active
  • inactive
  • with_minimal_stake
  • without_minimal_stake

-
-
-
-    [ $Signature.Public_key_hash ... ]
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | Unnamed field 0       | Variable | sequence of $public_key_hash |
-    +-----------------------+----------+------------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--delegates--pkh : - -**GET ..//context/delegates/** - -.. raw:: html - -
- - -
-

- Everything about a delegate.

-
-
-
-    { "full_balance": $017-PtNairob.mutez,
-      "current_frozen_deposits": $017-PtNairob.mutez,
-      "frozen_deposits": $017-PtNairob.mutez,
-      "staking_balance": $017-PtNairob.mutez,
-      "frozen_deposits_limit"?: $017-PtNairob.mutez,
-      "delegated_contracts": [ $017-PtNairob.contract_id ... ],
-      "delegated_balance": $017-PtNairob.mutez,
-      "deactivated": boolean,
-      "grace_period": integer ∈ [-2^31-1, 2^31],
-      "voting_power"?: $int64,
-      "current_ballot"?: "nay" | "yay" | "pass",
-      "current_proposals"?: [ $Protocol_hash ... ],
-      "remaining_proposals"?: integer ∈ [-2^30, 2^30],
-      "active_consensus_key": $Signature.Public_key_hash,
-      "pending_consensus_keys"?:
-        [ { "cycle": integer ∈ [-2^31-1, 2^31],
-            "pkh": $Signature.Public_key_hash } ... ] }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.mutez: $positive_bignum
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | Name                                        | Size                 | Contents                                                     |
-    +=============================================+======================+==============================================================+
-    | full_balance                                | Determined from data | $N.t                                                         |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | current_frozen_deposits                     | Determined from data | $N.t                                                         |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | frozen_deposits                             | Determined from data | $N.t                                                         |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | staking_balance                             | Determined from data | $N.t                                                         |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ? presence of field "frozen_deposits_limit" | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | frozen_deposits_limit                       | Determined from data | $N.t                                                         |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field                       | 4 bytes              | unsigned 30-bit integer                                      |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | delegated_contracts                         | Variable             | sequence of $017-PtNairob.contract_id                        |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | delegated_balance                           | Determined from data | $N.t                                                         |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | deactivated                                 | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | grace_period                                | 4 bytes              | signed 32-bit integer                                        |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ? presence of field "voting_power"          | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | voting_power                                | 8 bytes              | signed 64-bit integer                                        |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | ? presence of field "current_ballot"        | 1 byte               | boolean (0 for false, 255 for true)                          |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | current_ballot                              | 1 byte               | signed 8-bit integer                                         |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field                       | 4 bytes              | unsigned 30-bit integer                                      |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | current_proposals                           | Variable             | sequence of bytes                                            |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | remaining_proposals                         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | active_consensus_key                        | 21 bytes             | $public_key_hash                                             |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field                       | 4 bytes              | unsigned 30-bit integer                                      |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    | pending_consensus_keys                      | Variable             | sequence of $X_0                                             |
-    +---------------------------------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-------+----------+-----------------------+
-    | Name  | Size     | Contents              |
-    +=======+==========+=======================+
-    | cycle | 4 bytes  | signed 32-bit integer |
-    +-------+----------+-----------------------+
-    | pkh   | 21 bytes | $public_key_hash      |
-    +-------+----------+-----------------------+
-    
-    
-
- - -.. _GET_..--block_id--context--delegates--pkh--consensus_key : - -**GET ..//context/delegates//consensus_key** - -.. raw:: html - -
- - -
-

- The active consensus key for a given delegate and the pending consensus keys.

-
-
-
-    { "active": $Signature.Public_key_hash,
-      "pendings"?:
-        [ { "cycle": integer ∈ [-2^31-1, 2^31],
-            "pkh": $Signature.Public_key_hash } ... ] }
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | active                | 21 bytes | $public_key_hash        |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | pendings              | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-------+----------+-----------------------+
-    | Name  | Size     | Contents              |
-    +=======+==========+=======================+
-    | cycle | 4 bytes  | signed 32-bit integer |
-    +-------+----------+-----------------------+
-    | pkh   | 21 bytes | $public_key_hash      |
-    +-------+----------+-----------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--current_frozen_deposits : - -**GET ..//context/delegates//current_frozen_deposits** - -.. raw:: html - -
- - -
-

- Returns the current amount of the frozen deposits (in mutez).

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--deactivated : - -**GET ..//context/delegates//deactivated** - -.. raw:: html - -
- - -
-

- Tells whether the delegate is currently tagged as deactivated or not.

-
-
-
-    boolean
-
-
-
-    +-----------------+--------+-------------------------------------+
-    | Name            | Size   | Contents                            |
-    +=================+========+=====================================+
-    | Unnamed field 0 | 1 byte | boolean (0 for false, 255 for true) |
-    +-----------------+--------+-------------------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--delegated_balance : - -**GET ..//context/delegates//delegated_balance** - -.. raw:: html - -
- - -
-

- Returns the sum (in mutez) of all balances of all the contracts that delegate to a given delegate. This excludes the delegate's own balance, its frozen deposits and its frozen bonds.

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--delegated_contracts : - -**GET ..//context/delegates//delegated_contracts** - -.. raw:: html - -
- - -
-

- Returns the list of contracts that delegate to a given delegate.

-
-
-
-    [ $017-PtNairob.contract_id ... ]
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+---------------------------------------+
-    | Name                  | Size     | Contents                              |
-    +=======================+==========+=======================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer               |
-    +-----------------------+----------+---------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $017-PtNairob.contract_id |
-    +-----------------------+----------+---------------------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--frozen_deposits : - -**GET ..//context/delegates//frozen_deposits** - -.. raw:: html - -
- - -
-

- Returns the initial amount (that is, at the beginning of a cycle) of the frozen deposits (in mutez). This amount is the same as the current amount of the frozen deposits, unless the delegate has been punished.

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--frozen_deposits_limit : - -**GET ..//context/delegates//frozen_deposits_limit** - -.. raw:: html - -
- - -
-

- Returns the frozen deposits limit for the given delegate or none if no limit is set.

-
-
-
-    $017-PtNairob.mutez /* Some */ || null /* None */
-    $017-PtNairob.mutez: $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_0     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $N.t                   |
-    +-----------------+----------------------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--full_balance : - -**GET ..//context/delegates//full_balance** - -.. raw:: html - -
- - -
-

- Returns the full balance (in mutez) of a given delegate, including the frozen deposits and the frozen bonds. It does not include its delegated balance.

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--grace_period : - -**GET ..//context/delegates//grace_period** - -.. raw:: html - -
- - -
-

- Returns the cycle by the end of which the delegate might be deactivated if she fails to execute any delegate action. A deactivated delegate might be reactivated (without loosing any stake) by simply re-registering as a delegate. For deactivated delegates, this value contains the cycle at which they were deactivated.

-
-
-
-    integer ∈ [-2^31-1, 2^31]
-
-
-
-    +-----------------+---------+-----------------------+
-    | Name            | Size    | Contents              |
-    +=================+=========+=======================+
-    | Unnamed field 0 | 4 bytes | signed 32-bit integer |
-    +-----------------+---------+-----------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--participation : - -**GET ..//context/delegates//participation** - -.. raw:: html - -
- - -
-

- Returns cycle and level participation information. In particular this indicates, in the field 'expected_cycle_activity', the number of slots the delegate is expected to have in the cycle based on its active stake. The field 'minimal_cycle_activity' indicates the minimal endorsing slots in the cycle required to get endorsing rewards. It is computed based on 'expected_cycle_activity. The fields 'missed_slots' and 'missed_levels' indicate the number of missed endorsing slots and missed levels (for endorsing) in the cycle so far. 'missed_slots' indicates the number of missed endorsing slots in the cycle so far. The field 'remaining_allowed_missed_slots' indicates the remaining amount of endorsing slots that can be missed in the cycle before forfeiting the rewards. Finally, 'expected_endorsing_rewards' indicates the endorsing rewards that will be distributed at the end of the cycle if activity at that point will be greater than the minimal required; if the activity is already known to be below the required minimum, then the rewards are zero.

-
-
-
-    { "expected_cycle_activity": integer ∈ [-2^30, 2^30],
-      "minimal_cycle_activity": integer ∈ [-2^30, 2^30],
-      "missed_slots": integer ∈ [-2^30, 2^30],
-      "missed_levels": integer ∈ [-2^30, 2^30],
-      "remaining_allowed_missed_slots": integer ∈ [-2^30, 2^30],
-      "expected_endorsing_rewards": $017-PtNairob.mutez }
-    $017-PtNairob.mutez: $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                     |
-    +================================+======================+==============================================================+
-    | expected_cycle_activity        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | minimal_cycle_activity         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | missed_slots                   | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | missed_levels                  | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | remaining_allowed_missed_slots | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | expected_endorsing_rewards     | Determined from data | $N.t                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--staking_balance : - -**GET ..//context/delegates//staking_balance** - -.. raw:: html - -
- - -
-

- Returns the total amount of tokens (in mutez) delegated to a given delegate. This includes the balances of all the contracts that delegate to it, but also the balance of the delegate itself, its frozen deposits, and its frozen bonds.

-
-
-
-    $positive_bignum
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $N.t     |
-    +-----------------+----------------------+----------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--voting_info : - -**GET ..//context/delegates//voting_info** - -.. raw:: html - -
- - -
-

- Returns the delegate info (e.g. voting power) found in the listings of the current voting period.

-
-
-
-    { "voting_power"?: $int64,
-      "current_ballot"?: "nay" | "yay" | "pass",
-      "current_proposals"?: [ $Protocol_hash ... ],
-      "remaining_proposals"?: integer ∈ [-2^30, 2^30] }
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                 | Size     | Contents                                                     |
-    +======================================+==========+==============================================================+
-    | ? presence of field "voting_power"   | 1 byte   | boolean (0 for false, 255 for true)                          |
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    | voting_power                         | 8 bytes  | signed 64-bit integer                                        |
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    | ? presence of field "current_ballot" | 1 byte   | boolean (0 for false, 255 for true)                          |
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    | current_ballot                       | 1 byte   | signed 8-bit integer                                         |
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    | # bytes in next field                | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    | current_proposals                    | Variable | sequence of bytes                                            |
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    | remaining_proposals                  | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--delegates--pkh--voting_power : - -**GET ..//context/delegates//voting_power** - -.. raw:: html - -
- - -
-

- The voting power in the vote listings for a given delegate.

-
-
-
-    string
-    /* 64 bit integers
-       Decimal representation of 64 bit integers */
-
-
-
-    +-----------------+---------+-----------------------+
-    | Name            | Size    | Contents              |
-    +=================+=========+=======================+
-    | Unnamed field 0 | 8 bytes | signed 64-bit integer |
-    +-----------------+---------+-----------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--liquidity_baking--cpmm_address : - -**GET ..//context/liquidity_baking/cpmm_address** - -.. raw:: html - -
- - -
-

- Liquidity baking CPMM address

-
-
-
-    $unistring
-    /* A contract handle -- originated account
-       A contract notation as given to an RPC or inside scripts. Can be a
-       base58 originated contract hash. */
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------+----------+
-    | Name            | Size     | Contents |
-    +=================+==========+==========+
-    | Unnamed field 0 | 22 bytes | $X_0     |
-    +-----------------+----------+----------+
-    
-    
-    X_0 (22 bytes, 8-bit tag)
-    *************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--merkle_tree : - -**GET ..//context/merkle_tree(/)*?[holey=]** - -.. raw:: html - -
- - -
-

- Returns the merkle tree of a piece of context.

Optional query arguments :

  • holey = <bool> : Send only hashes, omit data of key

-
-
-
-    $merkle_tree /* Some */ || null /* None */
-    $merkle_tree:
-      [ [ $unistring,
-          [ boolean, $unistring ]
-          /* Hash */
-          || $raw_context
-          /* Data */
-          || $merkle_tree
-          /* Continue */ ] ... ]
-    $raw_context:
-      /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-      /* Key */
-      || { /* Dir */
-           *: $raw_context }
-      || null
-      /* Cut */
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_8     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_3
-    ***
-    
-    +-----------------+----------------------+--------------+
-    | Name            | Size                 | Contents     |
-    +=================+======================+==============+
-    | Unnamed field 0 | Determined from data | $X_2         |
-    +-----------------+----------------------+--------------+
-    | Unnamed field 1 | Determined from data | $raw_context |
-    +-----------------+----------------------+--------------+
-    
-    
-    raw_context (Determined from data, 8-bit tag)
-    *********************************************
-    
-    Key (tag 0)
-    ===========
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Dir (tag 1)
-    ===========
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Cut (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_7 (Determined from data, 8-bit tag)
-    *************************************
-    
-    Hash (tag 0)
-    ============
-    
-    +-----------------+----------------------+-------------------------------------+
-    | Name            | Size                 | Contents                            |
-    +=================+======================+=====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer              |
-    +-----------------+----------------------+-------------------------------------+
-    | Unnamed field 0 | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------+----------------------+-------------------------------------+
-    | Unnamed field 1 | Determined from data | $X_2                                |
-    +-----------------+----------------------+-------------------------------------+
-    
-    
-    Data (tag 1)
-    ============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $raw_context           |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Continue (tag 2)
-    ================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $merkle_tree           |
-    +-----------------+----------------------+------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_7     |
-    +-----------------+----------------------+----------+
-    
-    
-    merkle_tree
-    ***********
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_1        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_8 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $merkle_tree           |
-    +-----------------+----------------------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--merkle_tree_v2 : - -**GET ..//context/merkle_tree_v2(/)*?[holey=]** - -.. raw:: html - -
- - -
-

- Returns the Irmin merkle tree of a piece of context.

Optional query arguments :

  • holey = <bool> : Send only hashes, omit data of key

-
-
-
-    { /* Some */
-      "version": integer ∈ [-2^15, 2^15-1],
-      "before":
-        { /* Value */
-          "value": $Context_hash }
-        || { /* Node */
-             "node": $Context_hash },
-      "after":
-        { /* Value */
-          "value": $Context_hash }
-        || { /* Node */
-             "node": $Context_hash },
-      "state": $tree_encoding }
-    || null
-    /* None */
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $inode_tree:
-      { /* Inode_tree */
-        "inode_tree":
-          { "length": $int64,
-            "proofs":
-              { /* sparse_proof */
-                "sparse_proof": [ [ integer ∈ [0, 255], $inode_tree ] ... ] }
-              || { /* dense_proof */
-                   "dense_proof": [ $inode_tree ... ] } } }
-      || { /* other_inode_trees */
-           "other_inode_trees":
-             { /* Inode_values */
-               "inode_values":
-                 [ [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, $tree_encoding ] ... ] }
-             || { /* other_inode_trees */
-                  "other_inode_trees":
-                    { /* Blinded_inode */
-                      "blinded_inode": $Context_hash }
-                    || { /* Inode_extender */
-                         "inode_extender":
-                           { "length": $int64,
-                             "segment": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                             "proof": $inode_tree } }
-                    || { /* None */
-                         "none": any } } }
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $tree_encoding:
-      { /* Inode */
-        "inode":
-          { "length": $int64,
-            "proofs":
-              { /* sparse_proof */
-                "sparse_proof": [ [ integer ∈ [0, 255], $inode_tree ] ... ] }
-              || { /* dense_proof */
-                   "dense_proof": [ $inode_tree ... ] } } }
-      || { /* other_trees */
-           "other_trees":
-             { /* Node */
-               "node":
-                 [ [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, $tree_encoding ] ... ] }
-             || { /* other_trees */
-                  "other_trees":
-                    { /* Value */
-                      "value":
-                        /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-                        /* short_bytes */
-                        || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-                        /* medium_bytes */
-                        || any
-                        /* long_bytes
-                           This case is void. No data is accepted. */
-                        || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-                        /* unlimited_bytes */ }
-                    || { /* Blinded_value */
-                         "blinded_value": $Context_hash }
-                    || { /* Blinded_node */
-                         "blinded_node": $Context_hash }
-                    || { /* Extender */
-                         "extender":
-                           { "length": $int64,
-                             "segment": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                             "proof": $inode_tree } }
-                    || { /* None */
-                         "none": any } } }
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_53821 |
-    +-----------------+----------------------+----------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_5
-    ***
-    
-    +-----------------+----------------------+----------------+
-    | Name            | Size                 | Contents       |
-    +=================+======================+================+
-    | Unnamed field 0 | Determined from data | $X_0           |
-    +-----------------+----------------------+----------------+
-    | Unnamed field 1 | Determined from data | $tree_encoding |
-    +-----------------+----------------------+----------------+
-    
-    
-    X_132
-    *****
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $inode_tree            |
-    +-----------------+----------------------+------------------------+
-    
-    
-    X_131
-    *****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_132      |
-    +-----------------------+----------+-------------------------+
-    
-    
-    inode_tree (Determined from data, 8-bit tag)
-    ********************************************
-    
-    case 0 (tag 0)
-    ==============
-    
-    +-----------------+--------+------------------------+
-    | Name            | Size   | Contents               |
-    +=================+========+========================+
-    | Tag             | 1 byte | unsigned 8-bit integer |
-    +-----------------+--------+------------------------+
-    | Unnamed field 0 | 1 byte | unsigned 8-bit integer |
-    +-----------------+--------+------------------------+
-    
-    
-    case 1 (tag 1)
-    ==============
-    
-    +-----------------+---------+-------------------------+
-    | Name            | Size    | Contents                |
-    +=================+=========+=========================+
-    | Tag             | 1 byte  | unsigned 8-bit integer  |
-    +-----------------+---------+-------------------------+
-    | Unnamed field 0 | 2 bytes | unsigned 16-bit integer |
-    +-----------------+---------+-------------------------+
-    
-    
-    case 2 (tag 2)
-    ==============
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | Tag             | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | Unnamed field 0 | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    case 3 (tag 3)
-    ==============
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | Tag             | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | Unnamed field 0 | 8 bytes | signed 64-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    case 4 (tag 4)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 5 (tag 5)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 6 (tag 6)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 7 (tag 7)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 8 (tag 8)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 9 (tag 9)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 10 (tag 10)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 11 (tag 11)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 12 (tag 12)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 13 (tag 13)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 14 (tag 14)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 15 (tag 15)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 16 (tag 16)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 17 (tag 17)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 18 (tag 18)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 19 (tag 19)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 20 (tag 20)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 21 (tag 21)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 22 (tag 22)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 23 (tag 23)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 24 (tag 24)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 25 (tag 25)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 26 (tag 26)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 27 (tag 27)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 28 (tag 28)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 29 (tag 29)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 30 (tag 30)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 31 (tag 31)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 32 (tag 32)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 33 (tag 33)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 34 (tag 34)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 35 (tag 35)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 36 (tag 36)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 37 (tag 37)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 38 (tag 38)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 39 (tag 39)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 40 (tag 40)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 41 (tag 41)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 42 (tag 42)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 43 (tag 43)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 44 (tag 44)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 45 (tag 45)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 46 (tag 46)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 47 (tag 47)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 48 (tag 48)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 49 (tag 49)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 50 (tag 50)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 51 (tag 51)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 52 (tag 52)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 53 (tag 53)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 54 (tag 54)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 55 (tag 55)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 56 (tag 56)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 57 (tag 57)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 58 (tag 58)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 59 (tag 59)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 60 (tag 60)
-    ================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 61 (tag 61)
-    ================
-    
-    +-----------------+----------------------+-------------------------+
-    | Name            | Size                 | Contents                |
-    +=================+======================+=========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer  |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                  |
-    +-----------------+----------------------+-------------------------+
-    
-    
-    case 62 (tag 62)
-    ================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 63 (tag 63)
-    ================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 64 (tag 64)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 65 (tag 65)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer            |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 66 (tag 66)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer              |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 67 (tag 67)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer              |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 128 (tag 128)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    case 129 (tag 129)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 1 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 130 (tag 130)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 2 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 131 (tag 131)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 3 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 132 (tag 132)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 4 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 133 (tag 133)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 5 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 134 (tag 134)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 6 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 135 (tag 135)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 7 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 136 (tag 136)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 8 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 137 (tag 137)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 9 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 138 (tag 138)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 10 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 139 (tag 139)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 11 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 140 (tag 140)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 12 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 141 (tag 141)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 13 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 142 (tag 142)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 14 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 143 (tag 143)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 15 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 144 (tag 144)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 16 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 145 (tag 145)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 17 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 146 (tag 146)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 18 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 147 (tag 147)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 19 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 148 (tag 148)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 20 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 149 (tag 149)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 21 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 150 (tag 150)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 22 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 151 (tag 151)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 23 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 152 (tag 152)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 24 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 153 (tag 153)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 25 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 154 (tag 154)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 26 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 155 (tag 155)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 27 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 156 (tag 156)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 28 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 157 (tag 157)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 29 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 158 (tag 158)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 30 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 159 (tag 159)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 31 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 160 (tag 160)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 32 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 161 (tag 161)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 33 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 162 (tag 162)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 34 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 163 (tag 163)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 35 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 164 (tag 164)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 36 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 165 (tag 165)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 37 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 166 (tag 166)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 38 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 167 (tag 167)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 39 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 168 (tag 168)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 40 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 169 (tag 169)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 41 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 170 (tag 170)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 42 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 171 (tag 171)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 43 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 172 (tag 172)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 44 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 173 (tag 173)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 45 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 174 (tag 174)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 46 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 175 (tag 175)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 47 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 176 (tag 176)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 48 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 177 (tag 177)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 49 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 178 (tag 178)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 50 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 179 (tag 179)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 51 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 180 (tag 180)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 52 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 181 (tag 181)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 53 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 182 (tag 182)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 54 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 183 (tag 183)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 55 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 184 (tag 184)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 56 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 185 (tag 185)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 57 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 186 (tag 186)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 58 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 187 (tag 187)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 59 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 188 (tag 188)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 60 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 189 (tag 189)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 61 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 190 (tag 190)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 62 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 191 (tag 191)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_5        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    case 192 (tag 192)
-    ==================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | Context_hash | 32 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    case 208 (tag 208)
-    ==================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                   |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree            |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 209 (tag 209)
-    ==================
-    
-    +-----------------+----------------------+-------------------------+
-    | Name            | Size                 | Contents                |
-    +=================+======================+=========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer  |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                    |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree             |
-    +-----------------+----------------------+-------------------------+
-    
-    
-    case 210 (tag 210)
-    ==================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                   |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree            |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 211 (tag 211)
-    ==================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                   |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree            |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 224 (tag 224)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    tree_encoding (Determined from data, 8-bit tag)
-    ***********************************************
-    
-    case 0 (tag 0)
-    ==============
-    
-    +-----------------+--------+------------------------+
-    | Name            | Size   | Contents               |
-    +=================+========+========================+
-    | Tag             | 1 byte | unsigned 8-bit integer |
-    +-----------------+--------+------------------------+
-    | Unnamed field 0 | 1 byte | unsigned 8-bit integer |
-    +-----------------+--------+------------------------+
-    
-    
-    case 1 (tag 1)
-    ==============
-    
-    +-----------------+---------+-------------------------+
-    | Name            | Size    | Contents                |
-    +=================+=========+=========================+
-    | Tag             | 1 byte  | unsigned 8-bit integer  |
-    +-----------------+---------+-------------------------+
-    | Unnamed field 0 | 2 bytes | unsigned 16-bit integer |
-    +-----------------+---------+-------------------------+
-    
-    
-    case 2 (tag 2)
-    ==============
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | Tag             | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | Unnamed field 0 | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    case 3 (tag 3)
-    ==============
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | Tag             | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | Unnamed field 0 | 8 bytes | signed 64-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    case 4 (tag 4)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 5 (tag 5)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 6 (tag 6)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 7 (tag 7)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 8 (tag 8)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 9 (tag 9)
-    ==============
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 10 (tag 10)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 11 (tag 11)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 12 (tag 12)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 13 (tag 13)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 14 (tag 14)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 15 (tag 15)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 16 (tag 16)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 17 (tag 17)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 18 (tag 18)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 19 (tag 19)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 20 (tag 20)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 21 (tag 21)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 22 (tag 22)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 23 (tag 23)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 24 (tag 24)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 25 (tag 25)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 26 (tag 26)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 27 (tag 27)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 28 (tag 28)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 29 (tag 29)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 30 (tag 30)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 31 (tag 31)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 32 (tag 32)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 33 (tag 33)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 34 (tag 34)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 35 (tag 35)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 36 (tag 36)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 37 (tag 37)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer      |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 38 (tag 38)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 39 (tag 39)
-    ================
-    
-    +-----------------+----------------------+------------------------------+
-    | Name            | Size                 | Contents                     |
-    +=================+======================+==============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer       |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer        |
-    +-----------------+----------------------+------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 |
-    +-----------------+----------------------+------------------------------+
-    
-    
-    case 40 (tag 40)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 41 (tag 41)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 42 (tag 42)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 43 (tag 43)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 44 (tag 44)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 45 (tag 45)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 46 (tag 46)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 47 (tag 47)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 48 (tag 48)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 49 (tag 49)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 50 (tag 50)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 51 (tag 51)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 52 (tag 52)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 53 (tag 53)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 54 (tag 54)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 55 (tag 55)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 56 (tag 56)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 57 (tag 57)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer       |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 58 (tag 58)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 59 (tag 59)
-    ================
-    
-    +-----------------+----------------------+-------------------------------+
-    | Name            | Size                 | Contents                      |
-    +=================+======================+===============================+
-    | Tag             | 1 byte               | unsigned 8-bit integer        |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer         |
-    +-----------------+----------------------+-------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 |
-    +-----------------+----------------------+-------------------------------+
-    
-    
-    case 60 (tag 60)
-    ================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 61 (tag 61)
-    ================
-    
-    +-----------------+----------------------+-------------------------+
-    | Name            | Size                 | Contents                |
-    +=================+======================+=========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer  |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                  |
-    +-----------------+----------------------+-------------------------+
-    
-    
-    case 62 (tag 62)
-    ================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 63 (tag 63)
-    ================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_131                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 64 (tag 64)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 65 (tag 65)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer            |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 66 (tag 66)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer              |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 67 (tag 67)
-    ================
-    
-    +-----------------+----------------------+------------------------------------+
-    | Name            | Size                 | Contents                           |
-    +=================+======================+====================================+
-    | Tag             | 1 byte               | unsigned 8-bit integer             |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer              |
-    +-----------------+----------------------+------------------------------------+
-    | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree |
-    +-----------------+----------------------+------------------------------------+
-    
-    
-    case 128 (tag 128)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    case 129 (tag 129)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 1 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 130 (tag 130)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 2 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 131 (tag 131)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 3 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 132 (tag 132)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 4 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 133 (tag 133)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 5 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 134 (tag 134)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 6 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 135 (tag 135)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 7 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 136 (tag 136)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 8 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 137 (tag 137)
-    ==================
-    
-    +-----------------+----------+----------------------------+
-    | Name            | Size     | Contents                   |
-    +=================+==========+============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer     |
-    +-----------------+----------+----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 9 $X_5 |
-    +-----------------+----------+----------------------------+
-    
-    
-    case 138 (tag 138)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 10 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 139 (tag 139)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 11 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 140 (tag 140)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 12 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 141 (tag 141)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 13 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 142 (tag 142)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 14 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 143 (tag 143)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 15 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 144 (tag 144)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 16 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 145 (tag 145)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 17 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 146 (tag 146)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 18 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 147 (tag 147)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 19 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 148 (tag 148)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 20 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 149 (tag 149)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 21 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 150 (tag 150)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 22 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 151 (tag 151)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 23 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 152 (tag 152)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 24 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 153 (tag 153)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 25 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 154 (tag 154)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 26 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 155 (tag 155)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 27 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 156 (tag 156)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 28 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 157 (tag 157)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 29 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 158 (tag 158)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 30 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 159 (tag 159)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 31 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 160 (tag 160)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 32 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 161 (tag 161)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 33 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 162 (tag 162)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 34 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 163 (tag 163)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 35 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 164 (tag 164)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 36 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 165 (tag 165)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 37 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 166 (tag 166)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 38 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 167 (tag 167)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 39 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 168 (tag 168)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 40 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 169 (tag 169)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 41 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 170 (tag 170)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 42 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 171 (tag 171)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 43 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 172 (tag 172)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 44 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 173 (tag 173)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 45 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 174 (tag 174)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 46 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 175 (tag 175)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 47 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 176 (tag 176)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 48 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 177 (tag 177)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 49 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 178 (tag 178)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 50 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 179 (tag 179)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 51 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 180 (tag 180)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 52 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 181 (tag 181)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 53 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 182 (tag 182)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 54 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 183 (tag 183)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 55 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 184 (tag 184)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 56 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 185 (tag 185)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 57 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 186 (tag 186)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 58 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 187 (tag 187)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 59 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 188 (tag 188)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 60 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 189 (tag 189)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 61 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 190 (tag 190)
-    ==================
-    
-    +-----------------+----------+-----------------------------+
-    | Name            | Size     | Contents                    |
-    +=================+==========+=============================+
-    | Tag             | 1 byte   | unsigned 8-bit integer      |
-    +-----------------+----------+-----------------------------+
-    | Unnamed field 0 | Variable | sequence of exactly 62 $X_5 |
-    +-----------------+----------+-----------------------------+
-    
-    
-    case 191 (tag 191)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_5        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    case 192 (tag 192)
-    ==================
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    case 193 (tag 193)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    case 195 (tag 195)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    case 200 (tag 200)
-    ==================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | Context_hash | 32 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    case 208 (tag 208)
-    ==================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | Context_hash | 32 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    case 216 (tag 216)
-    ==================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                   |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree            |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 217 (tag 217)
-    ==================
-    
-    +-----------------+----------------------+-------------------------+
-    | Name            | Size                 | Contents                |
-    +=================+======================+=========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer  |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                    |
-    +-----------------+----------------------+-------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree             |
-    +-----------------+----------------------+-------------------------+
-    
-    
-    case 218 (tag 218)
-    ==================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 4 bytes              | signed 32-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                   |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree            |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 219 (tag 219)
-    ==================
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 8 bytes              | signed 64-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | Determined from data | $X_0                   |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | Determined from data | $inode_tree            |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 224 (tag 224)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_53820 (Determined from data, 8-bit tag)
-    *****************************************
-    
-    case 0 (tag 0)
-    ==============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 3 | Determined from data | $tree_encoding         |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 1 (tag 1)
-    ==============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 3 | Determined from data | $tree_encoding         |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 2 (tag 2)
-    ==============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 3 | Determined from data | $tree_encoding         |
-    +-----------------+----------------------+------------------------+
-    
-    
-    case 3 (tag 3)
-    ==============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 1 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 2 | 32 bytes             | bytes                  |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 3 | Determined from data | $tree_encoding         |
-    +-----------------+----------------------+------------------------+
-    
-    
-    X_53821 (Determined from data, 8-bit tag)
-    *****************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_53820               |
-    +-----------------+----------------------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--nonces--block_level : - -**GET ..//context/nonces/** - -.. raw:: html - -
- - -
-

- Info about the nonce of a previous block.

-
-
-
-    { /* Revealed */
-      "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    || { /* Missing */
-         "hash": $cycle_nonce }
-    || { /* Forgotten */
-          }
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_0     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    Revealed (tag 0)
-    ================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Missing (tag 1)
-    ===============
-    
-    +------+----------+------------------------+
-    | Name | Size     | Contents               |
-    +======+==========+========================+
-    | Tag  | 1 byte   | unsigned 8-bit integer |
-    +------+----------+------------------------+
-    | hash | 32 bytes | bytes                  |
-    +------+----------+------------------------+
-    
-    
-    Forgotten (tag 2)
-    =================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--raw--bytes : - -**GET ..//context/raw/bytes(/)*?[depth=]** - -.. raw:: html - -
- - -
-

- Returns the raw context.

Optional query arguments :

  • depth = <uint>

-
-
-
-    $raw_context
-    $raw_context:
-      /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-      /* Key */
-      || { /* Dir */
-           *: $raw_context }
-      || null
-      /* Cut */
-
-
-
-    +-----------------+----------------------+--------------+
-    | Name            | Size                 | Contents     |
-    +=================+======================+==============+
-    | Unnamed field 0 | Determined from data | $raw_context |
-    +-----------------+----------------------+--------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------+----------------------+--------------+
-    | Name            | Size                 | Contents     |
-    +=================+======================+==============+
-    | Unnamed field 0 | Determined from data | $X_1         |
-    +-----------------+----------------------+--------------+
-    | Unnamed field 1 | Determined from data | $raw_context |
-    +-----------------+----------------------+--------------+
-    
-    
-    raw_context (Determined from data, 8-bit tag)
-    *********************************************
-    
-    Key (tag 0)
-    ===========
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Dir (tag 1)
-    ===========
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Cut (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--sapling--sapling_state_id--get_diff : - -**GET ..//context/sapling//get_diff?[offset_commitment=]&[offset_nullifier=]** - -.. raw:: html - -
- - -
-

- Returns the root and a diff of a state starting from an optional offset which is zero by default.

Optional query arguments :

  • offset_commitment = <uint63> : Commitments and ciphertexts are returned from the specified offset up to the most recent.
  • offset_nullifier = <uint63> : Nullifiers are returned from the specified offset up to the most recent.

-
-
-
-    { "root": $sapling.transaction.commitment_hash,
-      "commitments_and_ciphertexts":
-        [ [ $sapling.transaction.commitment, $sapling.transaction.ciphertext ] ... ],
-      "nullifiers": [ $sapling.transaction.nullifier ... ] }
-    $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.ciphertext:
-      { "cv": $sapling.transaction.commitment_value,
-        "epk": $sapling.DH.epk,
-        "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_hash: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-
-
-
-    +-----------------------------+----------+-------------------------+
-    | Name                        | Size     | Contents                |
-    +=============================+==========+=========================+
-    | root                        | 32 bytes | bytes                   |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | commitments_and_ciphertexts | Variable | sequence of $X_0        |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | nullifiers                  | Variable | sequence of bytes       |
-    +-----------------------------+----------+-------------------------+
-    
-    
-    sapling.transaction.ciphertext
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | cv                    | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | epk                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | payload_enc           | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_enc             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | payload_out           | 80 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_out             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------+----------------------+---------------------------------+
-    | Name            | Size                 | Contents                        |
-    +=================+======================+=================================+
-    | Unnamed field 0 | 32 bytes             | bytes                           |
-    +-----------------+----------------------+---------------------------------+
-    | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
-    +-----------------+----------------------+---------------------------------+
-    
-    
-
- - - -.. _POST_..--block_id--context--seed : - -**POST ..//context/seed** - -.. raw:: html - -
- - - - -
-

- Seed of the cycle to which the block belongs.

-
-
-
-    {  }
-
-
-
-    This value's binary representation is empty. It takes zero (0) bytes of output.
-    
-
-
-
-    /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-
-
-
-    +-----------------+----------+----------+
-    | Name            | Size     | Contents |
-    +=================+==========+==========+
-    | Unnamed field 0 | 32 bytes | bytes    |
-    +-----------------+----------+----------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--seed_computation : - -**GET ..//context/seed_computation** - -.. raw:: html - -
- - -
-

- Seed computation status

-
-
-
-    { /* Nonce revelation stage */
-      "nonce_revelation_stage": any }
-    || { /* VDF revelation stage */
-         "seed_discriminant": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-         "seed_challenge": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    || { /* Computation finished */
-         "computation_finished": any }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_0     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    Nonce revelation stage (tag 0)
-    ==============================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    VDF revelation stage (tag 1)
-    ============================
-    
-    +-------------------+----------+------------------------+
-    | Name              | Size     | Contents               |
-    +===================+==========+========================+
-    | Tag               | 1 byte   | unsigned 8-bit integer |
-    +-------------------+----------+------------------------+
-    | seed_discriminant | 32 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    | seed_challenge    | 32 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    
-    
-    Computation finished (tag 2)
-    ============================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--selected_snapshot : - -**GET ..//context/selected_snapshot?[cycle=]** - -.. raw:: html - -
- - -
-

- Returns the index of the selected snapshot for the current cycle or for the specific `cycle` passed as argument, if any.

Optional query arguments :

  • cycle = <block_cycle>

-
-
-
-    integer ∈ [-2^30, 2^30]
-
-
-
-    +-----------------+---------+--------------------------------------------------------------+
-    | Name            | Size    | Contents                                                     |
-    +=================+=========+==============================================================+
-    | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------+---------+--------------------------------------------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--tx_rollup--tx_rollup_id--commitment--block_level : - -**GET ..//context/tx_rollup//commitment/** - -.. raw:: html - -
- - -
-

- Return the commitment for a level, if any

-
-
-
-    { /* Some */
-      "commitment":
-        { "level": integer ∈ [-2^31-1, 2^31],
-          "messages":
-            { "count": integer ∈ [-2^30, 2^30],
-              "root": $Message_result_list_hash,
-              "last_message_result_hash": $Message_result_hash },
-          "predecessor": $Commitment_hash /* Some */ || null /* None */,
-          "inbox_merkle_root": $Inbox_list_hash },
-      "commitment_hash": $Commitment_hash,
-      "committer": $Signature.Public_key_hash,
-      "submitted_at": integer ∈ [-2^31-1, 2^31],
-      "finalized_at"?: integer ∈ [-2^31-1, 2^31] }
-    || null
-    /* None */
-    $Commitment_hash:
-      /* A commitment ID (Base58Check-encoded) */
-      $unistring
-    $Inbox_list_hash:
-      /* A merkle root hash for inboxes (Base58Check-encoded) */
-      $unistring
-    $Message_result_hash:
-      /* A message result hash (Base58Check-encoded) */
-      $unistring
-    $Message_result_list_hash:
-      /* A merklised message result list hash (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_1
-    ***
-    
-    +--------------------------+----------+--------------------------------------------------------------+
-    | Name                     | Size     | Contents                                                     |
-    +==========================+==========+==============================================================+
-    | count                    | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------+----------+--------------------------------------------------------------+
-    | root                     | 32 bytes | bytes                                                        |
-    +--------------------------+----------+--------------------------------------------------------------+
-    | last_message_result_hash | 32 bytes | bytes                                                        |
-    +--------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_2 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Commitment_hash | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-------------------+----------------------+-----------------------+
-    | Name              | Size                 | Contents              |
-    +===================+======================+=======================+
-    | level             | 4 bytes              | signed 32-bit integer |
-    +-------------------+----------------------+-----------------------+
-    | messages          | 68 bytes             | $X_1                  |
-    +-------------------+----------------------+-----------------------+
-    | predecessor       | Determined from data | $X_2                  |
-    +-------------------+----------------------+-----------------------+
-    | inbox_merkle_root | 32 bytes             | bytes                 |
-    +-------------------+----------------------+-----------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    X_3 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +------------------------------------+----------------------+-------------------------------------+
-    | Name                               | Size                 | Contents                            |
-    +====================================+======================+=====================================+
-    | Tag                                | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------------+----------------------+-------------------------------------+
-    | commitment                         | Determined from data | $X_0                                |
-    +------------------------------------+----------------------+-------------------------------------+
-    | commitment_hash                    | 32 bytes             | bytes                               |
-    +------------------------------------+----------------------+-------------------------------------+
-    | committer                          | 21 bytes             | $public_key_hash                    |
-    +------------------------------------+----------------------+-------------------------------------+
-    | submitted_at                       | 4 bytes              | signed 32-bit integer               |
-    +------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "finalized_at" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------------+----------------------+-------------------------------------+
-    | finalized_at                       | 4 bytes              | signed 32-bit integer               |
-    +------------------------------------+----------------------+-------------------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--tx_rollup--tx_rollup_id--inbox--block_level : - -**GET ..//context/tx_rollup//inbox/** - -.. raw:: html - -
- - -
-

- Get the inbox of a transaction rollup

-
-
-
-    { /* Some */
-      "inbox_length": integer ∈ [-2^30, 2^30],
-      "cumulated_size": integer ∈ [-2^30, 2^30],
-      "merkle_root": $Inbox_list_hash }
-    || null
-    /* None */
-    $Inbox_list_hash:
-      /* A merkle root hash for inboxes (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_0     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------------+----------+--------------------------------------------------------------+
-    | Name           | Size     | Contents                                                     |
-    +================+==========+==============================================================+
-    | Tag            | 1 byte   | unsigned 8-bit integer                                       |
-    +----------------+----------+--------------------------------------------------------------+
-    | inbox_length   | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +----------------+----------+--------------------------------------------------------------+
-    | cumulated_size | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +----------------+----------+--------------------------------------------------------------+
-    | merkle_root    | 32 bytes | bytes                                                        |
-    +----------------+----------+--------------------------------------------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--context--tx_rollup--tx_rollup_id--pending_bonded_commitments--pkh : - -**GET ..//context/tx_rollup//pending_bonded_commitments/** - -.. raw:: html - -
- - -
-

- Get the number of pending bonded commitments for a pkh on a rollup

-
-
-
-    integer ∈ [-2^31-1, 2^31]
-
-
-
-    +-----------------+---------+-----------------------+
-    | Name            | Size    | Contents              |
-    +=================+=========+=======================+
-    | Unnamed field 0 | 4 bytes | signed 32-bit integer |
-    +-----------------+---------+-----------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--context--tx_rollup--tx_rollup_id--state : - -**GET ..//context/tx_rollup//state** - -.. raw:: html - -
- - -
-

- Access the state of a rollup.

-
-
-
-    { "last_removed_commitment_hashes":
-        { /* Some */
-          "last_message_hash": $Message_result_hash,
-          "commitment_hash": $Commitment_hash }
-        || null
-        /* None */,
-      "finalized_commitments":
-        { /* empty */
-          "next": integer ∈ [-2^31-1, 2^31] }
-        || { /* interval */
-             "newest": integer ∈ [-2^31-1, 2^31],
-             "oldest": integer ∈ [-2^31-1, 2^31] },
-      "unfinalized_commitments":
-        { /* empty */
-          "next": integer ∈ [-2^31-1, 2^31] }
-        || { /* interval */
-             "newest": integer ∈ [-2^31-1, 2^31],
-             "oldest": integer ∈ [-2^31-1, 2^31] },
-      "uncommitted_inboxes":
-        { /* empty */
-          "next": integer ∈ [-2^31-1, 2^31] }
-        || { /* interval */
-             "newest": integer ∈ [-2^31-1, 2^31],
-             "oldest": integer ∈ [-2^31-1, 2^31] },
-      "commitment_newest_hash": $Commitment_hash /* Some */ || null /* None */,
-      "tezos_head_level":
-        integer ∈ [-2^31-1, 2^31] /* Some */ || null /* None */,
-      "burn_per_byte": $017-PtNairob.mutez,
-      "allocated_storage": $positive_bignum,
-      "occupied_storage": $positive_bignum,
-      "inbox_ema": integer ∈ [-2^30, 2^30],
-      "commitments_watermark":
-        integer ∈ [-2^31-1, 2^31] /* Some */ || null /* None */ }
-    $017-PtNairob.mutez: $positive_bignum
-    $Commitment_hash:
-      /* A commitment ID (Base58Check-encoded) */
-      $unistring
-    $Message_result_hash:
-      /* A message result hash (Base58Check-encoded) */
-      $unistring
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                     |
-    +================================+======================+==============================================================+
-    | last_removed_commitment_hashes | Determined from data | $X_0                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | finalized_commitments          | Determined from data | $X_1                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | unfinalized_commitments        | Determined from data | $X_1                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | uncommitted_inboxes            | Determined from data | $X_1                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | commitment_newest_hash         | Determined from data | $X_4                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | tezos_head_level               | Determined from data | $X_5                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | burn_per_byte                  | Determined from data | $N.t                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | allocated_storage              | Determined from data | $N.t                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | occupied_storage               | Determined from data | $N.t                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | inbox_ema                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    | commitments_watermark          | Determined from data | $X_5                                                         |
-    +--------------------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-------------------+----------+------------------------+
-    | Name              | Size     | Contents               |
-    +===================+==========+========================+
-    | Tag               | 1 byte   | unsigned 8-bit integer |
-    +-------------------+----------+------------------------+
-    | last_message_hash | 32 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    | commitment_hash   | 32 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    
-    
-    X_1 (Determined from data, 8-bit tag)
-    *************************************
-    
-    empty (tag 0)
-    =============
-    
-    +------+---------+------------------------+
-    | Name | Size    | Contents               |
-    +======+=========+========================+
-    | Tag  | 1 byte  | unsigned 8-bit integer |
-    +------+---------+------------------------+
-    | next | 4 bytes | signed 32-bit integer  |
-    +------+---------+------------------------+
-    
-    
-    interval (tag 1)
-    ================
-    
-    +--------+---------+------------------------+
-    | Name   | Size    | Contents               |
-    +========+=========+========================+
-    | Tag    | 1 byte  | unsigned 8-bit integer |
-    +--------+---------+------------------------+
-    | newest | 4 bytes | signed 32-bit integer  |
-    +--------+---------+------------------------+
-    | oldest | 4 bytes | signed 32-bit integer  |
-    +--------+---------+------------------------+
-    
-    
-    X_4 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Commitment_hash | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    X_5 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | Tag             | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | Unnamed field 0 | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-
- - - -.. _GET_..--block_id--hash : - -**GET ..//hash** - -.. raw:: html - -
- - -
-

- The block's hash, its unique identifier.

-
-
-
-    $unistring
-    /* A block identifier (Base58Check-encoded) */
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +------------+----------+----------+
-    | Name       | Size     | Contents |
-    +============+==========+==========+
-    | block_hash | 32 bytes | bytes    |
-    +------------+----------+----------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--header : - -**GET ..//header** - -.. raw:: html - -
- - -
-

- The whole block header.

-
-
-
-    { /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-      "chain_id": $Chain_id,
-      "hash": $block_hash,
-      "level": integer ∈ [-2^31-1, 2^31],
-      "proto": integer ∈ [0, 255],
-      "predecessor": $block_hash,
-      "timestamp": $timestamp.protocol,
-      "validation_pass": integer ∈ [0, 255],
-      "operations_hash": $Operation_list_list_hash,
-      "fitness": $fitness,
-      "context": $Context_hash,
-      "payload_hash": $value_hash,
-      "payload_round": integer ∈ [-2^31-1, 2^31],
-      "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-      "seed_nonce_hash"?: $cycle_nonce,
-      "liquidity_baking_toggle_vote":
-        $017-PtNairob.liquidity_baking_toggle_vote,
-      "signature": $Signature.V1 }
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $Chain_id:
-      /* Network identifier (Base58Check-encoded) */
-      $unistring
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | chain_id                              | 4 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | hash                                  | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - -.. _GET_..--block_id--header--protocol_data : - -**GET ..//header/protocol_data** - -.. raw:: html - -
- - -
-

- The version-specific fragment of the block header.

-
-
-
-    { "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-      "payload_hash": $value_hash,
-      "payload_round": integer ∈ [-2^31-1, 2^31],
-      "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-      "seed_nonce_hash"?: $cycle_nonce,
-      "liquidity_baking_toggle_vote":
-        $017-PtNairob.liquidity_baking_toggle_vote,
-      "signature": $Signature.V1 }
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    
-
- - -.. _GET_..--block_id--header--protocol_data--raw : - -**GET ..//header/protocol_data/raw** - -.. raw:: html - -
- - -
-

- The version-specific fragment of the block header (unparsed).

-
-
-
-    /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--header--raw : - -**GET ..//header/raw** - -.. raw:: html - -
- - -
-

- The whole block header (unparsed).

-
-
-
-    /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--header--shell : - -**GET ..//header/shell** - -.. raw:: html - -
- - -
-

- The shell-specific fragment of the block header.

-
-
-
-    { /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      "level": integer ∈ [-2^31-1, 2^31],
-      "proto": integer ∈ [0, 255],
-      "predecessor": $block_hash,
-      "timestamp": $timestamp.protocol,
-      "validation_pass": integer ∈ [0, 255],
-      "operations_hash": $Operation_list_list_hash,
-      "fitness": $fitness,
-      "context": $Context_hash }
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +----------------------------+----------+---------------------------+
-    | Name                       | Size     | Contents                  |
-    +============================+==========+===========================+
-    | level                      | 4 bytes  | signed 32-bit integer     |
-    +----------------------------+----------+---------------------------+
-    | proto                      | 1 byte   | unsigned 8-bit integer    |
-    +----------------------------+----------+---------------------------+
-    | predecessor                | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    | timestamp                  | 8 bytes  | signed 64-bit integer     |
-    +----------------------------+----------+---------------------------+
-    | validation_pass            | 1 byte   | unsigned 8-bit integer    |
-    +----------------------------+----------+---------------------------+
-    | operations_hash            | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    | # bytes in field "fitness" | 4 bytes  | unsigned 30-bit integer   |
-    +----------------------------+----------+---------------------------+
-    | fitness                    | Variable | sequence of $fitness.elem |
-    +----------------------------+----------+---------------------------+
-    | context                    | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--helpers--complete--prefix : - -**GET ..//helpers/complete/** - -.. raw:: html - -
- - -
-

- Try to complete a prefix of a Base58Check-encoded data. This RPC is actually able to complete hashes of block, operations, public_keys and contracts.

-
-
-
-    [ $unistring ... ]
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - - -.. _POST_..--block_id--helpers--forge_block_header : - -**POST ..//helpers/forge_block_header** - -.. raw:: html - -
- - - - -
-

- Forge a block header

-
-
-
-    { /* Block header
-         Block header. It contains both shell and protocol specific data. */
-      "level": integer ∈ [-2^31-1, 2^31],
-      "proto": integer ∈ [0, 255],
-      "predecessor": $block_hash,
-      "timestamp": $timestamp.protocol,
-      "validation_pass": integer ∈ [0, 255],
-      "operations_hash": $Operation_list_list_hash,
-      "fitness": $fitness,
-      "context": $Context_hash,
-      "protocol_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +----------------------------+----------+---------------------------+
-    | Name                       | Size     | Contents                  |
-    +============================+==========+===========================+
-    | level                      | 4 bytes  | signed 32-bit integer     |
-    +----------------------------+----------+---------------------------+
-    | proto                      | 1 byte   | unsigned 8-bit integer    |
-    +----------------------------+----------+---------------------------+
-    | predecessor                | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    | timestamp                  | 8 bytes  | signed 64-bit integer     |
-    +----------------------------+----------+---------------------------+
-    | validation_pass            | 1 byte   | unsigned 8-bit integer    |
-    +----------------------------+----------+---------------------------+
-    | operations_hash            | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    | # bytes in field "fitness" | 4 bytes  | unsigned 30-bit integer   |
-    +----------------------------+----------+---------------------------+
-    | fitness                    | Variable | sequence of $fitness.elem |
-    +----------------------------+----------+---------------------------+
-    | context                    | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    | protocol_data              | Variable | bytes                     |
-    +----------------------------+----------+---------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-
-
-
-    { "block": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | block                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    
-
- - - -.. _POST_..--block_id--helpers--preapply--block : - -**POST ..//helpers/preapply/block?[sort]&[timestamp=]** - -.. raw:: html - -
- - - - -
-

- Simulate the validation of a block that would contain the given operations and return the resulting fitness and context hash.

Optional query arguments :

  • sort
  • timestamp = <date>

-
-
-
-    { "protocol_data":
-        { "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-          "payload_hash": $value_hash,
-          "payload_round": integer ∈ [-2^31-1, 2^31],
-          "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-          "seed_nonce_hash"?: $cycle_nonce,
-          "liquidity_baking_toggle_vote":
-            $017-PtNairob.liquidity_baking_toggle_vote,
-          "signature": $Signature.V1 },
-      "operations": [ [ $next_operation ... ] ... ] }
-    $017-PtNairob.block_header.alpha.full_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.contract_id.originated:
-      /* A contract handle -- originated account
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.entrypoint:
-      /* entrypoint
-         Named entrypoint to a Michelson smart contract */
-      "default"
-      || "root"
-      || "do"
-      || "set_delegate"
-      || "remove_delegate"
-      || "deposit"
-      || $unistring
-      /* named */
-    $017-PtNairob.inlined.endorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.endorsement_mempool.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.endorsement_mempool.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.inlined.preendorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.preendorsement.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.preendorsement.contents:
-      { /* Preendorsement */
-        "kind": "preendorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.operation.alpha.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31] }
-      || { /* Seed_nonce_revelation */
-           "kind": "seed_nonce_revelation",
-           "level": integer ∈ [-2^31-1, 2^31],
-           "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ] }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass" }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash }
-      || { /* Failing_noop */
-           "kind": "failing_noop",
-           "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */ }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30] }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ] }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $017-PtNairob.smart_rollup_address:
-      /* A smart rollup address
-         A smart rollup is identified by a base58 address starting with sr1 */
-      $Smart_rollup_hash
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $DAL_commitment:
-      /* Commitment representation for the DAL (Base58Check-encoded) */
-      $unistring
-    $Ed25519.Public_key_hash:
-      /* An Ed25519 public key hash (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_commitment_hash:
-      /* The hash of a commitment of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_hash:
-      /* A smart rollup address (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_state_hash:
-      /* The hash of the VM state of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Zk_rollup_hash:
-      /* A zk rollup address (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $next_operation:
-      /* An operation's shell header. */
-      { "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-        "branch": $block_hash,
-        "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1 }
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $script_expr:
-      /* A script expression ID (Base58Check-encoded) */
-      $unistring
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | protocol_data         | Determined from data | $X_0                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | operations            | Variable             | sequence of $X_1        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | # bytes in next 7 fields              | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    bls_signature_prefix (33 bytes, 8-bit tag)
-    ******************************************
-    
-    Bls_prefix (tag 3)
-    ==================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_4
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_5
-    ***
-    
-    +-----------------------+----------+-------------------------------------+
-    | Name                  | Size     | Contents                            |
-    +=======================+==========+=====================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer             |
-    +-----------------------+----------+-------------------------------------+
-    | new_state             | Variable | sequence of bytes                   |
-    +-----------------------+----------+-------------------------------------+
-    | fee                   | 32 bytes | bytes                               |
-    +-----------------------+----------+-------------------------------------+
-    | exit_validity         | 1 byte   | boolean (0 for false, 255 for true) |
-    +-----------------------+----------+-------------------------------------+
-    
-    
-    X_3
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_4     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_5     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_8
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | new_state             | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    | fee                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_6
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_4     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_8     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_9
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | pending_pis           | Variable             | sequence of $X_3        |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | private_pis           | Variable             | sequence of $X_6        |
-    +-----------------------+----------------------+-------------------------+
-    | fee_pi                | Determined from data | $X_9                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | proof                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_12
-    ****
-    
-    +--------+----------------------+----------+
-    | Name   | Size                 | Contents |
-    +========+======================+==========+
-    | id     | 32 bytes             | bytes    |
-    +--------+----------------------+----------+
-    | amount | Determined from data | $Z.t     |
-    +--------+----------------------+----------+
-    
-    
-    X_11
-    ****
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | op_code               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | price                 | Determined from data | $X_12                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | l1_dst                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | rollup_id             | 20 bytes             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | payload               | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    X_15 (Determined from data, 8-bit tag)
-    **************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------+----------------------+-------------------------------------------------+
-    | Name     | Size                 | Contents                                        |
-    +==========+======================+=================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                          |
-    +----------+----------------------+-------------------------------------------------+
-    | contents | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ty       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ticketer | 22 bytes             | $017-PtNairob.contract_id                       |
-    +----------+----------------------+-------------------------------------------------+
-    
-    
-    X_10
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_11    |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_15    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_18 (1 byte, 8-bit tag)
-    ************************
-    
-    Public (tag 0)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Private (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Fee (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_16
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_4     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | 1 byte               | $X_18    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_19
-    ****
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | published_level  | 4 bytes  | signed 32-bit integer  |
-    +------------------+----------+------------------------+
-    | slot_index       | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | commitment       | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    | commitment_proof | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    
-    
-    X_20
-    ****
-    
-    +-------+----------+------------------+
-    | Name  | Size     | Contents         |
-    +=======+==========+==================+
-    | alice | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    | bob   | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    
-    
-    X_21
-    ****
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | published_level | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    | slot_index      | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | page_index      | 2 bytes | signed 16-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    X_22 (Determined from data, 8-bit tag)
-    **************************************
-    
-    raw data proof (tag 0)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | raw_data              | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    metadata proof (tag 1)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    dal page proof (tag 2)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | dal_page_id           | 7 bytes  | $X_21                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | dal_proof             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_23 (Determined from data, 8-bit tag)
-    **************************************
-    
-    inbox proof (tag 0)
-    ===================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | level                 | 4 bytes              | signed 32-bit integer   |
-    +-----------------------+----------------------+-------------------------+
-    | message_counter       | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | serialized_proof      | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    reveal proof (tag 1)
-    ====================
-    
-    +--------------+----------------------+------------------------+
-    | Name         | Size                 | Contents               |
-    +==============+======================+========================+
-    | Tag          | 1 byte               | unsigned 8-bit integer |
-    +--------------+----------------------+------------------------+
-    | reveal_proof | Determined from data | $X_22                  |
-    +--------------+----------------------+------------------------+
-    
-    
-    first input (tag 2)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_24
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | ? presence of field "state" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | state                       | 32 bytes             | bytes                               |
-    +-----------------------------+----------------------+-------------------------------------+
-    | tick                        | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    X_25 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Dissection (tag 0)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_24       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Proof (tag 1)
-    =============
-    
-    +-----------------------------------+----------------------+-------------------------------------+
-    | Name                              | Size                 | Contents                            |
-    +===================================+======================+=====================================+
-    | Tag                               | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field             | 4 bytes              | unsigned 30-bit integer             |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | pvm_step                          | Variable             | bytes                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "input_proof" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | input_proof                       | Determined from data | $X_23                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_26 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Start (tag 0)
-    =============
-    
-    +--------------------------+----------+------------------------+
-    | Name                     | Size     | Contents               |
-    +==========================+==========+========================+
-    | Tag                      | 1 byte   | unsigned 8-bit integer |
-    +--------------------------+----------+------------------------+
-    | player_commitment_hash   | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    | opponent_commitment_hash | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    
-    
-    Move (tag 1)
-    ============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | choice | Determined from data | $N.t                   |
-    +--------+----------------------+------------------------+
-    | step   | Determined from data | $X_25                  |
-    +--------+----------------------+------------------------+
-    
-    
-    X_27
-    ****
-    
-    +------------------+----------+-----------------------+
-    | Name             | Size     | Contents              |
-    +==================+==========+=======================+
-    | compressed_state | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | inbox_level      | 4 bytes  | signed 32-bit integer |
-    +------------------+----------+-----------------------+
-    | predecessor      | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | number_of_ticks  | 8 bytes  | signed 64-bit integer |
-    +------------------+----------+-----------------------+
-    
-    
-    X_29 (Enumeration: unsigned 8-bit integer):
-    *******************************************
-    
-    +-------------+----------------+
-    | Case number | Encoded string |
-    +=============+================+
-    | 0           | arith          |
-    +-------------+----------------+
-    | 1           | wasm_2_0_0     |
-    +-------------+----------------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id.originated (22 bytes, 8-bit tag)
-    *********************************************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.entrypoint (Determined from data, 8-bit tag)
-    *********************************************************
-    
-    default (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    root (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    do (tag 2)
-    ==========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    set_delegate (tag 3)
-    ====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    remove_delegate (tag 4)
-    =======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    deposit (tag 5)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    named (tag 255)
-    ===============
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_30
-    ****
-    
-    +-----------------------+----------------------+--------------------------+
-    | Name                  | Size                 | Contents                 |
-    +=======================+======================+==========================+
-    | entrypoint            | Determined from data | $017-PtNairob.entrypoint |
-    +-----------------------+----------------------+--------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
-    +-----------------------+----------------------+--------------------------+
-    | value                 | Variable             | bytes                    |
-    +-----------------------+----------------------+--------------------------+
-    
-    
-    X_31
-    ****
-    
-    +-----------------+-----------+----------+
-    | Name            | Size      | Contents |
-    +=================+===========+==========+
-    | Unnamed field 0 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    | Unnamed field 1 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    
-    
-    017-PtNairob.inlined.preendorsement.contents (43 bytes, 8-bit tag)
-    ******************************************************************
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.preendorsement
-    ***********************************
-    
-    +------------+----------+-----------------------------------------------+
-    | Name       | Size     | Contents                                      |
-    +============+==========+===============================================+
-    | branch     | 32 bytes | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.preendorsement.contents |
-    +------------+----------+-----------------------------------------------+
-    | signature  | Variable | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.block_header.alpha.full_header
-    *******************************************
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
-    ***********************************************************************
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement
-    ********************************
-    
-    +------------+----------+----------------------------------------------------+
-    | Name       | Size     | Contents                                           |
-    +============+==========+====================================================+
-    | branch     | 32 bytes | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.endorsement_mempool.contents |
-    +------------+----------+----------------------------------------------------+
-    | signature  | Variable | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents_or_signature_prefix (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_31                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_30                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_29) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_4        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_27                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_26                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_20                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_19                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_16                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_10       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_2                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    Signature_prefix (tag 255)
-    ==========================
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | Tag              | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | signature_prefix | 33 bytes | $bls_signature_prefix  |
-    +------------------+----------+------------------------+
-    
-    
-    next_operation
-    **************
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | # bytes in next field         | 4 bytes  | unsigned 30-bit integer                                                |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | branch                        | 32 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | # bytes in next 2 fields      | 4 bytes  | unsigned 30-bit integer                                                |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    X_1
-    ***
-    
-    +--------------------------+----------+-----------------------------+
-    | Name                     | Size     | Contents                    |
-    +==========================+==========+=============================+
-    | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer     |
-    +--------------------------+----------+-----------------------------+
-    | # bytes in next field    | 4 bytes  | unsigned 30-bit integer     |
-    +--------------------------+----------+-----------------------------+
-    | Unnamed field 0          | Variable | sequence of $next_operation |
-    +--------------------------+----------+-----------------------------+
-    
-    
-
-
-
-    { "shell_header": $block_header.shell,
-      "operations":
-        [ { "applied":
-              [ { /* An operation. The shell_header part indicates a block an
-                     operation is meant to apply on top of. The proto part is
-                     protocol-specific and appears as a binary blob. */
-                  "hash": $Operation_hash,
-                  "branch": $block_hash,
-                  "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ... ],
-            "refused":
-              [ { /* An operation. The shell_header part indicates a block an
-                     operation is meant to apply on top of. The proto part is
-                     protocol-specific and appears as a binary blob. */
-                  "hash": $Operation_hash,
-                  "branch": $block_hash,
-                  "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                  "error": $error } ... ],
-            "outdated":
-              [ { /* An operation. The shell_header part indicates a block an
-                     operation is meant to apply on top of. The proto part is
-                     protocol-specific and appears as a binary blob. */
-                  "hash": $Operation_hash,
-                  "branch": $block_hash,
-                  "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                  "error": $error } ... ],
-            "branch_refused":
-              [ { /* An operation. The shell_header part indicates a block an
-                     operation is meant to apply on top of. The proto part is
-                     protocol-specific and appears as a binary blob. */
-                  "hash": $Operation_hash,
-                  "branch": $block_hash,
-                  "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                  "error": $error } ... ],
-            "branch_delayed":
-              [ { /* An operation. The shell_header part indicates a block an
-                     operation is meant to apply on top of. The proto part is
-                     protocol-specific and appears as a binary blob. */
-                  "hash": $Operation_hash,
-                  "branch": $block_hash,
-                  "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                  "error": $error } ... ] } ... ] }
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $Operation_hash:
-      /* A Tezos operation ID (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $block_header.shell:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash }
-    $error:
-      /* The full list of errors is available with the global RPC `GET errors` */
-      any
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | shell_header          | Determined from data | $block_header.shell     |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | operations            | Variable             | sequence of $X_0        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    block_header.shell
-    ******************
-    
-    +----------------------------+----------+---------------------------+
-    | Name                       | Size     | Contents                  |
-    +============================+==========+===========================+
-    | level                      | 4 bytes  | signed 32-bit integer     |
-    +----------------------------+----------+---------------------------+
-    | proto                      | 1 byte   | unsigned 8-bit integer    |
-    +----------------------------+----------+---------------------------+
-    | predecessor                | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    | timestamp                  | 8 bytes  | signed 64-bit integer     |
-    +----------------------------+----------+---------------------------+
-    | validation_pass            | 1 byte   | unsigned 8-bit integer    |
-    +----------------------------+----------+---------------------------+
-    | operations_hash            | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    | # bytes in field "fitness" | 4 bytes  | unsigned 30-bit integer   |
-    +----------------------------+----------+---------------------------+
-    | fitness                    | Variable | sequence of $fitness.elem |
-    +----------------------------+----------+---------------------------+
-    | context                    | 32 bytes | bytes                     |
-    +----------------------------+----------+---------------------------+
-    
-    
-    X_1
-    ***
-    
-    +--------------------------+----------+-------------------------+
-    | Name                     | Size     | Contents                |
-    +==========================+==========+=========================+
-    | hash                     | 32 bytes | bytes                   |
-    +--------------------------+----------+-------------------------+
-    | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer |
-    +--------------------------+----------+-------------------------+
-    | branch                   | 32 bytes | bytes                   |
-    +--------------------------+----------+-------------------------+
-    | data                     | Variable | bytes                   |
-    +--------------------------+----------+-------------------------+
-    
-    
-    X_2
-    ***
-    
-    +--------------------------+----------+-------------------------+
-    | Name                     | Size     | Contents                |
-    +==========================+==========+=========================+
-    | hash                     | 32 bytes | bytes                   |
-    +--------------------------+----------+-------------------------+
-    | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer |
-    +--------------------------+----------+-------------------------+
-    | branch                   | 32 bytes | bytes                   |
-    +--------------------------+----------+-------------------------+
-    | data                     | Variable | bytes                   |
-    +--------------------------+----------+-------------------------+
-    | # bytes in field "error" | 4 bytes  | unsigned 30-bit integer |
-    +--------------------------+----------+-------------------------+
-    | error                    | Variable | bytes                   |
-    +--------------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | applied               | Variable | sequence of $X_1        |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | refused               | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | outdated              | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | branch_refused        | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | branch_delayed        | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - - -.. _POST_..--block_id--helpers--preapply--operations : - -**POST ..//helpers/preapply/operations** - -.. raw:: html - -
- - - - -
-

- Simulate the application of the operations with the context of the given block and return the result of each operation application.

-
-
-
-    [ $next_operation ... ]
-    $017-PtNairob.block_header.alpha.full_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.contract_id.originated:
-      /* A contract handle -- originated account
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.entrypoint:
-      /* entrypoint
-         Named entrypoint to a Michelson smart contract */
-      "default"
-      || "root"
-      || "do"
-      || "set_delegate"
-      || "remove_delegate"
-      || "deposit"
-      || $unistring
-      /* named */
-    $017-PtNairob.inlined.endorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.endorsement_mempool.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.endorsement_mempool.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.inlined.preendorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.preendorsement.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.preendorsement.contents:
-      { /* Preendorsement */
-        "kind": "preendorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.operation.alpha.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31] }
-      || { /* Seed_nonce_revelation */
-           "kind": "seed_nonce_revelation",
-           "level": integer ∈ [-2^31-1, 2^31],
-           "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ] }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass" }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash }
-      || { /* Failing_noop */
-           "kind": "failing_noop",
-           "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */ }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30] }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ] }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $017-PtNairob.smart_rollup_address:
-      /* A smart rollup address
-         A smart rollup is identified by a base58 address starting with sr1 */
-      $Smart_rollup_hash
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $DAL_commitment:
-      /* Commitment representation for the DAL (Base58Check-encoded) */
-      $unistring
-    $Ed25519.Public_key_hash:
-      /* An Ed25519 public key hash (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_commitment_hash:
-      /* The hash of a commitment of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_hash:
-      /* A smart rollup address (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_state_hash:
-      /* The hash of the VM state of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Zk_rollup_hash:
-      /* A zk rollup address (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $next_operation:
-      /* An operation's shell header. */
-      { "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-        "branch": $block_hash,
-        "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1 }
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $script_expr:
-      /* A script expression ID (Base58Check-encoded) */
-      $unistring
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +-----------------------+----------+-----------------------------+
-    | Name                  | Size     | Contents                    |
-    +=======================+==========+=============================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer     |
-    +-----------------------+----------+-----------------------------+
-    | Unnamed field 0       | Variable | sequence of $next_operation |
-    +-----------------------+----------+-----------------------------+
-    
-    
-    bls_signature_prefix (33 bytes, 8-bit tag)
-    ******************************************
-    
-    Bls_prefix (tag 3)
-    ==================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_3
-    ***
-    
-    +-----------------------+----------+-------------------------------------+
-    | Name                  | Size     | Contents                            |
-    +=======================+==========+=====================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer             |
-    +-----------------------+----------+-------------------------------------+
-    | new_state             | Variable | sequence of bytes                   |
-    +-----------------------+----------+-------------------------------------+
-    | fee                   | 32 bytes | bytes                               |
-    +-----------------------+----------+-------------------------------------+
-    | exit_validity         | 1 byte   | boolean (0 for false, 255 for true) |
-    +-----------------------+----------+-------------------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_6
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | new_state             | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    | fee                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_4
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_6     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_7
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | pending_pis           | Variable             | sequence of $X_1        |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | private_pis           | Variable             | sequence of $X_4        |
-    +-----------------------+----------------------+-------------------------+
-    | fee_pi                | Determined from data | $X_7                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | proof                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_10
-    ****
-    
-    +--------+----------------------+----------+
-    | Name   | Size                 | Contents |
-    +========+======================+==========+
-    | id     | 32 bytes             | bytes    |
-    +--------+----------------------+----------+
-    | amount | Determined from data | $Z.t     |
-    +--------+----------------------+----------+
-    
-    
-    X_9
-    ***
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | op_code               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | price                 | Determined from data | $X_10                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | l1_dst                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | rollup_id             | 20 bytes             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | payload               | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    X_13 (Determined from data, 8-bit tag)
-    **************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------+----------------------+-------------------------------------------------+
-    | Name     | Size                 | Contents                                        |
-    +==========+======================+=================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                          |
-    +----------+----------------------+-------------------------------------------------+
-    | contents | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ty       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ticketer | 22 bytes             | $017-PtNairob.contract_id                       |
-    +----------+----------------------+-------------------------------------------------+
-    
-    
-    X_8
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_9     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_13    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_16 (1 byte, 8-bit tag)
-    ************************
-    
-    Public (tag 0)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Private (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Fee (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_14
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | 1 byte               | $X_16    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_17
-    ****
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | published_level  | 4 bytes  | signed 32-bit integer  |
-    +------------------+----------+------------------------+
-    | slot_index       | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | commitment       | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    | commitment_proof | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    
-    
-    X_18
-    ****
-    
-    +-------+----------+------------------+
-    | Name  | Size     | Contents         |
-    +=======+==========+==================+
-    | alice | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    | bob   | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    
-    
-    X_19
-    ****
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | published_level | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    | slot_index      | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | page_index      | 2 bytes | signed 16-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    X_20 (Determined from data, 8-bit tag)
-    **************************************
-    
-    raw data proof (tag 0)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | raw_data              | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    metadata proof (tag 1)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    dal page proof (tag 2)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | dal_page_id           | 7 bytes  | $X_19                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | dal_proof             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_21 (Determined from data, 8-bit tag)
-    **************************************
-    
-    inbox proof (tag 0)
-    ===================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | level                 | 4 bytes              | signed 32-bit integer   |
-    +-----------------------+----------------------+-------------------------+
-    | message_counter       | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | serialized_proof      | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    reveal proof (tag 1)
-    ====================
-    
-    +--------------+----------------------+------------------------+
-    | Name         | Size                 | Contents               |
-    +==============+======================+========================+
-    | Tag          | 1 byte               | unsigned 8-bit integer |
-    +--------------+----------------------+------------------------+
-    | reveal_proof | Determined from data | $X_20                  |
-    +--------------+----------------------+------------------------+
-    
-    
-    first input (tag 2)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_22
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | ? presence of field "state" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | state                       | 32 bytes             | bytes                               |
-    +-----------------------------+----------------------+-------------------------------------+
-    | tick                        | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    X_23 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Dissection (tag 0)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_22       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Proof (tag 1)
-    =============
-    
-    +-----------------------------------+----------------------+-------------------------------------+
-    | Name                              | Size                 | Contents                            |
-    +===================================+======================+=====================================+
-    | Tag                               | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field             | 4 bytes              | unsigned 30-bit integer             |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | pvm_step                          | Variable             | bytes                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "input_proof" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | input_proof                       | Determined from data | $X_21                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_24 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Start (tag 0)
-    =============
-    
-    +--------------------------+----------+------------------------+
-    | Name                     | Size     | Contents               |
-    +==========================+==========+========================+
-    | Tag                      | 1 byte   | unsigned 8-bit integer |
-    +--------------------------+----------+------------------------+
-    | player_commitment_hash   | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    | opponent_commitment_hash | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    
-    
-    Move (tag 1)
-    ============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | choice | Determined from data | $N.t                   |
-    +--------+----------------------+------------------------+
-    | step   | Determined from data | $X_23                  |
-    +--------+----------------------+------------------------+
-    
-    
-    X_25
-    ****
-    
-    +------------------+----------+-----------------------+
-    | Name             | Size     | Contents              |
-    +==================+==========+=======================+
-    | compressed_state | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | inbox_level      | 4 bytes  | signed 32-bit integer |
-    +------------------+----------+-----------------------+
-    | predecessor      | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | number_of_ticks  | 8 bytes  | signed 64-bit integer |
-    +------------------+----------+-----------------------+
-    
-    
-    X_27 (Enumeration: unsigned 8-bit integer):
-    *******************************************
-    
-    +-------------+----------------+
-    | Case number | Encoded string |
-    +=============+================+
-    | 0           | arith          |
-    +-------------+----------------+
-    | 1           | wasm_2_0_0     |
-    +-------------+----------------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id.originated (22 bytes, 8-bit tag)
-    *********************************************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.entrypoint (Determined from data, 8-bit tag)
-    *********************************************************
-    
-    default (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    root (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    do (tag 2)
-    ==========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    set_delegate (tag 3)
-    ====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    remove_delegate (tag 4)
-    =======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    deposit (tag 5)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    named (tag 255)
-    ===============
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_28
-    ****
-    
-    +-----------------------+----------------------+--------------------------+
-    | Name                  | Size                 | Contents                 |
-    +=======================+======================+==========================+
-    | entrypoint            | Determined from data | $017-PtNairob.entrypoint |
-    +-----------------------+----------------------+--------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
-    +-----------------------+----------------------+--------------------------+
-    | value                 | Variable             | bytes                    |
-    +-----------------------+----------------------+--------------------------+
-    
-    
-    X_29
-    ****
-    
-    +-----------------+-----------+----------+
-    | Name            | Size      | Contents |
-    +=================+===========+==========+
-    | Unnamed field 0 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    | Unnamed field 1 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    
-    
-    017-PtNairob.inlined.preendorsement.contents (43 bytes, 8-bit tag)
-    ******************************************************************
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.preendorsement
-    ***********************************
-    
-    +------------+----------+-----------------------------------------------+
-    | Name       | Size     | Contents                                      |
-    +============+==========+===============================================+
-    | branch     | 32 bytes | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.preendorsement.contents |
-    +------------+----------+-----------------------------------------------+
-    | signature  | Variable | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.block_header.alpha.full_header
-    *******************************************
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
-    ***********************************************************************
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement
-    ********************************
-    
-    +------------+----------+----------------------------------------------------+
-    | Name       | Size     | Contents                                           |
-    +============+==========+====================================================+
-    | branch     | 32 bytes | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.endorsement_mempool.contents |
-    +------------+----------+----------------------------------------------------+
-    | signature  | Variable | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents_or_signature_prefix (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_29                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_28                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_27) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_24                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_17                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_14                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_8        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_0                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    Signature_prefix (tag 255)
-    ==========================
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | Tag              | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | signature_prefix | 33 bytes | $bls_signature_prefix  |
-    +------------------+----------+------------------------+
-    
-    
-    next_operation
-    **************
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | # bytes in next field         | 4 bytes  | unsigned 30-bit integer                                                |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | branch                        | 32 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | # bytes in next 2 fields      | 4 bytes  | unsigned 30-bit integer                                                |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-
-
-
-    [ $017-PtNairob.operation.alpha.operation_with_metadata ... ]
-    $017-PtNairob.apply_internal_results.alpha.operation_result:
-      { /* transaction */
-        "kind": "transaction",
-        "source": $017-PtNairob.transaction_destination,
-        "nonce": integer ∈ [0, 2^16-1],
-        "amount": $017-PtNairob.mutez,
-        "destination": $017-PtNairob.transaction_destination,
-        "parameters"?: { "entrypoint": $017-PtNairob.entrypoint,
-                         "value": any },
-        "result":
-          $017-PtNairob.operation.alpha.internal_operation_result.transaction }
-      || { /* origination */
-           "kind": "origination",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.origination }
-      || { /* delegation */
-           "kind": "delegation",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "delegate"?: $Signature.Public_key_hash,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.delegation }
-      || { /* event */
-           "kind": "event",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "type": $micheline.017-PtNairob.michelson_v1.expression,
-           "tag"?: $017-PtNairob.entrypoint,
-           "payload"?: $micheline.017-PtNairob.michelson_v1.expression,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.event }
-    $017-PtNairob.big_map_id:
-      /* Big map identifier
-         A big map identifier */
-      $bignum
-    $017-PtNairob.block_header.alpha.full_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $017-PtNairob.bond_id:
-      { /* Tx_rollup_bond_id */
-        "tx_rollup": $017-PtNairob.tx_rollup_id }
-      || { /* Smart_rollup_bond_id */
-           "smart_rollup": $017-PtNairob.smart_rollup_address }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.contract_id.originated:
-      /* A contract handle -- originated account
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.entrypoint:
-      /* entrypoint
-         Named entrypoint to a Michelson smart contract */
-      "default"
-      || "root"
-      || "do"
-      || "set_delegate"
-      || "remove_delegate"
-      || "deposit"
-      || $unistring
-      /* named */
-    $017-PtNairob.error:
-      /* The full list of RPC errors would be too long to include.
-         It is available at RPC `/errors` (GET).
-         Errors specific to protocol Alpha have an id that starts with
-         `proto.alpha`. */
-      any
-    $017-PtNairob.inlined.endorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.endorsement_mempool.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.endorsement_mempool.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.inlined.preendorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.preendorsement.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.preendorsement.contents:
-      { /* Preendorsement */
-        "kind": "preendorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.lazy_storage_diff:
-      [ { /* big_map */
-          "kind": "big_map",
-          "id": $017-PtNairob.big_map_id,
-          "diff":
-            { /* update */
-              "action": "update",
-              "updates":
-                [ { "key_hash": $script_expr,
-                    "key": $micheline.017-PtNairob.michelson_v1.expression,
-                    "value"?: $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* remove */
-                 "action": "remove" }
-            || { /* copy */
-                 "action": "copy",
-                 "source": $017-PtNairob.big_map_id,
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* alloc */
-                 "action": "alloc",
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ],
-                 "key_type": $micheline.017-PtNairob.michelson_v1.expression,
-                 "value_type": $micheline.017-PtNairob.michelson_v1.expression } }
-        || { /* sapling_state */
-             "kind": "sapling_state",
-             "id": $017-PtNairob.sapling_state_id,
-             "diff":
-               { /* update */
-                 "action": "update",
-                 "updates":
-                   { "commitments_and_ciphertexts":
-                       [ [ $sapling.transaction.commitment,
-                           $sapling.transaction.ciphertext ] ... ],
-                     "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* remove */
-                    "action": "remove" }
-               || { /* copy */
-                    "action": "copy",
-                    "source": $017-PtNairob.sapling_state_id,
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* alloc */
-                    "action": "alloc",
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] },
-                    "memo_size": integer ∈ [0, 2^16-1] } } ... ]
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.operation.alpha.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31] }
-      || { /* Seed_nonce_revelation */
-           "kind": "seed_nonce_revelation",
-           "level": integer ∈ [-2^31-1, 2^31],
-           "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ] }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass" }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash }
-      || { /* Failing_noop */
-           "kind": "failing_noop",
-           "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */ }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30] }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ] }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-    $017-PtNairob.operation.alpha.internal_operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.event:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.internal_operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_contents_and_result:
-      { /* Seed_nonce_revelation */
-        "kind": "seed_nonce_revelation",
-        "level": integer ∈ [-2^31-1, 2^31],
-        "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "metadata":
-          { "balance_updates"?:
-              $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Endorsement */
-           "kind": "endorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "endorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "preendorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31],
-           "metadata": { "delegate": $Signature.Public_key_hash } }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ],
-           "metadata": {  } }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass",
-           "metadata": {  } }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.reveal,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transaction,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.delegation,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.register_global_constant,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.set_deposits_limit,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.increase_paid_storage,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.update_consensus_key,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "allocated_destination_contract"?: boolean } }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transfer_ticket,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_update,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-    $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header:
-      { /* Applied */
-        "status": "applied",
-        "slot_header":
-          { "level": integer ∈ [-2^31-1, 2^31],
-            "index": integer ∈ [0, 255],
-            "commitment": $DAL_commitment },
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "slot_header":
-             { "level": integer ∈ [-2^31-1, 2^31],
-               "index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment },
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.increase_paid_storage:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.operation_result.register_global_constant:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "global_address": $script_expr }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "global_address": $script_expr }
-    $017-PtNairob.operation.alpha.operation_result.reveal:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.set_deposits_limit:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "inbox_level": integer ∈ [-2^31-1, 2^31],
-        "commitment_hash": $Smart_rollup_commitment_hash }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "inbox_level": integer ∈ [-2^31-1, 2^31],
-           "commitment_hash": $Smart_rollup_commitment_hash }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "address": $Smart_rollup_hash,
-        "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "address": $Smart_rollup_hash,
-           "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "staked_hash": $Smart_rollup_commitment_hash,
-        "published_at_level": integer ∈ [-2^31-1, 2^31],
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "staked_hash": $Smart_rollup_commitment_hash,
-           "published_at_level": integer ∈ [-2^31-1, 2^31],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_result.transfer_ticket:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.update_consensus_key:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_zk_rollup": $Zk_rollup_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_zk_rollup": $Zk_rollup_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_update:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_with_metadata:
-      { /* Operation_with_metadata */
-        "contents":
-          [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-        "signature"?: $Signature.V1 }
-      || { /* Operation_without_metadata */
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $017-PtNairob.operation_metadata.alpha.balance_updates:
-      [ { /* Contract */
-          "kind": "contract",
-          "contract": $017-PtNairob.contract_id,
-          "change": $int64,
-          "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Block_fees */
-             "kind": "accumulator",
-             "category": "block fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Deposits */
-             "kind": "freezer",
-             "category": "deposits",
-             "delegate": $Signature.Public_key_hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Nonce_revelation_rewards */
-             "kind": "minted",
-             "category": "nonce revelation rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_evidence_rewards */
-             "kind": "minted",
-             "category": "double signing evidence rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Endorsing_rewards */
-             "kind": "minted",
-             "category": "endorsing rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_rewards */
-             "kind": "minted",
-             "category": "baking rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_bonuses */
-             "kind": "minted",
-             "category": "baking bonuses",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Storage_fees */
-             "kind": "burned",
-             "category": "storage fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_punishments */
-             "kind": "burned",
-             "category": "punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Lost_endorsing_rewards */
-             "kind": "burned",
-             "category": "lost endorsing rewards",
-             "delegate": $Signature.Public_key_hash,
-             "participation": boolean,
-             "revelation": boolean,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Liquidity_baking_subsidies */
-             "kind": "minted",
-             "category": "subsidy",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Burned */
-             "kind": "burned",
-             "category": "burned",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Commitments */
-             "kind": "commitment",
-             "category": "commitment",
-             "committer": $Blinded public key hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Bootstrap */
-             "kind": "minted",
-             "category": "bootstrap",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Invoice */
-             "kind": "minted",
-             "category": "invoice",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Initial_commitments */
-             "kind": "minted",
-             "category": "commitment",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Minted */
-             "kind": "minted",
-             "category": "minted",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Frozen_bonds */
-             "kind": "freezer",
-             "category": "bonds",
-             "contract": $017-PtNairob.contract_id,
-             "bond_id": $017-PtNairob.bond_id,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_rewards */
-             "kind": "minted",
-             "category": "tx_rollup_rejection_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_punishments */
-             "kind": "burned",
-             "category": "tx_rollup_rejection_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_punishments */
-             "kind": "burned",
-             "category": "smart_rollup_refutation_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_rewards */
-             "kind": "minted",
-             "category": "smart_rollup_refutation_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" } ... ]
-    $017-PtNairob.sapling_state_id:
-      /* Sapling state identifier
-         A sapling state identifier */
-      $bignum
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $017-PtNairob.smart_rollup_address:
-      /* A smart rollup address
-         A smart rollup is identified by a base58 address starting with sr1 */
-      $Smart_rollup_hash
-    $017-PtNairob.transaction_destination:
-      /* A destination of a transaction
-         A destination notation compatible with the contract notation as given
-         to an RPC or inside scripts. Can be a base58 implicit contract hash, a
-         base58 originated contract hash, a base58 originated transaction
-         rollup, or a base58 originated smart rollup. */
-      $unistring
-    $017-PtNairob.tx_rollup_id:
-      /* A tx rollup handle
-         A tx rollup notation as given to an RPC or inside scripts, is a base58
-         tx rollup hash */
-      $unistring
-    $Blinded public key hash:
-      /* A blinded public key hash (Base58Check-encoded) */
-      $unistring
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $DAL_commitment:
-      /* Commitment representation for the DAL (Base58Check-encoded) */
-      $unistring
-    $Ed25519.Public_key_hash:
-      /* An Ed25519 public key hash (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_commitment_hash:
-      /* The hash of a commitment of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_hash:
-      /* A smart rollup address (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_state_hash:
-      /* The hash of the VM state of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Zk_rollup_hash:
-      /* A zk rollup address (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.ciphertext:
-      { "cv": $sapling.transaction.commitment_value,
-        "epk": $sapling.DH.epk,
-        "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $script_expr:
-      /* A script expression ID (Base58Check-encoded) */
-      $unistring
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_3
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_4
-    ***
-    
-    +-----------------------+----------+-------------------------------------+
-    | Name                  | Size     | Contents                            |
-    +=======================+==========+=====================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer             |
-    +-----------------------+----------+-------------------------------------+
-    | new_state             | Variable | sequence of bytes                   |
-    +-----------------------+----------+-------------------------------------+
-    | fee                   | 32 bytes | bytes                               |
-    +-----------------------+----------+-------------------------------------+
-    | exit_validity         | 1 byte   | boolean (0 for false, 255 for true) |
-    +-----------------------+----------+-------------------------------------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_4     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_7
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | new_state             | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    | fee                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_5
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_7     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_8
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | pending_pis           | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | private_pis           | Variable             | sequence of $X_5        |
-    +-----------------------+----------------------+-------------------------+
-    | fee_pi                | Determined from data | $X_8                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | proof                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_11
-    ****
-    
-    +--------+----------------------+----------+
-    | Name   | Size                 | Contents |
-    +========+======================+==========+
-    | id     | 32 bytes             | bytes    |
-    +--------+----------------------+----------+
-    | amount | Determined from data | $Z.t     |
-    +--------+----------------------+----------+
-    
-    
-    X_10
-    ****
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | op_code               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | price                 | Determined from data | $X_11                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | l1_dst                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | rollup_id             | 20 bytes             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | payload               | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    X_14 (Determined from data, 8-bit tag)
-    **************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------+----------------------+-------------------------------------------------+
-    | Name     | Size                 | Contents                                        |
-    +==========+======================+=================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                          |
-    +----------+----------------------+-------------------------------------------------+
-    | contents | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ty       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ticketer | 22 bytes             | $017-PtNairob.contract_id                       |
-    +----------+----------------------+-------------------------------------------------+
-    
-    
-    X_9
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_10    |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_14    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_17 (1 byte, 8-bit tag)
-    ************************
-    
-    Public (tag 0)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Private (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Fee (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_15
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | 1 byte               | $X_17    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_18
-    ****
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | published_level  | 4 bytes  | signed 32-bit integer  |
-    +------------------+----------+------------------------+
-    | slot_index       | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | commitment       | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    | commitment_proof | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    
-    
-    X_19
-    ****
-    
-    +-------+----------+------------------+
-    | Name  | Size     | Contents         |
-    +=======+==========+==================+
-    | alice | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    | bob   | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    
-    
-    X_20
-    ****
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | published_level | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    | slot_index      | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | page_index      | 2 bytes | signed 16-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    X_21 (Determined from data, 8-bit tag)
-    **************************************
-    
-    raw data proof (tag 0)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | raw_data              | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    metadata proof (tag 1)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    dal page proof (tag 2)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | dal_page_id           | 7 bytes  | $X_20                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | dal_proof             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_22 (Determined from data, 8-bit tag)
-    **************************************
-    
-    inbox proof (tag 0)
-    ===================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | level                 | 4 bytes              | signed 32-bit integer   |
-    +-----------------------+----------------------+-------------------------+
-    | message_counter       | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | serialized_proof      | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    reveal proof (tag 1)
-    ====================
-    
-    +--------------+----------------------+------------------------+
-    | Name         | Size                 | Contents               |
-    +==============+======================+========================+
-    | Tag          | 1 byte               | unsigned 8-bit integer |
-    +--------------+----------------------+------------------------+
-    | reveal_proof | Determined from data | $X_21                  |
-    +--------------+----------------------+------------------------+
-    
-    
-    first input (tag 2)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_23
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | ? presence of field "state" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | state                       | 32 bytes             | bytes                               |
-    +-----------------------------+----------------------+-------------------------------------+
-    | tick                        | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    X_24 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Dissection (tag 0)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_23       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Proof (tag 1)
-    =============
-    
-    +-----------------------------------+----------------------+-------------------------------------+
-    | Name                              | Size                 | Contents                            |
-    +===================================+======================+=====================================+
-    | Tag                               | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field             | 4 bytes              | unsigned 30-bit integer             |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | pvm_step                          | Variable             | bytes                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "input_proof" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | input_proof                       | Determined from data | $X_22                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_25 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Start (tag 0)
-    =============
-    
-    +--------------------------+----------+------------------------+
-    | Name                     | Size     | Contents               |
-    +==========================+==========+========================+
-    | Tag                      | 1 byte   | unsigned 8-bit integer |
-    +--------------------------+----------+------------------------+
-    | player_commitment_hash   | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    | opponent_commitment_hash | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    
-    
-    Move (tag 1)
-    ============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | choice | Determined from data | $N.t                   |
-    +--------+----------------------+------------------------+
-    | step   | Determined from data | $X_24                  |
-    +--------+----------------------+------------------------+
-    
-    
-    X_26
-    ****
-    
-    +------------------+----------+-----------------------+
-    | Name             | Size     | Contents              |
-    +==================+==========+=======================+
-    | compressed_state | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | inbox_level      | 4 bytes  | signed 32-bit integer |
-    +------------------+----------+-----------------------+
-    | predecessor      | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | number_of_ticks  | 8 bytes  | signed 64-bit integer |
-    +------------------+----------+-----------------------+
-    
-    
-    X_28 (Enumeration: unsigned 8-bit integer):
-    *******************************************
-    
-    +-------------+----------------+
-    | Case number | Encoded string |
-    +=============+================+
-    | 0           | arith          |
-    +-------------+----------------+
-    | 1           | wasm_2_0_0     |
-    +-------------+----------------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id.originated (22 bytes, 8-bit tag)
-    *********************************************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.entrypoint (Determined from data, 8-bit tag)
-    *********************************************************
-    
-    default (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    root (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    do (tag 2)
-    ==========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    set_delegate (tag 3)
-    ====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    remove_delegate (tag 4)
-    =======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    deposit (tag 5)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    named (tag 255)
-    ===============
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_29
-    ****
-    
-    +-----------------------+----------------------+--------------------------+
-    | Name                  | Size                 | Contents                 |
-    +=======================+======================+==========================+
-    | entrypoint            | Determined from data | $017-PtNairob.entrypoint |
-    +-----------------------+----------------------+--------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
-    +-----------------------+----------------------+--------------------------+
-    | value                 | Variable             | bytes                    |
-    +-----------------------+----------------------+--------------------------+
-    
-    
-    X_30
-    ****
-    
-    +-----------------+-----------+----------+
-    | Name            | Size      | Contents |
-    +=================+===========+==========+
-    | Unnamed field 0 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    | Unnamed field 1 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    
-    
-    017-PtNairob.inlined.preendorsement.contents (43 bytes, 8-bit tag)
-    ******************************************************************
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.preendorsement
-    ***********************************
-    
-    +------------+----------+-----------------------------------------------+
-    | Name       | Size     | Contents                                      |
-    +============+==========+===============================================+
-    | branch     | 32 bytes | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.preendorsement.contents |
-    +------------+----------+-----------------------------------------------+
-    | signature  | Variable | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.block_header.alpha.full_header
-    *******************************************
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
-    ***********************************************************************
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement
-    ********************************
-    
-    +------------+----------+----------------------------------------------------+
-    | Name       | Size     | Contents                                           |
-    +============+==========+====================================================+
-    | branch     | 32 bytes | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.endorsement_mempool.contents |
-    +------------+----------+----------------------------------------------------+
-    | signature  | Variable | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents (Determined from data, 8-bit tag)
-    ***********************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_30                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_29                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_28) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_3        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_26                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_19                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_15                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_9        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_1                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    017-PtNairob.bond_id (21 bytes, 8-bit tag)
-    ******************************************
-    
-    Tx_rollup_bond_id (tag 0)
-    =========================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | tx_rollup | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Smart_rollup_bond_id (tag 1)
-    ============================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | smart_rollup | 20 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    X_41 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Contract (tag 0)
-    ================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    
-    
-    Block_fees (tag 2)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Deposits (tag 4)
-    ================
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | delegate | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    
-    
-    Nonce_revelation_rewards (tag 5)
-    ================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_evidence_rewards (tag 6)
-    =======================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Endorsing_rewards (tag 7)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_rewards (tag 8)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_bonuses (tag 9)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Storage_fees (tag 11)
-    =====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_punishments (tag 12)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Lost_endorsing_rewards (tag 13)
-    ===============================
-    
-    +---------------+----------+-------------------------------------+
-    | Name          | Size     | Contents                            |
-    +===============+==========+=====================================+
-    | Tag           | 1 byte   | unsigned 8-bit integer              |
-    +---------------+----------+-------------------------------------+
-    | delegate      | 21 bytes | $public_key_hash                    |
-    +---------------+----------+-------------------------------------+
-    | participation | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    | revelation    | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    
-    
-    Liquidity_baking_subsidies (tag 14)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Burned (tag 15)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Commitments (tag 16)
-    ====================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | committer | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Bootstrap (tag 17)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Invoice (tag 18)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Initial_commitments (tag 19)
-    ============================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Minted (tag 20)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Frozen_bonds (tag 21)
-    =====================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    | bond_id  | 21 bytes | $017-PtNairob.bond_id     |
-    +----------+----------+---------------------------+
-    
-    
-    Tx_rollup_rejection_rewards (tag 22)
-    ====================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Tx_rollup_rejection_punishments (tag 23)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_punishments (tag 24)
-    ============================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_rewards (tag 25)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_42 (1 byte, 8-bit tag)
-    ************************
-    
-    Block_application (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Protocol_migration (tag 1)
-    ==========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Subsidy (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Simulation (tag 3)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_40
-    ****
-    
-    +-----------------+----------------------+-----------------------+
-    | Name            | Size                 | Contents              |
-    +=================+======================+=======================+
-    | Unnamed field 0 | Determined from data | $X_41                 |
-    +-----------------+----------------------+-----------------------+
-    | change          | 8 bytes              | signed 64-bit integer |
-    +-----------------+----------------------+-----------------------+
-    | origin          | 1 byte               | $X_42                 |
-    +-----------------+----------------------+-----------------------+
-    
-    
-    X_43
-    ****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag)
-    ************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.transaction_destination (22 bytes, 8-bit tag)
-    **********************************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    Tx_rollup (tag 2)
-    =================
-    
-    +-------------+----------+------------------------+
-    | Name        | Size     | Contents               |
-    +=============+==========+========================+
-    | Tag         | 1 byte   | unsigned 8-bit integer |
-    +-------------+----------+------------------------+
-    | Rollup_hash | 20 bytes | bytes                  |
-    +-------------+----------+------------------------+
-    | padding     | 1 byte   | padding                |
-    +-------------+----------+------------------------+
-    
-    
-    Smart_rollup (tag 3)
-    ====================
-    
-    +-------------------+----------+------------------------+
-    | Name              | Size     | Contents               |
-    +===================+==========+========================+
-    | Tag               | 1 byte   | unsigned 8-bit integer |
-    +-------------------+----------+------------------------+
-    | Smart_rollup_hash | 20 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    | padding           | 1 byte   | padding                |
-    +-------------------+----------+------------------------+
-    
-    
-    Zk_rollup (tag 4)
-    =================
-    
-    +----------------+----------+------------------------+
-    | Name           | Size     | Contents               |
-    +================+==========+========================+
-    | Tag            | 1 byte   | unsigned 8-bit integer |
-    +----------------+----------+------------------------+
-    | Zk_rollup_hash | 20 bytes | bytes                  |
-    +----------------+----------+------------------------+
-    | padding        | 1 byte   | padding                |
-    +----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag)
-    **********************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    sapling.transaction.ciphertext
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | cv                    | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | epk                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | payload_enc           | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_enc             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | payload_out           | 80 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_out             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_59
-    ****
-    
-    +-----------------+----------------------+---------------------------------+
-    | Name            | Size                 | Contents                        |
-    +=================+======================+=================================+
-    | Unnamed field 0 | 32 bytes             | bytes                           |
-    +-----------------+----------------------+---------------------------------+
-    | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
-    +-----------------+----------------------+---------------------------------+
-    
-    
-    X_58
-    ****
-    
-    +-----------------------------+----------+-------------------------+
-    | Name                        | Size     | Contents                |
-    +=============================+==========+=========================+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | commitments_and_ciphertexts | Variable | sequence of $X_59       |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | nullifiers                  | Variable | sequence of bytes       |
-    +-----------------------------+----------+-------------------------+
-    
-    
-    X_64 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_58                  |
-    +---------+----------------------+------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | source  | Determined from data | $Z.t                   |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_58                  |
-    +---------+----------------------+------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------+----------------------+-------------------------+
-    | Name      | Size                 | Contents                |
-    +===========+======================+=========================+
-    | Tag       | 1 byte               | unsigned 8-bit integer  |
-    +-----------+----------------------+-------------------------+
-    | updates   | Determined from data | $X_58                   |
-    +-----------+----------------------+-------------------------+
-    | memo_size | 2 bytes              | unsigned 16-bit integer |
-    +-----------+----------------------+-------------------------+
-    
-    
-    X_65
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | Name                        | Size                 | Contents                                        |
-    +=============================+======================+=================================================+
-    | key_hash                    | 32 bytes             | bytes                                           |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | key                         | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | ? presence of field "value" | 1 byte               | boolean (0 for false, 255 for true)             |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | value                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_76 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | updates               | Variable | sequence of $X_65       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | Determined from data | $Z.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_65       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------------------+----------------------+-------------------------------------------------+
-    | Name                  | Size                 | Contents                                        |
-    +=======================+======================+=================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                          |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                         |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | updates               | Variable             | sequence of $X_65                               |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | key_type              | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | value_type            | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_77 (Determined from data, 8-bit tag)
-    **************************************
-    
-    big_map (tag 0)
-    ===============
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_76                  |
-    +------+----------------------+------------------------+
-    
-    
-    sapling_state (tag 1)
-    =====================
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_64                  |
-    +------+----------------------+------------------------+
-    
-    
-    017-PtNairob.lazy_storage_diff
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_77       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.origination (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                                            |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    X_104
-    *****
-    
-    +--------------+----------------------+-------------------------------------------------+
-    | Name         | Size                 | Contents                                        |
-    +==============+======================+=================================================+
-    | ticketer     | 22 bytes             | $017-PtNairob.contract_id                       |
-    +--------------+----------------------+-------------------------------------------------+
-    | content_type | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    | content      | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    
-    
-    X_107
-    *****
-    
-    +---------+----------------------+---------------------------------------+
-    | Name    | Size                 | Contents                              |
-    +=========+======================+=======================================+
-    | account | 22 bytes             | $017-PtNairob.transaction_destination |
-    +---------+----------------------+---------------------------------------+
-    | amount  | Determined from data | $Z.t                                  |
-    +---------+----------------------+---------------------------------------+
-    
-    
-    X_103
-    *****
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | ticket_token          | Determined from data | $X_104                  |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_107      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    X_140 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_receipt                                                           | Variable             | sequence of $X_103                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_receipt        | Variable             | sequence of $X_103      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.transaction (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_140                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_140                              |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.apply_internal_results.alpha.operation_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    transaction (tag 1)
-    ===================
-    
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                             | Size                 | Contents                                                            |
-    +==================================+======================+=====================================================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer                                              |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                           | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                            | 2 bytes              | unsigned 16-bit integer                                             |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | amount                           | Determined from data | $N.t                                                                |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | parameters                       | Determined from data | $X_29                                                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                           | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.transaction |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    origination (tag 2)
-    ===================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                            |
-    +================================+======================+=====================================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                             |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | balance                        | Determined from data | $N.t                                                                |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    delegation (tag 3)
-    ==================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                      |
-    +================================+======================+===============================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                        |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                       |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    event (tag 4)
-    =============
-    
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                          | Size                 | Contents                                                      |
-    +===============================+======================+===============================================================+
-    | Tag                           | 1 byte               | unsigned 8-bit integer                                        |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | source                        | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                         | 2 bytes              | unsigned 16-bit integer                                       |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | type                          | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "tag"     | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | tag                           | Determined from data | $017-PtNairob.entrypoint                                      |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "payload" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | payload                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | result                        | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    X_39
-    ****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_update         |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag)
-    *************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_185
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag)
-    *****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_328
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_474
-    *****
-    
-    +------------+----------+------------------------+
-    | Name       | Size     | Contents               |
-    +============+==========+========================+
-    | level      | 4 bytes  | signed 32-bit integer  |
-    +------------+----------+------------------------+
-    | index      | 1 byte   | unsigned 8-bit integer |
-    +------------+----------+------------------------+
-    | commitment | 48 bytes | bytes                  |
-    +------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header (Determined from data, 8-bit tag)
-    *******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | slot_header       | 53 bytes             | $X_474                 |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | slot_header                  | 53 bytes             | $X_474                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_469
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag)
-    *********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_605
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                 |
-    +==========================================================================+======================+==========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                        |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag)
-    *******************************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_103      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_103                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_745
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                           |
-    +==========================================================================+======================+====================================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                                  |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    
-    
-    X_901 (1 byte, 8-bit tag)
-    *************************
-    
-    Conflict_resolved (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Timeout (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_902 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Loser (tag 0)
-    =============
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | reason | 1 byte   | $X_901                 |
-    +--------+----------+------------------------+
-    | player | 21 bytes | $public_key_hash       |
-    +--------+----------+------------------------+
-    
-    
-    Draw (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_903 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Ongoing (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Ended (tag 1)
-    =============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | result | Determined from data | $X_902                 |
-    +--------+----------------------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | game_status                                                              | Determined from data | $X_903                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | game_status                                                              | Determined from data | $X_903                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_896
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1195
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag)
-    ***************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    | inbox_level       | 4 bytes              | signed 32-bit integer  |
-    +-------------------+----------------------+------------------------+
-    | commitment_hash   | 32 bytes             | bytes                  |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    | inbox_level                  | 4 bytes              | signed 32-bit integer               |
-    +------------------------------+----------------------+-------------------------------------+
-    | commitment_hash              | 32 bytes             | bytes                               |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1335
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_1470
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event           |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag)
-    ******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | address                                                                  | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | address                                                                  | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1605
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.register_global_constant (Determined from data, 8-bit tag)
-    ********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | global_address                                                           | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | global_address                                                           | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2303
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.register_global_constant |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2577
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2800 (Determined from data, 8-bit tag)
-    ****************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_103                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_updates        | Variable             | sequence of $X_103      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.transaction (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_2800                |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_2800                             |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2758
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.transaction              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_3102
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_40                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | endorsement_power                                                        | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3106
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_40                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | preendorsement_power                                                     | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3110
-    ******
-    
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | Name                                                                     | Size     | Contents                            |
-    +==========================================================================+==========+=====================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | allocated_destination_contract                                           | 1 byte   | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.operation_metadata.alpha.balance_updates
-    *****************************************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_40       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_contents_and_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | level    | 4 bytes              | signed 32-bit integer                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | nonce    | 32 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh1                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh2                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | pkh      | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | secret   | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | solution | 200 bytes            | $X_30                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | consensus_key | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | delegate      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | destination   | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_3110                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3106                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3102                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    | metadata    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1470                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_29                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    | metadata                         | Determined from data | $X_2758                             |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_2577                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_1470                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_2303                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | metadata                    | Determined from data | $X_1470                             |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    | metadata      | Determined from data | $X_605                               |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1470                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | metadata              | Determined from data | $X_745                    |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_28) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | metadata              | Determined from data | $X_1605                                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_3        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_1470                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1335                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_26                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1195                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_25                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_896                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_19                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_896                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_745                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_605                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_18                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_469                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_15                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | metadata              | Determined from data | $X_328                                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_9        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_185                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_1                   |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_39                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    X_3133 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation_with_metadata (tag 0)
-    ===============================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                |
-    +=======================+==========+=========================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                  |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                 |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.operation_contents_and_result |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | signature             | Variable | bytes                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    
-    
-    Operation_without_metadata (tag 1)
-    ==================================
-    
-    +-----------------------+----------+----------------------------------------------------+
-    | Name                  | Size     | Contents                                           |
-    +=======================+==========+====================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                             |
-    +-----------------------+----------+----------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                            |
-    +-----------------------+----------+----------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.contents |
-    +-----------------------+----------+----------------------------------------------------+
-    | signature             | Variable | bytes                                              |
-    +-----------------------+----------+----------------------------------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | $X_3133                 |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--live_blocks : - -**GET ..//live_blocks** - -.. raw:: html - -
- - -
-

- List the ancestors of the given block which, if referred to as the branch in an operation header, are recent enough for that operation to be included in the current block.

-
-
-
-    [ $block_hash ... ]
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--metadata : - -**GET ..//metadata** - -.. raw:: html - -
- - -
- - - - - -.. _GET_..--block_id--metadata_hash : - -**GET ..//metadata_hash** - -.. raw:: html - -
- - -
- - - - - -.. _GET_..--block_id--operation_hashes : - -**GET ..//operation_hashes** - -.. raw:: html - -
- - -
-

- The hashes of all the operations included in the block.

-
-
-
-    [ [ $Operation_hash ... ] ... ]
-    $Operation_hash:
-      /* A Tezos operation ID (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - -.. _GET_..--block_id--operation_hashes--list_offset : - -**GET ..//operation_hashes/** - -.. raw:: html - -
- - -
-

- All the operations included in `n-th` validation pass of the block.

-
-
-
-    [ $Operation_hash ... ]
-    $Operation_hash:
-      /* A Tezos operation ID (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    
-
- - -.. _GET_..--block_id--operation_hashes--list_offset--operation_offset : - -**GET ..//operation_hashes//** - -.. raw:: html - -
- - -
-

- The hash of then `m-th` operation in the `n-th` validation pass of the block.

-
-
-
-    $unistring
-    /* A Tezos operation ID (Base58Check-encoded) */
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +----------------+----------+----------+
-    | Name           | Size     | Contents |
-    +================+==========+==========+
-    | Operation_hash | 32 bytes | bytes    |
-    +----------------+----------+----------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--operation_metadata_hashes : - -**GET ..//operation_metadata_hashes** - -.. raw:: html - -
- - -
- - - - -.. _GET_..--block_id--operation_metadata_hashes--list_offset : - -**GET ..//operation_metadata_hashes/** - -.. raw:: html - -
- - -
- - - - -.. _GET_..--block_id--operation_metadata_hashes--list_offset--operation_offset : - -**GET ..//operation_metadata_hashes//** - -.. raw:: html - -
- - -
- - - - - -.. _GET_..--block_id--operations : - -**GET ..//operations?[force_metadata]&[metadata=]** - -.. raw:: html - -
- - -
-

- All the operations included in the block.

Optional query arguments :

  • force_metadata : DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.
  • metadata = <metadata_rpc_arg> : Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy.

-
-
-
-    [ [ $operation ... ] ... ]
-    $017-PtNairob.apply_internal_results.alpha.operation_result:
-      { /* transaction */
-        "kind": "transaction",
-        "source": $017-PtNairob.transaction_destination,
-        "nonce": integer ∈ [0, 2^16-1],
-        "amount": $017-PtNairob.mutez,
-        "destination": $017-PtNairob.transaction_destination,
-        "parameters"?: { "entrypoint": $017-PtNairob.entrypoint,
-                         "value": any },
-        "result":
-          $017-PtNairob.operation.alpha.internal_operation_result.transaction }
-      || { /* origination */
-           "kind": "origination",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.origination }
-      || { /* delegation */
-           "kind": "delegation",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "delegate"?: $Signature.Public_key_hash,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.delegation }
-      || { /* event */
-           "kind": "event",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "type": $micheline.017-PtNairob.michelson_v1.expression,
-           "tag"?: $017-PtNairob.entrypoint,
-           "payload"?: $micheline.017-PtNairob.michelson_v1.expression,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.event }
-    $017-PtNairob.big_map_id:
-      /* Big map identifier
-         A big map identifier */
-      $bignum
-    $017-PtNairob.block_header.alpha.full_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $017-PtNairob.bond_id:
-      { /* Tx_rollup_bond_id */
-        "tx_rollup": $017-PtNairob.tx_rollup_id }
-      || { /* Smart_rollup_bond_id */
-           "smart_rollup": $017-PtNairob.smart_rollup_address }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.contract_id.originated:
-      /* A contract handle -- originated account
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.entrypoint:
-      /* entrypoint
-         Named entrypoint to a Michelson smart contract */
-      "default"
-      || "root"
-      || "do"
-      || "set_delegate"
-      || "remove_delegate"
-      || "deposit"
-      || $unistring
-      /* named */
-    $017-PtNairob.error:
-      /* The full list of RPC errors would be too long to include.
-         It is available at RPC `/errors` (GET).
-         Errors specific to protocol Alpha have an id that starts with
-         `proto.alpha`. */
-      any
-    $017-PtNairob.inlined.endorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.endorsement_mempool.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.endorsement_mempool.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.inlined.preendorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.preendorsement.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.preendorsement.contents:
-      { /* Preendorsement */
-        "kind": "preendorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.lazy_storage_diff:
-      [ { /* big_map */
-          "kind": "big_map",
-          "id": $017-PtNairob.big_map_id,
-          "diff":
-            { /* update */
-              "action": "update",
-              "updates":
-                [ { "key_hash": $script_expr,
-                    "key": $micheline.017-PtNairob.michelson_v1.expression,
-                    "value"?: $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* remove */
-                 "action": "remove" }
-            || { /* copy */
-                 "action": "copy",
-                 "source": $017-PtNairob.big_map_id,
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* alloc */
-                 "action": "alloc",
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ],
-                 "key_type": $micheline.017-PtNairob.michelson_v1.expression,
-                 "value_type": $micheline.017-PtNairob.michelson_v1.expression } }
-        || { /* sapling_state */
-             "kind": "sapling_state",
-             "id": $017-PtNairob.sapling_state_id,
-             "diff":
-               { /* update */
-                 "action": "update",
-                 "updates":
-                   { "commitments_and_ciphertexts":
-                       [ [ $sapling.transaction.commitment,
-                           $sapling.transaction.ciphertext ] ... ],
-                     "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* remove */
-                    "action": "remove" }
-               || { /* copy */
-                    "action": "copy",
-                    "source": $017-PtNairob.sapling_state_id,
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* alloc */
-                    "action": "alloc",
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] },
-                    "memo_size": integer ∈ [0, 2^16-1] } } ... ]
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.operation.alpha.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31] }
-      || { /* Seed_nonce_revelation */
-           "kind": "seed_nonce_revelation",
-           "level": integer ∈ [-2^31-1, 2^31],
-           "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ] }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass" }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash }
-      || { /* Failing_noop */
-           "kind": "failing_noop",
-           "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */ }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30] }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ] }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-    $017-PtNairob.operation.alpha.contents_and_signature:
-      { "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.operation.alpha.internal_operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.event:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.internal_operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_contents_and_result:
-      { /* Seed_nonce_revelation */
-        "kind": "seed_nonce_revelation",
-        "level": integer ∈ [-2^31-1, 2^31],
-        "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "metadata":
-          { "balance_updates"?:
-              $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Endorsement */
-           "kind": "endorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "endorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "preendorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31],
-           "metadata": { "delegate": $Signature.Public_key_hash } }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ],
-           "metadata": {  } }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass",
-           "metadata": {  } }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.reveal,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transaction,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.delegation,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.register_global_constant,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.set_deposits_limit,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.increase_paid_storage,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.update_consensus_key,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "allocated_destination_contract"?: boolean } }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transfer_ticket,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_update,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-    $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header:
-      { /* Applied */
-        "status": "applied",
-        "slot_header":
-          { "level": integer ∈ [-2^31-1, 2^31],
-            "index": integer ∈ [0, 255],
-            "commitment": $DAL_commitment },
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "slot_header":
-             { "level": integer ∈ [-2^31-1, 2^31],
-               "index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment },
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.increase_paid_storage:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.operation_result.register_global_constant:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "global_address": $script_expr }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "global_address": $script_expr }
-    $017-PtNairob.operation.alpha.operation_result.reveal:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.set_deposits_limit:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "inbox_level": integer ∈ [-2^31-1, 2^31],
-        "commitment_hash": $Smart_rollup_commitment_hash }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "inbox_level": integer ∈ [-2^31-1, 2^31],
-           "commitment_hash": $Smart_rollup_commitment_hash }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "address": $Smart_rollup_hash,
-        "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "address": $Smart_rollup_hash,
-           "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "staked_hash": $Smart_rollup_commitment_hash,
-        "published_at_level": integer ∈ [-2^31-1, 2^31],
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "staked_hash": $Smart_rollup_commitment_hash,
-           "published_at_level": integer ∈ [-2^31-1, 2^31],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_result.transfer_ticket:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.update_consensus_key:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_zk_rollup": $Zk_rollup_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_zk_rollup": $Zk_rollup_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_update:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_with_metadata:
-      { /* Operation_with_metadata */
-        "contents":
-          [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-        "signature"?: $Signature.V1 }
-      || { /* Operation_without_metadata */
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $017-PtNairob.operation_metadata.alpha.balance_updates:
-      [ { /* Contract */
-          "kind": "contract",
-          "contract": $017-PtNairob.contract_id,
-          "change": $int64,
-          "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Block_fees */
-             "kind": "accumulator",
-             "category": "block fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Deposits */
-             "kind": "freezer",
-             "category": "deposits",
-             "delegate": $Signature.Public_key_hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Nonce_revelation_rewards */
-             "kind": "minted",
-             "category": "nonce revelation rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_evidence_rewards */
-             "kind": "minted",
-             "category": "double signing evidence rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Endorsing_rewards */
-             "kind": "minted",
-             "category": "endorsing rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_rewards */
-             "kind": "minted",
-             "category": "baking rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_bonuses */
-             "kind": "minted",
-             "category": "baking bonuses",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Storage_fees */
-             "kind": "burned",
-             "category": "storage fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_punishments */
-             "kind": "burned",
-             "category": "punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Lost_endorsing_rewards */
-             "kind": "burned",
-             "category": "lost endorsing rewards",
-             "delegate": $Signature.Public_key_hash,
-             "participation": boolean,
-             "revelation": boolean,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Liquidity_baking_subsidies */
-             "kind": "minted",
-             "category": "subsidy",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Burned */
-             "kind": "burned",
-             "category": "burned",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Commitments */
-             "kind": "commitment",
-             "category": "commitment",
-             "committer": $Blinded public key hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Bootstrap */
-             "kind": "minted",
-             "category": "bootstrap",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Invoice */
-             "kind": "minted",
-             "category": "invoice",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Initial_commitments */
-             "kind": "minted",
-             "category": "commitment",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Minted */
-             "kind": "minted",
-             "category": "minted",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Frozen_bonds */
-             "kind": "freezer",
-             "category": "bonds",
-             "contract": $017-PtNairob.contract_id,
-             "bond_id": $017-PtNairob.bond_id,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_rewards */
-             "kind": "minted",
-             "category": "tx_rollup_rejection_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_punishments */
-             "kind": "burned",
-             "category": "tx_rollup_rejection_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_punishments */
-             "kind": "burned",
-             "category": "smart_rollup_refutation_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_rewards */
-             "kind": "minted",
-             "category": "smart_rollup_refutation_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" } ... ]
-    $017-PtNairob.sapling_state_id:
-      /* Sapling state identifier
-         A sapling state identifier */
-      $bignum
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $017-PtNairob.smart_rollup_address:
-      /* A smart rollup address
-         A smart rollup is identified by a base58 address starting with sr1 */
-      $Smart_rollup_hash
-    $017-PtNairob.transaction_destination:
-      /* A destination of a transaction
-         A destination notation compatible with the contract notation as given
-         to an RPC or inside scripts. Can be a base58 implicit contract hash, a
-         base58 originated contract hash, a base58 originated transaction
-         rollup, or a base58 originated smart rollup. */
-      $unistring
-    $017-PtNairob.tx_rollup_id:
-      /* A tx rollup handle
-         A tx rollup notation as given to an RPC or inside scripts, is a base58
-         tx rollup hash */
-      $unistring
-    $Blinded public key hash:
-      /* A blinded public key hash (Base58Check-encoded) */
-      $unistring
-    $Chain_id:
-      /* Network identifier (Base58Check-encoded) */
-      $unistring
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $DAL_commitment:
-      /* Commitment representation for the DAL (Base58Check-encoded) */
-      $unistring
-    $Ed25519.Public_key_hash:
-      /* An Ed25519 public key hash (Base58Check-encoded) */
-      $unistring
-    $Operation_hash:
-      /* A Tezos operation ID (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_commitment_hash:
-      /* The hash of a commitment of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_hash:
-      /* A smart rollup address (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_state_hash:
-      /* The hash of the VM state of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Zk_rollup_hash:
-      /* A zk rollup address (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $operation:
-      { /* An operation's shell header. */
-        "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-        "chain_id": $Chain_id,
-        "hash": $Operation_hash,
-        "branch": $block_hash,
-        "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1,
-        "metadata": "too large" }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents":
-             [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-           "signature"?: $Signature.V1 }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.ciphertext:
-      { "cv": $sapling.transaction.commitment_value,
-        "epk": $sapling.DH.epk,
-        "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $script_expr:
-      /* A script expression ID (Base58Check-encoded) */
-      $unistring
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_3
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_4
-    ***
-    
-    +-----------------------+----------+-------------------------------------+
-    | Name                  | Size     | Contents                            |
-    +=======================+==========+=====================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer             |
-    +-----------------------+----------+-------------------------------------+
-    | new_state             | Variable | sequence of bytes                   |
-    +-----------------------+----------+-------------------------------------+
-    | fee                   | 32 bytes | bytes                               |
-    +-----------------------+----------+-------------------------------------+
-    | exit_validity         | 1 byte   | boolean (0 for false, 255 for true) |
-    +-----------------------+----------+-------------------------------------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_4     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_7
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | new_state             | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    | fee                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_5
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_7     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_8
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | pending_pis           | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | private_pis           | Variable             | sequence of $X_5        |
-    +-----------------------+----------------------+-------------------------+
-    | fee_pi                | Determined from data | $X_8                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | proof                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_11
-    ****
-    
-    +--------+----------------------+----------+
-    | Name   | Size                 | Contents |
-    +========+======================+==========+
-    | id     | 32 bytes             | bytes    |
-    +--------+----------------------+----------+
-    | amount | Determined from data | $Z.t     |
-    +--------+----------------------+----------+
-    
-    
-    X_10
-    ****
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | op_code               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | price                 | Determined from data | $X_11                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | l1_dst                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | rollup_id             | 20 bytes             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | payload               | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    X_14 (Determined from data, 8-bit tag)
-    **************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------+----------------------+-------------------------------------------------+
-    | Name     | Size                 | Contents                                        |
-    +==========+======================+=================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                          |
-    +----------+----------------------+-------------------------------------------------+
-    | contents | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ty       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ticketer | 22 bytes             | $017-PtNairob.contract_id                       |
-    +----------+----------------------+-------------------------------------------------+
-    
-    
-    X_9
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_10    |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_14    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_17 (1 byte, 8-bit tag)
-    ************************
-    
-    Public (tag 0)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Private (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Fee (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_15
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | 1 byte               | $X_17    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_18
-    ****
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | published_level  | 4 bytes  | signed 32-bit integer  |
-    +------------------+----------+------------------------+
-    | slot_index       | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | commitment       | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    | commitment_proof | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    
-    
-    X_19
-    ****
-    
-    +-------+----------+------------------+
-    | Name  | Size     | Contents         |
-    +=======+==========+==================+
-    | alice | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    | bob   | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    
-    
-    X_20
-    ****
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | published_level | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    | slot_index      | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | page_index      | 2 bytes | signed 16-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    X_21 (Determined from data, 8-bit tag)
-    **************************************
-    
-    raw data proof (tag 0)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | raw_data              | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    metadata proof (tag 1)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    dal page proof (tag 2)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | dal_page_id           | 7 bytes  | $X_20                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | dal_proof             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_22 (Determined from data, 8-bit tag)
-    **************************************
-    
-    inbox proof (tag 0)
-    ===================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | level                 | 4 bytes              | signed 32-bit integer   |
-    +-----------------------+----------------------+-------------------------+
-    | message_counter       | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | serialized_proof      | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    reveal proof (tag 1)
-    ====================
-    
-    +--------------+----------------------+------------------------+
-    | Name         | Size                 | Contents               |
-    +==============+======================+========================+
-    | Tag          | 1 byte               | unsigned 8-bit integer |
-    +--------------+----------------------+------------------------+
-    | reveal_proof | Determined from data | $X_21                  |
-    +--------------+----------------------+------------------------+
-    
-    
-    first input (tag 2)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_23
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | ? presence of field "state" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | state                       | 32 bytes             | bytes                               |
-    +-----------------------------+----------------------+-------------------------------------+
-    | tick                        | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    X_24 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Dissection (tag 0)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_23       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Proof (tag 1)
-    =============
-    
-    +-----------------------------------+----------------------+-------------------------------------+
-    | Name                              | Size                 | Contents                            |
-    +===================================+======================+=====================================+
-    | Tag                               | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field             | 4 bytes              | unsigned 30-bit integer             |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | pvm_step                          | Variable             | bytes                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "input_proof" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | input_proof                       | Determined from data | $X_22                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_25 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Start (tag 0)
-    =============
-    
-    +--------------------------+----------+------------------------+
-    | Name                     | Size     | Contents               |
-    +==========================+==========+========================+
-    | Tag                      | 1 byte   | unsigned 8-bit integer |
-    +--------------------------+----------+------------------------+
-    | player_commitment_hash   | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    | opponent_commitment_hash | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    
-    
-    Move (tag 1)
-    ============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | choice | Determined from data | $N.t                   |
-    +--------+----------------------+------------------------+
-    | step   | Determined from data | $X_24                  |
-    +--------+----------------------+------------------------+
-    
-    
-    X_26
-    ****
-    
-    +------------------+----------+-----------------------+
-    | Name             | Size     | Contents              |
-    +==================+==========+=======================+
-    | compressed_state | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | inbox_level      | 4 bytes  | signed 32-bit integer |
-    +------------------+----------+-----------------------+
-    | predecessor      | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | number_of_ticks  | 8 bytes  | signed 64-bit integer |
-    +------------------+----------+-----------------------+
-    
-    
-    X_28 (Enumeration: unsigned 8-bit integer):
-    *******************************************
-    
-    +-------------+----------------+
-    | Case number | Encoded string |
-    +=============+================+
-    | 0           | arith          |
-    +-------------+----------------+
-    | 1           | wasm_2_0_0     |
-    +-------------+----------------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id.originated (22 bytes, 8-bit tag)
-    *********************************************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.entrypoint (Determined from data, 8-bit tag)
-    *********************************************************
-    
-    default (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    root (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    do (tag 2)
-    ==========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    set_delegate (tag 3)
-    ====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    remove_delegate (tag 4)
-    =======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    deposit (tag 5)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    named (tag 255)
-    ===============
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_29
-    ****
-    
-    +-----------------------+----------------------+--------------------------+
-    | Name                  | Size                 | Contents                 |
-    +=======================+======================+==========================+
-    | entrypoint            | Determined from data | $017-PtNairob.entrypoint |
-    +-----------------------+----------------------+--------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
-    +-----------------------+----------------------+--------------------------+
-    | value                 | Variable             | bytes                    |
-    +-----------------------+----------------------+--------------------------+
-    
-    
-    X_30
-    ****
-    
-    +-----------------+-----------+----------+
-    | Name            | Size      | Contents |
-    +=================+===========+==========+
-    | Unnamed field 0 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    | Unnamed field 1 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    
-    
-    017-PtNairob.inlined.preendorsement.contents (43 bytes, 8-bit tag)
-    ******************************************************************
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.preendorsement
-    ***********************************
-    
-    +------------+----------+-----------------------------------------------+
-    | Name       | Size     | Contents                                      |
-    +============+==========+===============================================+
-    | branch     | 32 bytes | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.preendorsement.contents |
-    +------------+----------+-----------------------------------------------+
-    | signature  | Variable | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.block_header.alpha.full_header
-    *******************************************
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
-    ***********************************************************************
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement
-    ********************************
-    
-    +------------+----------+----------------------------------------------------+
-    | Name       | Size     | Contents                                           |
-    +============+==========+====================================================+
-    | branch     | 32 bytes | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.endorsement_mempool.contents |
-    +------------+----------+----------------------------------------------------+
-    | signature  | Variable | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents (Determined from data, 8-bit tag)
-    ***********************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_30                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_29                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_28) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_3        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_26                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_19                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_15                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_9        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_1                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    017-PtNairob.bond_id (21 bytes, 8-bit tag)
-    ******************************************
-    
-    Tx_rollup_bond_id (tag 0)
-    =========================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | tx_rollup | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Smart_rollup_bond_id (tag 1)
-    ============================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | smart_rollup | 20 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    X_41 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Contract (tag 0)
-    ================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    
-    
-    Block_fees (tag 2)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Deposits (tag 4)
-    ================
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | delegate | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    
-    
-    Nonce_revelation_rewards (tag 5)
-    ================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_evidence_rewards (tag 6)
-    =======================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Endorsing_rewards (tag 7)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_rewards (tag 8)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_bonuses (tag 9)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Storage_fees (tag 11)
-    =====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_punishments (tag 12)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Lost_endorsing_rewards (tag 13)
-    ===============================
-    
-    +---------------+----------+-------------------------------------+
-    | Name          | Size     | Contents                            |
-    +===============+==========+=====================================+
-    | Tag           | 1 byte   | unsigned 8-bit integer              |
-    +---------------+----------+-------------------------------------+
-    | delegate      | 21 bytes | $public_key_hash                    |
-    +---------------+----------+-------------------------------------+
-    | participation | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    | revelation    | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    
-    
-    Liquidity_baking_subsidies (tag 14)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Burned (tag 15)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Commitments (tag 16)
-    ====================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | committer | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Bootstrap (tag 17)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Invoice (tag 18)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Initial_commitments (tag 19)
-    ============================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Minted (tag 20)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Frozen_bonds (tag 21)
-    =====================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    | bond_id  | 21 bytes | $017-PtNairob.bond_id     |
-    +----------+----------+---------------------------+
-    
-    
-    Tx_rollup_rejection_rewards (tag 22)
-    ====================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Tx_rollup_rejection_punishments (tag 23)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_punishments (tag 24)
-    ============================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_rewards (tag 25)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_42 (1 byte, 8-bit tag)
-    ************************
-    
-    Block_application (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Protocol_migration (tag 1)
-    ==========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Subsidy (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Simulation (tag 3)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_40
-    ****
-    
-    +-----------------+----------------------+-----------------------+
-    | Name            | Size                 | Contents              |
-    +=================+======================+=======================+
-    | Unnamed field 0 | Determined from data | $X_41                 |
-    +-----------------+----------------------+-----------------------+
-    | change          | 8 bytes              | signed 64-bit integer |
-    +-----------------+----------------------+-----------------------+
-    | origin          | 1 byte               | $X_42                 |
-    +-----------------+----------------------+-----------------------+
-    
-    
-    X_43
-    ****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag)
-    ************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.transaction_destination (22 bytes, 8-bit tag)
-    **********************************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    Tx_rollup (tag 2)
-    =================
-    
-    +-------------+----------+------------------------+
-    | Name        | Size     | Contents               |
-    +=============+==========+========================+
-    | Tag         | 1 byte   | unsigned 8-bit integer |
-    +-------------+----------+------------------------+
-    | Rollup_hash | 20 bytes | bytes                  |
-    +-------------+----------+------------------------+
-    | padding     | 1 byte   | padding                |
-    +-------------+----------+------------------------+
-    
-    
-    Smart_rollup (tag 3)
-    ====================
-    
-    +-------------------+----------+------------------------+
-    | Name              | Size     | Contents               |
-    +===================+==========+========================+
-    | Tag               | 1 byte   | unsigned 8-bit integer |
-    +-------------------+----------+------------------------+
-    | Smart_rollup_hash | 20 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    | padding           | 1 byte   | padding                |
-    +-------------------+----------+------------------------+
-    
-    
-    Zk_rollup (tag 4)
-    =================
-    
-    +----------------+----------+------------------------+
-    | Name           | Size     | Contents               |
-    +================+==========+========================+
-    | Tag            | 1 byte   | unsigned 8-bit integer |
-    +----------------+----------+------------------------+
-    | Zk_rollup_hash | 20 bytes | bytes                  |
-    +----------------+----------+------------------------+
-    | padding        | 1 byte   | padding                |
-    +----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag)
-    **********************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    sapling.transaction.ciphertext
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | cv                    | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | epk                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | payload_enc           | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_enc             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | payload_out           | 80 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_out             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_59
-    ****
-    
-    +-----------------+----------------------+---------------------------------+
-    | Name            | Size                 | Contents                        |
-    +=================+======================+=================================+
-    | Unnamed field 0 | 32 bytes             | bytes                           |
-    +-----------------+----------------------+---------------------------------+
-    | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
-    +-----------------+----------------------+---------------------------------+
-    
-    
-    X_58
-    ****
-    
-    +-----------------------------+----------+-------------------------+
-    | Name                        | Size     | Contents                |
-    +=============================+==========+=========================+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | commitments_and_ciphertexts | Variable | sequence of $X_59       |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | nullifiers                  | Variable | sequence of bytes       |
-    +-----------------------------+----------+-------------------------+
-    
-    
-    X_64 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_58                  |
-    +---------+----------------------+------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | source  | Determined from data | $Z.t                   |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_58                  |
-    +---------+----------------------+------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------+----------------------+-------------------------+
-    | Name      | Size                 | Contents                |
-    +===========+======================+=========================+
-    | Tag       | 1 byte               | unsigned 8-bit integer  |
-    +-----------+----------------------+-------------------------+
-    | updates   | Determined from data | $X_58                   |
-    +-----------+----------------------+-------------------------+
-    | memo_size | 2 bytes              | unsigned 16-bit integer |
-    +-----------+----------------------+-------------------------+
-    
-    
-    X_65
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | Name                        | Size                 | Contents                                        |
-    +=============================+======================+=================================================+
-    | key_hash                    | 32 bytes             | bytes                                           |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | key                         | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | ? presence of field "value" | 1 byte               | boolean (0 for false, 255 for true)             |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | value                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_76 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | updates               | Variable | sequence of $X_65       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | Determined from data | $Z.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_65       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------------------+----------------------+-------------------------------------------------+
-    | Name                  | Size                 | Contents                                        |
-    +=======================+======================+=================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                          |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                         |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | updates               | Variable             | sequence of $X_65                               |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | key_type              | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | value_type            | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_77 (Determined from data, 8-bit tag)
-    **************************************
-    
-    big_map (tag 0)
-    ===============
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_76                  |
-    +------+----------------------+------------------------+
-    
-    
-    sapling_state (tag 1)
-    =====================
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_64                  |
-    +------+----------------------+------------------------+
-    
-    
-    017-PtNairob.lazy_storage_diff
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_77       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.origination (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                                            |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    X_104
-    *****
-    
-    +--------------+----------------------+-------------------------------------------------+
-    | Name         | Size                 | Contents                                        |
-    +==============+======================+=================================================+
-    | ticketer     | 22 bytes             | $017-PtNairob.contract_id                       |
-    +--------------+----------------------+-------------------------------------------------+
-    | content_type | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    | content      | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    
-    
-    X_107
-    *****
-    
-    +---------+----------------------+---------------------------------------+
-    | Name    | Size                 | Contents                              |
-    +=========+======================+=======================================+
-    | account | 22 bytes             | $017-PtNairob.transaction_destination |
-    +---------+----------------------+---------------------------------------+
-    | amount  | Determined from data | $Z.t                                  |
-    +---------+----------------------+---------------------------------------+
-    
-    
-    X_103
-    *****
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | ticket_token          | Determined from data | $X_104                  |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_107      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    X_140 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_receipt                                                           | Variable             | sequence of $X_103                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_receipt        | Variable             | sequence of $X_103      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.transaction (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_140                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_140                              |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.apply_internal_results.alpha.operation_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    transaction (tag 1)
-    ===================
-    
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                             | Size                 | Contents                                                            |
-    +==================================+======================+=====================================================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer                                              |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                           | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                            | 2 bytes              | unsigned 16-bit integer                                             |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | amount                           | Determined from data | $N.t                                                                |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | parameters                       | Determined from data | $X_29                                                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                           | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.transaction |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    origination (tag 2)
-    ===================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                            |
-    +================================+======================+=====================================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                             |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | balance                        | Determined from data | $N.t                                                                |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    delegation (tag 3)
-    ==================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                      |
-    +================================+======================+===============================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                        |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                       |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    event (tag 4)
-    =============
-    
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                          | Size                 | Contents                                                      |
-    +===============================+======================+===============================================================+
-    | Tag                           | 1 byte               | unsigned 8-bit integer                                        |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | source                        | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                         | 2 bytes              | unsigned 16-bit integer                                       |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | type                          | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "tag"     | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | tag                           | Determined from data | $017-PtNairob.entrypoint                                      |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "payload" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | payload                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | result                        | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    X_39
-    ****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_update         |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag)
-    *************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_185
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag)
-    *****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_328
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_474
-    *****
-    
-    +------------+----------+------------------------+
-    | Name       | Size     | Contents               |
-    +============+==========+========================+
-    | level      | 4 bytes  | signed 32-bit integer  |
-    +------------+----------+------------------------+
-    | index      | 1 byte   | unsigned 8-bit integer |
-    +------------+----------+------------------------+
-    | commitment | 48 bytes | bytes                  |
-    +------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header (Determined from data, 8-bit tag)
-    *******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | slot_header       | 53 bytes             | $X_474                 |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | slot_header                  | 53 bytes             | $X_474                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_469
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag)
-    *********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_605
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                 |
-    +==========================================================================+======================+==========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                        |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag)
-    *******************************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_103      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_103                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_745
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                           |
-    +==========================================================================+======================+====================================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                                  |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    
-    
-    X_901 (1 byte, 8-bit tag)
-    *************************
-    
-    Conflict_resolved (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Timeout (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_902 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Loser (tag 0)
-    =============
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | reason | 1 byte   | $X_901                 |
-    +--------+----------+------------------------+
-    | player | 21 bytes | $public_key_hash       |
-    +--------+----------+------------------------+
-    
-    
-    Draw (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_903 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Ongoing (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Ended (tag 1)
-    =============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | result | Determined from data | $X_902                 |
-    +--------+----------------------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | game_status                                                              | Determined from data | $X_903                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | game_status                                                              | Determined from data | $X_903                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_896
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1195
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag)
-    ***************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    | inbox_level       | 4 bytes              | signed 32-bit integer  |
-    +-------------------+----------------------+------------------------+
-    | commitment_hash   | 32 bytes             | bytes                  |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    | inbox_level                  | 4 bytes              | signed 32-bit integer               |
-    +------------------------------+----------------------+-------------------------------------+
-    | commitment_hash              | 32 bytes             | bytes                               |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1335
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_1470
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event           |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag)
-    ******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | address                                                                  | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | address                                                                  | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1605
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.register_global_constant (Determined from data, 8-bit tag)
-    ********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | global_address                                                           | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_43                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | global_address                                                           | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2303
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.register_global_constant |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2577
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2800 (Determined from data, 8-bit tag)
-    ****************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_103                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_updates        | Variable             | sequence of $X_103      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.transaction (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_2800                |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_3        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_43                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_2800                             |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2758
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_40                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.transaction              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_3102
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_40                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | endorsement_power                                                        | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3106
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_40                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | preendorsement_power                                                     | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3110
-    ******
-    
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | Name                                                                     | Size     | Contents                            |
-    +==========================================================================+==========+=====================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_40                   |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | allocated_destination_contract                                           | 1 byte   | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.operation_metadata.alpha.balance_updates
-    *****************************************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_40       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_contents_and_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | level    | 4 bytes              | signed 32-bit integer                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | nonce    | 32 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh1                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh2                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | pkh      | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | secret   | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | solution | 200 bytes            | $X_30                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | consensus_key | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | delegate      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | destination   | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_3110                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3106                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3102                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    | metadata    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1470                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_29                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    | metadata                         | Determined from data | $X_2758                             |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_2577                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_1470                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_2303                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | metadata                    | Determined from data | $X_1470                             |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    | metadata      | Determined from data | $X_605                               |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1470                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | metadata              | Determined from data | $X_745                    |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_28) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | metadata              | Determined from data | $X_1605                                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_3        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_1470                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1335                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_26                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1195                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_25                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_896                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_19                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_896                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_745                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_605                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_18                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_469                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_15                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | metadata              | Determined from data | $X_328                                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_9        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_185                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_1                   |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_39                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    X_3133 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation_with_metadata (tag 0)
-    ===============================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                |
-    +=======================+==========+=========================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                  |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                 |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.operation_contents_and_result |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | signature             | Variable | bytes                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    
-    
-    Operation_without_metadata (tag 1)
-    ==================================
-    
-    +-----------------------+----------+----------------------------------------------------+
-    | Name                  | Size     | Contents                                           |
-    +=======================+==========+====================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                             |
-    +-----------------------+----------+----------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                            |
-    +-----------------------+----------+----------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.contents |
-    +-----------------------+----------+----------------------------------------------------+
-    | signature             | Variable | bytes                                              |
-    +-----------------------+----------+----------------------------------------------------+
-    
-    
-    bls_signature_prefix (33 bytes, 8-bit tag)
-    ******************************************
-    
-    Bls_prefix (tag 3)
-    ==================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents_or_signature_prefix (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_30                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_29                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_28) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_3        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_26                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_19                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_15                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_9        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_1                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    Signature_prefix (tag 255)
-    ==========================
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | Tag              | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | signature_prefix | 33 bytes | $bls_signature_prefix  |
-    +------------------+----------+------------------------+
-    
-    
-    X_3194 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation with too large metadata (tag 0)
-    =========================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation without metadata (tag 1)
-    ==================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation with metadata (tag 2)
-    ===============================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | Variable | $X_3133                |
-    +-----------------+----------+------------------------+
-    
-    
-    operation
-    *********
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | chain_id              | 4 bytes  | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | hash                  | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | branch                | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | $X_3194                 |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +--------------------------+----------+-------------------------+
-    | Name                     | Size     | Contents                |
-    +==========================+==========+=========================+
-    | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer |
-    +--------------------------+----------+-------------------------+
-    | # bytes in next field    | 4 bytes  | unsigned 30-bit integer |
-    +--------------------------+----------+-------------------------+
-    | Unnamed field 0          | Variable | sequence of $operation  |
-    +--------------------------+----------+-------------------------+
-    
-    
-
- - -.. _GET_..--block_id--operations--list_offset : - -**GET ..//operations/?[force_metadata]&[metadata=]** - -.. raw:: html - -
- - -
-

- All the operations included in `n-th` validation pass of the block.

Optional query arguments :

  • force_metadata : DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.
  • metadata = <metadata_rpc_arg> : Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy.

-
-
-
-    [ $operation ... ]
-    $017-PtNairob.apply_internal_results.alpha.operation_result:
-      { /* transaction */
-        "kind": "transaction",
-        "source": $017-PtNairob.transaction_destination,
-        "nonce": integer ∈ [0, 2^16-1],
-        "amount": $017-PtNairob.mutez,
-        "destination": $017-PtNairob.transaction_destination,
-        "parameters"?: { "entrypoint": $017-PtNairob.entrypoint,
-                         "value": any },
-        "result":
-          $017-PtNairob.operation.alpha.internal_operation_result.transaction }
-      || { /* origination */
-           "kind": "origination",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.origination }
-      || { /* delegation */
-           "kind": "delegation",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "delegate"?: $Signature.Public_key_hash,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.delegation }
-      || { /* event */
-           "kind": "event",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "type": $micheline.017-PtNairob.michelson_v1.expression,
-           "tag"?: $017-PtNairob.entrypoint,
-           "payload"?: $micheline.017-PtNairob.michelson_v1.expression,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.event }
-    $017-PtNairob.big_map_id:
-      /* Big map identifier
-         A big map identifier */
-      $bignum
-    $017-PtNairob.block_header.alpha.full_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $017-PtNairob.bond_id:
-      { /* Tx_rollup_bond_id */
-        "tx_rollup": $017-PtNairob.tx_rollup_id }
-      || { /* Smart_rollup_bond_id */
-           "smart_rollup": $017-PtNairob.smart_rollup_address }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.contract_id.originated:
-      /* A contract handle -- originated account
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.entrypoint:
-      /* entrypoint
-         Named entrypoint to a Michelson smart contract */
-      "default"
-      || "root"
-      || "do"
-      || "set_delegate"
-      || "remove_delegate"
-      || "deposit"
-      || $unistring
-      /* named */
-    $017-PtNairob.error:
-      /* The full list of RPC errors would be too long to include.
-         It is available at RPC `/errors` (GET).
-         Errors specific to protocol Alpha have an id that starts with
-         `proto.alpha`. */
-      any
-    $017-PtNairob.inlined.endorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.endorsement_mempool.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.endorsement_mempool.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.inlined.preendorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.preendorsement.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.preendorsement.contents:
-      { /* Preendorsement */
-        "kind": "preendorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.lazy_storage_diff:
-      [ { /* big_map */
-          "kind": "big_map",
-          "id": $017-PtNairob.big_map_id,
-          "diff":
-            { /* update */
-              "action": "update",
-              "updates":
-                [ { "key_hash": $script_expr,
-                    "key": $micheline.017-PtNairob.michelson_v1.expression,
-                    "value"?: $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* remove */
-                 "action": "remove" }
-            || { /* copy */
-                 "action": "copy",
-                 "source": $017-PtNairob.big_map_id,
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* alloc */
-                 "action": "alloc",
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ],
-                 "key_type": $micheline.017-PtNairob.michelson_v1.expression,
-                 "value_type": $micheline.017-PtNairob.michelson_v1.expression } }
-        || { /* sapling_state */
-             "kind": "sapling_state",
-             "id": $017-PtNairob.sapling_state_id,
-             "diff":
-               { /* update */
-                 "action": "update",
-                 "updates":
-                   { "commitments_and_ciphertexts":
-                       [ [ $sapling.transaction.commitment,
-                           $sapling.transaction.ciphertext ] ... ],
-                     "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* remove */
-                    "action": "remove" }
-               || { /* copy */
-                    "action": "copy",
-                    "source": $017-PtNairob.sapling_state_id,
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* alloc */
-                    "action": "alloc",
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] },
-                    "memo_size": integer ∈ [0, 2^16-1] } } ... ]
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.operation.alpha.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31] }
-      || { /* Seed_nonce_revelation */
-           "kind": "seed_nonce_revelation",
-           "level": integer ∈ [-2^31-1, 2^31],
-           "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ] }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass" }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash }
-      || { /* Failing_noop */
-           "kind": "failing_noop",
-           "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */ }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30] }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ] }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-    $017-PtNairob.operation.alpha.contents_and_signature:
-      { "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.operation.alpha.internal_operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.event:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.internal_operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_contents_and_result:
-      { /* Seed_nonce_revelation */
-        "kind": "seed_nonce_revelation",
-        "level": integer ∈ [-2^31-1, 2^31],
-        "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "metadata":
-          { "balance_updates"?:
-              $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Endorsement */
-           "kind": "endorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "endorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "preendorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31],
-           "metadata": { "delegate": $Signature.Public_key_hash } }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ],
-           "metadata": {  } }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass",
-           "metadata": {  } }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.reveal,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transaction,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.delegation,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.register_global_constant,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.set_deposits_limit,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.increase_paid_storage,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.update_consensus_key,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "allocated_destination_contract"?: boolean } }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transfer_ticket,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_update,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-    $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header:
-      { /* Applied */
-        "status": "applied",
-        "slot_header":
-          { "level": integer ∈ [-2^31-1, 2^31],
-            "index": integer ∈ [0, 255],
-            "commitment": $DAL_commitment },
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "slot_header":
-             { "level": integer ∈ [-2^31-1, 2^31],
-               "index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment },
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.increase_paid_storage:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.operation_result.register_global_constant:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "global_address": $script_expr }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "global_address": $script_expr }
-    $017-PtNairob.operation.alpha.operation_result.reveal:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.set_deposits_limit:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "inbox_level": integer ∈ [-2^31-1, 2^31],
-        "commitment_hash": $Smart_rollup_commitment_hash }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "inbox_level": integer ∈ [-2^31-1, 2^31],
-           "commitment_hash": $Smart_rollup_commitment_hash }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "address": $Smart_rollup_hash,
-        "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "address": $Smart_rollup_hash,
-           "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "staked_hash": $Smart_rollup_commitment_hash,
-        "published_at_level": integer ∈ [-2^31-1, 2^31],
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "staked_hash": $Smart_rollup_commitment_hash,
-           "published_at_level": integer ∈ [-2^31-1, 2^31],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_result.transfer_ticket:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.update_consensus_key:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_zk_rollup": $Zk_rollup_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_zk_rollup": $Zk_rollup_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_update:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_with_metadata:
-      { /* Operation_with_metadata */
-        "contents":
-          [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-        "signature"?: $Signature.V1 }
-      || { /* Operation_without_metadata */
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $017-PtNairob.operation_metadata.alpha.balance_updates:
-      [ { /* Contract */
-          "kind": "contract",
-          "contract": $017-PtNairob.contract_id,
-          "change": $int64,
-          "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Block_fees */
-             "kind": "accumulator",
-             "category": "block fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Deposits */
-             "kind": "freezer",
-             "category": "deposits",
-             "delegate": $Signature.Public_key_hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Nonce_revelation_rewards */
-             "kind": "minted",
-             "category": "nonce revelation rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_evidence_rewards */
-             "kind": "minted",
-             "category": "double signing evidence rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Endorsing_rewards */
-             "kind": "minted",
-             "category": "endorsing rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_rewards */
-             "kind": "minted",
-             "category": "baking rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_bonuses */
-             "kind": "minted",
-             "category": "baking bonuses",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Storage_fees */
-             "kind": "burned",
-             "category": "storage fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_punishments */
-             "kind": "burned",
-             "category": "punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Lost_endorsing_rewards */
-             "kind": "burned",
-             "category": "lost endorsing rewards",
-             "delegate": $Signature.Public_key_hash,
-             "participation": boolean,
-             "revelation": boolean,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Liquidity_baking_subsidies */
-             "kind": "minted",
-             "category": "subsidy",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Burned */
-             "kind": "burned",
-             "category": "burned",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Commitments */
-             "kind": "commitment",
-             "category": "commitment",
-             "committer": $Blinded public key hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Bootstrap */
-             "kind": "minted",
-             "category": "bootstrap",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Invoice */
-             "kind": "minted",
-             "category": "invoice",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Initial_commitments */
-             "kind": "minted",
-             "category": "commitment",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Minted */
-             "kind": "minted",
-             "category": "minted",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Frozen_bonds */
-             "kind": "freezer",
-             "category": "bonds",
-             "contract": $017-PtNairob.contract_id,
-             "bond_id": $017-PtNairob.bond_id,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_rewards */
-             "kind": "minted",
-             "category": "tx_rollup_rejection_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_punishments */
-             "kind": "burned",
-             "category": "tx_rollup_rejection_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_punishments */
-             "kind": "burned",
-             "category": "smart_rollup_refutation_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_rewards */
-             "kind": "minted",
-             "category": "smart_rollup_refutation_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" } ... ]
-    $017-PtNairob.sapling_state_id:
-      /* Sapling state identifier
-         A sapling state identifier */
-      $bignum
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $017-PtNairob.smart_rollup_address:
-      /* A smart rollup address
-         A smart rollup is identified by a base58 address starting with sr1 */
-      $Smart_rollup_hash
-    $017-PtNairob.transaction_destination:
-      /* A destination of a transaction
-         A destination notation compatible with the contract notation as given
-         to an RPC or inside scripts. Can be a base58 implicit contract hash, a
-         base58 originated contract hash, a base58 originated transaction
-         rollup, or a base58 originated smart rollup. */
-      $unistring
-    $017-PtNairob.tx_rollup_id:
-      /* A tx rollup handle
-         A tx rollup notation as given to an RPC or inside scripts, is a base58
-         tx rollup hash */
-      $unistring
-    $Blinded public key hash:
-      /* A blinded public key hash (Base58Check-encoded) */
-      $unistring
-    $Chain_id:
-      /* Network identifier (Base58Check-encoded) */
-      $unistring
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $DAL_commitment:
-      /* Commitment representation for the DAL (Base58Check-encoded) */
-      $unistring
-    $Ed25519.Public_key_hash:
-      /* An Ed25519 public key hash (Base58Check-encoded) */
-      $unistring
-    $Operation_hash:
-      /* A Tezos operation ID (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_commitment_hash:
-      /* The hash of a commitment of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_hash:
-      /* A smart rollup address (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_state_hash:
-      /* The hash of the VM state of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Zk_rollup_hash:
-      /* A zk rollup address (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $operation:
-      { /* An operation's shell header. */
-        "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-        "chain_id": $Chain_id,
-        "hash": $Operation_hash,
-        "branch": $block_hash,
-        "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1,
-        "metadata": "too large" }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents":
-             [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-           "signature"?: $Signature.V1 }
-      || { /* An operation's shell header. */
-           "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-           "chain_id": $Chain_id,
-           "hash": $Operation_hash,
-           "branch": $block_hash,
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.ciphertext:
-      { "cv": $sapling.transaction.commitment_value,
-        "epk": $sapling.DH.epk,
-        "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $script_expr:
-      /* A script expression ID (Base58Check-encoded) */
-      $unistring
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $operation  |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_3
-    ***
-    
-    +-----------------------+----------+-------------------------------------+
-    | Name                  | Size     | Contents                            |
-    +=======================+==========+=====================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer             |
-    +-----------------------+----------+-------------------------------------+
-    | new_state             | Variable | sequence of bytes                   |
-    +-----------------------+----------+-------------------------------------+
-    | fee                   | 32 bytes | bytes                               |
-    +-----------------------+----------+-------------------------------------+
-    | exit_validity         | 1 byte   | boolean (0 for false, 255 for true) |
-    +-----------------------+----------+-------------------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_6
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | new_state             | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    | fee                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_4
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_6     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_7
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | pending_pis           | Variable             | sequence of $X_1        |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | private_pis           | Variable             | sequence of $X_4        |
-    +-----------------------+----------------------+-------------------------+
-    | fee_pi                | Determined from data | $X_7                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | proof                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_10
-    ****
-    
-    +--------+----------------------+----------+
-    | Name   | Size                 | Contents |
-    +========+======================+==========+
-    | id     | 32 bytes             | bytes    |
-    +--------+----------------------+----------+
-    | amount | Determined from data | $Z.t     |
-    +--------+----------------------+----------+
-    
-    
-    X_9
-    ***
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | op_code               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | price                 | Determined from data | $X_10                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | l1_dst                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | rollup_id             | 20 bytes             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | payload               | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    X_13 (Determined from data, 8-bit tag)
-    **************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------+----------------------+-------------------------------------------------+
-    | Name     | Size                 | Contents                                        |
-    +==========+======================+=================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                          |
-    +----------+----------------------+-------------------------------------------------+
-    | contents | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ty       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ticketer | 22 bytes             | $017-PtNairob.contract_id                       |
-    +----------+----------------------+-------------------------------------------------+
-    
-    
-    X_8
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_9     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_13    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_16 (1 byte, 8-bit tag)
-    ************************
-    
-    Public (tag 0)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Private (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Fee (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_14
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | 1 byte               | $X_16    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_17
-    ****
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | published_level  | 4 bytes  | signed 32-bit integer  |
-    +------------------+----------+------------------------+
-    | slot_index       | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | commitment       | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    | commitment_proof | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    
-    
-    X_18
-    ****
-    
-    +-------+----------+------------------+
-    | Name  | Size     | Contents         |
-    +=======+==========+==================+
-    | alice | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    | bob   | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    
-    
-    X_19
-    ****
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | published_level | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    | slot_index      | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | page_index      | 2 bytes | signed 16-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    X_20 (Determined from data, 8-bit tag)
-    **************************************
-    
-    raw data proof (tag 0)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | raw_data              | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    metadata proof (tag 1)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    dal page proof (tag 2)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | dal_page_id           | 7 bytes  | $X_19                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | dal_proof             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_21 (Determined from data, 8-bit tag)
-    **************************************
-    
-    inbox proof (tag 0)
-    ===================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | level                 | 4 bytes              | signed 32-bit integer   |
-    +-----------------------+----------------------+-------------------------+
-    | message_counter       | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | serialized_proof      | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    reveal proof (tag 1)
-    ====================
-    
-    +--------------+----------------------+------------------------+
-    | Name         | Size                 | Contents               |
-    +==============+======================+========================+
-    | Tag          | 1 byte               | unsigned 8-bit integer |
-    +--------------+----------------------+------------------------+
-    | reveal_proof | Determined from data | $X_20                  |
-    +--------------+----------------------+------------------------+
-    
-    
-    first input (tag 2)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_22
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | ? presence of field "state" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | state                       | 32 bytes             | bytes                               |
-    +-----------------------------+----------------------+-------------------------------------+
-    | tick                        | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    X_23 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Dissection (tag 0)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_22       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Proof (tag 1)
-    =============
-    
-    +-----------------------------------+----------------------+-------------------------------------+
-    | Name                              | Size                 | Contents                            |
-    +===================================+======================+=====================================+
-    | Tag                               | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field             | 4 bytes              | unsigned 30-bit integer             |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | pvm_step                          | Variable             | bytes                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "input_proof" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | input_proof                       | Determined from data | $X_21                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_24 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Start (tag 0)
-    =============
-    
-    +--------------------------+----------+------------------------+
-    | Name                     | Size     | Contents               |
-    +==========================+==========+========================+
-    | Tag                      | 1 byte   | unsigned 8-bit integer |
-    +--------------------------+----------+------------------------+
-    | player_commitment_hash   | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    | opponent_commitment_hash | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    
-    
-    Move (tag 1)
-    ============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | choice | Determined from data | $N.t                   |
-    +--------+----------------------+------------------------+
-    | step   | Determined from data | $X_23                  |
-    +--------+----------------------+------------------------+
-    
-    
-    X_25
-    ****
-    
-    +------------------+----------+-----------------------+
-    | Name             | Size     | Contents              |
-    +==================+==========+=======================+
-    | compressed_state | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | inbox_level      | 4 bytes  | signed 32-bit integer |
-    +------------------+----------+-----------------------+
-    | predecessor      | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | number_of_ticks  | 8 bytes  | signed 64-bit integer |
-    +------------------+----------+-----------------------+
-    
-    
-    X_27 (Enumeration: unsigned 8-bit integer):
-    *******************************************
-    
-    +-------------+----------------+
-    | Case number | Encoded string |
-    +=============+================+
-    | 0           | arith          |
-    +-------------+----------------+
-    | 1           | wasm_2_0_0     |
-    +-------------+----------------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id.originated (22 bytes, 8-bit tag)
-    *********************************************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.entrypoint (Determined from data, 8-bit tag)
-    *********************************************************
-    
-    default (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    root (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    do (tag 2)
-    ==========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    set_delegate (tag 3)
-    ====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    remove_delegate (tag 4)
-    =======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    deposit (tag 5)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    named (tag 255)
-    ===============
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_28
-    ****
-    
-    +-----------------------+----------------------+--------------------------+
-    | Name                  | Size                 | Contents                 |
-    +=======================+======================+==========================+
-    | entrypoint            | Determined from data | $017-PtNairob.entrypoint |
-    +-----------------------+----------------------+--------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
-    +-----------------------+----------------------+--------------------------+
-    | value                 | Variable             | bytes                    |
-    +-----------------------+----------------------+--------------------------+
-    
-    
-    X_29
-    ****
-    
-    +-----------------+-----------+----------+
-    | Name            | Size      | Contents |
-    +=================+===========+==========+
-    | Unnamed field 0 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    | Unnamed field 1 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    
-    
-    017-PtNairob.inlined.preendorsement.contents (43 bytes, 8-bit tag)
-    ******************************************************************
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.preendorsement
-    ***********************************
-    
-    +------------+----------+-----------------------------------------------+
-    | Name       | Size     | Contents                                      |
-    +============+==========+===============================================+
-    | branch     | 32 bytes | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.preendorsement.contents |
-    +------------+----------+-----------------------------------------------+
-    | signature  | Variable | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.block_header.alpha.full_header
-    *******************************************
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
-    ***********************************************************************
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement
-    ********************************
-    
-    +------------+----------+----------------------------------------------------+
-    | Name       | Size     | Contents                                           |
-    +============+==========+====================================================+
-    | branch     | 32 bytes | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.endorsement_mempool.contents |
-    +------------+----------+----------------------------------------------------+
-    | signature  | Variable | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents (Determined from data, 8-bit tag)
-    ***********************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_29                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_28                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_27) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_24                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_17                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_14                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_8        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_0                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    017-PtNairob.bond_id (21 bytes, 8-bit tag)
-    ******************************************
-    
-    Tx_rollup_bond_id (tag 0)
-    =========================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | tx_rollup | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Smart_rollup_bond_id (tag 1)
-    ============================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | smart_rollup | 20 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    X_40 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Contract (tag 0)
-    ================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    
-    
-    Block_fees (tag 2)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Deposits (tag 4)
-    ================
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | delegate | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    
-    
-    Nonce_revelation_rewards (tag 5)
-    ================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_evidence_rewards (tag 6)
-    =======================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Endorsing_rewards (tag 7)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_rewards (tag 8)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_bonuses (tag 9)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Storage_fees (tag 11)
-    =====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_punishments (tag 12)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Lost_endorsing_rewards (tag 13)
-    ===============================
-    
-    +---------------+----------+-------------------------------------+
-    | Name          | Size     | Contents                            |
-    +===============+==========+=====================================+
-    | Tag           | 1 byte   | unsigned 8-bit integer              |
-    +---------------+----------+-------------------------------------+
-    | delegate      | 21 bytes | $public_key_hash                    |
-    +---------------+----------+-------------------------------------+
-    | participation | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    | revelation    | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    
-    
-    Liquidity_baking_subsidies (tag 14)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Burned (tag 15)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Commitments (tag 16)
-    ====================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | committer | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Bootstrap (tag 17)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Invoice (tag 18)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Initial_commitments (tag 19)
-    ============================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Minted (tag 20)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Frozen_bonds (tag 21)
-    =====================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    | bond_id  | 21 bytes | $017-PtNairob.bond_id     |
-    +----------+----------+---------------------------+
-    
-    
-    Tx_rollup_rejection_rewards (tag 22)
-    ====================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Tx_rollup_rejection_punishments (tag 23)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_punishments (tag 24)
-    ============================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_rewards (tag 25)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_41 (1 byte, 8-bit tag)
-    ************************
-    
-    Block_application (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Protocol_migration (tag 1)
-    ==========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Subsidy (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Simulation (tag 3)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_39
-    ****
-    
-    +-----------------+----------------------+-----------------------+
-    | Name            | Size                 | Contents              |
-    +=================+======================+=======================+
-    | Unnamed field 0 | Determined from data | $X_40                 |
-    +-----------------+----------------------+-----------------------+
-    | change          | 8 bytes              | signed 64-bit integer |
-    +-----------------+----------------------+-----------------------+
-    | origin          | 1 byte               | $X_41                 |
-    +-----------------+----------------------+-----------------------+
-    
-    
-    X_42
-    ****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag)
-    ************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.transaction_destination (22 bytes, 8-bit tag)
-    **********************************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    Tx_rollup (tag 2)
-    =================
-    
-    +-------------+----------+------------------------+
-    | Name        | Size     | Contents               |
-    +=============+==========+========================+
-    | Tag         | 1 byte   | unsigned 8-bit integer |
-    +-------------+----------+------------------------+
-    | Rollup_hash | 20 bytes | bytes                  |
-    +-------------+----------+------------------------+
-    | padding     | 1 byte   | padding                |
-    +-------------+----------+------------------------+
-    
-    
-    Smart_rollup (tag 3)
-    ====================
-    
-    +-------------------+----------+------------------------+
-    | Name              | Size     | Contents               |
-    +===================+==========+========================+
-    | Tag               | 1 byte   | unsigned 8-bit integer |
-    +-------------------+----------+------------------------+
-    | Smart_rollup_hash | 20 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    | padding           | 1 byte   | padding                |
-    +-------------------+----------+------------------------+
-    
-    
-    Zk_rollup (tag 4)
-    =================
-    
-    +----------------+----------+------------------------+
-    | Name           | Size     | Contents               |
-    +================+==========+========================+
-    | Tag            | 1 byte   | unsigned 8-bit integer |
-    +----------------+----------+------------------------+
-    | Zk_rollup_hash | 20 bytes | bytes                  |
-    +----------------+----------+------------------------+
-    | padding        | 1 byte   | padding                |
-    +----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag)
-    **********************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    sapling.transaction.ciphertext
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | cv                    | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | epk                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | payload_enc           | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_enc             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | payload_out           | 80 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_out             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_58
-    ****
-    
-    +-----------------+----------------------+---------------------------------+
-    | Name            | Size                 | Contents                        |
-    +=================+======================+=================================+
-    | Unnamed field 0 | 32 bytes             | bytes                           |
-    +-----------------+----------------------+---------------------------------+
-    | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
-    +-----------------+----------------------+---------------------------------+
-    
-    
-    X_57
-    ****
-    
-    +-----------------------------+----------+-------------------------+
-    | Name                        | Size     | Contents                |
-    +=============================+==========+=========================+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | commitments_and_ciphertexts | Variable | sequence of $X_58       |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | nullifiers                  | Variable | sequence of bytes       |
-    +-----------------------------+----------+-------------------------+
-    
-    
-    X_63 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_57                  |
-    +---------+----------------------+------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | source  | Determined from data | $Z.t                   |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_57                  |
-    +---------+----------------------+------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------+----------------------+-------------------------+
-    | Name      | Size                 | Contents                |
-    +===========+======================+=========================+
-    | Tag       | 1 byte               | unsigned 8-bit integer  |
-    +-----------+----------------------+-------------------------+
-    | updates   | Determined from data | $X_57                   |
-    +-----------+----------------------+-------------------------+
-    | memo_size | 2 bytes              | unsigned 16-bit integer |
-    +-----------+----------------------+-------------------------+
-    
-    
-    X_64
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | Name                        | Size                 | Contents                                        |
-    +=============================+======================+=================================================+
-    | key_hash                    | 32 bytes             | bytes                                           |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | key                         | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | ? presence of field "value" | 1 byte               | boolean (0 for false, 255 for true)             |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | value                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_75 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | updates               | Variable | sequence of $X_64       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | Determined from data | $Z.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_64       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------------------+----------------------+-------------------------------------------------+
-    | Name                  | Size                 | Contents                                        |
-    +=======================+======================+=================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                          |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                         |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | updates               | Variable             | sequence of $X_64                               |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | key_type              | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | value_type            | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_76 (Determined from data, 8-bit tag)
-    **************************************
-    
-    big_map (tag 0)
-    ===============
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_75                  |
-    +------+----------------------+------------------------+
-    
-    
-    sapling_state (tag 1)
-    =====================
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_63                  |
-    +------+----------------------+------------------------+
-    
-    
-    017-PtNairob.lazy_storage_diff
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_76       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.origination (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                                            |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    X_103
-    *****
-    
-    +--------------+----------------------+-------------------------------------------------+
-    | Name         | Size                 | Contents                                        |
-    +==============+======================+=================================================+
-    | ticketer     | 22 bytes             | $017-PtNairob.contract_id                       |
-    +--------------+----------------------+-------------------------------------------------+
-    | content_type | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    | content      | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    
-    
-    X_106
-    *****
-    
-    +---------+----------------------+---------------------------------------+
-    | Name    | Size                 | Contents                              |
-    +=========+======================+=======================================+
-    | account | 22 bytes             | $017-PtNairob.transaction_destination |
-    +---------+----------------------+---------------------------------------+
-    | amount  | Determined from data | $Z.t                                  |
-    +---------+----------------------+---------------------------------------+
-    
-    
-    X_102
-    *****
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | ticket_token          | Determined from data | $X_103                  |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_106      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    X_139 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_receipt                                                           | Variable             | sequence of $X_102                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_receipt        | Variable             | sequence of $X_102      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.transaction (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_139                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_139                              |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.apply_internal_results.alpha.operation_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    transaction (tag 1)
-    ===================
-    
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                             | Size                 | Contents                                                            |
-    +==================================+======================+=====================================================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer                                              |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                           | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                            | 2 bytes              | unsigned 16-bit integer                                             |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | amount                           | Determined from data | $N.t                                                                |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | parameters                       | Determined from data | $X_28                                                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                           | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.transaction |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    origination (tag 2)
-    ===================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                            |
-    +================================+======================+=====================================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                             |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | balance                        | Determined from data | $N.t                                                                |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    delegation (tag 3)
-    ==================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                      |
-    +================================+======================+===============================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                        |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                       |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    event (tag 4)
-    =============
-    
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                          | Size                 | Contents                                                      |
-    +===============================+======================+===============================================================+
-    | Tag                           | 1 byte               | unsigned 8-bit integer                                        |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | source                        | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                         | 2 bytes              | unsigned 16-bit integer                                       |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | type                          | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "tag"     | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | tag                           | Determined from data | $017-PtNairob.entrypoint                                      |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "payload" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | payload                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | result                        | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    X_38
-    ****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_update         |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag)
-    *************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_184
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag)
-    *****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_327
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_473
-    *****
-    
-    +------------+----------+------------------------+
-    | Name       | Size     | Contents               |
-    +============+==========+========================+
-    | level      | 4 bytes  | signed 32-bit integer  |
-    +------------+----------+------------------------+
-    | index      | 1 byte   | unsigned 8-bit integer |
-    +------------+----------+------------------------+
-    | commitment | 48 bytes | bytes                  |
-    +------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header (Determined from data, 8-bit tag)
-    *******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | slot_header       | 53 bytes             | $X_473                 |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | slot_header                  | 53 bytes             | $X_473                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_468
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag)
-    *********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_604
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                 |
-    +==========================================================================+======================+==========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                        |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag)
-    *******************************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_102      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_102                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_744
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                           |
-    +==========================================================================+======================+====================================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                                  |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    
-    
-    X_900 (1 byte, 8-bit tag)
-    *************************
-    
-    Conflict_resolved (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Timeout (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_901 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Loser (tag 0)
-    =============
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | reason | 1 byte   | $X_900                 |
-    +--------+----------+------------------------+
-    | player | 21 bytes | $public_key_hash       |
-    +--------+----------+------------------------+
-    
-    
-    Draw (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_902 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Ongoing (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Ended (tag 1)
-    =============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | result | Determined from data | $X_901                 |
-    +--------+----------------------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | game_status                                                              | Determined from data | $X_902                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | game_status                                                              | Determined from data | $X_902                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_895
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1194
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag)
-    ***************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    | inbox_level       | 4 bytes              | signed 32-bit integer  |
-    +-------------------+----------------------+------------------------+
-    | commitment_hash   | 32 bytes             | bytes                  |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    | inbox_level                  | 4 bytes              | signed 32-bit integer               |
-    +------------------------------+----------------------+-------------------------------------+
-    | commitment_hash              | 32 bytes             | bytes                               |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1334
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_1469
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event           |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag)
-    ******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | address                                                                  | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | address                                                                  | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1604
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.register_global_constant (Determined from data, 8-bit tag)
-    ********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | global_address                                                           | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | global_address                                                           | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2302
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.register_global_constant |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2576
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2799 (Determined from data, 8-bit tag)
-    ****************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_102                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_updates        | Variable             | sequence of $X_102      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.transaction (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_2799                |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_2799                             |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2757
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.transaction              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_3101
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_39                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | endorsement_power                                                        | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3105
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_39                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | preendorsement_power                                                     | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3109
-    ******
-    
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | Name                                                                     | Size     | Contents                            |
-    +==========================================================================+==========+=====================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | allocated_destination_contract                                           | 1 byte   | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.operation_metadata.alpha.balance_updates
-    *****************************************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_39       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_contents_and_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | level    | 4 bytes              | signed 32-bit integer                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | nonce    | 32 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh1                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh2                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | pkh      | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | secret   | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | solution | 200 bytes            | $X_29                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | consensus_key | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | delegate      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | destination   | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_3109                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3105                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3101                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    | metadata    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1469                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_28                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    | metadata                         | Determined from data | $X_2757                             |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_2576                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_1469                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_2302                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | metadata                    | Determined from data | $X_1469                             |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    | metadata      | Determined from data | $X_604                               |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1469                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | metadata              | Determined from data | $X_744                    |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_27) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | metadata              | Determined from data | $X_1604                                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_1469                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1334                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_25                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1194                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_24                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_895                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_18                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_895                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_744                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_604                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_17                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_468                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_14                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | metadata              | Determined from data | $X_327                                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_8        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_184                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_0                   |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_38                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    X_3132 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation_with_metadata (tag 0)
-    ===============================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                |
-    +=======================+==========+=========================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                  |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                 |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.operation_contents_and_result |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | signature             | Variable | bytes                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    
-    
-    Operation_without_metadata (tag 1)
-    ==================================
-    
-    +-----------------------+----------+----------------------------------------------------+
-    | Name                  | Size     | Contents                                           |
-    +=======================+==========+====================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                             |
-    +-----------------------+----------+----------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                            |
-    +-----------------------+----------+----------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.contents |
-    +-----------------------+----------+----------------------------------------------------+
-    | signature             | Variable | bytes                                              |
-    +-----------------------+----------+----------------------------------------------------+
-    
-    
-    bls_signature_prefix (33 bytes, 8-bit tag)
-    ******************************************
-    
-    Bls_prefix (tag 3)
-    ==================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents_or_signature_prefix (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_29                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_28                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_27) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_24                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_17                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_14                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_8        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_0                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    Signature_prefix (tag 255)
-    ==========================
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | Tag              | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | signature_prefix | 33 bytes | $bls_signature_prefix  |
-    +------------------+----------+------------------------+
-    
-    
-    X_3193 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation with too large metadata (tag 0)
-    =========================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation without metadata (tag 1)
-    ==================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation with metadata (tag 2)
-    ===============================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | Variable | $X_3132                |
-    +-----------------+----------+------------------------+
-    
-    
-    operation
-    *********
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | chain_id              | 4 bytes  | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | hash                  | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | branch                | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | $X_3193                 |
-    +-----------------------+----------+-------------------------+
-    
-    
-
- - -.. _GET_..--block_id--operations--list_offset--operation_offset : - -**GET ..//operations//?[force_metadata]&[metadata=]** - -.. raw:: html - -
- - -
-

- The `m-th` operation in the `n-th` validation pass of the block.

Optional query arguments :

  • force_metadata : DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.
  • metadata = <metadata_rpc_arg> : Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy.

-
-
-
-    { /* An operation's shell header. */
-      "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-      "chain_id": $Chain_id,
-      "hash": $Operation_hash,
-      "branch": $block_hash,
-      "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-      "signature"?: $Signature.V1,
-      "metadata": "too large" }
-    || { /* An operation's shell header. */
-         "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-         "chain_id": $Chain_id,
-         "hash": $Operation_hash,
-         "branch": $block_hash,
-         "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-         "signature"?: $Signature.V1 }
-    || { /* An operation's shell header. */
-         "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-         "chain_id": $Chain_id,
-         "hash": $Operation_hash,
-         "branch": $block_hash,
-         "contents":
-           [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-         "signature"?: $Signature.V1 }
-    || { /* An operation's shell header. */
-         "protocol": "PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf",
-         "chain_id": $Chain_id,
-         "hash": $Operation_hash,
-         "branch": $block_hash,
-         "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-         "signature"?: $Signature.V1 }
-    $017-PtNairob.apply_internal_results.alpha.operation_result:
-      { /* transaction */
-        "kind": "transaction",
-        "source": $017-PtNairob.transaction_destination,
-        "nonce": integer ∈ [0, 2^16-1],
-        "amount": $017-PtNairob.mutez,
-        "destination": $017-PtNairob.transaction_destination,
-        "parameters"?: { "entrypoint": $017-PtNairob.entrypoint,
-                         "value": any },
-        "result":
-          $017-PtNairob.operation.alpha.internal_operation_result.transaction }
-      || { /* origination */
-           "kind": "origination",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.origination }
-      || { /* delegation */
-           "kind": "delegation",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "delegate"?: $Signature.Public_key_hash,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.delegation }
-      || { /* event */
-           "kind": "event",
-           "source": $017-PtNairob.transaction_destination,
-           "nonce": integer ∈ [0, 2^16-1],
-           "type": $micheline.017-PtNairob.michelson_v1.expression,
-           "tag"?: $017-PtNairob.entrypoint,
-           "payload"?: $micheline.017-PtNairob.michelson_v1.expression,
-           "result":
-             $017-PtNairob.operation.alpha.internal_operation_result.event }
-    $017-PtNairob.big_map_id:
-      /* Big map identifier
-         A big map identifier */
-      $bignum
-    $017-PtNairob.block_header.alpha.full_header:
-      /* Shell header
-         Block header's shell-related content. It contains information such as
-         the block level, its predecessor and timestamp. */
-      { "level": integer ∈ [-2^31-1, 2^31],
-        "proto": integer ∈ [0, 255],
-        "predecessor": $block_hash,
-        "timestamp": $timestamp.protocol,
-        "validation_pass": integer ∈ [0, 255],
-        "operations_hash": $Operation_list_list_hash,
-        "fitness": $fitness,
-        "context": $Context_hash,
-        "payload_hash": $value_hash,
-        "payload_round": integer ∈ [-2^31-1, 2^31],
-        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "seed_nonce_hash"?: $cycle_nonce,
-        "liquidity_baking_toggle_vote":
-          $017-PtNairob.liquidity_baking_toggle_vote,
-        "signature": $Signature.V1 }
-    $017-PtNairob.bond_id:
-      { /* Tx_rollup_bond_id */
-        "tx_rollup": $017-PtNairob.tx_rollup_id }
-      || { /* Smart_rollup_bond_id */
-           "smart_rollup": $017-PtNairob.smart_rollup_address }
-    $017-PtNairob.contract_id:
-      /* A contract handle
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 implicit contract hash or a base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.contract_id.originated:
-      /* A contract handle -- originated account
-         A contract notation as given to an RPC or inside scripts. Can be a
-         base58 originated contract hash. */
-      $unistring
-    $017-PtNairob.entrypoint:
-      /* entrypoint
-         Named entrypoint to a Michelson smart contract */
-      "default"
-      || "root"
-      || "do"
-      || "set_delegate"
-      || "remove_delegate"
-      || "deposit"
-      || $unistring
-      /* named */
-    $017-PtNairob.error:
-      /* The full list of RPC errors would be too long to include.
-         It is available at RPC `/errors` (GET).
-         Errors specific to protocol Alpha have an id that starts with
-         `proto.alpha`. */
-      any
-    $017-PtNairob.inlined.endorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.endorsement_mempool.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.endorsement_mempool.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.inlined.preendorsement:
-      /* An operation's shell header. */
-      { "branch": $block_hash,
-        "operations": $017-PtNairob.inlined.preendorsement.contents,
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.inlined.preendorsement.contents:
-      { /* Preendorsement */
-        "kind": "preendorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-    $017-PtNairob.lazy_storage_diff:
-      [ { /* big_map */
-          "kind": "big_map",
-          "id": $017-PtNairob.big_map_id,
-          "diff":
-            { /* update */
-              "action": "update",
-              "updates":
-                [ { "key_hash": $script_expr,
-                    "key": $micheline.017-PtNairob.michelson_v1.expression,
-                    "value"?: $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* remove */
-                 "action": "remove" }
-            || { /* copy */
-                 "action": "copy",
-                 "source": $017-PtNairob.big_map_id,
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ] }
-            || { /* alloc */
-                 "action": "alloc",
-                 "updates":
-                   [ { "key_hash": $script_expr,
-                       "key": $micheline.017-PtNairob.michelson_v1.expression,
-                       "value"?:
-                         $micheline.017-PtNairob.michelson_v1.expression } ... ],
-                 "key_type": $micheline.017-PtNairob.michelson_v1.expression,
-                 "value_type": $micheline.017-PtNairob.michelson_v1.expression } }
-        || { /* sapling_state */
-             "kind": "sapling_state",
-             "id": $017-PtNairob.sapling_state_id,
-             "diff":
-               { /* update */
-                 "action": "update",
-                 "updates":
-                   { "commitments_and_ciphertexts":
-                       [ [ $sapling.transaction.commitment,
-                           $sapling.transaction.ciphertext ] ... ],
-                     "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* remove */
-                    "action": "remove" }
-               || { /* copy */
-                    "action": "copy",
-                    "source": $017-PtNairob.sapling_state_id,
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] } }
-               || { /* alloc */
-                    "action": "alloc",
-                    "updates":
-                      { "commitments_and_ciphertexts":
-                          [ [ $sapling.transaction.commitment,
-                              $sapling.transaction.ciphertext ] ... ],
-                        "nullifiers": [ $sapling.transaction.nullifier ... ] },
-                    "memo_size": integer ∈ [0, 2^16-1] } } ... ]
-    $017-PtNairob.liquidity_baking_toggle_vote: "off" | "on" | "pass"
-    $017-PtNairob.michelson.v1.primitives:
-      "SHA512"
-      | "HASH_KEY"
-      | "SIZE"
-      | "SAPLING_VERIFY_UPDATE"
-      | "False"
-      | "SAPLING_EMPTY_STATE"
-      | "RENAME"
-      | "sapling_transaction"
-      | "UNPACK"
-      | "NAT"
-      | "unit"
-      | "bls12_381_fr"
-      | "Pair"
-      | "IF_NONE"
-      | "int"
-      | "timestamp"
-      | "storage"
-      | "UNPAIR"
-      | "view"
-      | "BLAKE2B"
-      | "AMOUNT"
-      | "DUP"
-      | "nat"
-      | "NEG"
-      | "bool"
-      | "SELF_ADDRESS"
-      | "ISNAT"
-      | "DIG"
-      | "CHAIN_ID"
-      | "set"
-      | "LSR"
-      | "key"
-      | "address"
-      | "ABS"
-      | "CREATE_CONTRACT"
-      | "SHA256"
-      | "JOIN_TICKETS"
-      | "LEVEL"
-      | "bls12_381_g1"
-      | "operation"
-      | "tx_rollup_l2_address"
-      | "string"
-      | "CHECK_SIGNATURE"
-      | "STEPS_TO_QUOTA"
-      | "SELF"
-      | "DIP"
-      | "lambda"
-      | "AND"
-      | "COMPARE"
-      | "chain_id"
-      | "MAP"
-      | "APPLY"
-      | "Elt"
-      | "BYTES"
-      | "NOT"
-      | "IMPLICIT_ACCOUNT"
-      | "LT"
-      | "UNIT"
-      | "EMIT"
-      | "SET_DELEGATE"
-      | "Some"
-      | "parameter"
-      | "signature"
-      | "ticket"
-      | "EMPTY_BIG_MAP"
-      | "None"
-      | "SUB"
-      | "key_hash"
-      | "ADD"
-      | "map"
-      | "VOTING_POWER"
-      | "big_map"
-      | "CDR"
-      | "GT"
-      | "IF_CONS"
-      | "CONS"
-      | "LSL"
-      | "DUG"
-      | "PACK"
-      | "SHA3"
-      | "SOURCE"
-      | "or"
-      | "SUB_MUTEZ"
-      | "LAMBDA"
-      | "RIGHT"
-      | "CREATE_ACCOUNT"
-      | "Unit"
-      | "CAST"
-      | "NEQ"
-      | "ITER"
-      | "FAILWITH"
-      | "PUSH"
-      | "OPEN_CHEST"
-      | "SOME"
-      | "list"
-      | "BALANCE"
-      | "NIL"
-      | "pair"
-      | "CAR"
-      | "UPDATE"
-      | "TOTAL_VOTING_POWER"
-      | "PAIR"
-      | "constant"
-      | "LAMBDA_REC"
-      | "ADDRESS"
-      | "True"
-      | "Right"
-      | "Lambda_rec"
-      | "IF"
-      | "NEVER"
-      | "sapling_transaction_deprecated"
-      | "SWAP"
-      | "EMPTY_MAP"
-      | "MUL"
-      | "INT"
-      | "option"
-      | "KECCAK"
-      | "LEFT"
-      | "Left"
-      | "chest"
-      | "SPLIT_TICKET"
-      | "chest_key"
-      | "bls12_381_g2"
-      | "EDIV"
-      | "LOOP"
-      | "bytes"
-      | "TICKET"
-      | "LE"
-      | "PAIRING_CHECK"
-      | "MIN_BLOCK_TIME"
-      | "OR"
-      | "contract"
-      | "GET_AND_UPDATE"
-      | "mutez"
-      | "sapling_state"
-      | "NONE"
-      | "IF_LEFT"
-      | "GET"
-      | "NOW"
-      | "TRANSFER_TOKENS"
-      | "LOOP_LEFT"
-      | "CONTRACT"
-      | "TICKET_DEPRECATED"
-      | "VIEW"
-      | "EMPTY_SET"
-      | "XOR"
-      | "never"
-      | "READ_TICKET"
-      | "EQ"
-      | "GE"
-      | "MEM"
-      | "SENDER"
-      | "DROP"
-      | "CONCAT"
-      | "EXEC"
-      | "SLICE"
-      | "code"
-    $017-PtNairob.mutez: $positive_bignum
-    $017-PtNairob.operation.alpha.contents:
-      { /* Endorsement */
-        "kind": "endorsement",
-        "slot": integer ∈ [0, 2^16-1],
-        "level": integer ∈ [-2^31-1, 2^31],
-        "round": integer ∈ [-2^31-1, 2^31],
-        "block_payload_hash": $value_hash }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31] }
-      || { /* Seed_nonce_revelation */
-           "kind": "seed_nonce_revelation",
-           "level": integer ∈ [-2^31-1, 2^31],
-           "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ] }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass" }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash }
-      || { /* Failing_noop */
-           "kind": "failing_noop",
-           "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */ }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30] }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ] }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-    $017-PtNairob.operation.alpha.contents_and_signature:
-      { "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-        "signature"?: $Signature.V1 }
-    $017-PtNairob.operation.alpha.internal_operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.event:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.internal_operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.internal_operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_receipt"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_receipt":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_contents_and_result:
-      { /* Seed_nonce_revelation */
-        "kind": "seed_nonce_revelation",
-        "level": integer ∈ [-2^31-1, 2^31],
-        "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "metadata":
-          { "balance_updates"?:
-              $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Vdf_revelation */
-           "kind": "vdf_revelation",
-           "solution":
-             [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Endorsement */
-           "kind": "endorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "endorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Preendorsement */
-           "kind": "preendorsement",
-           "slot": integer ∈ [0, 2^16-1],
-           "level": integer ∈ [-2^31-1, 2^31],
-           "round": integer ∈ [-2^31-1, 2^31],
-           "block_payload_hash": $value_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "delegate": $Signature.Public_key_hash,
-               "preendorsement_power": integer ∈ [-2^30, 2^30],
-               "consensus_key": $Signature.Public_key_hash } }
-      || { /* Dal_attestation */
-           "kind": "dal_attestation",
-           "attestor": $Signature.Public_key_hash,
-           "attestation": $bignum,
-           "level": integer ∈ [-2^31-1, 2^31],
-           "metadata": { "delegate": $Signature.Public_key_hash } }
-      || { /* Double_preendorsement_evidence */
-           "kind": "double_preendorsement_evidence",
-           "op1": $017-PtNairob.inlined.preendorsement,
-           "op2": $017-PtNairob.inlined.preendorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_endorsement_evidence */
-           "kind": "double_endorsement_evidence",
-           "op1": $017-PtNairob.inlined.endorsement,
-           "op2": $017-PtNairob.inlined.endorsement,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Double_baking_evidence */
-           "kind": "double_baking_evidence",
-           "bh1": $017-PtNairob.block_header.alpha.full_header,
-           "bh2": $017-PtNairob.block_header.alpha.full_header,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Activate_account */
-           "kind": "activate_account",
-           "pkh": $Ed25519.Public_key_hash,
-           "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates } }
-      || { /* Proposals */
-           "kind": "proposals",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposals": [ $Protocol_hash ... ],
-           "metadata": {  } }
-      || { /* Ballot */
-           "kind": "ballot",
-           "source": $Signature.Public_key_hash,
-           "period": integer ∈ [-2^31-1, 2^31],
-           "proposal": $Protocol_hash,
-           "ballot": "nay" | "yay" | "pass",
-           "metadata": {  } }
-      || { /* Reveal */
-           "kind": "reveal",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_key": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.reveal,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Transaction */
-           "kind": "transaction",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $017-PtNairob.mutez,
-           "destination": $017-PtNairob.contract_id,
-           "parameters"?:
-             { "entrypoint": $017-PtNairob.entrypoint,
-               "value": any },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transaction,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Origination */
-           "kind": "origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "balance": $017-PtNairob.mutez,
-           "delegate"?: $Signature.Public_key_hash,
-           "script": $017-PtNairob.scripted.contracts,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Delegation */
-           "kind": "delegation",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "delegate"?: $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.delegation,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Register_global_constant */
-           "kind": "register_global_constant",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "value": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.register_global_constant,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Set_deposits_limit */
-           "kind": "set_deposits_limit",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "limit"?: $017-PtNairob.mutez,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.set_deposits_limit,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Increase_paid_storage */
-           "kind": "increase_paid_storage",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "amount": $bignum,
-           "destination": $017-PtNairob.contract_id.originated,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.increase_paid_storage,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Update_consensus_key */
-           "kind": "update_consensus_key",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pk": $Signature.Public_key,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.update_consensus_key,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Drain_delegate */
-           "kind": "drain_delegate",
-           "consensus_key": $Signature.Public_key_hash,
-           "delegate": $Signature.Public_key_hash,
-           "destination": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "allocated_destination_contract"?: boolean } }
-      || { /* Transfer_ticket */
-           "kind": "transfer_ticket",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "ticket_contents": any,
-           "ticket_ty": any,
-           "ticket_ticketer": $017-PtNairob.contract_id,
-           "ticket_amount": $positive_bignum,
-           "destination": $017-PtNairob.contract_id,
-           "entrypoint": $unistring,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.transfer_ticket,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Dal_publish_slot_header */
-           "kind": "dal_publish_slot_header",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "slot_header":
-             { "published_level": integer ∈ [-2^31-1, 2^31],
-               "slot_index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment,
-               "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_originate */
-           "kind": "smart_rollup_originate",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "pvm_kind": "wasm_2_0_0" | "arith",
-           "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "origination_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "parameters_ty": any,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_add_messages */
-           "kind": "smart_rollup_add_messages",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_cement */
-           "kind": "smart_rollup_cement",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             $Smart_rollup_commitment_hash
-             /* DEPRECATED: This field is not used anymore by the protocol and
-                will be removed in a future proposal. */,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_publish */
-           "kind": "smart_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "commitment":
-             { "compressed_state": $Smart_rollup_state_hash,
-               "inbox_level": integer ∈ [-2^31-1, 2^31],
-               "predecessor": $Smart_rollup_commitment_hash,
-               "number_of_ticks": $int64 },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_refute */
-           "kind": "smart_rollup_refute",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "opponent": $Signature.Public_key_hash,
-           "refutation":
-             { /* Start */
-               "refutation_kind": "start",
-               "player_commitment_hash": $Smart_rollup_commitment_hash,
-               "opponent_commitment_hash": $Smart_rollup_commitment_hash }
-             || { /* Move */
-                  "refutation_kind": "move",
-                  "choice": $positive_bignum,
-                  "step":
-                    [ { "state"?: $Smart_rollup_state_hash,
-                        "tick": $positive_bignum } ... ]
-                    /* Dissection */
-                    || { /* Proof */
-                         "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                         "input_proof"?:
-                           { /* inbox proof */
-                             "input_proof_kind": "inbox_proof",
-                             "level": integer ∈ [-2^31-1, 2^31],
-                             "message_counter": $positive_bignum,
-                             "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                           || { /* reveal proof */
-                                "input_proof_kind": "reveal_proof",
-                                "reveal_proof":
-                                  { /* raw data proof */
-                                    "reveal_proof_kind": "raw_data_proof",
-                                    "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-                                  || { /* metadata proof */
-                                       "reveal_proof_kind": "metadata_proof" }
-                                  || { /* dal page proof */
-                                       "reveal_proof_kind": "dal_page_proof",
-                                       "dal_page_id":
-                                         { "published_level":
-                                             integer ∈ [-2^31-1, 2^31],
-                                           "slot_index": integer ∈ [0, 255],
-                                           "page_index":
-                                             integer ∈ [-2^15, 2^15-1] },
-                                       "dal_proof":
-                                         /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } }
-                           || { /* first input */
-                                "input_proof_kind": "first_input" } } },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_timeout */
-           "kind": "smart_rollup_timeout",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "stakers":
-             { "alice": $Signature.Public_key_hash,
-               "bob": $Signature.Public_key_hash },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_execute_outbox_message */
-           "kind": "smart_rollup_execute_outbox_message",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $017-PtNairob.smart_rollup_address,
-           "cemented_commitment": $Smart_rollup_commitment_hash,
-           "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Smart_rollup_recover_bond */
-           "kind": "smart_rollup_recover_bond",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "rollup": $Smart_rollup_hash,
-           "staker": $Signature.Public_key_hash,
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_origination */
-           "kind": "zk_rollup_origination",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-           "circuits_info":
-             [ [ $unistring,
-                 { /* Public */
-                   "public": any }
-                 || { /* Private */
-                      "private": any }
-                 || { /* Fee */
-                      "fee": any } ] ... ],
-           "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-           "nb_ops": integer ∈ [-2^30, 2^30],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_publish */
-           "kind": "zk_rollup_publish",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "op":
-             [ [ { "op_code": integer ∈ [-2^30, 2^30],
-                   "price": { "id": $script_expr,
-                              "amount": $bignum },
-                   "l1_dst": $Signature.Public_key_hash,
-                   "rollup_id": $Zk_rollup_hash,
-                   "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-                 { /* Some */
-                   "contents": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ty": $micheline.017-PtNairob.michelson_v1.expression,
-                   "ticketer": $017-PtNairob.contract_id }
-                 || null
-                 /* None */ ] ... ],
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-      || { /* Zk_rollup_update */
-           "kind": "zk_rollup_update",
-           "source": $Signature.Public_key_hash,
-           "fee": $017-PtNairob.mutez,
-           "counter": $positive_bignum,
-           "gas_limit": $positive_bignum,
-           "storage_limit": $positive_bignum,
-           "zk_rollup": $Zk_rollup_hash,
-           "update":
-             { "pending_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-                       "exit_validity": boolean } ] ... ],
-               "private_pis":
-                 [ [ $unistring,
-                     { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ],
-                       "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ],
-               "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] },
-               "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ },
-           "metadata":
-             { "balance_updates"?:
-                 $017-PtNairob.operation_metadata.alpha.balance_updates,
-               "operation_result":
-                 $017-PtNairob.operation.alpha.operation_result.zk_rollup_update,
-               "internal_operation_results"?:
-                 [ $017-PtNairob.apply_internal_results.alpha.operation_result ... ] } }
-    $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header:
-      { /* Applied */
-        "status": "applied",
-        "slot_header":
-          { "level": integer ∈ [-2^31-1, 2^31],
-            "index": integer ∈ [0, 255],
-            "commitment": $DAL_commitment },
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "slot_header":
-             { "level": integer ∈ [-2^31-1, 2^31],
-               "index": integer ∈ [0, 255],
-               "commitment": $DAL_commitment },
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.delegation:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.increase_paid_storage:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_contracts"?:
-             [ $017-PtNairob.contract_id.originated ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "paid_storage_size_diff"?: $bignum,
-           "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-    $017-PtNairob.operation.alpha.operation_result.register_global_constant:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "global_address": $script_expr }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "storage_size"?: $bignum,
-           "global_address": $script_expr }
-    $017-PtNairob.operation.alpha.operation_result.reveal:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.set_deposits_limit:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_add_messages:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "inbox_level": integer ∈ [-2^31-1, 2^31],
-        "commitment_hash": $Smart_rollup_commitment_hash }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "inbox_level": integer ∈ [-2^31-1, 2^31],
-           "commitment_hash": $Smart_rollup_commitment_hash }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "address": $Smart_rollup_hash,
-        "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "address": $Smart_rollup_hash,
-           "genesis_commitment_hash": $Smart_rollup_commitment_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "staked_hash": $Smart_rollup_commitment_hash,
-        "published_at_level": integer ∈ [-2^31-1, 2^31],
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "staked_hash": $Smart_rollup_commitment_hash,
-           "published_at_level": integer ∈ [-2^31-1, 2^31],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_refute:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum,
-        "game_status":
-          "ongoing"
-          || { /* Ended */
-               "result":
-                 { /* Loser */
-                   "kind": "loser",
-                   "reason": "conflict_resolved" || "timeout",
-                   "player": $Signature.Public_key_hash }
-                 || { /* Draw */
-                      "kind": "draw" } },
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "game_status":
-             "ongoing"
-             || { /* Ended */
-                  "result":
-                    { /* Loser */
-                      "kind": "loser",
-                      "reason": "conflict_resolved" || "timeout",
-                      "player": $Signature.Public_key_hash }
-                    || { /* Draw */
-                         "kind": "draw" } },
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates }
-    $017-PtNairob.operation.alpha.operation_result.transaction:
-      /* Applied */
-      { /* To_contract */
-        "status": "applied",
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "applied",
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "applied",
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || /* Backtracked */
-      { /* To_contract */
-        "status": "backtracked",
-        "errors"?: [ $017-PtNairob.error ... ],
-        "storage"?: $micheline.017-PtNairob.michelson_v1.expression,
-        "balance_updates"?:
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates"?:
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "originated_contracts"?: [ $017-PtNairob.contract_id.originated ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "storage_size"?: $bignum,
-        "paid_storage_size_diff"?: $bignum,
-        "allocated_destination_contract"?: boolean,
-        "lazy_storage_diff"?: $017-PtNairob.lazy_storage_diff }
-      || { /* To_tx_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates"?:
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_hash": $script_expr,
-           "paid_storage_size_diff": $positive_bignum }
-      || { /* To_smart_rollup */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ] }
-    $017-PtNairob.operation.alpha.operation_result.transfer_ticket:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "ticket_updates":
-          [ { "ticket_token":
-                { "ticketer": $017-PtNairob.contract_id,
-                  "content_type":
-                    $micheline.017-PtNairob.michelson_v1.expression,
-                  "content": $micheline.017-PtNairob.michelson_v1.expression },
-              "updates":
-                [ { "account": $017-PtNairob.transaction_destination,
-                    "amount": $bignum } ... ] } ... ],
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "ticket_updates":
-             [ { "ticket_token":
-                   { "ticketer": $017-PtNairob.contract_id,
-                     "content_type":
-                       $micheline.017-PtNairob.michelson_v1.expression,
-                     "content": $micheline.017-PtNairob.michelson_v1.expression },
-                 "updates":
-                   [ { "account": $017-PtNairob.transaction_destination,
-                       "amount": $bignum } ... ] } ... ],
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_result.update_consensus_key:
-      { /* Applied */
-        "status": "applied",
-        "consumed_milligas"?: $positive_bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "consumed_milligas"?: $positive_bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "originated_zk_rollup": $Zk_rollup_hash,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "originated_zk_rollup": $Zk_rollup_hash,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "size": $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "size": $bignum }
-    $017-PtNairob.operation.alpha.operation_result.zk_rollup_update:
-      { /* Applied */
-        "status": "applied",
-        "balance_updates":
-          $017-PtNairob.operation_metadata.alpha.balance_updates,
-        "consumed_milligas"?: $positive_bignum,
-        "paid_storage_size_diff"?: $bignum }
-      || { /* Failed */
-           "status": "failed",
-           "errors": [ $017-PtNairob.error ... ] }
-      || { /* Skipped */
-           "status": "skipped" }
-      || { /* Backtracked */
-           "status": "backtracked",
-           "errors"?: [ $017-PtNairob.error ... ],
-           "balance_updates":
-             $017-PtNairob.operation_metadata.alpha.balance_updates,
-           "consumed_milligas"?: $positive_bignum,
-           "paid_storage_size_diff"?: $bignum }
-    $017-PtNairob.operation.alpha.operation_with_metadata:
-      { /* Operation_with_metadata */
-        "contents":
-          [ $017-PtNairob.operation.alpha.operation_contents_and_result ... ],
-        "signature"?: $Signature.V1 }
-      || { /* Operation_without_metadata */
-           "contents": [ $017-PtNairob.operation.alpha.contents ... ],
-           "signature"?: $Signature.V1 }
-    $017-PtNairob.operation_metadata.alpha.balance_updates:
-      [ { /* Contract */
-          "kind": "contract",
-          "contract": $017-PtNairob.contract_id,
-          "change": $int64,
-          "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Block_fees */
-             "kind": "accumulator",
-             "category": "block fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Deposits */
-             "kind": "freezer",
-             "category": "deposits",
-             "delegate": $Signature.Public_key_hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Nonce_revelation_rewards */
-             "kind": "minted",
-             "category": "nonce revelation rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_evidence_rewards */
-             "kind": "minted",
-             "category": "double signing evidence rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Endorsing_rewards */
-             "kind": "minted",
-             "category": "endorsing rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_rewards */
-             "kind": "minted",
-             "category": "baking rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Baking_bonuses */
-             "kind": "minted",
-             "category": "baking bonuses",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Storage_fees */
-             "kind": "burned",
-             "category": "storage fees",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Double_signing_punishments */
-             "kind": "burned",
-             "category": "punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Lost_endorsing_rewards */
-             "kind": "burned",
-             "category": "lost endorsing rewards",
-             "delegate": $Signature.Public_key_hash,
-             "participation": boolean,
-             "revelation": boolean,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Liquidity_baking_subsidies */
-             "kind": "minted",
-             "category": "subsidy",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Burned */
-             "kind": "burned",
-             "category": "burned",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Commitments */
-             "kind": "commitment",
-             "category": "commitment",
-             "committer": $Blinded public key hash,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Bootstrap */
-             "kind": "minted",
-             "category": "bootstrap",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Invoice */
-             "kind": "minted",
-             "category": "invoice",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Initial_commitments */
-             "kind": "minted",
-             "category": "commitment",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Minted */
-             "kind": "minted",
-             "category": "minted",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Frozen_bonds */
-             "kind": "freezer",
-             "category": "bonds",
-             "contract": $017-PtNairob.contract_id,
-             "bond_id": $017-PtNairob.bond_id,
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_rewards */
-             "kind": "minted",
-             "category": "tx_rollup_rejection_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Tx_rollup_rejection_punishments */
-             "kind": "burned",
-             "category": "tx_rollup_rejection_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_punishments */
-             "kind": "burned",
-             "category": "smart_rollup_refutation_punishments",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" }
-        || { /* Smart_rollup_refutation_rewards */
-             "kind": "minted",
-             "category": "smart_rollup_refutation_rewards",
-             "change": $int64,
-             "origin": "block" || "migration" || "subsidy" || "simulation" } ... ]
-    $017-PtNairob.sapling_state_id:
-      /* Sapling state identifier
-         A sapling state identifier */
-      $bignum
-    $017-PtNairob.scripted.contracts: { "code": any,
-                                        "storage": any }
-    $017-PtNairob.smart_rollup_address:
-      /* A smart rollup address
-         A smart rollup is identified by a base58 address starting with sr1 */
-      $Smart_rollup_hash
-    $017-PtNairob.transaction_destination:
-      /* A destination of a transaction
-         A destination notation compatible with the contract notation as given
-         to an RPC or inside scripts. Can be a base58 implicit contract hash, a
-         base58 originated contract hash, a base58 originated transaction
-         rollup, or a base58 originated smart rollup. */
-      $unistring
-    $017-PtNairob.tx_rollup_id:
-      /* A tx rollup handle
-         A tx rollup notation as given to an RPC or inside scripts, is a base58
-         tx rollup hash */
-      $unistring
-    $Blinded public key hash:
-      /* A blinded public key hash (Base58Check-encoded) */
-      $unistring
-    $Chain_id:
-      /* Network identifier (Base58Check-encoded) */
-      $unistring
-    $Context_hash:
-      /* A hash of context (Base58Check-encoded) */
-      $unistring
-    $DAL_commitment:
-      /* Commitment representation for the DAL (Base58Check-encoded) */
-      $unistring
-    $Ed25519.Public_key_hash:
-      /* An Ed25519 public key hash (Base58Check-encoded) */
-      $unistring
-    $Operation_hash:
-      /* A Tezos operation ID (Base58Check-encoded) */
-      $unistring
-    $Operation_list_list_hash:
-      /* A list of list of operations (Base58Check-encoded) */
-      $unistring
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key:
-      /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
-      $unistring
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $Signature.V1:
-      /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_commitment_hash:
-      /* The hash of a commitment of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_hash:
-      /* A smart rollup address (Base58Check-encoded) */
-      $unistring
-    $Smart_rollup_state_hash:
-      /* The hash of the VM state of a smart rollup (Base58Check-encoded) */
-      $unistring
-    $Zk_rollup_hash:
-      /* A zk rollup address (Base58Check-encoded) */
-      $unistring
-    $bignum:
-      /* Big number
-         Decimal representation of a big number */
-      string
-    $block_hash:
-      /* A block identifier (Base58Check-encoded) */
-      $unistring
-    $cycle_nonce:
-      /* A nonce hash (Base58Check-encoded) */
-      $unistring
-    $fitness:
-      /* Block fitness
-         The fitness, or score, of a block, that allow the Tezos to decide
-         which chain is the best. A fitness value is a list of byte sequences.
-         They are compared as follows: shortest lists are smaller; lists of the
-         same length are compared according to the lexicographical order. */
-      [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $micheline.017-PtNairob.michelson_v1.expression:
-      { /* Int */
-        "int": $bignum }
-      || { /* String */
-           "string": $unistring }
-      || { /* Bytes */
-           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-      || [ $micheline.017-PtNairob.michelson_v1.expression ... ]
-      /* Sequence */
-      || { /* Prim__generic
-              Generic primitive (any number of args with or without
-              annotations) */
-           "prim": $017-PtNairob.michelson.v1.primitives,
-           "args"?: [ $micheline.017-PtNairob.michelson_v1.expression ... ],
-           "annots"?: [ $unistring ... ] }
-    $positive_bignum:
-      /* Positive big number
-         Decimal representation of a positive big number */
-      string
-    $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.ciphertext:
-      { "cv": $sapling.transaction.commitment_value,
-        "epk": $sapling.DH.epk,
-        "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
-        "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
-    $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
-    $script_expr:
-      /* A script expression ID (Base58Check-encoded) */
-      $unistring
-    $timestamp.protocol:
-      /* A timestamp as seen by the protocol: second-level precision, epoch
-         based. */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-    $value_hash:
-      /* Hash of a consensus value (Base58Check-encoded) */
-      $unistring
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | chain_id              | 4 bytes  | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | hash                  | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | branch                | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | $X_3193                 |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    N.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | N.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_2
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_3
-    ***
-    
-    +-----------------------+----------+-------------------------------------+
-    | Name                  | Size     | Contents                            |
-    +=======================+==========+=====================================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer             |
-    +-----------------------+----------+-------------------------------------+
-    | new_state             | Variable | sequence of bytes                   |
-    +-----------------------+----------+-------------------------------------+
-    | fee                   | 32 bytes | bytes                               |
-    +-----------------------+----------+-------------------------------------+
-    | exit_validity         | 1 byte   | boolean (0 for false, 255 for true) |
-    +-----------------------+----------+-------------------------------------+
-    
-    
-    X_1
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_3     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_6
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | new_state             | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    | fee                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_4
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_6     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_7
-    ***
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of bytes       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | pending_pis           | Variable             | sequence of $X_1        |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | private_pis           | Variable             | sequence of $X_4        |
-    +-----------------------+----------------------+-------------------------+
-    | fee_pi                | Determined from data | $X_7                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | proof                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Z.t
-    ***
-    
-    A variable-length sequence of bytes encoding a Zarith integer. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.
-    
-    +------+----------------------+----------+
-    | Name | Size                 | Contents |
-    +======+======================+==========+
-    | Z.t  | Determined from data | bytes    |
-    +------+----------------------+----------+
-    
-    
-    X_10
-    ****
-    
-    +--------+----------------------+----------+
-    | Name   | Size                 | Contents |
-    +========+======================+==========+
-    | id     | 32 bytes             | bytes    |
-    +--------+----------------------+----------+
-    | amount | Determined from data | $Z.t     |
-    +--------+----------------------+----------+
-    
-    
-    X_9
-    ***
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | op_code               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | price                 | Determined from data | $X_10                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | l1_dst                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | rollup_id             | 20 bytes             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | payload               | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    017-PtNairob.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
-    ***************************************************************************
-    
-    +-------------+--------------------------------+
-    | Case number | Encoded string                 |
-    +=============+================================+
-    | 0           | parameter                      |
-    +-------------+--------------------------------+
-    | 1           | storage                        |
-    +-------------+--------------------------------+
-    | 2           | code                           |
-    +-------------+--------------------------------+
-    | 3           | False                          |
-    +-------------+--------------------------------+
-    | 4           | Elt                            |
-    +-------------+--------------------------------+
-    | 5           | Left                           |
-    +-------------+--------------------------------+
-    | 6           | None                           |
-    +-------------+--------------------------------+
-    | 7           | Pair                           |
-    +-------------+--------------------------------+
-    | 8           | Right                          |
-    +-------------+--------------------------------+
-    | 9           | Some                           |
-    +-------------+--------------------------------+
-    | 10          | True                           |
-    +-------------+--------------------------------+
-    | 11          | Unit                           |
-    +-------------+--------------------------------+
-    | 12          | PACK                           |
-    +-------------+--------------------------------+
-    | 13          | UNPACK                         |
-    +-------------+--------------------------------+
-    | 14          | BLAKE2B                        |
-    +-------------+--------------------------------+
-    | 15          | SHA256                         |
-    +-------------+--------------------------------+
-    | 16          | SHA512                         |
-    +-------------+--------------------------------+
-    | 17          | ABS                            |
-    +-------------+--------------------------------+
-    | 18          | ADD                            |
-    +-------------+--------------------------------+
-    | 19          | AMOUNT                         |
-    +-------------+--------------------------------+
-    | 20          | AND                            |
-    +-------------+--------------------------------+
-    | 21          | BALANCE                        |
-    +-------------+--------------------------------+
-    | 22          | CAR                            |
-    +-------------+--------------------------------+
-    | 23          | CDR                            |
-    +-------------+--------------------------------+
-    | 24          | CHECK_SIGNATURE                |
-    +-------------+--------------------------------+
-    | 25          | COMPARE                        |
-    +-------------+--------------------------------+
-    | 26          | CONCAT                         |
-    +-------------+--------------------------------+
-    | 27          | CONS                           |
-    +-------------+--------------------------------+
-    | 28          | CREATE_ACCOUNT                 |
-    +-------------+--------------------------------+
-    | 29          | CREATE_CONTRACT                |
-    +-------------+--------------------------------+
-    | 30          | IMPLICIT_ACCOUNT               |
-    +-------------+--------------------------------+
-    | 31          | DIP                            |
-    +-------------+--------------------------------+
-    | 32          | DROP                           |
-    +-------------+--------------------------------+
-    | 33          | DUP                            |
-    +-------------+--------------------------------+
-    | 34          | EDIV                           |
-    +-------------+--------------------------------+
-    | 35          | EMPTY_MAP                      |
-    +-------------+--------------------------------+
-    | 36          | EMPTY_SET                      |
-    +-------------+--------------------------------+
-    | 37          | EQ                             |
-    +-------------+--------------------------------+
-    | 38          | EXEC                           |
-    +-------------+--------------------------------+
-    | 39          | FAILWITH                       |
-    +-------------+--------------------------------+
-    | 40          | GE                             |
-    +-------------+--------------------------------+
-    | 41          | GET                            |
-    +-------------+--------------------------------+
-    | 42          | GT                             |
-    +-------------+--------------------------------+
-    | 43          | HASH_KEY                       |
-    +-------------+--------------------------------+
-    | 44          | IF                             |
-    +-------------+--------------------------------+
-    | 45          | IF_CONS                        |
-    +-------------+--------------------------------+
-    | 46          | IF_LEFT                        |
-    +-------------+--------------------------------+
-    | 47          | IF_NONE                        |
-    +-------------+--------------------------------+
-    | 48          | INT                            |
-    +-------------+--------------------------------+
-    | 49          | LAMBDA                         |
-    +-------------+--------------------------------+
-    | 50          | LE                             |
-    +-------------+--------------------------------+
-    | 51          | LEFT                           |
-    +-------------+--------------------------------+
-    | 52          | LOOP                           |
-    +-------------+--------------------------------+
-    | 53          | LSL                            |
-    +-------------+--------------------------------+
-    | 54          | LSR                            |
-    +-------------+--------------------------------+
-    | 55          | LT                             |
-    +-------------+--------------------------------+
-    | 56          | MAP                            |
-    +-------------+--------------------------------+
-    | 57          | MEM                            |
-    +-------------+--------------------------------+
-    | 58          | MUL                            |
-    +-------------+--------------------------------+
-    | 59          | NEG                            |
-    +-------------+--------------------------------+
-    | 60          | NEQ                            |
-    +-------------+--------------------------------+
-    | 61          | NIL                            |
-    +-------------+--------------------------------+
-    | 62          | NONE                           |
-    +-------------+--------------------------------+
-    | 63          | NOT                            |
-    +-------------+--------------------------------+
-    | 64          | NOW                            |
-    +-------------+--------------------------------+
-    | 65          | OR                             |
-    +-------------+--------------------------------+
-    | 66          | PAIR                           |
-    +-------------+--------------------------------+
-    | 67          | PUSH                           |
-    +-------------+--------------------------------+
-    | 68          | RIGHT                          |
-    +-------------+--------------------------------+
-    | 69          | SIZE                           |
-    +-------------+--------------------------------+
-    | 70          | SOME                           |
-    +-------------+--------------------------------+
-    | 71          | SOURCE                         |
-    +-------------+--------------------------------+
-    | 72          | SENDER                         |
-    +-------------+--------------------------------+
-    | 73          | SELF                           |
-    +-------------+--------------------------------+
-    | 74          | STEPS_TO_QUOTA                 |
-    +-------------+--------------------------------+
-    | 75          | SUB                            |
-    +-------------+--------------------------------+
-    | 76          | SWAP                           |
-    +-------------+--------------------------------+
-    | 77          | TRANSFER_TOKENS                |
-    +-------------+--------------------------------+
-    | 78          | SET_DELEGATE                   |
-    +-------------+--------------------------------+
-    | 79          | UNIT                           |
-    +-------------+--------------------------------+
-    | 80          | UPDATE                         |
-    +-------------+--------------------------------+
-    | 81          | XOR                            |
-    +-------------+--------------------------------+
-    | 82          | ITER                           |
-    +-------------+--------------------------------+
-    | 83          | LOOP_LEFT                      |
-    +-------------+--------------------------------+
-    | 84          | ADDRESS                        |
-    +-------------+--------------------------------+
-    | 85          | CONTRACT                       |
-    +-------------+--------------------------------+
-    | 86          | ISNAT                          |
-    +-------------+--------------------------------+
-    | 87          | CAST                           |
-    +-------------+--------------------------------+
-    | 88          | RENAME                         |
-    +-------------+--------------------------------+
-    | 89          | bool                           |
-    +-------------+--------------------------------+
-    | 90          | contract                       |
-    +-------------+--------------------------------+
-    | 91          | int                            |
-    +-------------+--------------------------------+
-    | 92          | key                            |
-    +-------------+--------------------------------+
-    | 93          | key_hash                       |
-    +-------------+--------------------------------+
-    | 94          | lambda                         |
-    +-------------+--------------------------------+
-    | 95          | list                           |
-    +-------------+--------------------------------+
-    | 96          | map                            |
-    +-------------+--------------------------------+
-    | 97          | big_map                        |
-    +-------------+--------------------------------+
-    | 98          | nat                            |
-    +-------------+--------------------------------+
-    | 99          | option                         |
-    +-------------+--------------------------------+
-    | 100         | or                             |
-    +-------------+--------------------------------+
-    | 101         | pair                           |
-    +-------------+--------------------------------+
-    | 102         | set                            |
-    +-------------+--------------------------------+
-    | 103         | signature                      |
-    +-------------+--------------------------------+
-    | 104         | string                         |
-    +-------------+--------------------------------+
-    | 105         | bytes                          |
-    +-------------+--------------------------------+
-    | 106         | mutez                          |
-    +-------------+--------------------------------+
-    | 107         | timestamp                      |
-    +-------------+--------------------------------+
-    | 108         | unit                           |
-    +-------------+--------------------------------+
-    | 109         | operation                      |
-    +-------------+--------------------------------+
-    | 110         | address                        |
-    +-------------+--------------------------------+
-    | 111         | SLICE                          |
-    +-------------+--------------------------------+
-    | 112         | DIG                            |
-    +-------------+--------------------------------+
-    | 113         | DUG                            |
-    +-------------+--------------------------------+
-    | 114         | EMPTY_BIG_MAP                  |
-    +-------------+--------------------------------+
-    | 115         | APPLY                          |
-    +-------------+--------------------------------+
-    | 116         | chain_id                       |
-    +-------------+--------------------------------+
-    | 117         | CHAIN_ID                       |
-    +-------------+--------------------------------+
-    | 118         | LEVEL                          |
-    +-------------+--------------------------------+
-    | 119         | SELF_ADDRESS                   |
-    +-------------+--------------------------------+
-    | 120         | never                          |
-    +-------------+--------------------------------+
-    | 121         | NEVER                          |
-    +-------------+--------------------------------+
-    | 122         | UNPAIR                         |
-    +-------------+--------------------------------+
-    | 123         | VOTING_POWER                   |
-    +-------------+--------------------------------+
-    | 124         | TOTAL_VOTING_POWER             |
-    +-------------+--------------------------------+
-    | 125         | KECCAK                         |
-    +-------------+--------------------------------+
-    | 126         | SHA3                           |
-    +-------------+--------------------------------+
-    | 127         | PAIRING_CHECK                  |
-    +-------------+--------------------------------+
-    | 128         | bls12_381_g1                   |
-    +-------------+--------------------------------+
-    | 129         | bls12_381_g2                   |
-    +-------------+--------------------------------+
-    | 130         | bls12_381_fr                   |
-    +-------------+--------------------------------+
-    | 131         | sapling_state                  |
-    +-------------+--------------------------------+
-    | 132         | sapling_transaction_deprecated |
-    +-------------+--------------------------------+
-    | 133         | SAPLING_EMPTY_STATE            |
-    +-------------+--------------------------------+
-    | 134         | SAPLING_VERIFY_UPDATE          |
-    +-------------+--------------------------------+
-    | 135         | ticket                         |
-    +-------------+--------------------------------+
-    | 136         | TICKET_DEPRECATED              |
-    +-------------+--------------------------------+
-    | 137         | READ_TICKET                    |
-    +-------------+--------------------------------+
-    | 138         | SPLIT_TICKET                   |
-    +-------------+--------------------------------+
-    | 139         | JOIN_TICKETS                   |
-    +-------------+--------------------------------+
-    | 140         | GET_AND_UPDATE                 |
-    +-------------+--------------------------------+
-    | 141         | chest                          |
-    +-------------+--------------------------------+
-    | 142         | chest_key                      |
-    +-------------+--------------------------------+
-    | 143         | OPEN_CHEST                     |
-    +-------------+--------------------------------+
-    | 144         | VIEW                           |
-    +-------------+--------------------------------+
-    | 145         | view                           |
-    +-------------+--------------------------------+
-    | 146         | constant                       |
-    +-------------+--------------------------------+
-    | 147         | SUB_MUTEZ                      |
-    +-------------+--------------------------------+
-    | 148         | tx_rollup_l2_address           |
-    +-------------+--------------------------------+
-    | 149         | MIN_BLOCK_TIME                 |
-    +-------------+--------------------------------+
-    | 150         | sapling_transaction            |
-    +-------------+--------------------------------+
-    | 151         | EMIT                           |
-    +-------------+--------------------------------+
-    | 152         | Lambda_rec                     |
-    +-------------+--------------------------------+
-    | 153         | LAMBDA_REC                     |
-    +-------------+--------------------------------+
-    | 154         | TICKET                         |
-    +-------------+--------------------------------+
-    | 155         | BYTES                          |
-    +-------------+--------------------------------+
-    | 156         | NAT                            |
-    +-------------+--------------------------------+
-    
-    
-    micheline.017-PtNairob.michelson_v1.expression (Determined from data, 8-bit tag)
-    ********************************************************************************
-    
-    Int (tag 0)
-    ===========
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | int  | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    
-    
-    String (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | string                | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Sequence (tag 2)
-    ================
-    
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                    |
-    +=======================+==========+=============================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
-    +-----------------------+----------+-------------------------------------------------------------+
-    | Unnamed field 0       | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------+-------------------------------------------------------------+
-    
-    
-    Prim__no_args__no_annots (tag 3)
-    ================================
-    
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | Name | Size   | Contents                                                                                  |
-    +======+========+===========================================================================================+
-    | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+--------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__no_args__some_annots (tag 4)
-    ==================================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__no_annots (tag 5)
-    ==============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__1_arg__some_annots (tag 6)
-    ================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg                   | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__no_annots (tag 7)
-    ===============================
-    
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name | Size                 | Contents                                                                                  |
-    +======+======================+===========================================================================================+
-    | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2 | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__2_args__some_annots (tag 8)
-    =================================
-    
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                                                  |
-    +=======================+======================+===========================================================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg1                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | arg2                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression                                           |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable             | bytes                                                                                     |
-    +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
-    
-    
-    Prim__generic (tag 9)
-    =====================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                                  |
-    +=======================+==========+===========================================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 017-PtNairob.michelson.v1.primitives) |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | args                  | Variable | sequence of $micheline.017-PtNairob.michelson_v1.expression                               |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    | annots                | Variable | bytes                                                                                     |
-    +-----------------------+----------+-------------------------------------------------------------------------------------------+
-    
-    
-    Bytes (tag 10)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | bytes                 | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.contract_id (22 bytes, 8-bit tag)
-    **********************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    X_13 (Determined from data, 8-bit tag)
-    **************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +----------+----------------------+-------------------------------------------------+
-    | Name     | Size                 | Contents                                        |
-    +==========+======================+=================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                          |
-    +----------+----------------------+-------------------------------------------------+
-    | contents | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ty       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +----------+----------------------+-------------------------------------------------+
-    | ticketer | 22 bytes             | $017-PtNairob.contract_id                       |
-    +----------+----------------------+-------------------------------------------------+
-    
-    
-    X_8
-    ***
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_9     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | Determined from data | $X_13    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_16 (1 byte, 8-bit tag)
-    ************************
-    
-    Public (tag 0)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Private (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Fee (tag 2)
-    ===========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_14
-    ****
-    
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_2     |
-    +-----------------+----------------------+----------+
-    | Unnamed field 1 | 1 byte               | $X_16    |
-    +-----------------+----------------------+----------+
-    
-    
-    X_17
-    ****
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | published_level  | 4 bytes  | signed 32-bit integer  |
-    +------------------+----------+------------------------+
-    | slot_index       | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | commitment       | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    | commitment_proof | 48 bytes | bytes                  |
-    +------------------+----------+------------------------+
-    
-    
-    X_18
-    ****
-    
-    +-------+----------+------------------+
-    | Name  | Size     | Contents         |
-    +=======+==========+==================+
-    | alice | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    | bob   | 21 bytes | $public_key_hash |
-    +-------+----------+------------------+
-    
-    
-    X_19
-    ****
-    
-    +-----------------+---------+------------------------+
-    | Name            | Size    | Contents               |
-    +=================+=========+========================+
-    | published_level | 4 bytes | signed 32-bit integer  |
-    +-----------------+---------+------------------------+
-    | slot_index      | 1 byte  | unsigned 8-bit integer |
-    +-----------------+---------+------------------------+
-    | page_index      | 2 bytes | signed 16-bit integer  |
-    +-----------------+---------+------------------------+
-    
-    
-    X_20 (Determined from data, 8-bit tag)
-    **************************************
-    
-    raw data proof (tag 0)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
-    +-----------------------+----------+-------------------------+
-    | raw_data              | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    metadata proof (tag 1)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    dal page proof (tag 2)
-    ======================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | dal_page_id           | 7 bytes  | $X_19                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | dal_proof             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_21 (Determined from data, 8-bit tag)
-    **************************************
-    
-    inbox proof (tag 0)
-    ===================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | level                 | 4 bytes              | signed 32-bit integer   |
-    +-----------------------+----------------------+-------------------------+
-    | message_counter       | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | serialized_proof      | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    reveal proof (tag 1)
-    ====================
-    
-    +--------------+----------------------+------------------------+
-    | Name         | Size                 | Contents               |
-    +==============+======================+========================+
-    | Tag          | 1 byte               | unsigned 8-bit integer |
-    +--------------+----------------------+------------------------+
-    | reveal_proof | Determined from data | $X_20                  |
-    +--------------+----------------------+------------------------+
-    
-    
-    first input (tag 2)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_22
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | ? presence of field "state" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | state                       | 32 bytes             | bytes                               |
-    +-----------------------------+----------------------+-------------------------------------+
-    | tick                        | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    X_23 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Dissection (tag 0)
-    ==================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_22       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Proof (tag 1)
-    =============
-    
-    +-----------------------------------+----------------------+-------------------------------------+
-    | Name                              | Size                 | Contents                            |
-    +===================================+======================+=====================================+
-    | Tag                               | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field             | 4 bytes              | unsigned 30-bit integer             |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | pvm_step                          | Variable             | bytes                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "input_proof" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------------+----------------------+-------------------------------------+
-    | input_proof                       | Determined from data | $X_21                               |
-    +-----------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_24 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Start (tag 0)
-    =============
-    
-    +--------------------------+----------+------------------------+
-    | Name                     | Size     | Contents               |
-    +==========================+==========+========================+
-    | Tag                      | 1 byte   | unsigned 8-bit integer |
-    +--------------------------+----------+------------------------+
-    | player_commitment_hash   | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    | opponent_commitment_hash | 32 bytes | bytes                  |
-    +--------------------------+----------+------------------------+
-    
-    
-    Move (tag 1)
-    ============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | choice | Determined from data | $N.t                   |
-    +--------+----------------------+------------------------+
-    | step   | Determined from data | $X_23                  |
-    +--------+----------------------+------------------------+
-    
-    
-    X_25
-    ****
-    
-    +------------------+----------+-----------------------+
-    | Name             | Size     | Contents              |
-    +==================+==========+=======================+
-    | compressed_state | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | inbox_level      | 4 bytes  | signed 32-bit integer |
-    +------------------+----------+-----------------------+
-    | predecessor      | 32 bytes | bytes                 |
-    +------------------+----------+-----------------------+
-    | number_of_ticks  | 8 bytes  | signed 64-bit integer |
-    +------------------+----------+-----------------------+
-    
-    
-    X_27 (Enumeration: unsigned 8-bit integer):
-    *******************************************
-    
-    +-------------+----------------+
-    | Case number | Encoded string |
-    +=============+================+
-    | 0           | arith          |
-    +-------------+----------------+
-    | 1           | wasm_2_0_0     |
-    +-------------+----------------+
-    
-    
-    public_key (Determined from data, 8-bit tag)
-    ********************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +--------------------+----------+------------------------+
-    | Name               | Size     | Contents               |
-    +====================+==========+========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer |
-    +--------------------+----------+------------------------+
-    | Ed25519.Public_key | 32 bytes | bytes                  |
-    +--------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Secp256k1.Public_key | 33 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | P256.Public_key | 33 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | Bls12_381.Public_key | 48 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    017-PtNairob.contract_id.originated (22 bytes, 8-bit tag)
-    *********************************************************
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    017-PtNairob.scripted.contracts
-    *******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | code                  | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | storage               | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.entrypoint (Determined from data, 8-bit tag)
-    *********************************************************
-    
-    default (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    root (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    do (tag 2)
-    ==========
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    set_delegate (tag 3)
-    ====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    remove_delegate (tag 4)
-    =======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    deposit (tag 5)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    named (tag 255)
-    ===============
-    
-    +-----------------------+----------+------------------------+
-    | Name                  | Size     | Contents               |
-    +=======================+==========+========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | # bytes in next field | 1 byte   | unsigned 8-bit integer |
-    +-----------------------+----------+------------------------+
-    | Unnamed field 0       | Variable | bytes                  |
-    +-----------------------+----------+------------------------+
-    
-    
-    X_28
-    ****
-    
-    +-----------------------+----------------------+--------------------------+
-    | Name                  | Size                 | Contents                 |
-    +=======================+======================+==========================+
-    | entrypoint            | Determined from data | $017-PtNairob.entrypoint |
-    +-----------------------+----------------------+--------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
-    +-----------------------+----------------------+--------------------------+
-    | value                 | Variable             | bytes                    |
-    +-----------------------+----------------------+--------------------------+
-    
-    
-    X_29
-    ****
-    
-    +-----------------+-----------+----------+
-    | Name            | Size      | Contents |
-    +=================+===========+==========+
-    | Unnamed field 0 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    | Unnamed field 1 | 100 bytes | bytes    |
-    +-----------------+-----------+----------+
-    
-    
-    017-PtNairob.inlined.preendorsement.contents (43 bytes, 8-bit tag)
-    ******************************************************************
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.preendorsement
-    ***********************************
-    
-    +------------+----------+-----------------------------------------------+
-    | Name       | Size     | Contents                                      |
-    +============+==========+===============================================+
-    | branch     | 32 bytes | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.preendorsement.contents |
-    +------------+----------+-----------------------------------------------+
-    | signature  | Variable | bytes                                         |
-    +------------+----------+-----------------------------------------------+
-    
-    
-    fitness.elem
-    ************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.block_header.alpha.full_header
-    *******************************************
-    
-    +---------------------------------------+----------+-------------------------------------+
-    | Name                                  | Size     | Contents                            |
-    +=======================================+==========+=====================================+
-    | level                                 | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proto                                 | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | predecessor                           | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | timestamp                             | 8 bytes  | signed 64-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
-    +---------------------------------------+----------+-------------------------------------+
-    | operations_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
-    +---------------------------------------+----------+-------------------------------------+
-    | fitness                               | Variable | sequence of $fitness.elem           |
-    +---------------------------------------+----------+-------------------------------------+
-    | context                               | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_hash                          | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | payload_round                         | 4 bytes  | signed 32-bit integer               |
-    +---------------------------------------+----------+-------------------------------------+
-    | proof_of_work_nonce                   | 8 bytes  | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------------------------------+----------+-------------------------------------+
-    | seed_nonce_hash                       | 32 bytes | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
-    +---------------------------------------+----------+-------------------------------------+
-    | signature                             | Variable | bytes                               |
-    +---------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
-    ***********************************************************************
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.inlined.endorsement
-    ********************************
-    
-    +------------+----------+----------------------------------------------------+
-    | Name       | Size     | Contents                                           |
-    +============+==========+====================================================+
-    | branch     | 32 bytes | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    | operations | 43 bytes | $017-PtNairob.inlined.endorsement_mempool.contents |
-    +------------+----------+----------------------------------------------------+
-    | signature  | Variable | bytes                                              |
-    +------------+----------+----------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents (Determined from data, 8-bit tag)
-    ***********************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_29                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_28                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_27) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_24                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_17                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_14                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_8        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_0                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    017-PtNairob.bond_id (21 bytes, 8-bit tag)
-    ******************************************
-    
-    Tx_rollup_bond_id (tag 0)
-    =========================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | tx_rollup | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Smart_rollup_bond_id (tag 1)
-    ============================
-    
-    +--------------+----------+------------------------+
-    | Name         | Size     | Contents               |
-    +==============+==========+========================+
-    | Tag          | 1 byte   | unsigned 8-bit integer |
-    +--------------+----------+------------------------+
-    | smart_rollup | 20 bytes | bytes                  |
-    +--------------+----------+------------------------+
-    
-    
-    X_40 (Determined from data, 8-bit tag)
-    **************************************
-    
-    Contract (tag 0)
-    ================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    
-    
-    Block_fees (tag 2)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Deposits (tag 4)
-    ================
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | delegate | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    
-    
-    Nonce_revelation_rewards (tag 5)
-    ================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_evidence_rewards (tag 6)
-    =======================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Endorsing_rewards (tag 7)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_rewards (tag 8)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Baking_bonuses (tag 9)
-    ======================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Storage_fees (tag 11)
-    =====================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Double_signing_punishments (tag 12)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Lost_endorsing_rewards (tag 13)
-    ===============================
-    
-    +---------------+----------+-------------------------------------+
-    | Name          | Size     | Contents                            |
-    +===============+==========+=====================================+
-    | Tag           | 1 byte   | unsigned 8-bit integer              |
-    +---------------+----------+-------------------------------------+
-    | delegate      | 21 bytes | $public_key_hash                    |
-    +---------------+----------+-------------------------------------+
-    | participation | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    | revelation    | 1 byte   | boolean (0 for false, 255 for true) |
-    +---------------+----------+-------------------------------------+
-    
-    
-    Liquidity_baking_subsidies (tag 14)
-    ===================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Burned (tag 15)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Commitments (tag 16)
-    ====================
-    
-    +-----------+----------+------------------------+
-    | Name      | Size     | Contents               |
-    +===========+==========+========================+
-    | Tag       | 1 byte   | unsigned 8-bit integer |
-    +-----------+----------+------------------------+
-    | committer | 20 bytes | bytes                  |
-    +-----------+----------+------------------------+
-    
-    
-    Bootstrap (tag 17)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Invoice (tag 18)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Initial_commitments (tag 19)
-    ============================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Minted (tag 20)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Frozen_bonds (tag 21)
-    =====================
-    
-    +----------+----------+---------------------------+
-    | Name     | Size     | Contents                  |
-    +==========+==========+===========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer    |
-    +----------+----------+---------------------------+
-    | contract | 22 bytes | $017-PtNairob.contract_id |
-    +----------+----------+---------------------------+
-    | bond_id  | 21 bytes | $017-PtNairob.bond_id     |
-    +----------+----------+---------------------------+
-    
-    
-    Tx_rollup_rejection_rewards (tag 22)
-    ====================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Tx_rollup_rejection_punishments (tag 23)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_punishments (tag 24)
-    ============================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Smart_rollup_refutation_rewards (tag 25)
-    ========================================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_41 (1 byte, 8-bit tag)
-    ************************
-    
-    Block_application (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Protocol_migration (tag 1)
-    ==========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Subsidy (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Simulation (tag 3)
-    ==================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_39
-    ****
-    
-    +-----------------+----------------------+-----------------------+
-    | Name            | Size                 | Contents              |
-    +=================+======================+=======================+
-    | Unnamed field 0 | Determined from data | $X_40                 |
-    +-----------------+----------------------+-----------------------+
-    | change          | 8 bytes              | signed 64-bit integer |
-    +-----------------+----------------------+-----------------------+
-    | origin          | 1 byte               | $X_41                 |
-    +-----------------+----------------------+-----------------------+
-    
-    
-    X_42
-    ****
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag)
-    ************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.transaction_destination (22 bytes, 8-bit tag)
-    **********************************************************
-    
-    Implicit (tag 0)
-    ================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
-    +---------------------------+----------+------------------------+
-    
-    
-    Originated (tag 1)
-    ==================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Contract_hash | 20 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    | padding       | 1 byte   | padding                |
-    +---------------+----------+------------------------+
-    
-    
-    Tx_rollup (tag 2)
-    =================
-    
-    +-------------+----------+------------------------+
-    | Name        | Size     | Contents               |
-    +=============+==========+========================+
-    | Tag         | 1 byte   | unsigned 8-bit integer |
-    +-------------+----------+------------------------+
-    | Rollup_hash | 20 bytes | bytes                  |
-    +-------------+----------+------------------------+
-    | padding     | 1 byte   | padding                |
-    +-------------+----------+------------------------+
-    
-    
-    Smart_rollup (tag 3)
-    ====================
-    
-    +-------------------+----------+------------------------+
-    | Name              | Size     | Contents               |
-    +===================+==========+========================+
-    | Tag               | 1 byte   | unsigned 8-bit integer |
-    +-------------------+----------+------------------------+
-    | Smart_rollup_hash | 20 bytes | bytes                  |
-    +-------------------+----------+------------------------+
-    | padding           | 1 byte   | padding                |
-    +-------------------+----------+------------------------+
-    
-    
-    Zk_rollup (tag 4)
-    =================
-    
-    +----------------+----------+------------------------+
-    | Name           | Size     | Contents               |
-    +================+==========+========================+
-    | Tag            | 1 byte   | unsigned 8-bit integer |
-    +----------------+----------+------------------------+
-    | Zk_rollup_hash | 20 bytes | bytes                  |
-    +----------------+----------+------------------------+
-    | padding        | 1 byte   | padding                |
-    +----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag)
-    **********************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    sapling.transaction.ciphertext
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | cv                    | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | epk                   | 32 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | payload_enc           | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_enc             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | payload_out           | 80 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    | nonce_out             | 24 bytes | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_58
-    ****
-    
-    +-----------------+----------------------+---------------------------------+
-    | Name            | Size                 | Contents                        |
-    +=================+======================+=================================+
-    | Unnamed field 0 | 32 bytes             | bytes                           |
-    +-----------------+----------------------+---------------------------------+
-    | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
-    +-----------------+----------------------+---------------------------------+
-    
-    
-    X_57
-    ****
-    
-    +-----------------------------+----------+-------------------------+
-    | Name                        | Size     | Contents                |
-    +=============================+==========+=========================+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | commitments_and_ciphertexts | Variable | sequence of $X_58       |
-    +-----------------------------+----------+-------------------------+
-    | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------------+----------+-------------------------+
-    | nullifiers                  | Variable | sequence of bytes       |
-    +-----------------------------+----------+-------------------------+
-    
-    
-    X_63 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_57                  |
-    +---------+----------------------+------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +---------+----------------------+------------------------+
-    | Name    | Size                 | Contents               |
-    +=========+======================+========================+
-    | Tag     | 1 byte               | unsigned 8-bit integer |
-    +---------+----------------------+------------------------+
-    | source  | Determined from data | $Z.t                   |
-    +---------+----------------------+------------------------+
-    | updates | Determined from data | $X_57                  |
-    +---------+----------------------+------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------+----------------------+-------------------------+
-    | Name      | Size                 | Contents                |
-    +===========+======================+=========================+
-    | Tag       | 1 byte               | unsigned 8-bit integer  |
-    +-----------+----------------------+-------------------------+
-    | updates   | Determined from data | $X_57                   |
-    +-----------+----------------------+-------------------------+
-    | memo_size | 2 bytes              | unsigned 16-bit integer |
-    +-----------+----------------------+-------------------------+
-    
-    
-    X_64
-    ****
-    
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | Name                        | Size                 | Contents                                        |
-    +=============================+======================+=================================================+
-    | key_hash                    | 32 bytes             | bytes                                           |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | key                         | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | ? presence of field "value" | 1 byte               | boolean (0 for false, 255 for true)             |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    | value                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_75 (Determined from data, 8-bit tag)
-    **************************************
-    
-    update (tag 0)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | updates               | Variable | sequence of $X_64       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    remove (tag 1)
-    ==============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    copy (tag 2)
-    ============
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | Determined from data | $Z.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_64       |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    alloc (tag 3)
-    =============
-    
-    +-----------------------+----------------------+-------------------------------------------------+
-    | Name                  | Size                 | Contents                                        |
-    +=======================+======================+=================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                          |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                         |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | updates               | Variable             | sequence of $X_64                               |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | key_type              | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    | value_type            | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +-----------------------+----------------------+-------------------------------------------------+
-    
-    
-    X_76 (Determined from data, 8-bit tag)
-    **************************************
-    
-    big_map (tag 0)
-    ===============
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_75                  |
-    +------+----------------------+------------------------+
-    
-    
-    sapling_state (tag 1)
-    =====================
-    
-    +------+----------------------+------------------------+
-    | Name | Size                 | Contents               |
-    +======+======================+========================+
-    | Tag  | 1 byte               | unsigned 8-bit integer |
-    +------+----------------------+------------------------+
-    | id   | Determined from data | $Z.t                   |
-    +------+----------------------+------------------------+
-    | diff | Determined from data | $X_63                  |
-    +------+----------------------+------------------------+
-    
-    
-    017-PtNairob.lazy_storage_diff
-    ******************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_76       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.origination (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                                            |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    X_103
-    *****
-    
-    +--------------+----------------------+-------------------------------------------------+
-    | Name         | Size                 | Contents                                        |
-    +==============+======================+=================================================+
-    | ticketer     | 22 bytes             | $017-PtNairob.contract_id                       |
-    +--------------+----------------------+-------------------------------------------------+
-    | content_type | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    | content      | Determined from data | $micheline.017-PtNairob.michelson_v1.expression |
-    +--------------+----------------------+-------------------------------------------------+
-    
-    
-    X_106
-    *****
-    
-    +---------+----------------------+---------------------------------------+
-    | Name    | Size                 | Contents                              |
-    +=========+======================+=======================================+
-    | account | 22 bytes             | $017-PtNairob.transaction_destination |
-    +---------+----------------------+---------------------------------------+
-    | amount  | Determined from data | $Z.t                                  |
-    +---------+----------------------+---------------------------------------+
-    
-    
-    X_102
-    *****
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | ticket_token          | Determined from data | $X_103                  |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | updates               | Variable             | sequence of $X_106      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    X_139 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_receipt                                                           | Variable             | sequence of $X_102                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_receipt        | Variable             | sequence of $X_102      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.internal_operation_result.transaction (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_139                 |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_139                              |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    017-PtNairob.apply_internal_results.alpha.operation_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    transaction (tag 1)
-    ===================
-    
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                             | Size                 | Contents                                                            |
-    +==================================+======================+=====================================================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer                                              |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                           | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                            | 2 bytes              | unsigned 16-bit integer                                             |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | amount                           | Determined from data | $N.t                                                                |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | parameters                       | Determined from data | $X_28                                                               |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                           | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.transaction |
-    +----------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    origination (tag 2)
-    ===================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                            |
-    +================================+======================+=====================================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                               |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                             |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | balance                        | Determined from data | $N.t                                                                |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                                 |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts                                    |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination |
-    +--------------------------------+----------------------+---------------------------------------------------------------------+
-    
-    
-    delegation (tag 3)
-    ==================
-    
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                           | Size                 | Contents                                                      |
-    +================================+======================+===============================================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer                                        |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | source                         | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                          | 2 bytes              | unsigned 16-bit integer                                       |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                                              |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    | result                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +--------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    event (tag 4)
-    =============
-    
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | Name                          | Size                 | Contents                                                      |
-    +===============================+======================+===============================================================+
-    | Tag                           | 1 byte               | unsigned 8-bit integer                                        |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | source                        | 22 bytes             | $017-PtNairob.transaction_destination                         |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | nonce                         | 2 bytes              | unsigned 16-bit integer                                       |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | type                          | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "tag"     | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | tag                           | Determined from data | $017-PtNairob.entrypoint                                      |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | ? presence of field "payload" | 1 byte               | boolean (0 for false, 255 for true)                           |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | payload                       | Determined from data | $micheline.017-PtNairob.michelson_v1.expression               |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    | result                        | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event |
-    +-------------------------------+----------------------+---------------------------------------------------------------+
-    
-    
-    X_38
-    ****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_update         |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag)
-    *************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_184
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_publish        |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag)
-    *****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | originated_zk_rollup                                                     | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_327
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.zk_rollup_origination    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_473
-    *****
-    
-    +------------+----------+------------------------+
-    | Name       | Size     | Contents               |
-    +============+==========+========================+
-    | level      | 4 bytes  | signed 32-bit integer  |
-    +------------+----------+------------------------+
-    | index      | 1 byte   | unsigned 8-bit integer |
-    +------------+----------+------------------------+
-    | commitment | 48 bytes | bytes                  |
-    +------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header (Determined from data, 8-bit tag)
-    *******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | slot_header       | 53 bytes             | $X_473                 |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | slot_header                  | 53 bytes             | $X_473                              |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_468
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.dal_publish_slot_header  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag)
-    *********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_604
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                 |
-    +==========================================================================+======================+==========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                        |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_recover_bond |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag)
-    *******************************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_102      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_102                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_744
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                           |
-    +==========================================================================+======================+====================================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                                  |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_execute_outbox_message |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result            |
-    +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-    
-    
-    X_900 (1 byte, 8-bit tag)
-    *************************
-    
-    Conflict_resolved (tag 0)
-    =========================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Timeout (tag 1)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_901 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Loser (tag 0)
-    =============
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | reason | 1 byte   | $X_900                 |
-    +--------+----------+------------------------+
-    | player | 21 bytes | $public_key_hash       |
-    +--------+----------+------------------------+
-    
-    
-    Draw (tag 1)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_902 (Determined from data, 8-bit tag)
-    ***************************************
-    
-    Ongoing (tag 0)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Ended (tag 1)
-    =============
-    
-    +--------+----------------------+------------------------+
-    | Name   | Size                 | Contents               |
-    +========+======================+========================+
-    | Tag    | 1 byte               | unsigned 8-bit integer |
-    +--------+----------------------+------------------------+
-    | result | Determined from data | $X_901                 |
-    +--------+----------------------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | game_status                                                              | Determined from data | $X_902                  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | game_status                                                              | Determined from data | $X_902                              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_895
-    *****
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_timeout     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag)
-    ****************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | staked_hash                                                              | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | published_at_level                                                       | 4 bytes              | signed 32-bit integer               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1194
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_publish     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag)
-    ***************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-------------------+----------------------+------------------------+
-    | Name              | Size                 | Contents               |
-    +===================+======================+========================+
-    | Tag               | 1 byte               | unsigned 8-bit integer |
-    +-------------------+----------------------+------------------------+
-    | consumed_milligas | Determined from data | $N.t                   |
-    +-------------------+----------------------+------------------------+
-    | inbox_level       | 4 bytes              | signed 32-bit integer  |
-    +-------------------+----------------------+------------------------+
-    | commitment_hash   | 32 bytes             | bytes                  |
-    +-------------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas            | Determined from data | $N.t                                |
-    +------------------------------+----------------------+-------------------------------------+
-    | inbox_level                  | 4 bytes              | signed 32-bit integer               |
-    +------------------------------+----------------------+-------------------------------------+
-    | commitment_hash              | 32 bytes             | bytes                               |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1334
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_cement      |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_1469
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.event           |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag)
-    ******************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | address                                                                  | 20 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | size                                                                     | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | address                                                                  | 20 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | genesis_commitment_hash                                                  | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | size                                                                     | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_1604
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.smart_rollup_originate   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.register_global_constant (Determined from data, 8-bit tag)
-    ********************************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | global_address                                                           | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | Name                                                                     | Size                 | Contents                            |
-    +==========================================================================+======================+=====================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | errors                                                                   | Determined from data | $X_42                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    | global_address                                                           | 32 bytes             | bytes                               |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2302
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.register_global_constant |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2576
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.internal_operation_result.origination     |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_2799 (Determined from data, 8-bit tag)
-    ****************************************
-    
-    To_contract (tag 0)
-    ===================
-    
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                         |
-    +==========================================================================+======================+==================================================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer                           |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage                                                                  | Determined from data | $micheline.017-PtNairob.michelson_v1.expression  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ticket_updates                                                           | Variable             | sequence of $X_102                               |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                          |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | originated_contracts                                                     | Variable             | sequence of $017-PtNairob.contract_id.originated |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | storage_size                                                             | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $Z.t                                             |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)              |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    | lazy_storage_diff                                                        | Determined from data | $017-PtNairob.lazy_storage_diff                  |
-    +--------------------------------------------------------------------------+----------------------+--------------------------------------------------+
-    
-    
-    To_tx_rollup (tag 1)
-    ====================
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | Name                                                                     | Size                 | Contents                |
-    +==========================================================================+======================+=========================+
-    | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | consumed_milligas                                                        | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | ticket_hash                                                              | 32 bytes             | bytes                   |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
-    +--------------------------------------------------------------------------+----------------------+-------------------------+
-    
-    
-    To_smart_rollup (tag 2)
-    =======================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | consumed_milligas     | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | ticket_updates        | Variable             | sequence of $X_102      |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_result.transaction (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Applied (tag 0)
-    ===============
-    
-    +-----------------+----------------------+------------------------+
-    | Name            | Size                 | Contents               |
-    +=================+======================+========================+
-    | Tag             | 1 byte               | unsigned 8-bit integer |
-    +-----------------+----------------------+------------------------+
-    | Unnamed field 0 | Determined from data | $X_2799                |
-    +-----------------+----------------------+------------------------+
-    
-    
-    Failed (tag 1)
-    ==============
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | errors                | Variable | sequence of $X_2        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Skipped (tag 2)
-    ===============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Backtracked (tag 3)
-    ===================
-    
-    +------------------------------+----------------------+-------------------------------------+
-    | Name                         | Size                 | Contents                            |
-    +==============================+======================+=====================================+
-    | Tag                          | 1 byte               | unsigned 8-bit integer              |
-    +------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
-    +------------------------------+----------------------+-------------------------------------+
-    | errors                       | Determined from data | $X_42                               |
-    +------------------------------+----------------------+-------------------------------------+
-    | Unnamed field 0              | Determined from data | $X_2799                             |
-    +------------------------------+----------------------+-------------------------------------+
-    
-    
-    X_2757
-    ******
-    
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | Name                                                                     | Size                 | Contents                                                                |
-    +==========================================================================+======================+=========================================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | balance_updates                                                          | Variable             | sequence of $X_39                                                       |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | operation_result                                                         | Determined from data | $017-PtNairob.operation.alpha.operation_result.transaction              |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    | internal_operation_results                                               | Variable             | sequence of $017-PtNairob.apply_internal_results.alpha.operation_result |
-    +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
-    
-    
-    X_3101
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_39                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | endorsement_power                                                        | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3105
-    ******
-    
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | Name                                                                     | Size     | Contents                                                     |
-    +==========================================================================+==========+==============================================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_39                                            |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | delegate                                                                 | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | preendorsement_power                                                     | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    | consensus_key                                                            | 21 bytes | $public_key_hash                                             |
-    +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
-    
-    
-    X_3109
-    ******
-    
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | Name                                                                     | Size     | Contents                            |
-    +==========================================================================+==========+=====================================+
-    | # bytes in field "017-PtNairob.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer             |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | balance_updates                                                          | Variable | sequence of $X_39                   |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    | allocated_destination_contract                                           | 1 byte   | boolean (0 for false, 255 for true) |
-    +--------------------------------------------------------------------------+----------+-------------------------------------+
-    
-    
-    017-PtNairob.operation_metadata.alpha.balance_updates
-    *****************************************************
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_39       |
-    +-----------------------+----------+-------------------------+
-    
-    
-    017-PtNairob.operation.alpha.operation_contents_and_result (Determined from data, 8-bit tag)
-    ********************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | level    | 4 bytes              | signed 32-bit integer                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | nonce    | 32 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.endorsement                      |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh1                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | bh2                   | Variable             | $017-PtNairob.block_header.alpha.full_header           |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | pkh      | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | secret   | 20 bytes             | bytes                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | Name                  | Size                 | Contents                                               |
-    +=======================+======================+========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op1                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | op2                   | Variable             | $017-PtNairob.inlined.preendorsement                   |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    | metadata              | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +-----------------------+----------------------+--------------------------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+----------------------+--------------------------------------------------------+
-    | Name     | Size                 | Contents                                               |
-    +==========+======================+========================================================+
-    | Tag      | 1 byte               | unsigned 8-bit integer                                 |
-    +----------+----------------------+--------------------------------------------------------+
-    | solution | 200 bytes            | $X_29                                                  |
-    +----------+----------------------+--------------------------------------------------------+
-    | metadata | Determined from data | $017-PtNairob.operation_metadata.alpha.balance_updates |
-    +----------+----------------------+--------------------------------------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | consensus_key | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | delegate      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | destination   | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_3109                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3105                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------------------+-------------------------+
-    | Name               | Size                 | Contents                |
-    +====================+======================+=========================+
-    | Tag                | 1 byte               | unsigned 8-bit integer  |
-    +--------------------+----------------------+-------------------------+
-    | slot               | 2 bytes              | unsigned 16-bit integer |
-    +--------------------+----------------------+-------------------------+
-    | level              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | round              | 4 bytes              | signed 32-bit integer   |
-    +--------------------+----------------------+-------------------------+
-    | block_payload_hash | 32 bytes             | bytes                   |
-    +--------------------+----------------------+-------------------------+
-    | metadata           | Determined from data | $X_3101                 |
-    +--------------------+----------------------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    | metadata    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1469                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_28                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    | metadata                         | Determined from data | $X_2757                             |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_2576                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | metadata                       | Determined from data | $X_1469                             |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_2302                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | metadata                    | Determined from data | $X_1469                             |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    | metadata      | Determined from data | $X_604                               |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1469                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | metadata              | Determined from data | $X_744                    |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_27) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | metadata              | Determined from data | $X_1604                                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_1469                 |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1334                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_25                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_1194                |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_24                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_895                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_18                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_895                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_744                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_604                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_17                  |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_468                 |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_14                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | metadata              | Determined from data | $X_327                                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_8        |
-    +-----------------------+----------------------+-------------------------+
-    | metadata              | Determined from data | $X_184                  |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_0                   |
-    +---------------+----------------------+------------------------+
-    | metadata      | Determined from data | $X_38                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    X_3132 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation_with_metadata (tag 0)
-    ===============================
-    
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | Name                  | Size     | Contents                                                                |
-    +=======================+==========+=========================================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                                                  |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                 |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.operation_contents_and_result |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    | signature             | Variable | bytes                                                                   |
-    +-----------------------+----------+-------------------------------------------------------------------------+
-    
-    
-    Operation_without_metadata (tag 1)
-    ==================================
-    
-    +-----------------------+----------+----------------------------------------------------+
-    | Name                  | Size     | Contents                                           |
-    +=======================+==========+====================================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                             |
-    +-----------------------+----------+----------------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                            |
-    +-----------------------+----------+----------------------------------------------------+
-    | contents              | Variable | sequence of $017-PtNairob.operation.alpha.contents |
-    +-----------------------+----------+----------------------------------------------------+
-    | signature             | Variable | bytes                                              |
-    +-----------------------+----------+----------------------------------------------------+
-    
-    
-    bls_signature_prefix (33 bytes, 8-bit tag)
-    ******************************************
-    
-    Bls_prefix (tag 3)
-    ==================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | 32 bytes | bytes                  |
-    +-----------------+----------+------------------------+
-    
-    
-    017-PtNairob.operation.alpha.contents_or_signature_prefix (Determined from data, 8-bit tag)
-    *******************************************************************************************
-    
-    Seed_nonce_revelation (tag 1)
-    =============================
-    
-    +-------+----------+------------------------+
-    | Name  | Size     | Contents               |
-    +=======+==========+========================+
-    | Tag   | 1 byte   | unsigned 8-bit integer |
-    +-------+----------+------------------------+
-    | level | 4 bytes  | signed 32-bit integer  |
-    +-------+----------+------------------------+
-    | nonce | 32 bytes | bytes                  |
-    +-------+----------+------------------------+
-    
-    
-    Double_endorsement_evidence (tag 2)
-    ===================================
-    
-    +-----------------------+----------+-----------------------------------+
-    | Name                  | Size     | Contents                          |
-    +=======================+==========+===================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer            |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
-    +-----------------------+----------+-----------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.endorsement |
-    +-----------------------+----------+-----------------------------------+
-    
-    
-    Double_baking_evidence (tag 3)
-    ==============================
-    
-    +-----------------------+----------+----------------------------------------------+
-    | Name                  | Size     | Contents                                     |
-    +=======================+==========+==============================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer                       |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh1                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer                      |
-    +-----------------------+----------+----------------------------------------------+
-    | bh2                   | Variable | $017-PtNairob.block_header.alpha.full_header |
-    +-----------------------+----------+----------------------------------------------+
-    
-    
-    Activate_account (tag 4)
-    ========================
-    
-    +--------+----------+------------------------+
-    | Name   | Size     | Contents               |
-    +========+==========+========================+
-    | Tag    | 1 byte   | unsigned 8-bit integer |
-    +--------+----------+------------------------+
-    | pkh    | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    | secret | 20 bytes | bytes                  |
-    +--------+----------+------------------------+
-    
-    
-    Proposals (tag 5)
-    =================
-    
-    +-----------------------+----------+------------------------------+
-    | Name                  | Size     | Contents                     |
-    +=======================+==========+==============================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer       |
-    +-----------------------+----------+------------------------------+
-    | source                | 21 bytes | $public_key_hash             |
-    +-----------------------+----------+------------------------------+
-    | period                | 4 bytes  | signed 32-bit integer        |
-    +-----------------------+----------+------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
-    +-----------------------+----------+------------------------------+
-    | proposals             | Variable | sequence of at most 20 bytes |
-    +-----------------------+----------+------------------------------+
-    
-    
-    Ballot (tag 6)
-    ==============
-    
-    +----------+----------+------------------------+
-    | Name     | Size     | Contents               |
-    +==========+==========+========================+
-    | Tag      | 1 byte   | unsigned 8-bit integer |
-    +----------+----------+------------------------+
-    | source   | 21 bytes | $public_key_hash       |
-    +----------+----------+------------------------+
-    | period   | 4 bytes  | signed 32-bit integer  |
-    +----------+----------+------------------------+
-    | proposal | 32 bytes | bytes                  |
-    +----------+----------+------------------------+
-    | ballot   | 1 byte   | signed 8-bit integer   |
-    +----------+----------+------------------------+
-    
-    
-    Double_preendorsement_evidence (tag 7)
-    ======================================
-    
-    +-----------------------+----------+--------------------------------------+
-    | Name                  | Size     | Contents                             |
-    +=======================+==========+======================================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer               |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op1                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
-    +-----------------------+----------+--------------------------------------+
-    | op2                   | Variable | $017-PtNairob.inlined.preendorsement |
-    +-----------------------+----------+--------------------------------------+
-    
-    
-    Vdf_revelation (tag 8)
-    ======================
-    
-    +----------+-----------+------------------------+
-    | Name     | Size      | Contents               |
-    +==========+===========+========================+
-    | Tag      | 1 byte    | unsigned 8-bit integer |
-    +----------+-----------+------------------------+
-    | solution | 200 bytes | $X_29                  |
-    +----------+-----------+------------------------+
-    
-    
-    Drain_delegate (tag 9)
-    ======================
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | consensus_key | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | delegate      | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    | destination   | 21 bytes | $public_key_hash       |
-    +---------------+----------+------------------------+
-    
-    
-    Failing_noop (tag 17)
-    =====================
-    
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | Tag                   | 1 byte   | unsigned 8-bit integer  |
-    +-----------------------+----------+-------------------------+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | arbitrary             | Variable | bytes                   |
-    +-----------------------+----------+-------------------------+
-    
-    
-    Preendorsement (tag 20)
-    =======================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Endorsement (tag 21)
-    ====================
-    
-    +--------------------+----------+-------------------------+
-    | Name               | Size     | Contents                |
-    +====================+==========+=========================+
-    | Tag                | 1 byte   | unsigned 8-bit integer  |
-    +--------------------+----------+-------------------------+
-    | slot               | 2 bytes  | unsigned 16-bit integer |
-    +--------------------+----------+-------------------------+
-    | level              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | round              | 4 bytes  | signed 32-bit integer   |
-    +--------------------+----------+-------------------------+
-    | block_payload_hash | 32 bytes | bytes                   |
-    +--------------------+----------+-------------------------+
-    
-    
-    Dal_attestation (tag 22)
-    ========================
-    
-    +-------------+----------------------+------------------------+
-    | Name        | Size                 | Contents               |
-    +=============+======================+========================+
-    | Tag         | 1 byte               | unsigned 8-bit integer |
-    +-------------+----------------------+------------------------+
-    | attestor    | 21 bytes             | $public_key_hash       |
-    +-------------+----------------------+------------------------+
-    | attestation | Determined from data | $Z.t                   |
-    +-------------+----------------------+------------------------+
-    | level       | 4 bytes              | signed 32-bit integer  |
-    +-------------+----------------------+------------------------+
-    
-    
-    Reveal (tag 107)
-    ================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | public_key    | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transaction (tag 108)
-    =====================
-    
-    +----------------------------------+----------------------+-------------------------------------+
-    | Name                             | Size                 | Contents                            |
-    +==================================+======================+=====================================+
-    | Tag                              | 1 byte               | unsigned 8-bit integer              |
-    +----------------------------------+----------------------+-------------------------------------+
-    | source                           | 21 bytes             | $public_key_hash                    |
-    +----------------------------------+----------------------+-------------------------------------+
-    | fee                              | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | counter                          | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | gas_limit                        | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | storage_limit                    | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | amount                           | Determined from data | $N.t                                |
-    +----------------------------------+----------------------+-------------------------------------+
-    | destination                      | 22 bytes             | $017-PtNairob.contract_id           |
-    +----------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true) |
-    +----------------------------------+----------------------+-------------------------------------+
-    | parameters                       | Determined from data | $X_28                               |
-    +----------------------------------+----------------------+-------------------------------------+
-    
-    
-    Origination (tag 109)
-    =====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | balance                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | script                         | Determined from data | $017-PtNairob.scripted.contracts    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Delegation (tag 110)
-    ====================
-    
-    +--------------------------------+----------------------+-------------------------------------+
-    | Name                           | Size                 | Contents                            |
-    +================================+======================+=====================================+
-    | Tag                            | 1 byte               | unsigned 8-bit integer              |
-    +--------------------------------+----------------------+-------------------------------------+
-    | source                         | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    | fee                            | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | counter                        | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | gas_limit                      | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | storage_limit                  | Determined from data | $N.t                                |
-    +--------------------------------+----------------------+-------------------------------------+
-    | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
-    +--------------------------------+----------------------+-------------------------------------+
-    | delegate                       | 21 bytes             | $public_key_hash                    |
-    +--------------------------------+----------------------+-------------------------------------+
-    
-    
-    Register_global_constant (tag 111)
-    ==================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | value                 | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Set_deposits_limit (tag 112)
-    ============================
-    
-    +-----------------------------+----------------------+-------------------------------------+
-    | Name                        | Size                 | Contents                            |
-    +=============================+======================+=====================================+
-    | Tag                         | 1 byte               | unsigned 8-bit integer              |
-    +-----------------------------+----------------------+-------------------------------------+
-    | source                      | 21 bytes             | $public_key_hash                    |
-    +-----------------------------+----------------------+-------------------------------------+
-    | fee                         | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | counter                     | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | gas_limit                   | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | storage_limit               | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
-    +-----------------------------+----------------------+-------------------------------------+
-    | limit                       | Determined from data | $N.t                                |
-    +-----------------------------+----------------------+-------------------------------------+
-    
-    
-    Increase_paid_storage (tag 113)
-    ===============================
-    
-    +---------------+----------------------+--------------------------------------+
-    | Name          | Size                 | Contents                             |
-    +===============+======================+======================================+
-    | Tag           | 1 byte               | unsigned 8-bit integer               |
-    +---------------+----------------------+--------------------------------------+
-    | source        | 21 bytes             | $public_key_hash                     |
-    +---------------+----------------------+--------------------------------------+
-    | fee           | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | counter       | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | gas_limit     | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | storage_limit | Determined from data | $N.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | amount        | Determined from data | $Z.t                                 |
-    +---------------+----------------------+--------------------------------------+
-    | destination   | 22 bytes             | $017-PtNairob.contract_id.originated |
-    +---------------+----------------------+--------------------------------------+
-    
-    
-    Update_consensus_key (tag 114)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | pk            | Determined from data | $public_key            |
-    +---------------+----------------------+------------------------+
-    
-    
-    Transfer_ticket (tag 158)
-    =========================
-    
-    +-----------------------+----------------------+---------------------------+
-    | Name                  | Size                 | Contents                  |
-    +=======================+======================+===========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer    |
-    +-----------------------+----------------------+---------------------------+
-    | source                | 21 bytes             | $public_key_hash          |
-    +-----------------------+----------------------+---------------------------+
-    | fee                   | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | counter               | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | gas_limit             | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | storage_limit         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_contents       | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ty             | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_ticketer       | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | ticket_amount         | Determined from data | $N.t                      |
-    +-----------------------+----------------------+---------------------------+
-    | destination           | 22 bytes             | $017-PtNairob.contract_id |
-    +-----------------------+----------------------+---------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
-    +-----------------------+----------------------+---------------------------+
-    | entrypoint            | Variable             | bytes                     |
-    +-----------------------+----------------------+---------------------------+
-    
-    
-    Smart_rollup_originate (tag 200)
-    ================================
-    
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                  |
-    +=======================+======================+===========================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                    |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                          |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                      |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | pvm_kind              | 1 byte               | unsigned 8-bit integer encoding an enumeration (see X_27) |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | kernel                | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | origination_proof     | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                   |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    | parameters_ty         | Variable             | bytes                                                     |
-    +-----------------------+----------------------+-----------------------------------------------------------+
-    
-    
-    Smart_rollup_add_messages (tag 201)
-    ===================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | message               | Variable             | sequence of $X_2        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_cement (tag 202)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 32 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_publish (tag 203)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | commitment    | 76 bytes             | $X_25                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_refute (tag 204)
-    =============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | opponent      | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | refutation    | Determined from data | $X_24                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_timeout (tag 205)
-    ==============================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | stakers       | 42 bytes             | $X_18                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Smart_rollup_execute_outbox_message (tag 206)
-    =============================================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | rollup                | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | cemented_commitment   | 32 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | output_proof          | Variable             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Smart_rollup_recover_bond (tag 207)
-    ===================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | rollup        | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | staker        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    
-    
-    Dal_publish_slot_header (tag 230)
-    =================================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | slot_header   | 101 bytes            | $X_17                  |
-    +---------------+----------------------+------------------------+
-    
-    
-    Zk_rollup_origination (tag 250)
-    ===============================
-    
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | Name                  | Size                 | Contents                                                     |
-    +=======================+======================+==============================================================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | source                | 21 bytes             | $public_key_hash                                             |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | fee                   | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | counter               | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | gas_limit             | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | storage_limit         | Determined from data | $N.t                                                         |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | public_parameters     | Variable             | bytes                                                        |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | circuits_info         | Variable             | sequence of $X_14                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | init_state            | Variable             | sequence of bytes                                            |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    | nb_ops                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------------+----------------------+--------------------------------------------------------------+
-    
-    
-    Zk_rollup_publish (tag 251)
-    ===========================
-    
-    +-----------------------+----------------------+-------------------------+
-    | Name                  | Size                 | Contents                |
-    +=======================+======================+=========================+
-    | Tag                   | 1 byte               | unsigned 8-bit integer  |
-    +-----------------------+----------------------+-------------------------+
-    | source                | 21 bytes             | $public_key_hash        |
-    +-----------------------+----------------------+-------------------------+
-    | fee                   | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | counter               | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | gas_limit             | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | storage_limit         | Determined from data | $N.t                    |
-    +-----------------------+----------------------+-------------------------+
-    | zk_rollup             | 20 bytes             | bytes                   |
-    +-----------------------+----------------------+-------------------------+
-    | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
-    +-----------------------+----------------------+-------------------------+
-    | op                    | Variable             | sequence of $X_8        |
-    +-----------------------+----------------------+-------------------------+
-    
-    
-    Zk_rollup_update (tag 252)
-    ==========================
-    
-    +---------------+----------------------+------------------------+
-    | Name          | Size                 | Contents               |
-    +===============+======================+========================+
-    | Tag           | 1 byte               | unsigned 8-bit integer |
-    +---------------+----------------------+------------------------+
-    | source        | 21 bytes             | $public_key_hash       |
-    +---------------+----------------------+------------------------+
-    | fee           | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | counter       | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | gas_limit     | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | storage_limit | Determined from data | $N.t                   |
-    +---------------+----------------------+------------------------+
-    | zk_rollup     | 20 bytes             | bytes                  |
-    +---------------+----------------------+------------------------+
-    | update        | Determined from data | $X_0                   |
-    +---------------+----------------------+------------------------+
-    
-    
-    Signature_prefix (tag 255)
-    ==========================
-    
-    +------------------+----------+------------------------+
-    | Name             | Size     | Contents               |
-    +==================+==========+========================+
-    | Tag              | 1 byte   | unsigned 8-bit integer |
-    +------------------+----------+------------------------+
-    | signature_prefix | 33 bytes | $bls_signature_prefix  |
-    +------------------+----------+------------------------+
-    
-    
-    X_3193 (Variable, 8-bit tag)
-    ****************************
-    
-    Operation with too large metadata (tag 0)
-    =========================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation without metadata (tag 1)
-    ==================================
-    
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | Name                          | Size     | Contents                                                               |
-    +===============================+==========+========================================================================+
-    | Tag                           | 1 byte   | unsigned 8-bit integer                                                 |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | contents_and_signature_prefix | Variable | sequence of $017-PtNairob.operation.alpha.contents_or_signature_prefix |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    | signature_suffix              | 64 bytes | bytes                                                                  |
-    +-------------------------------+----------+------------------------------------------------------------------------+
-    
-    
-    Operation with metadata (tag 2)
-    ===============================
-    
-    +-----------------+----------+------------------------+
-    | Name            | Size     | Contents               |
-    +=================+==========+========================+
-    | Tag             | 1 byte   | unsigned 8-bit integer |
-    +-----------------+----------+------------------------+
-    | Unnamed field 0 | Variable | $X_3132                |
-    +-----------------+----------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--operations_metadata_hash : - -**GET ..//operations_metadata_hash** - -.. raw:: html - -
- - -
- - - - - -.. _GET_..--block_id--protocols : - -**GET ..//protocols** - -.. raw:: html - -
- - -
-

- Current and next protocol.

-
-
-
-    { "protocol": $Protocol_hash,
-      "next_protocol": $Protocol_hash }
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +---------------+----------+----------+
-    | Name          | Size     | Contents |
-    +===============+==========+==========+
-    | protocol      | 32 bytes | bytes    |
-    +---------------+----------+----------+
-    | next_protocol | 32 bytes | bytes    |
-    +---------------+----------+----------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--resulting_context_hash : - -**GET ..//resulting_context_hash** - -.. raw:: html - -
- - -
-

- Context hash resulting of the block application.

-
-
-
-    $unistring
-    /* A hash of context (Base58Check-encoded) */
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +--------------+----------+----------+
-    | Name         | Size     | Contents |
-    +==============+==========+==========+
-    | Context_hash | 32 bytes | bytes    |
-    +--------------+----------+----------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--votes--ballot_list : - -**GET ..//votes/ballot_list** - -.. raw:: html - -
- - -
-

- Ballots casted so far during a voting period.

-
-
-
-    [ { "pkh": $Signature.Public_key_hash,
-        "ballot": "nay" | "yay" | "pass" } ... ]
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    X_0
-    ***
-    
-    +--------+----------+----------------------+
-    | Name   | Size     | Contents             |
-    +========+==========+======================+
-    | pkh    | 21 bytes | $public_key_hash     |
-    +--------+----------+----------------------+
-    | ballot | 1 byte   | signed 8-bit integer |
-    +--------+----------+----------------------+
-    
-    
-
- - - -.. _GET_..--block_id--votes--ballots : - -**GET ..//votes/ballots** - -.. raw:: html - -
- - -
-

- Sum of ballots casted so far during a voting period.

-
-
-
-    { "yay": $int64,
-      "nay": $int64,
-      "pass": $int64 }
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-
-
-
-    +------+---------+-----------------------+
-    | Name | Size    | Contents              |
-    +======+=========+=======================+
-    | yay  | 8 bytes | signed 64-bit integer |
-    +------+---------+-----------------------+
-    | nay  | 8 bytes | signed 64-bit integer |
-    +------+---------+-----------------------+
-    | pass | 8 bytes | signed 64-bit integer |
-    +------+---------+-----------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--votes--current_period : - -**GET ..//votes/current_period** - -.. raw:: html - -
- - -
-

- Returns the voting period (index, kind, starting position) and related information (position, remaining) of the interrogated block.

-
-
-
-    { "voting_period":
-        { /* The voting period to which the block belongs. */
-          "index":
-            integer ∈ [-2^31-1, 2^31]
-            /* The voting period's index. Starts at 0 with the first block of
-               the Alpha family of protocols. */,
-          "kind":
-            /* One of the several kinds of periods in the voting procedure. */
-            "proposal"
-            || "exploration"
-            || "cooldown"
-            || "promotion"
-            || "adoption",
-          "start_position":
-            integer ∈ [-2^31-1, 2^31]
-            /* The relative position of the first level of the period with
-               respect to the first level of the Alpha family of protocols. */ },
-      "position":
-        integer ∈ [-2^31-1, 2^31]
-        /* The position of the block within the voting period. */,
-      "remaining":
-        integer ∈ [-2^31-1, 2^31]
-        /* The number of blocks remaining till the end of the voting period. */ }
-
-
-
-    +---------------+---------+-----------------------+
-    | Name          | Size    | Contents              |
-    +===============+=========+=======================+
-    | voting_period | 9 bytes | $X_0                  |
-    +---------------+---------+-----------------------+
-    | position      | 4 bytes | signed 32-bit integer |
-    +---------------+---------+-----------------------+
-    | remaining     | 4 bytes | signed 32-bit integer |
-    +---------------+---------+-----------------------+
-    
-    
-    X_1 (1 byte, 8-bit tag)
-    ***********************
-    
-    Proposal (tag 0)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    exploration (tag 1)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Cooldown (tag 2)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Promotion (tag 3)
-    =================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Adoption (tag 4)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_0
-    ***
-    
-    +----------------+---------+-----------------------+
-    | Name           | Size    | Contents              |
-    +================+=========+=======================+
-    | index          | 4 bytes | signed 32-bit integer |
-    +----------------+---------+-----------------------+
-    | kind           | 1 byte  | $X_1                  |
-    +----------------+---------+-----------------------+
-    | start_position | 4 bytes | signed 32-bit integer |
-    +----------------+---------+-----------------------+
-    
-    
-
- - - -.. _GET_..--block_id--votes--current_proposal : - -**GET ..//votes/current_proposal** - -.. raw:: html - -
- - -
-

- Current proposal under evaluation.

-
-
-
-    $Protocol_hash /* Some */ || null /* None */
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------+----------------------+----------+
-    | Name            | Size                 | Contents |
-    +=================+======================+==========+
-    | Unnamed field 0 | Determined from data | $X_0     |
-    +-----------------+----------------------+----------+
-    
-    
-    X_0 (Determined from data, 8-bit tag)
-    *************************************
-    
-    None (tag 0)
-    ============
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Some (tag 1)
-    ============
-    
-    +---------------+----------+------------------------+
-    | Name          | Size     | Contents               |
-    +===============+==========+========================+
-    | Tag           | 1 byte   | unsigned 8-bit integer |
-    +---------------+----------+------------------------+
-    | Protocol_hash | 32 bytes | bytes                  |
-    +---------------+----------+------------------------+
-    
-    
-
- - - -.. _GET_..--block_id--votes--current_quorum : - -**GET ..//votes/current_quorum** - -.. raw:: html - -
- - -
-

- Current expected quorum.

-
-
-
-    integer ∈ [-2^31-1, 2^31]
-
-
-
-    +-----------------+---------+-----------------------+
-    | Name            | Size    | Contents              |
-    +=================+=========+=======================+
-    | Unnamed field 0 | 4 bytes | signed 32-bit integer |
-    +-----------------+---------+-----------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--votes--listings : - -**GET ..//votes/listings** - -.. raw:: html - -
- - -
-

- List of delegates with their voting power.

-
-
-
-    [ { "pkh": $Signature.Public_key_hash,
-        "voting_power": $int64 } ... ]
-    $Signature.Public_key_hash:
-      /* A Ed25519, Secp256k1, P256, or BLS public key hash
-         (Base58Check-encoded) */
-      $unistring
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    public_key_hash (21 bytes, 8-bit tag)
-    *************************************
-    
-    Ed25519 (tag 0)
-    ===============
-    
-    +-------------------------+----------+------------------------+
-    | Name                    | Size     | Contents               |
-    +=========================+==========+========================+
-    | Tag                     | 1 byte   | unsigned 8-bit integer |
-    +-------------------------+----------+------------------------+
-    | Ed25519.Public_key_hash | 20 bytes | bytes                  |
-    +-------------------------+----------+------------------------+
-    
-    
-    Secp256k1 (tag 1)
-    =================
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    P256 (tag 2)
-    ============
-    
-    +----------------------+----------+------------------------+
-    | Name                 | Size     | Contents               |
-    +======================+==========+========================+
-    | Tag                  | 1 byte   | unsigned 8-bit integer |
-    +----------------------+----------+------------------------+
-    | P256.Public_key_hash | 20 bytes | bytes                  |
-    +----------------------+----------+------------------------+
-    
-    
-    Bls (tag 3)
-    ===========
-    
-    +---------------------------+----------+------------------------+
-    | Name                      | Size     | Contents               |
-    +===========================+==========+========================+
-    | Tag                       | 1 byte   | unsigned 8-bit integer |
-    +---------------------------+----------+------------------------+
-    | Bls12_381.Public_key_hash | 20 bytes | bytes                  |
-    +---------------------------+----------+------------------------+
-    
-    
-    X_0
-    ***
-    
-    +--------------+----------+-----------------------+
-    | Name         | Size     | Contents              |
-    +==============+==========+=======================+
-    | pkh          | 21 bytes | $public_key_hash      |
-    +--------------+----------+-----------------------+
-    | voting_power | 8 bytes  | signed 64-bit integer |
-    +--------------+----------+-----------------------+
-    
-    
-
- - - -.. _GET_..--block_id--votes--proposal_count--pkh : - -**GET ..//votes/proposal_count/** - -.. raw:: html - -
- - -
-

- Number of votes casted during the current period.

-
-
-
-    integer ∈ [-2^30, 2^30]
-
-
-
-    +-----------------+---------+--------------------------------------------------------------+
-    | Name            | Size    | Contents                                                     |
-    +=================+=========+==============================================================+
-    | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
-    +-----------------+---------+--------------------------------------------------------------+
-    
-    
-    
-
- - - -.. _GET_..--block_id--votes--proposals : - -**GET ..//votes/proposals** - -.. raw:: html - -
- - -
-

- List of proposals with number of supporters.

-
-
-
-    [ [ $Protocol_hash, $int64 ] ... ]
-    $Protocol_hash:
-      /* A Tezos protocol ID (Base58Check-encoded) */
-      $unistring
-    $int64:
-      /* 64 bit integers
-         Decimal representation of 64 bit integers */
-      string
-    $unistring:
-      /* Universal string representation
-         Either a plain UTF8 string, or a sequence of bytes for strings that
-         contain invalid byte sequences. */
-      string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
-
-
-
-    +-----------------------+----------+-------------------------+
-    | Name                  | Size     | Contents                |
-    +=======================+==========+=========================+
-    | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
-    +-----------------------+----------+-------------------------+
-    | Unnamed field 0       | Variable | sequence of $X_0        |
-    +-----------------------+----------+-------------------------+
-    
-    
-    X_0
-    ***
-    
-    +-----------------+----------+-----------------------+
-    | Name            | Size     | Contents              |
-    +=================+==========+=======================+
-    | Unnamed field 0 | 32 bytes | bytes                 |
-    +-----------------+----------+-----------------------+
-    | Unnamed field 1 | 8 bytes  | signed 64-bit integer |
-    +-----------------+----------+-----------------------+
-    
-    
-
- - - -.. _GET_..--block_id--votes--successor_period : - -**GET ..//votes/successor_period** - -.. raw:: html - -
- - -
-

- Returns the voting period (index, kind, starting position) and related information (position, remaining) of the next block.Useful to craft operations that will be valid in the next block.

-
-
-
-    { "voting_period":
-        { /* The voting period to which the block belongs. */
-          "index":
-            integer ∈ [-2^31-1, 2^31]
-            /* The voting period's index. Starts at 0 with the first block of
-               the Alpha family of protocols. */,
-          "kind":
-            /* One of the several kinds of periods in the voting procedure. */
-            "proposal"
-            || "exploration"
-            || "cooldown"
-            || "promotion"
-            || "adoption",
-          "start_position":
-            integer ∈ [-2^31-1, 2^31]
-            /* The relative position of the first level of the period with
-               respect to the first level of the Alpha family of protocols. */ },
-      "position":
-        integer ∈ [-2^31-1, 2^31]
-        /* The position of the block within the voting period. */,
-      "remaining":
-        integer ∈ [-2^31-1, 2^31]
-        /* The number of blocks remaining till the end of the voting period. */ }
-
-
-
-    +---------------+---------+-----------------------+
-    | Name          | Size    | Contents              |
-    +===============+=========+=======================+
-    | voting_period | 9 bytes | $X_0                  |
-    +---------------+---------+-----------------------+
-    | position      | 4 bytes | signed 32-bit integer |
-    +---------------+---------+-----------------------+
-    | remaining     | 4 bytes | signed 32-bit integer |
-    +---------------+---------+-----------------------+
-    
-    
-    X_1 (1 byte, 8-bit tag)
-    ***********************
-    
-    Proposal (tag 0)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    exploration (tag 1)
-    ===================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Cooldown (tag 2)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Promotion (tag 3)
-    =================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    Adoption (tag 4)
-    ================
-    
-    +------+--------+------------------------+
-    | Name | Size   | Contents               |
-    +======+========+========================+
-    | Tag  | 1 byte | unsigned 8-bit integer |
-    +------+--------+------------------------+
-    
-    
-    X_0
-    ***
-    
-    +----------------+---------+-----------------------+
-    | Name           | Size    | Contents              |
-    +================+=========+=======================+
-    | index          | 4 bytes | signed 32-bit integer |
-    +----------------+---------+-----------------------+
-    | kind           | 1 byte  | $X_1                  |
-    +----------------+---------+-----------------------+
-    | start_position | 4 bytes | signed 32-bit integer |
-    +----------------+---------+-----------------------+
-    
-    
-
- - - -.. _GET_..--block_id--votes--total_voting_power : - -**GET ..//votes/total_voting_power** - -.. raw:: html - -
- - -
-

- Total voting power in the voting listings.

-
-
-
-    string
-    /* 64 bit integers
-       Decimal representation of 64 bit integers */
-
-
-
-    +-----------------+---------+-----------------------+
-    | Name            | Size    | Contents              |
-    +=================+=========+=======================+
-    | Unnamed field 0 | 8 bytes | signed 64-bit integer |
-    +-----------------+---------+-----------------------+
-    
-    
-    
-
- - - - diff --git a/docs/nairobi/sapling.rst b/docs/nairobi/sapling.rst deleted file mode 100644 index fed70482fe59..000000000000 --- a/docs/nairobi/sapling.rst +++ /dev/null @@ -1,533 +0,0 @@ -Sapling support -=============== - -This page first give some details on Sapling and its underlying concepts, and then describes the support for Sapling in Octez and in the Michelson language (part of the Tezos protocol). -For support in high-level smart contract languages, see the `Sapling documentation in OpenTezos `__. - -Sapling -------- - -Sapling is a protocol enabling privacy-preserving transactions of fungible -tokens in a decentralised -environment. It was designed and implemented by the Electric Coin -Company as the last iteration over a series of previous protocols and -academic works starting with the `Zerocoin seminal -paper `_. - -Keys -~~~~ - -Sapling offers a rich set of keys, each allowing different operations. -A *spending key* allows to spend tokens so if it is lost or -compromised the tokens could remain locked or be stolen. -From a spending key it is possible to derive a corresponding *viewing -key* which allows to view all incoming and outgoing transactions. -The viewing key allows the owner of the tokens to check their balance -and transaction history so if compromised there is a complete loss of -privacy. -On the other hand a viewing key can willingly be shared with a third -party, for example with an auditor for regulatory compliance purposes. - -A viewing key can also derive several diversified addresses. -An address can be used to receive funds, much like the address of an -implicit account. - -Additionally *proving keys* can be used to allow the creation of proofs, -thus revealing private information, without being able to spend funds. -They are useful for example in case the spending key is stored in a -hardware wallet but we'd like to use our laptop to craft the -transaction and produce the zero-knowledge proofs, which are -computationally too intensive for an embedded device. - -More details can be found in the `specification document -`_. - -Shielded transactions -~~~~~~~~~~~~~~~~~~~~~ - -Transactions use Bitcoin's UTXO model with the important difference that each -input and output, instead of containing an amount and an address, -are just cryptographic *commitments*. -In order to avoid double spends, it's important to be able to check -that a commitment has not already been spent. In Bitcoin we just need to -check if an output is also later used as an input to verify if it's -already spent. In Sapling however we can't know because inputs are not -linked to outputs. -For this reason for each input of a transaction, the owner must also -publish a *nullifier*, which invalidates it. The nullifier can only be -produced by the owner of a commitment and it's deterministic so that -everybody can check that it hasn't been already published. -Note however that it is not possible to infer which commitment has -been nullified. -Transactions of this form are privacy preserving and are referred to -as *shielded*, because they reveal neither the amount, the sender nor -the receiver. - -The existing set of transactions is referred to as the *shielded pool*. -Unlike Bitcoin, where everybody can compute the set of unspent -outputs of every user, in Sapling only the owner of a viewing key can -find their outputs and verify that they are not already spent. -For this reason, to an external -observer, the shielded pool is always increasing in size and the more -transactions are added the harder it is to pinpoint the commitments -belonging to a user. - -When we spend a commitment there is some additional information that -we need to transmit to the recipient in order for them to spend the -corresponding output. -This data is encrypted under a symmetric key resulting from a -Diffie-Hellman key exchange using the recipient address and an -ephemeral key. -In principle this *ciphertext* can be transmitted off-chain as it's -not needed to verify the integrity of the pool. For convenience, in -Tezos, it is stored together with the commitment and the nullifier on -chain. - -For reasons of efficiency the commitments are stored in an incremental -`Merkle tree `_ which -allows for compact proofs of membership. The root of the tree is all -that is needed to refer to a certain state of the shielded pool. - -In order to ensure the correctness of a transaction, given that there -is information that we wish to remain secret, the spender must also -generate proofs that various good properties are true. -Thanks to the use of `SNARKs `_ -these proofs are very succinct in size, fast to verify and they don't -reveal any private information. - -This model of transaction adapts elegantly to the case when we need to -mint or burn tokens, which is needed to shield or unshield from a -transparent token. -It suffices to add more values in the outputs than in the inputs -to mint and to have more in inputs than outputs to burn. - -Preventing Malleability -~~~~~~~~~~~~~~~~~~~~~~~ - -A Sapling transaction contains a ``bound_data`` field with arbitrary -bytes that gets signed by the user's Sapling key. -This field can be used to bind the transaction to another -application's logic. -For example during an unshield operation it is important to include in -the ``bound_data`` the Tezos account that will receive the unshielded -tokens. -Without any ``bound_data``, a Sapling unshield operation authorizes any -party that submits it to claim the unshielded tokens. An adversary can -intercept the Tezos operation containing the unshield and resubmit it -using its own Tezos account. -This malleability attack is prevented by including the recipient Tezos -account in the ``bound_data``, which is signed by the owner of the -Sapling keys, and that can be used by the Smart Contract to transfer -the tokens. - -**All Smart Contracts managing a Sapling shielded pool must include a -`bound_data` field in their unshield operations.** - -Note that the ``bound_data`` field is not encrypted and could leak -information about a transaction, therefore for a transfer (e.g. an -operation with balance 0) it should be left empty. -This is not a concern for shielding and unshielding which are already -linking a shielded and a transparent address. - -Privacy guarantees -~~~~~~~~~~~~~~~~~~ - -We explained that the shielded pool contains one commitment for each -input (spent or not), and one nullifier for each spent input. -These cryptographic commitments hide the amount and the owner of the -tokens they represent. -Additionally commitments are unlinkable meaning that we can not deduce -which input is spent to create an output. - -It should be noted that the number of inputs and outputs of a -transaction is public, which could help link a class of -transactions. This problem can be mitigated by adding any number of -dummy inputs or outputs at the cost of wasting some space. - -The shielded pool communicates with the public ledger by minting and -burning shielded tokens in exchange for public coins. -Therefore going in and out of the shielded pool is public: we know -which address shielded or unshielded and how much. -We can among other things infer the total number of shielded coins. - -Timing and network information can also help to deduce some private -information. -For example by observing the gossip network we might learn the IP -address of somebody that is submitting a shielded transaction. -This can be mitigated by using `TOR -`_. - -Good practices -~~~~~~~~~~~~~~ - -When blending in a group of people, one should always pay attention to -the size and the variety of the group. - -We recommend two good practices. First, do not originate a second -contract if another one has the same functionalities, it will split -the anonymity set. - -Second, remember that shielding and unshielding are public operations. -A typical anti-pattern is to shield from tz1-alice 15.3 tez, and then -unshield 15.3 tez to tz1-bob. It's fairly clear from timing and -amounts that Alice transferred 15.3 tez to Bob. -To decorrelate the two transfers it is important to change the -amounts, let some time pass between the two and perform the -transactions when there is traffic in the pool. -Similar problems exist in Zcash and they are illustrated in this -introductory `blog post -`_. - -There are a number of more sophisticated techniques to deanonymise -users using timing of operations, network monitoring, side-channels on -clients and analysis of number of inputs/outputs just to mention a few -(`A fistful of Bitcoins -`_ is a good -first read). -We advice users to be familiar with the use of the TOR network and to -use clients developed specifically to protect their privacy. - - -Sapling integration -------------------- - -The reference implementation of Sapling, -`librustzcash `_, has been -integrated in the Octez codebase, and Sapling features were made available for production use with the Edo protocol amendment in early 2021. - -Librustzcash and the Octez integration implement the protocol -described in this `specification -`_, version 2020.1.0. - -Michelson support -~~~~~~~~~~~~~~~~~ - -Sapling support uses two new Michelson types ``sapling_state`` and -``sapling_transaction``, and two instructions called -``SAPLING_VERIFY_UPDATE`` and ``SAPLING_EMPTY_STATE`` -(see the :doc:`Michelson reference` -for more details). - -``SAPLING_EMPTY_STATE`` pushes an empty ``sapling_state`` on the stack. - -``SAPLING_VERIFY_UPDATE`` takes a transaction and a state and -returns an -option type which is ``Some(bound_data, balance and updated -state)`` if the transaction is correct, ``None`` otherwise. -A transaction has a list of inputs, outputs, a balance, -the root of the Merkle tree containing its inputs, some bound data and a signature. - -The verification part checks: - -- the zero-knowledge proofs of all inputs - and outputs of the transaction, which guarantee several properties of - correctness -- a (randomised) signature associated with each input - (which guarantees that the owner forged the transaction), and the - signature that binds the whole transaction together and guarantees the - correctness of the balance -- that the root of the Merkle tree appears in - one of the past states and that the nullifiers are not already - present (i.e. no double spending is happening). - -All the signatures are over the hash of the data that we wish to sign -and the hash function used is Blake2-b, prefixed with the anti-replay string. -The anti-replay string is the the concatenation of the chain id and -the smart contract address. The same string has to be used by the client for -signing. - -If one of the checks fails, the instruction returns None. -Otherwise the function adds to the new state the nullifiers given with each input -and adds the outputs to the Merkle tree, which will produce a new root. -It should be noted that it is possible to generate transactions -referring to an old root, as long as the inputs used were present in -the Merkle tree with that root and were not spent after. -In particular, the protocol keeps 120 previous roots and guarantees -that roots are updated only once per block. -Considering 2 blocks per minute and that each block contains at least -one call to the same contract, a client has 1 hour to have its -transaction accepted before it is considered invalid. - -The nullifiers are stored in a set. The ciphertexts and other relevant -information linked to the commitment of the Merkle tree are -stored in a map indexed by the position of the commitment in the -Merkle tree. - -Lastly the instruction pushes on the stack an option with the bound -data, the balance, and the updated state. - -A smart contract typically shields or unshields tokens if the balance -is positive or negative, and simply updates the state if the balance -is zero. -Additionally in case of an unshield, it must use the bound data to -authorize the transfer of unshielded tokens. -For example it could convert the bound data to a public-key hash and -use it as recipient address of a Tezos transfer. - -Example contracts -~~~~~~~~~~~~~~~~~ - -Shielded tez -^^^^^^^^^^^^ - -An example contract implementing a shielded pool of tokens with a 1 to 1 conversion rate to mutez is available in the tests of the protocol at -:src:`src/proto_alpha/lib_protocol/test/integration/michelson/contracts/sapling_contract.tz`. - -Simple Voting Contract -^^^^^^^^^^^^^^^^^^^^^^ - -One might envision using Sapling to implement private voting (i.e., a secret ballot). -It is possible to adapt shielded transactions to express and quantify preferences. -**However, this is not what Sapling is designed for and it does not provide the same properties as an actual private voting protocol.** - -A naive idea is the following. - -Suppose we want a set of users to express a preference for option A or -B. We can generate two Sapling keys with two addresses that are -published and represent the two options. -The contract lets each user create a token which represents one vote -that can then be transferred to address A or B. -Using the published viewing keys everyone can check the outcome of the -vote. - -However note that: - -- A transaction can be replayed and we can see the balance of A or B going up. -- This system does not offer ballot privacy. - -Therefore, this idea may be usable in some practical situations, but -**we recommend in general not to use it for any important vote.** - -Note that using a random elliptic curve element as incoming viewing key (IVK) allows to generate a -dummy address that cannot be spent. This eases the counting of the votes. -To ensure that the IVK does not correspond to a normal address with spending key, one -can use the Fiat-Shamir heuristic. - - -Fees issue -~~~~~~~~~~ - -The Sapling integration in Tezos exhibits a privacy issue that Z-cash doesn't have. When -interacting with a shielded pool one interacts with a smart contract -via a normal transaction and therefore have to pay fees from an -implicit account. -One could guess that private transactions whose fees are paid by the -same implicit account are from the same user. -This can be mitigated by making a service that act as a proxy by -forwarding the user transactions and paying its fees. The user would -then include in the transaction a shielded output for the service that -covers the fees plus a small bonus to pay the service. -This output can be open by the service before sending the transaction -to check that there is enough money to cover its fees. - -As usually done for mitigating other Z-cash privacy issues, -users interacting with the proxy should use TOR or mitigate network -analysis as they wish. - - -RPCs -~~~~ - -There are two Sapling RPCs under the prefix ``context/sapling``. -``get_size`` returns a pair with the size of the set of commitments -and the size of the set of nullifiers. -``get_diff`` takes two optional starting offsets ``cm_from`` and ``nf_from`` -and returns the sapling state that was added from the offsets to the -current size. In particular it returns three lists: - -- commitments, -- ciphertexts from position ``cm_from`` up to the last one added, and -- nullifiers from ``nf_from`` to the last one added. - -Additionally it returns the last computed root of the Merkle tree so -that a client updating its tree using the diff can verify the -correctness of the result. - -Client support -~~~~~~~~~~~~~~ - -Wallet -^^^^^^ - -``octez-client`` supports Sapling keys and can send -shielded transactions to smart contracts. - -The client supports two ways to generate a new Sapling spending key. -It can be generated from a mnemonic using `BIP39 -`_, so -that it can be recovered in case of loss using the mnemonic. -Alternatively it is possible to derive new keys from existing ones -using `ZIP32 -`_, a Sapling -variant of `BIP32 -`_ for -hierarchical deterministic wallets. As usual, in this case it is -important to note the derivation path of the key to be able to recover -it in case of loss. -At the moment there is no hardware wallet support, keys are stored in -``~/.tezos-client/sapling_keys`` by default encrypted with a password. -**Users should take care to backup this file.** - -The client can also derive addresses from viewing keys. -By default addresses are generated using an increasing counter called -the address index. Not all indexes correspond to valid addresses for -each key so it is normal to see an increasing counter that -occasionally skips a few positions. - -The client binds each newly generated key to a -specific smart contract address. - -Operations -^^^^^^^^^^ - -The client also facilitates the creation of shielded transactions and -their transfer as arguments of smart contracts. -For now there is seamless integration to send transactions to the -reference shielded-tez contract and there are plans to support a -larger class of contracts. - -For the shielded-tez smart contract, the client supports shielding, -unshielding and shielded transactions. -In the case of shielded transactions there are two commands, one to -forge a transaction and save it to file and one to submit it to the -smart contract. -The idea is that a user should not use their own transparent tz{1,2,3} -address to submit a shielded address but rather have a third party -inject it. - - -Code base -~~~~~~~~~ - -The current code-base is organized in three main components. -There is a core library called ``lib_sapling`` which binds ``librustzcash``, -adds all the data structures necessary to run the Sapling -protocol and includes a simple client and baker. -Under the protocol directory there is a ``lib_client_sapling`` library -which implements a full client capable of handling Sapling keys and -forging transactions. -Lastly in the protocol there is a efficient implementation of the -Sapling storage, in the spirit of ``big_map``\ s, and the integration of -``SAPLING_VERIFY_UPDATE`` in the Michelson interpreter. - -Protocol -^^^^^^^^ - -In order to make the Sapling library available to the protocol is has -been exposed through the environment that sandboxes the protocol. -The changes to :src:`src/lib_protocol_environment` were delivered -as part of version V1 of the environment. - -There are two main forms of support in the economic protocol: the storage -for Sapling and the addition of ``SAPLING_VERIFY_UPDATE`` to the -Michelson interpreter. - -Given that the storage of a Sapling contract can be substantially -large, it is important to provide an efficient implementation. -Similarly to what is done for big_maps, the storage of Sapling can't -be entirely deserialized and modified in memory but only a diff of the -changes is kept by the interpreter and applied at the end of each -smart contract call. - -The Michelson language offers two special-purpose types: ``sapling_state`` and -``sapling_transaction``, and one instruction: ``SAPLING_VERIFY_UPDATE``. - -Client -^^^^^^ - -Under ``lib_client_sapling`` there is the client integration -with the support for Sapling keys and forging of transactions. -The main difference from the ``lib_client`` library is the need for the -Sapling client to keep an additional state, for each contract. -Because Sapling uses a UTXO model it is necessary for a client to -compute the set of unspent outputs in order to forge new transactions. -Computing this set requires scanning all the state of a contract which -can be expensive. -For this reason the client keeps a local state of the unspent outputs -after the last synchronization and updates it before performing any -Sapling command. -The update is done using the RPCs to recover the new updates since the -last known position. - -The state of all Sapling contracts is stored in -``~/.tezos-client/sapling_states``. This file can be regenerated from -the chain in case of loss. However disclosure of this file will reveal -the balance and the unspent outputs of all viewing keys. - -Memo -^^^^^^ - -Sapling offers the possibility to add an arbitrary memo to any -created output. The memo is encrypted and available to anyone -owning the outgoing viewing key or the spending key. -For privacy reasons the size of the memo is fixed per contract -and it is chosen at origination time. -A transaction containing an output with a different memo-size -will be rejected. -Our client adds a default zero-filled message of the -right length. If a message is provided with the ``--message`` option, -the client will pad it or truncate it if necessary. A warning message -is printed only if the user's message is truncated. - -Sandbox tutorial -~~~~~~~~~~~~~~~~ - -Let us show how to test the system end-to-end using the -:doc:`../user/sandbox`. -After having set up the sandbox and originated the contract, a good -way to get familiar with the system is to generate keys and then -perform the full cycle of shielding, shielded transfer and -unshielding. - -:: - - # set up the sandbox - ./src/bin_node/octez-sandboxed-node.sh 1 --connections 0 & - eval `./src/bin_client/octez-init-sandboxed-client.sh 1` - octez-activate-alpha - - # originate the contract with its initial empty sapling storage, - # bake a block to include it. - # { } represents an empty Sapling state. - octez-client originate contract shielded-tez transferring 0 from bootstrap1 \ - running src/proto_alpha/lib_protocol/test/integration/michelson/contracts/sapling_contract.tz \ - --init '{ }' --burn-cap 3 & - octez-client bake for bootstrap1 - - # if necessary, you can get information from the octez-client manual - octez-client sapling man - - # generate two shielded keys for Alice and Bob and use them for the shielded-tez contract - # the memo size has to be indicated - octez-client sapling gen key alice - octez-client sapling use key alice for contract shielded-tez --memo-size 8 - octez-client sapling gen key bob - octez-client sapling use key bob for contract shielded-tez --memo-size 8 - - # generate an address for Alice to receive shielded tokens. - octez-client sapling gen address alice - zet1AliceXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Alice's address - - - # shield 10 tez from bootstrap1 to alice - octez-client sapling shield 10 from bootstrap1 to zet1AliceXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX using shielded-tez --burn-cap 2 & - octez-client bake for bootstrap1 - octez-client sapling get balance for alice in contract shielded-tez - - # generate an address for Bob to receive shielded tokens. - octez-client sapling gen address bob - zet1BobXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Bob's address - - # forge a shielded transaction from alice to bob that is saved to a file - octez-client sapling forge transaction 10 from alice to zet1BobXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX using shielded-tez - - # submit the shielded transaction from any transparent account - octez-client sapling submit sapling_transaction from bootstrap2 using shielded-tez --burn-cap 1 & - octez-client bake for bootstrap1 - octez-client sapling get balance for bob in contract shielded-tez - - # unshield from bob to any transparent account - octez-client sapling unshield 10 from bob to bootstrap1 using shielded-tez --burn-cap 1 - ctrl+z # to put the process in background - octez-client bake for bootstrap1 - fg # to put resume the transfer diff --git a/docs/nairobi/smart_rollups.rst b/docs/nairobi/smart_rollups.rst deleted file mode 100644 index 67007ad7c90e..000000000000 --- a/docs/nairobi/smart_rollups.rst +++ /dev/null @@ -1,339 +0,0 @@ -Smart Optimistic Rollups -======================== - -A **rollup** is a processing unit that receives, retrieves, and -interprets input messages to update its local state and to produce -output messages targetting the Tezos blockchain. In this -documentation, we will generally refer to the rollup under -consideration as the Layer 2 on top of the Tezos blockchain, -considered as the Layer 1. - -Rollups are a permissionless scaling solution for the Tezos -blockchain. Indeed, anyone can originate and operate one or more -rollups, allowing to increase the throughput of the Tezos blockchain, -(almost) arbitrarily. - -The purpose of this documentation is to provide an overview of the terminology and basic principles of smart rollups. -In the :doc:`../shell/smart_rollup_node`, we will provide a complete tour -of smart rollups related workflows and reference documentation for the development of a WASM kernel. - -The integration of these rollups in the Tezos protocol is -*optimistic*: this means that when a participant publishes a claim -about the state of the rollup, this claim is *a priori* -trusted. However, a refutation mechanism allows anyone to economically -punish someone who has published an invalid claim. Therefore, thanks -to the refutation mechanism, a single honest participant is enough to -guarantee that the input messages are correctly interpreted. - -In the Tezos protocol, the subsystem of smart rollups is generic with -respect to the syntax and the semantics of the input messages. More -precisely, the originator of a smart rollup provides a program named a -**kernel** (in one of the languages supported by Tezos) responsible -for interpreting input messages. During the refutation mechanism, the -execution of this kernel is handled by a **Proof-generating Virtual -Machine (PVM)** for this language, provided by the Tezos protocol, -which allows to prove that the result of applying an input message to -the rollup context is correct. The rest of the time, any VM -implementation of the chosen language can be used to run the smart -rollup kernel, provided that it is compliant with the PVM. - -The smart rollup infrastructure currently supports the WebAssembly -language. A WASM rollup runs a kernel expressed in WASM. The role of the kernel is -to process input messages, to update a state, and to output messages -targeting the Layer 1 following a user-defined logic. Anyone can -develop a kernel or reuse existing kernels. A typical use case of WASM -rollups is to deploy a kernel that implements the Ethereum Virtual -Machine (EVM) and to get as a result an EVM-compatible Layer 2 running -on top of the Tezos blockchain. WASM rollups are not limited to this -use case though: they are fully programmable, hence their names, smart -optimistic rollups, as they are very close to smart contracts in terms -of expressiveness. - -Overview --------- - -Just like smart contracts, smart rollups are decentralized software -components. However, contrary to smart contracts that are processed -by the network validators automatically, a smart rollup requires -a dedicated *rollup node* to function. - -Any user can originate, operate, and interact with a rollup. For the -sake of clarity, we will distinguish three kinds of users in this -documentation: operators, kernel developers, and end-users. An -operator deploys the rollup node to make the rollup progress. A kernel -developer writes a kernel to be executed within a rollup. An end-user -interacts with the rollup through Layer 1 operations or Layer 2 input -messages. - -Address -^^^^^^^ - -When a smart rollup is originated on the Layer 1, a unique address is -generated to uniquely identify it. A smart rollup address starts with -the prefix ``sr1`` -(see also the :ref:`kinds of address prefixes in Tezos `). - -Inputs -^^^^^^ - -There are two channels of communication to interact with smart rollups: - -#. a global **rollups inbox** allows the Layer 1 to transmit - information to all the rollups. - -#. a **reveal data channel** allows each rollup to retrieve data - coming from data sources external to the Layer 1. Rollups requests - data through that channel to the runner of that rollup kernel - (i.e. the smart rollup node). - -Rollups inbox -""""""""""""" - -The inbox is unique to all rollups and contains two kinds of messages: -*external* messages are pushed through a Layer 1 manager operation -while *internal* messages are pushed by Layer 1 smart contracts or by -the protocol itself. All messages (external and internal) pushed to -the inbox also contain the Layer 1 level of their insertion and a -counter. The counter is the index of the message and it is reset at -each Layer 1 level. - -External messages -''''''''''''''''' - -Anyone can push a message to the rollups inbox. This message is a mere -sequence of bytes following no particular underlying format. The -interpretation of this sequence of bytes is the responsibility of each -kernel. - -There are two ways for end-users to push an external message to the -rollups inbox: first, they can inject the dedicated Layer 1 operation -using the Octez client (see command ``send smart rollup message - from ``); second, they can use the batcher -of a smart rollup node. More details can be found in :doc:`../shell/smart_rollup_node`. - -Internal messages -''''''''''''''''' - -Contrary to external messages, which are submitted by the end users, -internal messages are constructed by the Layer 1. - -At the beginning of every Tezos block, the Layer 1 pushes two internal -messages: “Start of level”, and “Info per level”. “Start of level” -does not have any payload associated to it, while “Info per level” -provides to the kernel the timestamp and block hash of the predecessor -of the current Tezos block. If the Tezos block is the first block of a -protocol, then the Layer 1 pushes another message “Protocol migration” -just after the “Info per level” that provides the new protocol version -(i.e. ``_``). - -A rollup is identified by an address and has an associated Michelson -type (defined at origination time). Any Layer 1 smart contract can -perform a transfer to this address with a payload of this type. This -transfer is realized as an internal message pushed to the rollups -inbox. - -Finally, after the application of the operations of the Tezos block, -the Layer 1 pushes one final internal message “End of -level”. Similarly to “Start of level“, this internal messages does not -come with any payload. - -.. _reveal_data_channel_smart_rollups: -.. _reveal_data_channel_smart_rollups_nairobi: - -Reveal data channel -""""""""""""""""""" - -The reveal data channel is a communication interface that allows the -rollup to request data from sources that are external to the inbox and -can be unknown to the Layer 1. The rollup node has the responsibility -to answer the rollup requests. - -A rollup can do the following requests through the reveal data channel: - -#. **preimage requests**: The rollup can request arbitrary data of at - most 4kBytes, provided that it knows its (blake2b) hash. The - request is fulfilled by the :doc:`../shell/smart_rollup_node`. - -#. **metadata requests** The rollup can request information from the - protocol, namely the address and the origination level of the - rollup node itself. The rollup node retrieves this information - through RPCs to answer the rollup. - -Information passing through the reveal data channel does not have to -be considered by the Layer 1: for this reason, the volume of -information is not limited by the bandwidth of the Layer 1. Thus, the -reveal data channel can be used to upload large volumes of data to the -rollup. - -Origination -^^^^^^^^^^^ - -A smart rollup is characterized by the kind of Proof-generating -Virtual Machine (PVM), the kernel written in a language that the PVM -can interpret, and by the Michelson type of the entrypoint used by -Layer 1 smart contracts to send internal messages to it. All these -characteristics are provided when originating a new smart rollup. - -Processing -^^^^^^^^^^ - -Each time a Tezos block is finalized, a rollup reacts to three kinds -of events: the beginning of the block, the input messages possibly -contained in that block, and the end of the block. A **rollup node** -implements this reactive process: it downloads the Tezos block and -interprets it according to the semantics of the PVM. This -interpretation can require updating a state, downloading data from -other sources, or performing some cryptographic verifications. The -state of the rollup contains an **outbox**, that is a sequence of -latent calls to Layer 1 contracts. - -The behavior of the rollup node is deterministic and fully specified -by a reference implementation of the PVM embedded in the -protocol. Notice that the PVM implementation is meant for -verification, not performance: for this reason, a rollup node does not -normally run a PVM to process inputs but a **fast execution engine** -(e.g., based on the Wasmer runtime for the WASM PVM in the case of the -rollup node distributed with Octez). This fast execution engine -implements the exact same semantics as the PVM. The PVM is only ever -used by the rollup node when it needs to produce a proof during the -last step of the refutation mechanism. - -Commitments -^^^^^^^^^^^ - -Starting from the rollup origination level, levels are partitioned -into **commitment periods** of 60 consecutive blocks. - -A **commitment** claims that the interpretation of all inbox messages -published during a given commitment period and applied on the state of -a parent commitment led to a given new state by performing a given -number of execution steps of the PVM. Execution steps are called -**ticks** in the smart rollups terminology. - -A commitment must be published on the Layer 1 any time after each commitment period, to have the rollup progress. -A new commitment period starts right after the previous commitment period, no matter if commitments were published or not for the previous commitment period(s). -For example, if an operator rollup node stops running for one day long, when it comes back, it will be able to resume publishing commitments for the passed periods, in chronological order. -Indeed, a commitment is always based on a parent commitment (except -for the genesis commitment that is automatically published at -origination time), so publishing a commitment fails if the parent commitment has not yet been published. - -Since the PVM is deterministic and the inputs are completely -determined by the Layer 1 rollups inbox and the reveal channel, there -is only one honest commitment. In other words, if two distinct -commitments are published for the same commitment period, one of them -must be wrong. - -Notice that, to publish a commitment, an operator must provide a -deposit of 10,000 tez. For this reason, the operator is said to be a -**staker**. Several users can stake on the same commitment. When a -staker *S* publishes a new commitment based on a commitment that *S* is staking -on, *S* does not have to provide a new deposit: the deposit also -applies to this new commitment. - -There is no need to synchronize between operators: if two honest -operators publish the same commitment for a given commitment period, -the commitment will be published with two stakes on it. - -A commitment is optimistically trusted but it can be refuted until it -is said to be **cemented** (i.e., final, unchangeable). Indeed, right -after a commitment is published, a two-weeks refutation period -starts. During the refutation period, anyone noticing that a -commitment for a given commitment period is invalid can post a -concurrent commitment for the same commitment period to force the -removal of the invalid commitment. If no one posts such a concurrent -commitment during the refutation period, the commitment can be -cemented with a dedicated operation injected in Layer 1, and the -outbox messages can be executed by the Layer 1 by an explicit Layer 1 -operation (see :doc:`../shell/smart_rollup_node`), typically -to transfer assets from the rollup to the Layer 1. - -The outbox messages can follow two different formats. Firstly, the Layer 1 -operations contained in the outbox messages can be left untyped, meaning only -the Micheline expression is provided by the kernel. Before executing the -transaction, the Layer 1 typechecks said expression against the expected type -of the targeted entrypoint. Since Nairobi, it is also possible for the kernel -to provide its expected type of the targeted entrypoint. This additional safety -mechanism is to avoid type confusion: namely, a kernel transferring a tuple -that the Layer 1 interprets as a ticket. - -Refutation -^^^^^^^^^^ - -Because of concurrent commitments, a rollup is generally related to a -**commitment tree** where branches correspond to different claims -about the rollup state. - -By construction, only one view of the rollup state is valid (as the -PVM is deterministic). When two concurrent branches exist in the -commitment tree, the cementation process is stopped at the first fork -in the tree. To unfreeze the cementation process, a **refutation -game** must be started between *two concurrent stakers* of these -branches. Refutation games are automatically played by rollup nodes to -defend their stakes: honest participants are guaranteed to win these -games. Therefore, an honest participant should not have to worry about -refutation games. Finally, a running refutation game does not prevent -new commitments to be published on top of the disputed commitments. - -A refutation game is decomposed into two main steps: a dissection -mechanism and a final conflict resolution phase. During the first -phase, the two stakers exchange hashes about intermediate states of -the rollups in a way that allows them to converge to the very first -tick on which they disagree. The exact number of hashes exchanged at a -given step is PVM-dependent. During the final phase, the stakers must -provide a proof that they correctly interpreted this conflicting tick. - -The Layer 1 PVM then determines whether these proofs are valid. There -are only two possible outcomes: either one of the staker has provided -a valid proof, then that staker wins the game, and is rewarded with half of the -opponent's deposit (the other half being burnt); or, both stakers have -provided an invalid proof and they both lose their deposit. In the -end, at most one stake will be kept in the commitment tree. When a -commitment has no more stake on it (because all stakers have lost the -related refutation games), it is removed from the tree. An honest -player *H* must therefore play as many refutation games as there are -stakes on the commitments in conflict with *H*'s own commitment. - -Finally, notice that each player is subject to a timer similar to a -chess clock, allowing each player to play only up to one week: after -this time is elapsed, a player can be dismissed by any Layer 1 user -playing a timeout operation. Thus, the refutation game played by the -two players can last at most 2 weeks. - -There is no timeout for starting a refutation game after having -published a concurrent commitment. However, assuming the existence of -an honest participant, that participant will start the refutation game with all -concurrent stakers to avoid the rollup being stuck. - -Glossary --------- - -#. **PVM**: A Proof-generating Virtual Machine is a reference - implementation for a device on top of which a smart rollup can be - executed. This reference implementation is part of the Tezos - protocol and is the unique source of truth regarding the semantics - of rollups. The PVM is able to produce proofs enforcing this truth. - This ability is used during the final step of refutation games. - -#. **Inbox**: A sequence of messages from the Layer 1 to smart rollups. - The contents of the inbox is determined by the consensus of the - Tezos protocol. - -#. **Outbox**: A sequence of messages from a smart rollup to the Layer 1. - Messages are smart contract calls, potentially containing tickets. - These calls can be triggered only when the related commitment is - cemented (hence, at least two weeks after the actual execution of - the operation). - -#. **Commitment period**: A period of 60 blocks during which all inbox - messages must be processed by the rollup node state to compute a - commitment. A commitment must be published for each commitment - period. - -#. **Refutation period**: When the first commitment for a commitment period is published, a refutation - period of two weeks starts to allow this commitment to be challenged. - -#. **Staker**: An implicit account that has made a deposit on a - commitment. - -#. **Refutation game**: A process by which the Tezos protocol solves - a conflict between two stakers. diff --git a/docs/nairobi/tickets.rst b/docs/nairobi/tickets.rst deleted file mode 100644 index b1b9a2fc4b5e..000000000000 --- a/docs/nairobi/tickets.rst +++ /dev/null @@ -1,152 +0,0 @@ -Tickets -======= - -Tickets are a special class of assets on Tezos that contracts can construct and store, and that can then be transferred between contracts, implicit accounts, or rollups. -They are useful to model ownership of some digital artefact, existing in a limited number of copies (or instances); this can further serve as a basis for restricting access to the artefact and permissions to use it. -In this document, we will explain the semantics and lifetime of tickets, including creation, transfer, and destruction. - - -Semantics ---------- - -A ticket represents a digital artefact existing in a limited number of copies (or instances). -As such, a ticket has the following four attributes: - -#. ``ticketer`` is the creator of the ticket, which is always a Tezos smart contract. - -#. ``contents`` is the :doc:`Michelson <./michelson>` expression attached to the ticket. - -#. ``content_ty`` is the :doc:`Michelson <./michelson>` type of the ``contents`` data. It can be any comparable type. - -#. ``amount`` is the amount of the ticket. It is a strictly positive whole number. - -Furthermore, a `ticket `__ cannot be duplicated -with the `DUP `__ -or the `DUP n `__ instructions. - - -Operations on tickets ---------------------- - -Creating -~~~~~~~~ - -Tickets can be constructed by smart contracts. To construct tickets, smart contracts use the ``TICKET`` -`instruction `__ with some ticket amount, -ticket content type, and value as inputs. -Smart contracts then may store them in contract storage or transfer them along to either -other contracts, rollups, or implicit accounts. - -Tickets cannot be constructed with instructions for duplication, such as ``DUP``. -Therefore, the issuance of tickets is completely within the control of the ticketer contract by -invoking ``TICKET`` instructions. - -Splitting -~~~~~~~~~ - -A ticket can be split into two tickets with the same ``contents`` and ``ticketer`` values, -as long as the sum of the ``amount`` of the two tickets is equal to that of the original. -This operation allows tickets to be spent across several transactions -by breaking tickets into smaller tickets. -Smart contracts may split tickets by invoking the `SPLIT_TICKET `__ instruction. -The ticket splitting is done automatically when an implicit account transfers part of a ticket. - -Joining -~~~~~~~ - -Tickets issued by the same ``ticketer`` contract with the same ``contents`` data of the -same ``contents_ty`` type are considered of the same kind. -Therefore, two such tickets can be **joined** into one ticket and the output ``amount`` -will be the sum of those of the two input tickets. -Smart contracts can join tickets via the `JOIN_TICKETS `__ instruction. -Tickets of the same kind are automatically joined when they belong to the same implicit account. - -Transferring -~~~~~~~~~~~~ - -Once a ticket has been constructed by a smart contract, it may be transferred to other contracts as follows: - -- *Smart contract to implicit account*: Smart contracts can transfer a ticket to implicit accounts - via `TRANSFER_TOKENS `__. - To do so, the contract needs to cast the address of the target implicit account to type ``contract (ticket cty)`` where ``cty`` is the type of the content of the ticket to be sent. This can be done using ``CONTRACT (ticket cty)``. - The rest is the same as making a contract call. - The following Michelson snippet is an example sending a ticket of amount ``10`` with a ``string`` content - ``"some ticket"`` to an implicit account address made available at the top of the stack. - -:: - - # Stack: address :: S - CONTRACT (ticket string) ; - # Stack: option (contract (ticket string)) :: S - ASSERT_SOME ; - # Stack: contract (ticket string) :: S - PUSH mutez 0 ; - # Stack: mutez :: contract (ticket string) :: S - PUSH nat 10 ; - # Stack: nat :: mutez :: contract (ticket string) :: S - PUSH string "some ticket" ; - # Stack: string :: nat :: mutez :: contract (ticket string) :: S - TICKET ; - # Stack: option (ticket string) :: mutez :: contract (ticket string) :: S - ASSERT_SOME ; - # Stack: ticket string :: mutez :: contract (ticket string) :: S - TRANSFER_TOKENS ; - # Stack: operation :: S - -- *Between smart contracts*: Contracts can send tickets to other contracts via regular contract - calls using the instruction ``TRANFSER_TOKENS``, - as long as target contracts accept tickets of matching content type in their ``parameter``\s. - -- *Between implicit accounts*: Implicit accounts can transfer existing tickets they own to other implicit accounts - with ``Transfer_ticket`` operation from their wallets. - For instance, ``octez-client`` can be invoked in the following way by an implicit account holder ``alice`` - to transfer a ticket of amount ``10``, type ``string``, content ``"some ticket"`` and ticketer ``ticketer`` - to another implicit account held by ``bob``. - -:: - - octez-client transfer 10 tickets from alice to bob with entrypoint default and type string and content '"some ticket"' and ticketer 'ticketer' - -If the amount of the ticket ``"some ticket"`` owned by ``alice`` was greater than 10, -this transfer would cause an automatic ticket split, -after which ``alice`` would continue to own the remaining amount. - -Note that the above command uses the expression "transfer 10 tickets" of the given kind, -instead of "transfer a ticket of amount 10". -Indeed, by virtue of automatic joining of tickets of the same kind belonging to the same implicit account, -this formulation does not introduce any ambiguity: -the implicit account cannot hold several distinct tickets of this kind. -Of course, these expressions would not be interchangeable for tickets belonging to a smart contract. - -- *Implicit account to smart contract*: Using the same ``Transfer_ticket`` operation, implicit accounts - can also send their tickets to smart contracts. - In this case, the entrypoint, as defined by the specification of the target contract, must accept this kind of tickets. - Here is an example using ``octez-client`` to transfer a ticket of amount ``10``, type ``string``, - content ``"some ticket"`` and ticketer ``ticketer`` owned by ``alice`` to a contract ``receiver`` accepting tickets - at the entrypoint ``save``. - -:: - - octez-client transfer 10 tickets from alice to receiver with entrypoint save and type string and content '"some ticket"' and ticketer 'ticketer' - -In this case, too, automatic ticket splitting may happen, under the same circumstances. - -.. note:: - - This page does not cover transfers of tickets to/from rollups. For that, refer to the documentation pages of particular rollups (e.g. :doc:`./smart_rollups`). - - -Destroying -~~~~~~~~~~~ - -Only smart contracts can destroy tickets, by simply dropping them. -That is, by not storing them anymore -in the contract storage and not sending them to other contracts. -Implicit accounts, on the other hand, cannot destroy any ticket in their possession. - -For instance, an implicit account ``A`` may receive a ``string`` ticket of amount ``2`` with -content ``Lorem ipsum`` created by a smart contract ``B``. -``A`` may send amount ``1`` of it to a smart contract ``C``. This automatically splits the ticket into two tickets of amount ``1``. -Now ``C`` may destroy this ticket by dropping it and ``A`` will still hold a ticket of amount ``1`` -with a ``string`` content ``Lorem ipsum`` created by ``B``. -It will remain in the possession of ``A`` until ``A`` sends it to another implicit account or smart contract. diff --git a/docs/nairobi/timelock.rst b/docs/nairobi/timelock.rst deleted file mode 100644 index 870c2280721d..000000000000 --- a/docs/nairobi/timelock.rst +++ /dev/null @@ -1,75 +0,0 @@ -Time-lock -========= - -Time-lock is a cryptographic primitive that can be used as part of a commit & reveal scheme, to provide a guarantee that the information associated to the commit phase is eventually revealed. - -For more background information on time-locks and their uses, see `Timelocks `__ in the Tezos documentation. - -Cryptographic design --------------------- - -The time-lock features are supported in Octez by the :package-api:`Tezos_crypto.Timelock library `. - -Users first generate a RSA modulus and a symmetric encryption key. -They use authenticated encryption to encrypt a packed Michelson value (an array of bytes computed with ``PACK``) -and encrypt that encryption key using a time-lock puzzle. -They then combine the RSA modulus, the time-locked symmetric key, the constant ``T`` -and the encrypted value as a single value as well (called ``chest`` in our library). - -A proof of decryption can be the symmetric key itself. -However, a malicious user could propose an authenticated ciphertext that does not yield a valid value -even when decrypted with the symmetric key that was indeed time locked. -To avoid this threat, an opening (called ``chest_key`` in our library) includes the symmetric key and -a proof that the symmetric key proposed is indeed the one hidden in the time-lock puzzle. -In this way one can differentiate whether the chest or the chest_key was proposed by a -malicious user. - - -Opcode and types ----------------- - -To expose the features of this library, the Michelson language provides the following types: - -- ``chest``, which represents time-locked arbitrary bytes with the - necessary public parameters to open it. -- ``chest_key``, which represents the decryption key, - alongside with a proof that the key is correct. - -and the following opcode: - -``open_chest :: chest_key → chest → time → or (bytes, bool)`` - -``open_chest`` takes a ``chest`` and ``chest_key``, and produces either the underlying plaintext -or indicates that the ``chest`` or the ``chest_key`` is malicious. - -If we open the chest with a correctly generated chest key, the instruction pushes -``Left bytes`` on top of the stack where the bytes are -cryptographically guaranteed to be the bytes the chest provider time-locked. -If the ciphertext does not decrypt under the symmetric key that was time-locked, it pushes on the stack -``Right False``. -If the provided symmetric key was not the one time-locked -(detectable due to the time-lock proof), -it pushes on the stack ``Right True``. -Note that the implementation uses an authenticated encryption scheme, -so one can detect if someone provides a wrong key while fooling the time-lock proof. -This is doable only by someone knowing the factorization of the RSA modulus. -However, this cannot prevent someone from encrypting a wrong key, or putting -a wrong message authentication code, so this is why a proof of correctness is still needed. - - -Implementation of the time-lock puzzle --------------------------------------- - -The implementation of the time-lock puzzle -and proof scheme is located in :src:`src/lib_crypto/timelock.ml`. It is inspired by -the proof-of-concept shown -`here `__. - -The utility developed by `Completium `_ available `here `__, -allows a user to create chests and chest keys to interact with a smart contract. - - -Example -------- - -The built-in :src:`coin flip contract ` gives an example of using time-lock. Beware this contract is for educational purpose only and is not secure. diff --git a/docs/nairobi/token_management.rst b/docs/nairobi/token_management.rst deleted file mode 100644 index 5362d1a09ccd..000000000000 --- a/docs/nairobi/token_management.rst +++ /dev/null @@ -1,203 +0,0 @@ -Token transfers and balance updates -=================================== - -This page describes the reporting of tokens transfers in block metadata, as a sequence of balance updates. They serve among others to the Octez client to derive and print the `Balance updates` sections of the receipts reported when operations are included in blocks. - -Overview -~~~~~~~~ - -Minting, transferring or burning tokens is handled by the :package-api:`Token ` module. -The module provides functions (``Token.transfer`` and ``Token.transfer_n``) to transfer tokens from one, respectively from more accounts, to another account. -Balance updates found in block metadata are generated by these functions as a trace of the token movements having taken place. - -Balance updates indicate that either: tokens have been minted and deposited into an account, transferred from or to another account, or taken from an account and burned. -In the Json format, a balance update consists of three parts: - - - an account identification indicated by a combination of fields such as: ``kind``, ``category``, ``contract``, ... - - - the amount transferred (in mutez) indicated by the field ``change``. - A positive amount indicates that the account has been credited, and a negative amount indicates that the account has been debited. - - - - the cause of the update given by the field ``origin`` which may have the following values: - - * ``"block"`` means that the balance update originates from the application of a block - * ``"migration"`` means that the balance update originates from migration - * ``"subsidy"`` means that the balance update originates from subsidies for liquidity baking - - -A transfer of tokens is represented by a continuous and ordered sequence of (balance) updates. -That sequence starts with a series of debits, and ends with a credit matching those debits. -In block metadata, the field ``"balance updates"`` contains one or more transfers, represented by their sequences of updates, concatenated in a flat list. -Consider for example the following list: - -:: - - [ {"kind": "...", ..., "change": "-100", "origin": "block"}, - {"kind": "...", ..., "change": "100", "origin": "block"}, - {"kind": "...", ..., "change": "-125", "origin": "block"}, - {"kind": "...", ..., "change": "-75", "origin": "block"}, - {"kind": "...", ..., "change": "200", "origin": "block"} ] - -This list reports that two transfers have occurred: a transfer of ``100`` mutez from one account to another, and a transfer of ``200`` mutez from two accounts to a third. -There is one exception to this though: migration balance updates are a bit compressed to save space, so the list of balance updates in the corresponding metadata does not necessarily allow to correlate debits to a credit by analyzing the sequence. -However, for those balance updates, the ``delegate`` and ``contract`` fields can be used to establish correlations between debits and credits. - -Source, container, and sink accounts -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -There are three kinds of accounts: source accounts, container accounts, and sink accounts. -Tokens can be transferred from source or container accounts, to container or sink accounts. -All balance updates contain the field ``kind`` which allows to determine the kind of account it refers to. -The possible values of this field are described in the following sections (they are not simply ``"source"``, ``"container"``, and ``"sink"``). -Depending on the kind of account, more fields such as the ``category`` field may be used to identify accounts more specifically. - -Source accounts ---------------- - -Source accounts are debited whenever new tokens are minted. -A balance update refers to a source account if and only if the field ``kind`` has the value ``"minted"``. -The value of the additional field ``category`` designates one of the following fictitious accounts, each containing a virtually unlimited number of tokens: - -* ``"nonce revelation rewards"`` is the source of tokens minted to reward delegates for revealing their nonces -* ``"double signing evidence rewards"`` is the source of tokens minted to reward delegates for injecting a double signing evidence -* ``"endorsing rewards"`` is the source of tokens minted to reward delegates for endorsing blocks -* ``"baking rewards"`` is the source of tokens minted to reward delegates for creating blocks -* ``"baking bonuses"`` is the source of tokens minted to reward delegates for validating blocks and including extra endorsements -* ``"subsidy"`` is the source of tokens minted to subsidize the liquidity baking CPMM contract -* ``"invoice"`` is the source of tokens minted to compensate some users who have contributed to the betterment of the chain -* ``"commitment"`` is the source of tokens minted to match commitments made by some users to supply funds for the chain -* ``"Sc_rollup_refutation_rewards"`` is the source of tokens minted to reward an account for winning a smart-contract rollup refutation game -* ``"bootstrap"`` is analogous to ``"commitment"`` but is for internal use or testing. - It will not be used during normal operation on mainnet, but may be used on test networks or in sandboxed mode -* ``"minted"`` is only for internal use and may be used to mint tokens for testing. - It will not be used during normal operation on mainnet, but may appear on test networks or in sandboxed mode. - -Container accounts ------------------- - -Container accounts are regular (user and smart contract) accounts, or convenience accounts that hold tokens temporarily (e.g. when parts of a delegate's funds are frozen). -The field ``kind`` allows to identify the type of container account, it can have one of the following values: - -* ``"contract"`` represents implicit or originated accounts, and comes with the additional field (also called) ``contract`` whose value is the public key hash of the implicit or originated account. -* ``"freezer"`` represents frozen accounts, and comes with the additional field ``category`` that can have one of the following values: - - - ``"legacy_deposits"``, ``"legacy_fees"``, or ``"legacy_rewards"`` represent the accounts of frozen deposits, frozen fees or frozen rewards up to protocol HANGZHOU. - Accounts in this category are further identified by the following additional fields: - - - the field ``delegate`` contains the public key hash of the delegate who owns the frozen funds - - the field ``cycle`` contains the cycle at which the funds have been deposited or granted. - - - ``"deposits"`` represents the accounts of frozen deposits in subsequent protocols (replacing the legacy container account ``"legacy_deposits"`` above). - Accounts in this category are further identified by the additional field ``delegate`` whose value is the public key hash of the delegate who owns the frozen funds. - - - ``"bonds"`` represents the accounts of frozen bonds. - Bonds are like deposits. - However, they can be associated to implicit or originated accounts, unlike deposits that only apply to implicit accounts that are also delegates. - Accounts in this category are further identified by the following additional fields: - - - the field ``contract`` contains the public key hash of the implicit account, or the contract hash of the originated account - - the field ``bond_id`` contains the identifier of the bond (e.g. a rollup hash if the bond is associated to a transaction or a smart contract rollup). -* ``"accumulator"`` represents accounts used to store tokens for some short period of time. - This type of account is further identified by the additional field ``category`` whose (only possible) value ``"block fees"`` designates the container account used to collect manager operation fees while block's operations are being applied. - Other categories may be added in the future. -* ``"commitment"`` represents the accounts of commitments awaiting activation. - This type of account is further identified by the additional field ``committer`` whose value is the encrypted public key hash of the user who has committed to provide funds. - -Sink accounts -------------- - -Sink accounts are credited whenever tokens are burned. -A balance update refers to a sink account if and only if the field ``kind`` has the value ``"burned"``. -The value of the additional field ``category`` allows to identify more specifically a fictitious account able to receive a virtually unlimited number of tokens. -The field ``category`` of a sink account may have one of the following values: - -* ``"storage fees"`` is the destination of storage fees burned for consuming storage space on the chain -* ``"punishments"`` is the destination of tokens burned as punishment for a delegate that has double baked or double endorsed -* ``"lost endorsing rewards"`` is the destination of rewards that were not distributed to a delegate. - This category comes with the following additional fields: - - - the field ``delegate`` contains the public key hash of the delegate - - the field ``participation`` has the value ``"true"`` if participation was not sufficient and has the value ``"false"`` otherwise - - the field ``revelation`` has the value ``"true"`` if the delegate has not revealed his nonce and has the value ``"false"`` otherwise. -* ``"Sc_rollup_refutation_punishments"`` is the destination of tokens burned as punishment for submitting bad commitments that have been refuted -* ``"burned"`` is only for internal use and testing. - It will not appear on mainnet, but may appear on test networks or in sandboxed mode. - -Token transfers and metadata -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Balance updates in block metadata give a complete account of all token transfers that have occurred when a block is applied. -A few cases of token transfers and the associated metadata are illustrated below. -All other cases of token transfers in the protocol follow the same pattern. -The only differences are the accounts involved. - -Origination and transaction ---------------------------- - -When an origination or transaction operation is applied, tokens are transferred from one contract to another. -Depending on whether or not storage space has been allocated on the chain by the application of the operation, storage fees may also be burned. -For example, a transaction of ``100`` mutez from address ``tz1a...`` to address ``KT1b...`` that allocates storage space for a cost of ``10`` mutez produces the following list of balance updates: - -:: - - [ {"kind": "contract", "contract": "tz1a...", "change": "-100", "origin": "block"}, - {"kind": "contract", "contract": "KT1b...", "change": "100", "origin": "block"} - {"kind": "contract", "contract": "tz1a...", "change": "-10", "origin": "block"} - {"kind": "burned", "category": "storage fees", "change": "10", "origin": "block"} ] - -Baking fees, rewards and bonuses --------------------------------- - -When a contract pays the baking fees associated to an operation it has emitted, those fees are temporarily collected (during the processing of the block) into the container account ``"block fees"``. -For example, when a manager operation is applied, the account of the payer contract is debited with the amount of fees and the ``"block fees"`` account is credited with the same amount. Hence, for ``100`` mutez in fees, the following balance updates are generated : - -:: - - [ {"kind": "contract", "contract": "tz1x...", "change": "-100", ...}, - {"kind": "accumulator", "category": "block fees", "change": "100", ...} ] - -When all operations of a block have been applied baking fees rewards and bonuses are distributed. -The total amount of fees collected and the baking rewards are transferred from the container account ``"block fees"`` and the source account ``"baking rewards"``, respectively, to the contract of the payload producer that selected the transactions to be included in the block. -So, for a total amount of ``1000`` mutez in fees collected and an amount of ``500`` mutez in baking rewards, the following balance updates are generated: - -:: - - [ {"kind": "accumulator", "category": "block fees", "change": "-1000", ...}, - {"kind": "minted", "category": "baking rewards", "change": "-500", ...}, - {"kind": "contract", "contract": "tz1a...", "change": "1500", ...} ] - -The baking bonus go to the block proposer that signed and injected the block. -Hence the amount of the bonus is transferred from the source account ``"baking bonuses"`` to the contract of the block producer. -For example, the balance updates generated for an amount of ``100`` mutez in baking bonus are: - -:: - - [ {"kind": "minted", "category": "baking bonus", "change": "-100", ...}, - {"kind": "contract", "contract": "tz1b...", "change": "100", ...} ] - -Endorsing, double signing evidence, and nonce revelation rewards ----------------------------------------------------------------- - -Endorsing rewards are reflected in balance updates as a transfer of tokens from the ``"endorsing rewards"`` source account to the account of the delegate that receives the reward. -Hence, for a reward of ``100`` mutez, the following two balance updates are generated: - -:: - - [ {"kind": "minted", "category": "endorsing rewards", "change": "-100", ...}, - {"kind": "contract", "contract": "tz1...", "change": "100", ...} ] - -When endorsing rewards are not distributed to the delegate due to insufficient participation or for not revealing nonces, they are transferred instead to the sink account identified by the quadruple ``("lost endorsing rewards", delegate, participation, revelation)``. -For example, for an amount of ``100`` mutez in rewards not distributed due to insufficient participation, the following balance updates are generated: - -:: - - [ {"kind": "minted", "category": "endorsing rewards", "change": "-100", ...}, - {"kind": "burned", - "category": "lost endorsing rewards", - "delegate": "tz1...", - "participation": "true", - "revelation": "false", - "change": "100", ...} ] - -Double signing evidence rewards and nonce revelation rewards are analogous to endorsing rewards, except that the source accounts used are ``"double signing evidence rewards"`` and ``"nonce revelation rewards"``. diff --git a/docs/nairobi/validation.rst b/docs/nairobi/validation.rst deleted file mode 100644 index 561924426ccc..000000000000 --- a/docs/nairobi/validation.rst +++ /dev/null @@ -1,411 +0,0 @@ -========================== -Validation and Application -========================== - -.. FIXME tezos/tezos#3921: - - Adapt to pipelined validation up to Lima and v7 environment - -The :doc:`economic protocol` is responsible for providing -the rules that govern the Tezos network, and for enforcing that these -rules implement a correct blockchain protocol. However, it does so -:ref:`in coordination with a Tezos shell`, who -ultimately implements these rules on its behalf. To this end, a Tezos -economic protocol must provide the shell with an interface enabling -roughly the following functionalities: - -- deciding whether an operation is *valid*, and thus can be safely - included into a new block in the blockchain; - -- deciding whether a new block is *valid*, and thus can be safely - appended to the blockchain; - -- including an operation in a block, and executing it on the - blockchain state, effectively modifying the ledger state; and, - -- appending a new block to a Tezos blockchain, and computing the - updated ledger state. - -From a higher-level, *abstract* perspective, the validation system in -the Tezos protocol implements this business logic in a functional, -state-passing machine where: - -- Its state is given by the :ref:`context`, the internal - representation of the state of the Tezos ledger at a given blockchain - level. For instance, the context contains the information of all - activated accounts and contracts, and their balances. More - generally, the context must provide enough information to determine - the validity of operations, and blocks. - -- The *apply_operation* method determines whether an operation is safe - to be executed in a given context. If so, it proceeds to execute it - and outputs the context resulting from the applied operation's - effects. - -- The *apply* method takes as input a block and a context, determines - whether the block can be safely and correctly appended to the - current head of the chain. If so, it appends the block to the chain - and outputs the resulting context, reflecting the state of the - ledger after the block has successfully been applied. *apply* relies - on (i.e., it should call) *apply_operation* to validate and apply - each operation in the block, and compute intermediate states. - -.. TODO #4155: - - When creating a new environment, update references to V in the - paragraph below (only in the doc for Alpha!). - -However, the *concrete* API exported from the Tezos economic protocol -does not implement this business logic *monolithically*, as described -above, but it rather presents a more fine-grained API. The rationale -is to provide specialized variations of the core *validation* and -*application* functionality, dubbed :ref:`Validation -modes`. For example, these modes enable the -protocol to distinguish operations "in the mempool", whose validation -is triggered by the :doc:`prevalidator<../shell/prevalidation>`, from -operations included in newly received blocks, whose validation is -triggered by the :ref:`block validator`, in order to -localize validation rules as needed. The resulting concrete API is -specified by the :package-api:`Protocol -` -module in the :doc:`protocol -environment<../shell/protocol_environment>` ``V8``, and it is -implemented by this protocol in the -:package-api:`Main` -module. - -The rest of this document is organized as follows: we first describe -the different validation modes implemented by this Tezos economic -protocol, and then we delve deeper into the particulars of validation -and application for blocks and the operations supported. - -.. _validation_modes: -.. _validation_modes_nairobi: - -Validation modes -================ - -The Tezos protocol provides different validation modes, intended to be -used by the Tezos *shell* and *baker* software implementations when -needing to apply (or to assert the validity) of blocks and operations -under different, or specialized, circumstances -- for example, in -order to *bake* a block. For each of these validation modes, the API -specified by the protocol environment offers an entry point so that -protocol-agnostic components, the Tezos shell for instance, are able -to use these different modes. - -.. _full_application: -.. _full_application_nairobi: - -Full Application -~~~~~~~~~~~~~~~~ - -The ``Full application`` mode is intended to be used to *fully* -validate and apply blocks. In particular, this mode is used to -validate and apply a **known** block, with a known operation trace. A -Tezos shell implementation should use the full application mode to -decide whether an incoming block can be safely included in the -blockchain. That is, all validity checks are enabled: the block's -signature is correct, and **all** operations included in the block are -valid; the correct amount of consensus operations have been included -in order to satisfy the consensus' threshold, etc. - -.. _full_construction: -.. _full_construction_nairobi: - -Full Construction -~~~~~~~~~~~~~~~~~ - -The ``Full construction`` mode is intended to be used when a -*delegate* is trying to bake a block and therefore needs to filter the -validity of the desired operation trace, to include only valid -operations. This mode is mostly similar to the ``Full application`` -mode except that *some* global block validity checks are disabled, and -consensus operations are validated with slightly different -preconditions. For instance, since a delegate cannot sign a block -while it is being built, the signature check is disabled, and it will -be left to the baker to correctly sign the resulting block after its -construction is finalized. - -In Octez, this mode is mainly used by the baker daemon. - -.. _partial_construction: -.. _partial_construction_nairobi: - -Partial Construction -~~~~~~~~~~~~~~~~~~~~ - -The ``Partial construction`` mode, also known as ``Mempool mode`` is -used by the :doc:`prevalidator component<../shell/prevalidation>` of -an Octez node to validate incoming operations -- that is, those -not-yet included into blocks. This mode's business-logic is very close -to the ``Full construction`` mode, and the differences boil down to -the intended usage. The partial construction mode does not try to -fully bake a block, but rather to inform the Octez prevalidator on the -potential validity of operations (and whether they can safely included -into a block), so that the latter can **classify** incoming -operations, and further decide how to process them accordingly. - -.. _protocol_classification: -.. _protocol_classification_nairobi: - -The protocol provides the shell with the following classification of -an operation, consisting of one valid kind -- ``Applied`` --, and -:ref:`four error kinds ` defined by the -protocol environment: - -- ``Applied``: the operation is valid and can be included in a - potential block in the current context. - -- ``Temporary``: the operation is invalid in the current context, but - it could *later* become valid -- in the context associated to a - successor block of the current head. For instance, a manager - operation whose counter value is greater than the one expected (a - *"counter-in-the-future"* error), or the manager's balance is - insufficient to pay the operation's fees, etc. - -- ``Branch``: the operation is invalid in the current context and in - any possible context from its future successors, but it might still - be valid in an alternative branch. For example: a manager operation - with a smaller counter than the one expected (a - *"counter-in-the-past"* error), an unexpected endorsement for the - current level, etc. - -- ``Permanent``: the operation is invalid in the current context, and - there isn't any plausible context where it might be or become - valid. For example, an operation carrying an invalid signature. - -- ``Outdated``: the operation is *too old* to be included in a - block. Furthermore, there might be still some value in the - information provided by an ``Outdated`` operation. An example is the - case of an endorsement which was received *too late*, but that could - still be used to form a consensus quorum. - -.. _partial_application: -.. _partial_application_nairobi: - -Partial Application -~~~~~~~~~~~~~~~~~~~ - -The ``Partial application`` mode is used for :ref:`multi-pass -validation`. Its aim is to provide Tezos shell -implementations with a light-weight (read "fast") block application -mechanism, which can determine whether a block has a *chance* of being -valid or not, in a situation when the provided context is *not a -recent one*. That is, when the block candidate succeeds neither the -head of the chain, nor a close ancestor. - -This validation mode is typically used when the node receives a -significantly large branch -- for instance, while bootstrapping. To -check whether this branch is plausibly valid or potentially malicious -spam, the shell retrieves the context from the most recent common -ancestor between its current head and the announced branch, and -proceeds to "partially apply" each block of this branch using the -common ancestor's context. - -Indeed, by relying on the ancestor context, this mode can *only* -assert the validity of consensus-related preconditions (endorsing -power, block fitness, etc.), as future consensus slots are known in -advance -- how much in advance being specified by the -```` protocol constant. Thus, the `Partial -application` mode provides an over-approximation of the branch's -validity, and as a result intermediate results are not committed on -disk in order to prevent potential attacks. - -.. _block_validation_overview: -.. _block_validation_overview_nairobi: - -Block Validation -================ - -.. FIXME tezos/tezos#3921: - - Adapt to pipelined block validation up to Lima and v7 environment. - -The validity of a blocks depends on a set of precondition checks -implemented in different steps, which happen at different stages of -the application (and the construction) of a block. - -The first step in the process is to decide whether a candidate block -is *well-formed*, that is, that it has the expected "shape" of a valid -block under the current Tezos economic protocol. Given a block -candidate, the block validation process will then verify that the -candidate block declares consistent :ref:`level`, -:ref:`round`, and timestamp values; that it carries a valid -signature, etc. At this step, the block validation process will also -initialize the data-structures required for subsequent steps. - -The second step iterates over the block's operations and proceeds to -apply them sequentially. When at least one operation is found to be -invalid, under the conditions described in -:ref:`operation_validity_nairobi` further below, the whole block is -considered as invalid. - -The last step in the block validation process, known as "block -finalization", aims to verify that the collected consensus operations -constitute a sufficiently large :ref:`quorum`. That is, -it will verify that the total endorsing power present in the block is -greater than the ``CONSENSUS_THRESHOLD`` constant. - -This sequence of three steps also yields a new context -- the -resulting state of the Tezos ledger after the application of the -candidate block. The shell may decide to commit this context to disk. - -The Tezos economic protocol also offers a cheap (read "faster") -alternative to determine an over-approximation of the validity of a -block (see :ref:`partial_application_nairobi` above). This feature -allows the shell to propagate blocks faster without needing to fully -validate them, speeding-up block propagation over the network. Of -course, as this is an over-approximation, this feature cannot be -considered to provide a safe guarantee that a block will be valid: in -particular, it does not validate all kinds of operations. - -.. _operation_validity: -.. _operation_validity_nairobi: - -Operation Validation and Application -==================================== - -In the Tezos economic protocol, we dissociate the notion of *validity* -from the notion of *applicability* for operations. A valid operation -is an operation that can be included safely in a block without -affecting the block's validity. Applying an operation, on the other -hand, actually performs the operation's side-effects which can be: -registering a new delegate, executing a smart contract, voting for a -new protocol amendment proposal, etc. - -Note that an operation may fail during the application phase, even -though it has been checked as valid. For example, a smart contract -call that exceeds its gas limit can be included in a block even if an -error is raised at run-time. The application (that is, the operation's -side-effects) will not take effect, but fees will nonetheless be taken -from the account submitting the smart contract call. - -In the sequel we refine the validity conditions and describe the -application process for each of the different validation passes. - -.. FIXME tezos/tezos#3921: - - Expand validity and application for other validation classes. - -.. _manager_operations_validity: -.. _manager_operations_validity_nairobi: - -Validity of Manager Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -In this sub-section, we explain the conditions for manager operations -(and batches of managers operations) to be considered valid and hence -suitable for inclusion in a block. - -Validity of Individual Manager Operations -......................................... - -:ref:`Manager operation` are a class of -operations, issued by a single *manager* account which signs the -operation and pays their fees. The different manager operation kinds -share several common fields: - -- ``source``: the public key's hash of the *source* account of the - manager operation -- that is, the *manager*. -- ``fee``: the amount of tez paid to the baker which decides to - include this operation; -- ``counter``: the manager account's counter, incremented each time - this account executes a manager operation, to prevent - replay-attacks. -- ``gas_limit``: the maximum amount of gas that this operation may - consume before failing. -- ``storage_limit``: the maximum amount of storage that this operation - may require before failing. -- ``operation``: the actual operation(s) -- e.g., transfers, - smart-contract calls, originations, delegations, etc. -- ``signature``: the manager's signature used to prove its identity. - -A manager operation is **valid** if and only if all of the following -conditions hold: - -- The operation source's public key has been previously *revealed*, - unless the operation is itself a ``Reveal`` operation. -- The operation's signature is correct with regard to the manager - account's public key. -- The provided ``counter`` value is the expected one for the manager. -- Depending on the operation's kind, the ``gas_limit`` is high enough - to cover the minimal cost of parsing the operation and further - minimal treatment. -- The manager account is solvent to pay the announced fees. - -Validity of Manager Operation Batches -..................................... - -A :ref:`batch` of manager operations -includes one or more manager operations for sequential and atomic -execution. The atomicity property imposes that the validity of a batch -should entail the validity of each individual operation in the batch, -as defined above. However, it also entails some additional *global* -constraints on manager batches. - -For each of the operations present in a batch, the validation process -must check that the individual constraints above are satisfied, *with -the exception of* the signature constraint. Given that the signature -concerns the whole batch, as all operations in the batch are signed by -the same manager, it suffices to verify the signature only once. - -The **global batch validity** constraint for this economic protocol is -defined as the conjunction of the following conditions: - -- When a ``Reveal`` operation is present, **it must only occur once**, - and **it must be placed at the head** of the batch -- that is, the - ``Reveal`` operation must be the first operation in the batch. -- Every operation in the batch should declare the same `source`. -- Each of the individual operation counters must be incremented - correctly and sequentially. -- The sum of each individual operation's declared fees must be lower - than the account's balance. That is, the manager account must be - solvent to pay the announced fees for all the operations in the - batch. - -.. _manager_operations_application: -.. _manager_operations_application_nairobi: - -Application of Manager Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Once the validity of a manager operation (or, a batch of manager -operations) is established, the protocol proceeds to apply the -operation. This first step in this application phase is to transfer -the operation's fees to the baker that included this operation. Then, -the actual application depends on the operation kind. For instance, -this could be a smart contract execution, enacting a delegation, or -multiple actions executed as a batch. The application of a batch of -manager operations consists of the sequential application of each -operation in the batch, following their inclusion order -- the head of -the batch being the first manager operation being applied. - -The application of each individual manager operation may either -succeed -- and therefore be reported as ``Applied`` --, or indeed fail -with an error. In both cases, the fees are taken and the counter for -the operation's manager is incremented. - -When a manager operation fails, every side-effect which was previously -performed is backtracked. Moreover, the (rest of the) batch has to be -aborted. Thus, depending on the position of the manager operation in -a batch, its failure has to be propagated accordingly: - -- If there were other successfully applied operations in the batch - prior to the offending one, the effect of each of them has to be - reverted, and each of them will be reported as ``Backtracked``. - -- If there were other operations pending application after the - offending one, their application is aborted, and they are reported - as ``Skipped``. - -For example, let's consider a simple batch of three manager operations -``[op1, op2, op3]``, if ``op1`` is successful but ``op2`` fails, the -ticket result for the application of the manager operation batch will -report: - -* ``op1`` -- ``Backtracked``, ```op1`` was applied successfully, but - after ``op2`` failed, the operation was canceled; -* ``op2`` -- ``Failed``, the application of this particular operation failed; -* ``op3`` -- ``Skipped``, this operation was never executed because - ``op2`` had previously failed. diff --git a/docs/nairobi/voting.rst b/docs/nairobi/voting.rst deleted file mode 100644 index 6adce48ec55f..000000000000 --- a/docs/nairobi/voting.rst +++ /dev/null @@ -1,342 +0,0 @@ -The Amendment (and Voting) Process -================================== - -In the Tezos blockchain, the *economic protocol* can be amended. Specifically, -there is an on-chain mechanism to propose changes to the economic protocol, to -vote for-or-against these proposed changes, and, depending on the result of the -vote, to activate these changes or not. - -Note that the proposal, voting and activation processes are part of the economic -protocol itself. Consequently the amendment rules themselves are subject to -amendments. - -The rest of this page gives more details about the amendment and voting process. - -Periods -------- - -The amendment process consists of five *periods*. Each period lasts for 5 cycles -(or approximately two weeks). The periods (listed below) -typically succeed one to another for a total duration of approximately 2 months and -a half, after which the whole amendment process starts again. - -The five periods are as follows: - -- *Proposal period*: During this period, delegates can - - - submit *protocol amendment proposals* (or, simply, *proposals*) using the - ``Proposals`` operation (see below); - - upvote one or several proposals, using the same ``Proposals`` operation. - - Each delegate can submit a maximum of 20 proposals. Duplicates count towards - this total. - - At the end of a **proposal period**, if participation reaches a - :ref:`proposal quorum `, the proposal with most support is - selected and we move to an **exploration period**. Note that support is - measured in the cumulated staking power (expressed in mutez) that delegates supporting the - proposal have. E.g., a proposal supported by a single delegate with 600,000 tz of staking power - has more support than a proposal supported by two delegates with 100,000 tz - each of staking power. - - If there are no proposals, or a tie between two or more proposals, - or if participation did not reach the proposal quorum, the process - moves back to a new **proposal period**. - -- *Exploration period*: During this period delegates can cast one - Yea, Nay, or Pass ballot on the selected proposal. They do so using the - ``Ballot`` operation. - - If the voting participation reaches *quorum* and there is a *super-majority* - of Yea, the process moves to the **cooldown period**. (See below for details - on participation, quorum, and super-majority.) - - Otherwise the process moves back to the **proposal period**. - -- *Cooldown period*: On-chain nothing specific happens during this period. - Off-chain the delegates can read the proposal with more scrutiny, the - community can discuss finer points of the proposal, the developers can - perform additional tests, etc. - - At the end of this period, the process moves to the **promotion period**. - -- *Promotion period*: During this period, delegates can cast a Yea, Nay, or Pass - ballots using the ``Ballot`` operation. - - If the voting participation reaches *quorum* and there is a super-majority of - Yea, the process moves to the **adoption period**. - - Otherwise the process moves back to the **proposal period**. - -- *Adoption period*: On-chain nothing specific happens during this period except - on the very last block (see below). - - Off-chain the developers release tools that include support for the - soon-to-be activated protocol, other actors (bakers, indexers, etc.) update - their infrastructure to support the newly released tools, smart-contract - developers start working with soon-to-be-available features, etc. - - At the very end of the period, the proposal is *activated*. This means that - the last block of the period is still interpreted by the current economic - protocol, but the first block after the period is interpreted by the new - economic protocol (the one that was voted in). - - And a new **proposal period** starts. - -.. warning:: - Thanks to an old spelling mistake, the most enthusiastic voters can cast ``Yay`` ballots. Enthusiasm does however not impact the result of the vote and the tools accepting ``Yay`` consider it as a deprecated synonym for ``Yea``. - - -Activation ----------- - -After the activation step, the blocks added to the chain are interpreted in the -newly activated protocol. As a result gas costs may differ, new operations may -be available, contracts using new opcodes may be injected, etc. - -Because the amendment process is also part of the economic protocol, the -amendment process now unfolds according to the rules of the newly activated -protocol. As a result the periods may be lengthened or shortened, a new period -might be introduced, a different selection mechanism may be used, the quorum -requirement might differ, etc. - - -Voting Power ------------- - -When supporting a proposal or casting a Yea, Nay, or Pass ballot, each delegate -has a voting power equal to its *stake*. More precisely, the voting power of a delegate during a voting period is its :ref:`staking balance `, measured in *mutez*, sampled at the beginning of the period. (Note that this is opposed to validator selection for consensus, which is based on the active stake, and sampled at some stake snapshot during some previous cycle.) - - -Super-majority and Quorum -------------------------- - -As mentioned above, during either of the **exploration** or **promotion** periods, -delegates can cast ballots using the ``Ballot`` operation (see below). -In both cases, delegates can cast a single Yea, Nay, or Pass ballot. A ballot -has a weight equal to the delegate's stake as detailed above. - -For either of these two periods, the process continues to the next period if the -*vote participation* reaches *quorum* and there is a *super-majority* of -Yea. - -The *vote participation* is the ratio of all the cumulated stake of cast ballots -(including Pass ballots) to the total stake. - -For the first vote, the *quorum* started at 80% of stake. The quorum is -adjusted after each vote as detailed below. This adjustment is necessary to -ensure that the amendment process can continue even if some delegates stop -participating. After each vote the new quorum is updated based on the exponential moving average of the **vote participation**:: - - new_participation_ema = 0.8 * old_participation_ema + 0.2 * participation - -with the following formula:: - - new_quorum = 0.2 + (0.7 - 0.2) * old_participation_ema - -This formula avoids establishing quorums close to 100% that would be -very difficult to attain, or, conversely, low quorums close to 0% making -little participation chronic, ensuring that the quorums are lower- and upper-bounded by :ref:`quorum_caps` (0.2 and 0.7, respectively). - -The *super-majority* is reached if the cumulated stake of Yea ballots is -greater than 8/10 of the cumulated stake of Yea and Nay ballots. - -Note that Pass ballots do not count towards or against the super-majority; -they still counts towards participation and quorum. - -More details can be found in the file -:src:`src/proto_017_PtNairob/lib_protocol/amendment.ml`. - - -The Hash and the Protocol -------------------------- - -On the one hand, the voting part of the process revolves around the -**hash of a protocol**. Specifically, a delegate submits a hash of a -protocol, and all the delegates cast ballots on the proposed hash. -The *hash of a protocol* is the hash of the files that constitute the source -code of the protocol. - -On the other hand, the **protocol activation** (at the end of the -**adoption period**) revolves around the compiled sources of the protocol. - -Basically, the voting process works on an identifier of the protocol whilst the -activation step works on the protocol itself. Consequently, if a protocol hash -is voted in and the protocol it identifies is invalid, the activation step -fails. - -.. sidebar:: Checking a hash is of a valid protocol - - When a hash is proposed by a delegate, it is usually accompanied by some - blogposts and forum threads on :ref:`community ` websites. - These should include directions for testing the proposed protocols. If you - cannot find such directions, do not hesitate to ask. - -.. sidebar:: Localised failures - - It is possible that the activation step fails on a single node or a few nodes - of the network, but succeed on the others. In this case the nodes with the - failure are stuck, but the network as a whole continues. - - The most likely cause for this is nodes that have not been updated and do not - include a new protocol environment version. - - If your node becomes stuck, you should start a fresh up-to-date node. - -A protocol is *invalid* if its code cannot be compiled (e.g., if the code is not -valid source code), if its code uses functions not present in the -:doc:`protocol environment <../shell/protocol_environment>`, or if it -downgrades the protocol environment version. - -If an invalid protocol is voted in, then the activation fails for all the nodes, -and then the chain becomes stuck. This is why it is important to vote for hashes -that designate valid protocols: ones with sources that are available and that -can be compiled. - -Operations ----------- - -There are two operations used by the delegates: **proposals** and **ballot**. - -A *proposals* operation can only be injected during a proposal period. - -:: - - Proposals : { - source: Signature.Public_key_hash.t ; - period: Voting_period_repr.t ; - proposals: Protocol_hash.t list ; } - -The ``source`` is the public key hash of the delegate, ``period`` is the unique -identifier of each voting period and ``proposals`` is a non-empty list of -maximum 20 protocol hashes. -The operation can be submitted more than once but only as long as the -cumulative length of the proposals lists is less than 20. -Duplicate proposals from the same delegate are accounted for in the -maximum number of proposals for that delegate. -However duplicates from the same delegate are not tallied at the end -of the proposal period. - -For example, a delegate submits a *proposals* operation for protocols A -and B early in the proposal period, later a new protocol C is revealed -and the delegate submits another *proposals* operation for protocols B -and C. -The list of submissions that will be tallied is [A,B,C]. - -A *ballot* operation can only be submitted during periods where a vote happens -(e.g. exploration, promotion), and only once per period. - -:: - - Ballot : { - source: Signature.Public_key_hash.t ; - period: Voting_period_repr.t ; - proposal: Protocol_hash.t ; - ballot: Vote_repr.ballot ; } - -The fields ``source`` and ``period`` are the same as above, while ``proposal`` -is the currently selected proposal and ``ballot`` is one of ``Yea``, ``Nay`` or -``Pass``. -The ``Pass`` vote allows a delegate to contribute towards the quorum without -contributing towards the super-majority. This is important because, as detailed -above, the quorum is adaptive and that low participation would lower the -quorum of the next vote. - -More details on the operations can be found in -:src:`src/proto_017_PtNairob/lib_protocol/operation_repr.ml`. -The binary format is described by -``octez-client describe unsigned operation``. - -Client Commands ---------------- - -The Octez client, ``octez-client``, provides commands for basic exploration and -interaction with the amendment and voting process. - - -Show -~~~~ - -The client provides a command to show the status of a voting period. -It displays different information for different kind of periods, as -in the following samples:: - - $ octez-client show voting period - Current period: "proposal" - Blocks remaining until end of period: 59 - Current proposals: - PsNa6jTtsRfbGaNSoYXNTNM5A7c3Lji22Yf2ZhpFUjQFC17iZVp 2,400,000 ꜩ - - $ octez-client show voting period - Current period: "exploration" - Blocks remaining until end of period: 63 - Current proposal: PsNa6jTtsRfbGaNSoYXNTNM5A7c3Lji22Yf2ZhpFUjQFC17iZVp - Ballots: - Yay: 2,400,000 ꜩ - Nay: 0 ꜩ - Pass: 0 ꜩ - Current participation 20.00%, necessary quorum 80.00% - Current in favor 2,400,000 ꜩ, needed supermajority 1,920,000 ꜩ - - $ octez-client show voting period - Current period: "cooldown" - Blocks remaining until end of period: 64 - Current proposal: PsNa6jTtsRfbGaNSoYXNTNM5A7c3Lji22Yf2ZhpFUjQFC17iZVp - -It should be noted that the ballot number 2,400,000 ꜩ above is the stake counted in -mutez (displayed in tez). -The proposal has a total stake of 2,400,000 ꜩ, which may come from a single ballot -from a delegate having a staking balance of 2,400,000 ꜩ or it may come from multiple ballots from -delegates with a combined stake of 2,400,000 ꜩ. - - -Submit proposals -~~~~~~~~~~~~~~~~ - -During a proposal period, a list of proposals can be submitted with:: - - octez-client submit proposals for ... - -Remember that each delegate can submit a maximum of 20 protocol -hashes and that duplicates count towards this total. -Moreover each proposal is accepted only if it meets one of the -following two conditions: - -- the protocol hash was already proposed on the network. In this case - we can submit an additional proposal that "upvotes" an existing one - and our staking power are added to the ones already supporting the proposal. -- the protocol is known by the node. In particular the first proposer - of a protocol should be able to successfully inject the protocol in - its node which performs some checks, compiles and loads the - protocol. - -These are protection measures that the Octez client takes to prevent the -accidental injection of invalid protocols. As mentioned above, it is still -important to check the validity of the protocols that you vote for as they may -have been injected via different means. - - -Submit ballots -~~~~~~~~~~~~~~ - -During either of the **exploration** or **promotion** periods, -ballots can be submitted once with:: - - octez-client submit ballot for - -Further External Resources --------------------------- - -Further details and explanations on the voting procedure can be found at: - -- `Governance on-chain `_ on Open Tezos -- `Tezos Governance `_ on Tezos Agora. - -For more details on the client commands refer to the manual at -:ref:`client_manual_nairobi`. - -For vote related RPCs check the :doc:`rpc` under the prefix -``votes/``. - -For Ledger support refer to Obsidian Systems' `documentation -`__. diff --git a/docs/protocols/history.rst b/docs/protocols/history.rst index 36bf3e683d5f..e9344f363142 100644 --- a/docs/protocols/history.rst +++ b/docs/protocols/history.rst @@ -3,6 +3,11 @@ Older Protocols The following pages describe the former Tezos protocols (i.e., which have been used in the past) in reverse chronological order. +.. toctree:: + :maxdepth: 1 + + 017_nairobi + .. toctree:: :maxdepth: 1 -- GitLab From d3fca1061665ef04f93f39b38530eeab9d1cd029 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 6 Feb 2024 10:15:42 +0100 Subject: [PATCH 2/6] doc: adapt mentions of nairobi in various files --- docs/Makefile | 11 ++++------- docs/_extensions/tezos_custom_roles.py | 8 -------- docs/api/openapi.rst | 22 +--------------------- docs/conf.py | 2 +- docs/introduction/breaking_changes.rst | 2 +- docs/introduction/howtorun.rst | 6 +++--- docs/introduction/howtouse.rst | 4 ++-- docs/protocols/naming.rst | 1 + docs/user/fa12.rst | 2 +- 9 files changed, 14 insertions(+), 44 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 7f9a77ee2050..e80b762358e3 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -15,16 +15,14 @@ P2PDOCEXE = $(TOPBUILDDIR)/default/docs/$(DOCGENDIR)/p2p_doc.exe RPCDOCEXE = $(TOPBUILDDIR)/default/docs/$(DOCGENDIR)/rpc_doc.exe ERRDOCEXE = $(TOPBUILDDIR)/default/docs/$(DOCERRORDIR)/error_doc.exe -NAMED_PROTOS = nairobi oxford +NAMED_PROTOS = oxford PROTOCOLS = $(NAMED_PROTOS) alpha # The following variables names are lowercase, so their names can be computed # from the names of the corresponding protocol directories -nairobi_long = PtNairobiyssHuh87hEhfVBGCVrK3WnS8Z2FT4ymB5tAa4r1nQf oxford_long = ProxfordYmVfjWnRcgjWH36fW6PArwqykTFzotUxRs6gmTcZDuH alpha_long = ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK -nairobi_short = PtNairob oxford_short = Proxford alpha_short = alpha @@ -118,8 +116,7 @@ redirectcheck: html # - on the active protocol using its numeric name (not the "active" symlink) # - on each other protocol including alpha, also checking label defs (option -l) xrefscheck: - $(CHECKXREFS) nairobi - $(CHECKXREFS) -l oxford + $(CHECKXREFS) oxford $(CHECKXREFS) -l alpha installcheck: @@ -182,7 +179,7 @@ html: api/errors.rst developer/metrics.csv user/node-config.json \ rpc p2p manuals install-dependencies (echo ':orphan:'; echo ''; cat ../CHANGES.rst) > CHANGES-dev.rst @$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) - @ln -s active "$(BUILDDIR)/nairobi" || true + @ln -s active "$(BUILDDIR)/oxford" || true # pylint does not support pyproject.toml configuration for now # It is configured by ./.pylint.rc @@ -242,4 +239,4 @@ clean: @-rm -Rf "$(BUILDDIR)" linkcheck odoc.log @-rm -f $(ERRDOCEXE) $(RPCDOCEXE) $(P2PDOCEXE) @-rm -Rf api/errors.rst developer/metrics.csv user/node-config.json alpha/rpc.rst shell/rpc.rst shell/p2p_api.rst user/default-acl.json CHANGES-dev.rst - @-rm -Rf api/octez-*.html api/octez-*.txt nairobi/octez-*.html oxford/octez-*.html alpha/octez-*.html + @-rm -Rf api/octez-*.html api/octez-*.txt oxford/octez-*.html alpha/octez-*.html diff --git a/docs/_extensions/tezos_custom_roles.py b/docs/_extensions/tezos_custom_roles.py index 6b601ef567c2..df02b91f853c 100644 --- a/docs/_extensions/tezos_custom_roles.py +++ b/docs/_extensions/tezos_custom_roles.py @@ -195,14 +195,6 @@ def default_role( file = inliner.document.current_source - # TODO tezos/tezos#2170: suppress the following check when protocol O - # becomes active, because at that point, the pages for all active protocols - # will have been fixed automatically by snapshotting Alpha. - - # skip pages of protocols other than Alpha, to avoid manual backporting - if re.search("/(active|lima|mumbai|nairobi)/", file): - return [node], [] - # skip automatically generated pages if re.match(".*[.]txt$", file): return [node], [] diff --git a/docs/api/openapi.rst b/docs/api/openapi.rst index c95ef9b0355b..ddf54cbb5626 100644 --- a/docs/api/openapi.rst +++ b/docs/api/openapi.rst @@ -55,19 +55,6 @@ Their OpenAPI specification can be found at: .. TODO tezos/tezos#2170: add/remove section(s) -Nairobi RPCs ------------- - -The OpenAPI specifications for RPCs which are specific to the Nairobi (``PtNairob``) -protocol can be found at: - -- `nairobi-openapi.json (version 19.1) `_ - -The OpenAPI specifications for RPCs which are related to the mempool -and specific to the Nairobi protocol can be found at: - -- `nairobi-mempool-openapi.json (version 19.1) `_ - Oxford RPCs ----------- @@ -89,14 +76,7 @@ protocol in use. Their specification is given in the sections below. (The exact versions of the rollup node for which these files are produced can be seen in the field ``.info.version`` within each file.) -Nairobi RPCs ------------- - -The OpenAPI specifications for the RPCs of the smart rollup node for the Nairobi -(``PtNairob``) protocol can be found at: - -- `nairobi-smart-rollup-node-openapi.json (version from master branch) - `_ +.. TODO tezos/tezos#2170: add/remove section(s) Oxford RPCs ----------- diff --git a/docs/conf.py b/docs/conf.py index 77fb2df52ba5..8710ef9f9e8a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -88,7 +88,7 @@ exclude_patterns = [ 'Thumbs.db', '.DS_Store', 'doc_gen', - 'nairobi', + 'oxford', ] # TODO tezos/tezos#2170: exclude the active protocol 'NNN' above diff --git a/docs/introduction/breaking_changes.rst b/docs/introduction/breaking_changes.rst index b0b1070e8e27..4c0c65795e3a 100644 --- a/docs/introduction/breaking_changes.rst +++ b/docs/introduction/breaking_changes.rst @@ -109,7 +109,7 @@ Specifically, all the sub-libraries prefixed with ``tezos-`` or ``octez-`` are n For instance, ``tezos-base``, which is now a sub-library of ``octez-libs``, is now ``octez-libs.base``. The protocol name suffixes of the protocol libraries have also been removed. -For instance, ``Tezos-client-018-PtNairob`` is now the sub-library ``Client`` of the package ``Octez-018-PtNairob-libs``. +For instance, ``Tezos-client-017-PtNairob`` is now the sub-library ``Client`` of the package ``Octez-017-PtNairob-libs``. Backward compatibility diff --git a/docs/introduction/howtorun.rst b/docs/introduction/howtorun.rst index 00824becf869..1cd398ba8d49 100644 --- a/docs/introduction/howtorun.rst +++ b/docs/introduction/howtorun.rst @@ -227,14 +227,14 @@ If you are running the baker Docker image, you can watch the baker logs with docker ps If your container is running, its name will appear in the last column. -For instance, if the name is ``mainnet_baker-PtNairob``, you can +For instance, if the name is ``mainnet_baker-Proxford``, you can view recent logs with:: - docker logs mainnet_baker-PtNairob + docker logs mainnet_baker-Proxford If you want to keep watching logs, use ``-f``:: - docker logs mainnet_baker-PtNairob -f + docker logs mainnet_baker-Proxford -f This allows you to know if you baked. You should see lines such as:: diff --git a/docs/introduction/howtouse.rst b/docs/introduction/howtouse.rst index 636304c61c14..4baba1b7ae3c 100644 --- a/docs/introduction/howtouse.rst +++ b/docs/introduction/howtouse.rst @@ -31,8 +31,8 @@ After a successful compilation, you should have the following binaries: The daemons other than the node are suffixed with the name of the protocol they are bound to. More precisely, the suffix consists of the first 8 characters of the protocol hash; except for protocol Alpha, for which the suffix is simply ``-alpha``. -For instance, ``octez-baker-PtNairob`` is the baker -for the Nairobi protocol, and ``octez-baker-alpha`` is the baker +For instance, ``octez-baker-Proxford`` is the baker +for the Oxford protocol, and ``octez-baker-alpha`` is the baker of the development protocol. The ``octez-node`` daemon is not suffixed by any protocol name, because it is independent of the economic protocol. See also the `Node's Protocol`_ section below. diff --git a/docs/protocols/naming.rst b/docs/protocols/naming.rst index 1ea8eca1aa49..b66879db9360 100644 --- a/docs/protocols/naming.rst +++ b/docs/protocols/naming.rst @@ -41,6 +41,7 @@ sequence: * 015 Lima * 016 Mumbai * 017 Nairobi +* 018 Oxford * ... Due to the evolving nature of the in-use protocols, the above absolute protocol diff --git a/docs/user/fa12.rst b/docs/user/fa12.rst index 020b1471a45e..2dceea1a9d89 100644 --- a/docs/user/fa12.rst +++ b/docs/user/fa12.rst @@ -111,7 +111,7 @@ transfers is the following: The complete schema can be inspected via ``octez-codec describe .fa1.2.token_transfer json schema`` (where ```` -can be replaced with e.g. ``alpha`` or ``017-PtNairob``). +can be replaced with e.g. ``alpha`` or ``018-Proxford``). View information -- GitLab From af2813a082557f8f7ad908de2390785b34ae2016 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 6 Feb 2024 10:18:07 +0100 Subject: [PATCH 3/6] doc: link pages of oxford as active --- docs/active | 1 + docs/oxford/adaptive_issuance.rst | 10 ++++++++++ docs/oxford/blocks_ops.rst | 6 ++++++ docs/oxford/cli-commands.rst | 3 +++ docs/oxford/consensus.rst | 9 +++++++++ docs/oxford/glossary.rst | 16 +++++++++++++++- docs/oxford/liquidity_baking.rst | 1 + docs/oxford/michelson.rst | 12 ++++++++++++ docs/oxford/plugins.rst | 5 +++++ docs/oxford/precheck.rst | 1 + docs/oxford/proof_of_stake.rst | 5 +++++ docs/oxford/protocol_overview.rst | 3 +++ docs/oxford/randomness_generation.rst | 3 +++ docs/oxford/rpc.rst | 1 + docs/oxford/smart_rollups.rst | 2 ++ docs/oxford/validation.rst | 10 ++++++++++ 16 files changed, 87 insertions(+), 1 deletion(-) create mode 120000 docs/active diff --git a/docs/active b/docs/active new file mode 120000 index 000000000000..e8072604a2e2 --- /dev/null +++ b/docs/active @@ -0,0 +1 @@ +oxford \ No newline at end of file diff --git a/docs/oxford/adaptive_issuance.rst b/docs/oxford/adaptive_issuance.rst index 37b571e84291..fe4f1e14af57 100644 --- a/docs/oxford/adaptive_issuance.rst +++ b/docs/oxford/adaptive_issuance.rst @@ -34,6 +34,7 @@ This document describes Adaptive Issuance and Staking, two new experimental feat For operational details about the new staking mechanism and its configuration, see `a new staking mechanism tutorial `__. +.. _adaptive_issuance: .. _adaptive_issuance_oxford: Adaptive Issuance @@ -100,6 +101,7 @@ nominal issuance rate as a function of the staked funds ratio for a given cycle. Its value decreases as the staked funds ratio increases, and *vice versa*. +.. _static_rate: .. _static_rate_oxford: \ **STATIC RATE**\    Let :math:`\IL{f}` be the staked funds ratio at @@ -124,6 +126,7 @@ increasing when :math:`\IL{f}` < 48% and decreasing when :math:`\IL{f}` > 52%, provided the total issuance rate is not hitting its lower or upper limit. +.. _dynamic_rate: .. _dynamic_rate_oxford: \ **DYNAMIC RATE**\    The **dynamic rate** :math:`\IL{\dyn{c}}` is @@ -182,6 +185,7 @@ Finally, as mentioned before, the nominal adaptive issuance rate [1]_ for a cycle :math:`\IL{c + 5}` is defined as the sum of the static rate and the dynamic rate, clipped to stay within 0.05% – 5% range. +.. _adaptive_rate: .. _adaptive_rate_oxford: \ **ADAPTIVE ISSUANCE RATE**\    Let :math:`\F{f}{c}` be the staked @@ -192,6 +196,7 @@ rate** for cycle :math:`\IL{c+5}` is defined as: \adr{c + 5} = \clip{\dyn{c} + \static{\F{f}{c}}}{\minR}{\maxR} +.. _adaptive_rewards: .. _adaptive_rewards_oxford: Adaptive rewards @@ -217,6 +222,7 @@ Where 2102400 = number of blocks produced in a year, given a minimal block time of 15 seconds. +.. _reward_weights: .. _reward_weights_oxford: \ **REWARD WEIGHTS**\    The Adaptive-Issuance/Staking proposal defines the weights for @@ -297,6 +303,7 @@ endpoint `. +.. _validation_passes: .. _validation_passes_oxford: Validation Passes @@ -37,6 +38,7 @@ Each kind of operation belongs to exactly one validation pass, except for the :r In the sequel, we describe the different classes of operations, and the different kinds of operations belonging to each class. +.. _consensus_operations: .. _consensus_operations_oxford: Consensus Operations @@ -57,6 +59,7 @@ phases required to agree on the next block. for which a preattestation quorum certificate (PQC) has been observed. +.. _voting_operations: .. _voting_operations_oxford: Voting Operations @@ -79,6 +82,7 @@ Further details on each operation's implementation and semantics are provided in the dedicated entry for :ref:`on-chain governance`. +.. _anonymous_operations: .. _anonymous_operations_oxford: Anonymous Operations @@ -142,6 +146,7 @@ account. This operation is used as a deterrent to ensure that a delegate secures its consensus key as much as its manager (or main) key. +.. _manager_operations: .. _manager_operations_oxford: Manager Operations @@ -232,6 +237,7 @@ handled with dedicated manager operations. determine if it is called by a smart rollup using the ``SENDER`` Michelson instruction. +.. _manager_operations_batches: .. _manager_operations_batches_oxford: Manager Operation Batches diff --git a/docs/oxford/cli-commands.rst b/docs/oxford/cli-commands.rst index ec1238c4ad33..4ff974257a9c 100644 --- a/docs/oxford/cli-commands.rst +++ b/docs/oxford/cli-commands.rst @@ -14,6 +14,7 @@ The rest of this page documents the protocol-dependent tools. The protocol-independent tools are documented :doc:`here <../shell/cli-commands>`. +.. _client_manual: .. _client_manual_oxford: Client manual @@ -23,6 +24,7 @@ Client manual :file: octez-client.html +.. _baker_manual: .. _baker_manual_oxford: Baker manual @@ -32,6 +34,7 @@ Baker manual :file: octez-baker.html +.. _accuser_manual: .. _accuser_manual_oxford: Accuser manual diff --git a/docs/oxford/consensus.rst b/docs/oxford/consensus.rst index bc340274ff4f..7854317a08eb 100644 --- a/docs/oxford/consensus.rst +++ b/docs/oxford/consensus.rst @@ -50,6 +50,7 @@ length in the `technical report `_ and in a post `_. Here we only provide a user/developer perspective. +.. _tb_validator: .. _tb_validator_oxford: Tenderbake is executed for each new block level by a "committee" whose members @@ -79,12 +80,14 @@ Round durations thus increase linearly with ``DELAY_INCREMENT_PER_ROUND``. Schematically, a round consists in the following steps: +.. _candidate_block: .. _candidate_block_oxford: * a validator designated for that round injects a *candidate block* (representing a proposal) and consensus operations (representing votes) into the node to which it is attached, which then * diffuses those blocks and consensus operations to other nodes of the network, and thus * communicates them to the validators attached to those nodes, to carry out voting on which block to accept. +.. _quorum: .. _quorum_oxford: Unlike Emmy*, Tenderbake has `two types of @@ -105,6 +108,7 @@ the same *payload* as the initial block. We talk about a *re-proposal* in this case. +.. _finality: .. _finality_oxford: Transaction and block finality @@ -138,6 +142,7 @@ should be taken at round 0, meaning that the time between blocks would be :math:`round\_duration(0)` seconds i.e., parameter ``MINIMAL_BLOCK_DELAY``. +.. _active_stake: .. _active_stake_oxford: Validator selection: staking balance, active stake, and frozen deposits @@ -370,6 +375,7 @@ included during that cycle has been ``2,123,456`` slots. Given that this number bigger than the minimum required (``2,867,200 * 2 / 3``), it receives an attesting reward of ``2,867,200 * 0.001428 = 4094.3616`` tez for that cycle. +.. _slashing: .. _slashing_oxford: Slashing @@ -414,6 +420,7 @@ correct validators have more than two thirds of the total stake, these correct validators have sufficient power for agreement to be reached, thus the lack of participation of a selfish baker does not have an impact. +.. _cs_constants: .. _cs_constants_oxford: Consensus related protocol parameters @@ -454,6 +461,7 @@ Consensus related protocol parameters These are a subset of the :ref:`protocol constants `. +.. _shell_proto_revisit: .. _shell_proto_revisit_oxford: Shell-protocol interaction revisited @@ -475,6 +483,7 @@ As in Emmy*, the protocol-specific header contains the fields: There are two additional fields: ``payload_hash`` and ``payload_round`` which are needed for establishing if a block is :ref:`final`. +.. _fitness: .. _fitness_oxford: The fitness is given by the tuple ``(version, level, locked_round, - predecessor_round - 1, round)``. diff --git a/docs/oxford/glossary.rst b/docs/oxford/glossary.rst index d48e48ea99c7..52762c69b73f 100644 --- a/docs/oxford/glossary.rst +++ b/docs/oxford/glossary.rst @@ -16,6 +16,7 @@ _`Block` The header itself decomposes into a :ref:`shell header` (common to all Tezos economic protocols), and a protocol-specific header. The shell header contains protocol-agnostic data such as the predecessor's block hash and the block's timestamp. +.. _def_context: .. _def_context_oxford: _`Context` @@ -42,6 +43,7 @@ _`Fitness` (a.k.a. score, weight) _`Height` See level_. +.. _def_level: .. _def_level_oxford: _`Level` (a.k.a. block height) @@ -51,6 +53,7 @@ _`Level` (a.k.a. block height) _`Mempool` A pool (set) of operation_\ s maintained by a node_ and not yet included in a block_. +.. _def_metadata: .. _def_metadata_oxford: _`Metadata` @@ -90,6 +93,7 @@ _`Weight` Protocol -------- +.. _def_accuser: .. _def_accuser_oxford: _`Accuser` @@ -102,6 +106,7 @@ _`Accuser` When using :ref:`Octez `, accusation operations are emitted by the accuser daemon. Note that this daemon is not associated to a delegate: accusation operations are anonymous, and any delegate can include them in a block. +.. _def_account: .. _def_account_oxford: _`Account` @@ -149,6 +154,7 @@ _`Constant` _`Contract` See account_. +.. _def_cycle: .. _def_cycle_oxford: _`Cycle` @@ -163,6 +169,7 @@ _`Cycle` constant_, and thus might change across different Tezos protocols. +.. _def_delegate: .. _def_delegate_oxford: _`Delegate` @@ -179,6 +186,7 @@ _`Delegation` its `baking rights`_ and `attesting rights`_. However, the delegate_ does not control the funds of the delegating account_, e.g., it can not spend them. +.. _def_double_signing: .. _def_double_signing_oxford: _`Double signing` @@ -195,7 +203,7 @@ _`Failing Noop` fails at :ref:`application time`, and should never appear in :ref:`applied blocks`. This operation allows end-users to - :ref:`sign arbitrary messages` which have no + :ref:`sign arbitrary messages` which have no computational semantics. _`Attesting` @@ -206,6 +214,7 @@ _`Attesting` _`Attesting rights` See `baking rights`_. +.. _def_fee: .. _def_fee_oxford: _`Fee` @@ -218,6 +227,7 @@ _`Fee` See also `burn`_. +.. _def_gas: .. _def_gas_oxford: _`Gas` @@ -225,6 +235,7 @@ _`Gas` the execution of a `smart contract`_. Gas is used to measure how much computing power is used to execute a `smart contract`_. +.. _def_implicit_account: .. _def_implicit_account_oxford: _`Implicit account` @@ -258,6 +269,7 @@ _`Layer 2` _`Michelson` The built-in language used by a `smart contract`_. +.. _def_minimal_stake: .. _def_minimal_stake_oxford: _`Minimal stake` @@ -273,12 +285,14 @@ _`Operation kinds` _`Originated account` See `smart contract`_. +.. _def_origination: .. _def_origination_oxford: _`Origination` A manager operation_ whose purpose is to create -- that is, to deploy -- a `smart contract`_ on the Tezos blockchain. +.. _def_round: .. _def_round_oxford: _`Round` diff --git a/docs/oxford/liquidity_baking.rst b/docs/oxford/liquidity_baking.rst index 154986d81674..316905105c85 100644 --- a/docs/oxford/liquidity_baking.rst +++ b/docs/oxford/liquidity_baking.rst @@ -37,6 +37,7 @@ the subsidy would be adjusted by the adaptive issuance coefficient. So the credits to the CPMM contract can be accounted for by indexers, they are included in block metadata as a balance update with a new constructor for ``update_origin``, ``Subsidy``. +.. _toggle: .. _toggle_oxford: Toggle vote diff --git a/docs/oxford/michelson.rst b/docs/oxford/michelson.rst index 1395687ed5cd..0a2399f9bb1b 100644 --- a/docs/oxford/michelson.rst +++ b/docs/oxford/michelson.rst @@ -29,6 +29,7 @@ the specification. The document also starts with a less formal explanation of the context: how Michelson code interacts with the blockchain. +.. _address_prefixes: .. _address_prefixes_oxford: Semantics of smart contracts and transactions @@ -307,6 +308,7 @@ The concrete language also has some syntax sugar to group some common sequences of operations as one. This is described in this specification using a simple regular expression style recursive instruction rewriting. +.. _michelson_type_system: .. _michelson_type_system_oxford: Introduction to the type system and notations @@ -728,6 +730,7 @@ A typing rule can be inferred: Concrete syntax --------------- +.. _ConcreteSyntax: .. _ConcreteSyntax_oxford: The concrete language is very close to the formal notation of the @@ -796,6 +799,7 @@ parameters require sequences in the concrete syntax. IF { instr1_true ; instr2_true ; ... } { instr1_false ; instr2_false ; ... } +.. _syntax_of_scripts: .. _syntax_of_scripts_oxford: Main program structure @@ -1283,6 +1287,7 @@ type (which can be changed). For instance the annotated typing rule for Special annotations ~~~~~~~~~~~~~~~~~~~ +.. _SpecialAnnotations: .. _SpecialAnnotations_oxford: The special variable annotations ``@%`` and ``@%%`` can be used on instructions @@ -2183,6 +2188,7 @@ instruction return a chosen timestamp: code NOW; output { Stack_elt timestamp "2020-01-08T07:13:51Z" } +.. _syntax_of_concrete_stacks: .. _syntax_of_concrete_stacks_oxford: Syntax of concrete stacks @@ -2195,6 +2201,7 @@ Stack_elt nat 42 }`` is a concrete stack of length 2 whose top element is the boolean ``True`` and the bottom element is the natural number ``42``. +.. _omitting_parts_of_the_output: .. _omitting_parts_of_the_output_oxford: Omitting parts of the output @@ -2265,6 +2272,7 @@ cryptographic nonces in values of type ``operation`` (see the parts of error outputs (see the :ref:`syntax of errors `). +.. _output_normalization: .. _output_normalization_oxford: Output normalization @@ -2311,6 +2319,7 @@ but the following test does pass: code {}; output {Stack_elt _ "tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN"} +.. _syntax_of_errors: .. _syntax_of_errors_oxford: Syntax of errors @@ -2376,6 +2385,7 @@ instruction. code { DUP "foo" }; output (StaticError _) +.. _syntax_of_concrete_operations: .. _syntax_of_concrete_operations_oxford: Syntax of concrete operations @@ -2420,6 +2430,7 @@ to set the delegate of the current contract to the account at address code SET_DELEGATE ; output { Stack_elt operation (Set_delegate (Some "tz1NwQ6hkenkn6aYYio8VnJvjtb4K1pfeU1Z") _) } +.. _syntax_of_other_contracts: .. _syntax_of_other_contracts_oxford: Syntax of other contracts specifications @@ -2439,6 +2450,7 @@ Micheline sequence whose elements have the form ``Contract "KT1..." ```` is the type of its parameter. Each address should appear at most once and the order is irrelevant. +.. _syntax_of_extra_big_maps: .. _syntax_of_extra_big_maps_oxford: Syntax of extra big maps specifications diff --git a/docs/oxford/plugins.rst b/docs/oxford/plugins.rst index 555c308dce28..7e439938f58f 100644 --- a/docs/oxford/plugins.rst +++ b/docs/oxford/plugins.rst @@ -35,6 +35,7 @@ In turn protocol plugins may, for example: - implement some common operations that are customized for each protocol (e.g., :ref:`prevalidator_filters_oxford`). +.. _prevalidator_filters: .. _prevalidator_filters_oxford: Prevalidator filters @@ -54,6 +55,7 @@ The interface of the prevalidator plugin is described at the :package-api:`mempo The different kinds of prevalidator filters are described below. +.. _fees_filter: .. _fees_filter_oxford: Fees filter @@ -71,6 +73,7 @@ configuration of your node. This filtering strategy is implemented in the ``prefilter`` (see :doc:`../shell/prevalidation`). +.. _consensus_filter: .. _consensus_filter_oxford: Consensus filter @@ -97,6 +100,7 @@ block proposal as follows: This filtering strategy is implemented in the ``prefilter`` (see :doc:`../shell/prevalidation`). +.. _precheck_filter: .. _precheck_filter_oxford: Prechecking of manager operations @@ -200,6 +204,7 @@ to be the smallest manager operation, with 126 Bytes, so there are at most 512 * 1024 / 126 = 4161 manager operations per block. +.. _active_filter_rpc: .. _active_filter_rpc_oxford: Filters RPCs diff --git a/docs/oxford/precheck.rst b/docs/oxford/precheck.rst index d8ff6afeadbf..3c81b030d534 100644 --- a/docs/oxford/precheck.rst +++ b/docs/oxford/precheck.rst @@ -41,6 +41,7 @@ Note however that one can still inject successive operations with the same counter using the ``replace-by-fee`` feature. +.. _solvability: .. _solvability_oxford: Solvable operations diff --git a/docs/oxford/proof_of_stake.rst b/docs/oxford/proof_of_stake.rst index 70a2abd3131b..be85d32487fb 100644 --- a/docs/oxford/proof_of_stake.rst +++ b/docs/oxford/proof_of_stake.rst @@ -74,6 +74,7 @@ that of delegated funds. Active and passive delegates ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +.. _active_delegate: .. _active_delegate_oxford: A delegate can be marked as either active or passive. A passive @@ -92,6 +93,7 @@ Delegates' rights selection Tezos being proof-of-stake, the delegates' rights are selected at random based on their stake. In what follows we detail the selection mechanism used in Tezos. +.. _random_seed: .. _random_seed_oxford: Random seed @@ -103,6 +105,7 @@ values in the protocol, in particular for selecting delegates to participate in For more information on randomness generation, see :doc:`randomness-generation`. +.. _snapshots: .. _snapshots_oxford: Stake snapshots @@ -126,6 +129,7 @@ cycle ``n``. Only the stake of active delegates with the minimal stake of ``MINIMAL_STAKE`` and frozen deposits greater than ``MINIMAL_FROZEN_STAKE`` is snapshotted. +.. _rights: .. _rights_oxford: Slot selection @@ -158,6 +162,7 @@ simple procedure which has as its initial state: the level, the level belongs, and the slot. +.. _ps_constants: .. _ps_constants_oxford: Proof-of-stake parameters diff --git a/docs/oxford/protocol_overview.rst b/docs/oxford/protocol_overview.rst index 8c99a0572983..f9cc99fa0a3d 100644 --- a/docs/oxford/protocol_overview.rst +++ b/docs/oxford/protocol_overview.rst @@ -68,6 +68,7 @@ detail into the validation and application process for :ref:`blocks` and their :ref:`operations`. +.. _shell_proto_interact: .. _shell_proto_interact_oxford: Shell-protocol interaction @@ -110,6 +111,7 @@ interface for quite different use cases, as follows: block, typically used in the :doc:`validator <../shell/validation>` to precheck a block, avoiding to further consider invalid blocks. +.. _block_contents: .. _block_contents_oxford: Blocks, Operations and their Validation @@ -136,6 +138,7 @@ safely included in the Tezos blockchain -- and *application* -- that is, how the effects of operations and blocks are taken into account -- for this economic protocol. +.. _protocol_constants: .. _protocol_constants_oxford: Protocol constants diff --git a/docs/oxford/randomness_generation.rst b/docs/oxford/randomness_generation.rst index e42adf019852..95dbe1ba1420 100644 --- a/docs/oxford/randomness_generation.rst +++ b/docs/oxford/randomness_generation.rst @@ -46,6 +46,7 @@ if a malicious participant can make sure she is the last revealer, then she can choose whether to reveal its committed value, effectively choosing between two different predetermined seeds. +.. _vdf: .. _vdf_oxford: Verifiable Delay Function @@ -77,6 +78,7 @@ cheaper and based on a weaker security assumption (low order assumption). Protocol -------- +.. _randomness_generation: .. _randomness_generation_oxford: Randomness generation overview @@ -140,6 +142,7 @@ A *VDF revelation* is an operation. A reward ``SEED_NONCE_REVELATION_TIP``, `, is given for the first correct VDF revelation, subsequent VDF revelation operations being discarded. +.. _rg_constants: .. _rg_constants_oxford: Randomness generation parameters diff --git a/docs/oxford/rpc.rst b/docs/oxford/rpc.rst index 773296e3f9b2..6d26ac976747 100644 --- a/docs/oxford/rpc.rst +++ b/docs/oxford/rpc.rst @@ -78,6 +78,7 @@ +.. _rpc_index: .. _rpc_index_oxford : Oxford RPCs - Reference diff --git a/docs/oxford/smart_rollups.rst b/docs/oxford/smart_rollups.rst index 5f7c63b5406f..5e1386d4281c 100644 --- a/docs/oxford/smart_rollups.rst +++ b/docs/oxford/smart_rollups.rst @@ -137,6 +137,7 @@ the Layer 1 pushes one final internal message “End of level”. Similarly to “Start of level“, these internal messages does not come with any payload. +.. _reveal_data_channel_smart_rollups: .. _reveal_data_channel_smart_rollups_oxford: Reveal data channel @@ -313,6 +314,7 @@ published a concurrent commitment. However, assuming the existence of an honest participant *H*, then *H* will start the refutation game with all concurrent stakers to avoid the rollup getting stuck. +.. _private_rollups: .. _private_rollups_oxford: Private rollups diff --git a/docs/oxford/validation.rst b/docs/oxford/validation.rst index b28e53f32e15..3aa698ff8ec4 100644 --- a/docs/oxford/validation.rst +++ b/docs/oxford/validation.rst @@ -79,6 +79,7 @@ the different validation modes implemented by this Tezos economic protocol, and then we delve deeper into the particulars of validation and application for blocks and the operations supported. +.. _validation_modes: .. _validation_modes_oxford: Validation modes @@ -93,6 +94,7 @@ specified by the protocol environment offers an entry point so that protocol-agnostic components, the Tezos shell for instance, are able to use these different modes. +.. _full_application: .. _full_application_oxford: Full Application @@ -108,6 +110,7 @@ signature is correct, and **all** operations included in the block are valid; the correct amount of consensus operations have been included in order to satisfy the consensus' threshold, etc. +.. _full_construction: .. _full_construction_oxford: Full Construction @@ -126,6 +129,7 @@ construction is finalized. In Octez, this mode is mainly used by the baker daemon. +.. _partial_construction: .. _partial_construction_oxford: Partial Construction @@ -142,6 +146,7 @@ potential validity of operations (and whether they can safely included into a block), so that the latter can **classify** incoming operations, and further decide how to process them accordingly. +.. _protocol_classification: .. _protocol_classification_oxford: The protocol provides the shell with the following classification of @@ -176,6 +181,7 @@ protocol environment: case of an attestation which was received *too late*, but that could still be used to form a consensus quorum. +.. _partial_application: .. _partial_application_oxford: Partial Application @@ -206,6 +212,7 @@ application`` mode provides an over-approximation of the branch's validity, and as a result intermediate results are not committed on disk in order to prevent potential attacks. +.. _block_validation_overview: .. _block_validation_overview_oxford: Block Validation @@ -253,6 +260,7 @@ course, as this is an over-approximation, this feature cannot be considered to provide a safe guarantee that a block will be valid: in particular, it does not validate all kinds of operations. +.. _operation_validity: .. _operation_validity_oxford: Operation Validation and Application @@ -280,6 +288,7 @@ application process for each of the different validation passes. Expand validity and application for other validation classes. +.. _manager_operations_validity: .. _manager_operations_validity_oxford: Validity of Manager Operations @@ -355,6 +364,7 @@ defined as the conjunction of the following conditions: solvent to pay the announced fees for all the operations in the batch. +.. _manager_operations_application: .. _manager_operations_application_oxford: Application of Manager Operations -- GitLab From 2934f107536c97593cd276d3b1a87ff72538e807 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 6 Feb 2024 11:09:13 +0100 Subject: [PATCH 4/6] doc: update install tests --- docs/introduction/install-bin-fedora.sh | 8 ++++---- docs/introduction/install-bin-ubuntu.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/introduction/install-bin-fedora.sh b/docs/introduction/install-bin-fedora.sh index 24ffffcdcf41..bb4cdf36ed81 100755 --- a/docs/introduction/install-bin-fedora.sh +++ b/docs/introduction/install-bin-fedora.sh @@ -29,10 +29,10 @@ dnf install -y dnf-plugins-core dnf copr enable -y $REPO && dnf update -y dnf install -y tezos-client dnf install -y tezos-node -dnf install -y tezos-baker-PtNairob -dnf install -y tezos-accuser-PtNairob +dnf install -y tezos-baker-Proxford +dnf install -y tezos-accuser-Proxford # [test executables] octez-client --version octez-node --version -octez-baker-PtNairob --version -octez-accuser-PtNairob --version +octez-baker-Proxford --version +octez-accuser-Proxford --version diff --git a/docs/introduction/install-bin-ubuntu.sh b/docs/introduction/install-bin-ubuntu.sh index efc76837f96b..510127c6d3a0 100755 --- a/docs/introduction/install-bin-ubuntu.sh +++ b/docs/introduction/install-bin-ubuntu.sh @@ -39,10 +39,10 @@ apt-get install -y software-properties-common < /dev/null sudo add-apt-repository -y $REPO && sudo apt-get update sudo apt-get install -y tezos-client sudo apt-get install -y tezos-node -sudo apt-get install -y tezos-baker-ptnairob -sudo apt-get install -y tezos-accuser-ptnairob +sudo apt-get install -y tezos-baker-proxford +sudo apt-get install -y tezos-accuser-proxford # [test executables] octez-client --version octez-node --version -octez-baker-PtNairob --version -octez-accuser-PtNairob --version +octez-baker-Proxford --version +octez-accuser-Proxford --version -- GitLab From 20c9daa7c2a82ae0eeb2f3dede1803a7a8daf0f1 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 6 Feb 2024 11:38:27 +0100 Subject: [PATCH 5/6] doc: update html redirects --- docs/_redirects | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/_redirects b/docs/_redirects index 89ce128871f4..ec9176286b34 100644 --- a/docs/_redirects +++ b/docs/_redirects @@ -75,6 +75,29 @@ /kathmandu/timelock.html /active/timelock.html 301 /kathmandu/token_management.html /active/token_management.html 301 /kathmandu/voting.html /active/voting.html 301 +/nairobi/blocks_ops.html /active/blocks_ops.html 301 +/nairobi/cli-commands.html /active/cli-commands.html 301 +/nairobi/consensus.html /active/consensus.html 301 +/nairobi/event.html /active/event.html 301 +/nairobi/global_constants.html /active/global_constants.html 301 +/nairobi/glossary.html /active/glossary.html 301 +/nairobi/liquidity_baking.html /active/liquidity_baking.html 301 +/nairobi/michelson.html /active/michelson.html 301 +/nairobi/michelson_anti_patterns.html /active/michelson_anti_patterns.html 301 +/nairobi/plugins.html /active/plugins.html 301 +/nairobi/precheck.html /active/precheck.html 301 +/nairobi/proof_of_stake.html /active/proof_of_stake.html 301 +/nairobi/protocol.html /active/protocol.html 301 +/nairobi/protocol_overview.html /active/protocol_overview.html 301 +/nairobi/randomness_generation.html /active/randomness_generation.html 301 +/nairobi/rpc.html /active/rpc.html 301 +/nairobi/sapling.html /active/sapling.html 301 +/nairobi/smart_rollups.html /active/smart_rollups.html 301 +/nairobi/tickets.html /active/tickets.html 301 +/nairobi/timelock.html /active/timelock.html 301 +/nairobi/token_management.html /active/token_management.html 301 +/nairobi/validation.html /active/validation.html 301 +/nairobi/voting.html /active/voting.html 301 /api/cli-commands.html /shell/cli-commands.html 301 /api/rpc.html /shell/rpc.html 301 /developer/sapling.html /active/sapling.html 301 -- GitLab From 3f391e224fceaa9c68f9bcdfbf361c5b9eab90f8 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 6 Feb 2024 15:01:39 +0100 Subject: [PATCH 6/6] doc: fix labels disappeared with nairobi --- docs/introduction/howtorun.rst | 2 +- docs/oxford/michelson_anti_patterns.rst | 209 ++++++++++++++++++++++++ docs/oxford/protocol.rst | 5 + docs/protocols/008_edo.rst | 2 +- docs/protocols/011_hangzhou.rst | 2 +- 5 files changed, 217 insertions(+), 3 deletions(-) create mode 100644 docs/oxford/michelson_anti_patterns.rst diff --git a/docs/introduction/howtorun.rst b/docs/introduction/howtorun.rst index 1cd398ba8d49..59ec3141b530 100644 --- a/docs/introduction/howtorun.rst +++ b/docs/introduction/howtorun.rst @@ -55,7 +55,7 @@ origination using the ``--delegate`` option: Once the contract is originated, the only way to stop or modify its delegation is by using the ``SET_DELEGATE`` Michelson instruction (see -:ref:`the Michelson documentation` for more +`the Michelson documentation `__ for more details). diff --git a/docs/oxford/michelson_anti_patterns.rst b/docs/oxford/michelson_anti_patterns.rst new file mode 100644 index 000000000000..9170f5b303fa --- /dev/null +++ b/docs/oxford/michelson_anti_patterns.rst @@ -0,0 +1,209 @@ +Michelson Anti-Patterns +======================= + +Even though Michelson is designed to make it easy to write secure +contracts and difficult to write vulnerable ones, it is still possible +to write buggy contracts that leak data and funds. This is a list of +mistakes that you can make when writing or interacting with contracts on +the Tezos blockchain and alternative ways to write code that avoid these +problems. + +This list is not exhaustive and will never be. The following resources +partially complement it: + +- https://opentezos.com/smart-contracts/avoiding-flaws/ +- https://ligolang.org/docs/tutorials/security/ +- https://github.com/InferenceAG/TezosSmartContractDetails +- https://medium.com/protofire-blog/recommendations-to-enhance-security-of-tezos-smart-contracts-d14c0e53a6d3 + +Storing unbounded data +---------------------- + +The gas costs for serializing and deserializing a contract storage are +proportional to its size. Contracts allowing arbitrary users to add +data, or allowing authenticated users to add data of unbounded size, are vulnerable to malicious users increasing the storage size to +make legitimate interactions with the contract consume a lot of gas or +even deadlocking the contract. + +Possible issues: +~~~~~~~~~~~~~~~~ + +- Malicious users may increase the storage size by adding large chunks + of data. + +- Even if each account can only store a bounded amount of data, a + malicious user may create many accounts to bypass the limit. + +Alternatives/Solutions: +~~~~~~~~~~~~~~~~~~~~~~~ + +- Store unbounded data offchain. When some data is not required for + the execution of a smart contract, the contract does not need to + store it. Typically, in most cases there is no need to store the full + contents of an NFT in a smart contract, but rather some metadata or pointer. + Even when some data is genuinely required, it can often be + replaced in storage by its hash and revealed by the user when + it is required for the contract execution. + +- Store user data in big maps. Since big map are lazy data structures, + instead of deserializing the full content of a stored big map before + the execution, deserialization happens during the execution and only + for the accessed keys. The size of the part of a big map which is + not accessed during the execution has no impact on the gas costs of + the execution (with two exceptions: transferring or deleting a complete big map + containing tickets leads to an update of the ticket table which is + linear in the number of keys). By storing user data under a big map + whose keys are linked to the user addresses having added each key, it is possible to + guarantee that the gas costs for legitimate users is not impacted by + the interactions of malicious users. + +Refunding to a list of contracts +-------------------------------- + +One common pattern in contracts is to refund a group of people’s funds +at once. This is problematic if you accepted arbitrary contracts as a +malicious user can do cause various issues for you. + +Possible issues: +~~~~~~~~~~~~~~~~ + +- One contract swallows all the gas through a series of callbacks +- One contract writes transactions until the block is full +- Reentrancy bugs. Michelson intentionally makes these difficult to + write, but it is still possible if you try. +- A contract calls the \`FAIL\` instruction, stopping all computation. + +Alternatives/Solutions: +~~~~~~~~~~~~~~~~~~~~~~~ + +- Create a default account from people’s keys. Default accounts cannot + execute code, avoiding the bugs above. Have people submit keys rather + than contracts. +- Have people pull their funds individually. Each user can break their + own withdrawal only. **This does not protect against reentrancy + bugs.** + +Avoid batch operations when users can increase the size of the batch +-------------------------------------------------------------------- + +Contracts that rely on linear or super-linear operations are vulnerable +to malicious users supplying values until the contract cannot finish +without running into fuel limits. This can deadlock your contract. + +Possible issues: +~~~~~~~~~~~~~~~~ + +- Malicious users can force your contract into a pathological worst + case, stopping it from finishing with available gas. Note that in the + absence of hard gas limits, this can still be disabling as node + operators may not want to run contracts that take more than a certain + amount of gas. +- You may hit the slow case of an amortized algorithm or data structure + at an inopportune time, using up all of your contract’s available + gas. + +Alternatives/Solutions: +~~~~~~~~~~~~~~~~~~~~~~~ + +- Avoid data structures and algorithms that rely on amortized + operations, especially when users may add data. +- Restrict the amount of data your contract can store to a level that + will not overwhelm the available gas. +- Write your contract so that it may pause and resume batch operations. + This would complicate these sequences and require constant checking + of available gas, but it prevents various attacks. + +\*Do not assume an attack will be prohibitively expensive\* +Cryptocurrencies have extreme price fluctuations frequently and an +extremely motivated attacker may decide that an enormous expense is +justified. Remember, an attack that disables a contract is not just +targeted at the authors, but also the users of that contract. + +Signatures alone do not prevent replay attacks +---------------------------------------------- + +If your contract uses signatures to authenticate messages, beware of +replay attacks. If a user ever signs a piece of data, you *must* make +sure that that piece of data is never again a valid message to the +contract. If you do not do this, anyone else can call your contract with +the same input and piggyback on the earlier approval. + +Possible issues: +~~~~~~~~~~~~~~~~ + +- A previously approved action can be replayed. + +Alternatives/Solutions +~~~~~~~~~~~~~~~~~~~~~~ + +- Use an internal counter to make the data you ask users to sign + unique. This counter should be per key so that users can find out + what they need to approve. This should be paired with a signed hash + of your contract to prevent cross-contract replays. +- Use the ``SENDER`` instruction to verify that the expected sender is + the source of the message. + +Do not assume users will use a unique key for every smart contract +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Users should always use a different key for every contract with which +they interact. If this is not the case, a message the user signed for +another contract can be sent to your contract. An internal counter alone +does not protect against this attack. It *must* be paired with a hash of +your contract. You must verify the source of the message. + +Storing/transferring private data +--------------------------------- + +Once data is published to anyone, including broadcasting a transaction, +that data is public. Never transmit secret information via any part of +the blockchain ecosystem. As soon as you have broadcast a transaction +including that piece of information, anyone can see it. Furthermore, +malicious nodes in the system can manipulate unsigned transactions by +delaying, modifying, or reordering them. + +Possible Issues +~~~~~~~~~~~~~~~ + +- If data is not signed, it can be modified +- Transactions can be delayed +- Secret information will become public + +Alternatives/Solutions +~~~~~~~~~~~~~~~~~~~~~~ + +- Do not store private information on the blockchain or broadcast it in + transactions. +- Sign all transactions that contain information that, if manipulated, + could be abused. +- Use counters to enforce transaction orders. + +This will at least create a logical clock on messages sent to your +contract. + +Not setting all state before a transfer +--------------------------------------- + +Reentrancy is a potential issue on the blockchain. When a contract makes +a transfer to another contract, that contract can execute its own code, +and can make arbitrary further transfers, including back to the original +contract. If state has not been updated before the transfer is made, a +contract can call back in and execute actions based on old state. + +Possible Issues +~~~~~~~~~~~~~~~ + +- Multiple withdrawals/actions +- Generating illegal state if state is updated twice later + +Alternatives/Solutions +~~~~~~~~~~~~~~~~~~~~~~ + +- Forbid reentrancy by means of a flag in your storage, unless you have + a good reason to allow users to reenter your contract, this is likely + the best option. +- Only make transfers to trusted contracts or default accounts. Default + accounts cannot execute code, so it is always safe to transfer to + them. Before trusting a contract, make sure that its behavior cannot + be modified and that you have an extremely high degree of confidence + in it. diff --git a/docs/oxford/protocol.rst b/docs/oxford/protocol.rst index 2cc206cebbb0..d17b27ac09c6 100644 --- a/docs/oxford/protocol.rst +++ b/docs/oxford/protocol.rst @@ -66,6 +66,11 @@ Sapling, etc), and some details about its implementation. global_constants +.. toctree:: + :maxdepth: 2 + + michelson_anti_patterns + .. toctree:: :maxdepth: 2 diff --git a/docs/protocols/008_edo.rst b/docs/protocols/008_edo.rst index ccc179624336..6997af5cbeea 100644 --- a/docs/protocols/008_edo.rst +++ b/docs/protocols/008_edo.rst @@ -183,7 +183,7 @@ Tickets Tickets are a generic and composable mechanism for authenticating data from smart contracts, managing permissions, and representing assets. -More information can be found in the :ref:`Ticket documentation `. +More information can be found in the :doc:`Ticket documentation <../active/tickets>`. Comb pairs ~~~~~~~~~~ diff --git a/docs/protocols/011_hangzhou.rst b/docs/protocols/011_hangzhou.rst index 9165a7169ba6..da76a7637e55 100644 --- a/docs/protocols/011_hangzhou.rst +++ b/docs/protocols/011_hangzhou.rst @@ -92,7 +92,7 @@ Timelock Michelson On-Chain Views ------------------------ -:ref:`Views ` are a new mechanism for contract calls that: +:doc:`Views <../active/views>` are a new mechanism for contract calls that: - are read-only: they may depend on the contract storage but cannot modify it nor emit operations (but they can call other views); -- GitLab