transient
- Explore
- View source
- Playground
Loading ....
- YAML
- JSON
ethdebug/format/pointer/region/transient
$schema: "https://json-schema.org/draft/2020-12/schema"
$id: "schema:ethdebug/format/pointer/region/transient"
title: ethdebug/format/pointer/region/transient
description: |
A schema for representing a region of data in EVM transient storage.
This schema is constructed by extending the base region schema
and the schema for the segment addressing scheme.
type: object
allOf:
- title: '{ "location": "transient" }' # note: whitespace chars are \255 (nbsp)
properties:
location:
const: transient
required:
- location
- $ref: "schema:ethdebug/format/pointer/region/base"
- $ref: "schema:ethdebug/format/pointer/scheme/segment"
unevaluatedProperties: false
examples:
- location: transient
slot: "0x03"
- location: transient
slot: "0x06"
length:
$product:
- $wordsize
- 2
- location: transient
slot: "0x08"
offset:
$quotient:
- $wordsize
- 2
length:
$quotient:
- $wordsize
- 2
ethdebug/format/pointer/region/transient
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema:ethdebug/format/pointer/region/transient",
"title": "ethdebug/format/pointer/region/transient",
"description": "A schema for representing a region of data in EVM transient storage.\n\nThis schema is constructed by extending the base region schema\nand the schema for the segment addressing scheme.\n",
"type": "object",
"allOf": [
{
"title": "{ \"location\": \"transient\" }",
"properties": {
"location": {
"const": "transient"
}
},
"required": [
"location"
]
},
{
"$ref": "schema:ethdebug/format/pointer/region/base"
},
{
"$ref": "schema:ethdebug/format/pointer/scheme/segment"
}
],
"unevaluatedProperties": false,
"examples": [
{
"location": "transient",
"slot": "0x03"
},
{
"location": "transient",
"slot": "0x06",
"length": {
"$product": [
"$wordsize",
2
]
}
},
{
"location": "transient",
"slot": "0x08",
"offset": {
"$quotient": [
"$wordsize",
2
]
},
"length": {
"$quotient": [
"$wordsize",
2
]
}
}
]
}
Loading...