(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8280],{5866:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store/reference/misc",function(){return t(6110)}])},3307:function(e,s,t){"use strict";t.d(s,{Z:function(){return l}});var r=t(7505),n=t(1689);let i={logo:function(){return(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.25em",fontSize:"32px",fontFamily:"PP Supply Mono",textTransform:"uppercase"},children:[(0,r.jsx)("img",{src:"/images/logos/mud-white.svg",style:{height:"calc(var(--nextra-navbar-height) - 35px)"},alt:"MUD logo"}),"MUD"]})},useNextSeoProps(){let{asPath:e}=(0,n.useRouter)();return{titleTemplate:"/"===e?"MUD – a framework for ambitious Ethereum applications":"%s – MUD"}},project:{link:"https://github.com/latticexyz/mud"},docsRepositoryBase:"https://github.com/latticexyz/mud/tree/main/docs",head:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("meta",{property:"title",content:"MUD documentation"})}),darkMode:!1,nextThemes:{defaultTheme:"dark"},footer:{text:"MIT 2023 \xa9 MUD"},primaryHue:28,sidebar:{defaultMenuCollapseLevel:1}};var l=i},6110:function(e,s,t){"use strict";t.r(s);var r=t(7505),n=t(2585),i=t(8288),l=t(3307);t(4693);var o=t(6736);t(8823);let c={MDXContent:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:s}=Object.assign({},(0,o.ah)(),e.components);return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(d,{...e})}):d(e)},pageOpts:{filePath:"pages/store/reference/misc.mdx",route:"/store/reference/misc",headings:[{depth:2,value:"Bytes",id:"bytes"},{depth:3,value:"Functions",id:"functions"},{depth:4,value:"setLength",id:"setlength"},{depth:4,value:"setBytes4",id:"setbytes4"},{depth:4,value:"getBytes1",id:"getbytes1"},{depth:4,value:"getBytes1",id:"getbytes1-1"},{depth:4,value:"getBytes2",id:"getbytes2"},{depth:4,value:"getBytes2",id:"getbytes2-1"},{depth:4,value:"getBytes3",id:"getbytes3"},{depth:4,value:"getBytes3",id:"getbytes3-1"},{depth:4,value:"getBytes4",id:"getbytes4"},{depth:4,value:"getBytes4",id:"getbytes4-1"},{depth:4,value:"getBytes5",id:"getbytes5"},{depth:4,value:"getBytes5",id:"getbytes5-1"},{depth:4,value:"getBytes6",id:"getbytes6"},{depth:4,value:"getBytes6",id:"getbytes6-1"},{depth:4,value:"getBytes7",id:"getbytes7"},{depth:4,value:"getBytes7",id:"getbytes7-1"},{depth:4,value:"getBytes8",id:"getbytes8"},{depth:4,value:"getBytes8",id:"getbytes8-1"},{depth:4,value:"getBytes9",id:"getbytes9"},{depth:4,value:"getBytes9",id:"getbytes9-1"},{depth:4,value:"getBytes10",id:"getbytes10"},{depth:4,value:"getBytes10",id:"getbytes10-1"},{depth:4,value:"getBytes11",id:"getbytes11"},{depth:4,value:"getBytes11",id:"getbytes11-1"},{depth:4,value:"getBytes12",id:"getbytes12"},{depth:4,value:"getBytes12",id:"getbytes12-1"},{depth:4,value:"getBytes13",id:"getbytes13"},{depth:4,value:"getBytes13",id:"getbytes13-1"},{depth:4,value:"getBytes14",id:"getbytes14"},{depth:4,value:"getBytes14",id:"getbytes14-1"},{depth:4,value:"getBytes15",id:"getbytes15"},{depth:4,value:"getBytes15",id:"getbytes15-1"},{depth:4,value:"getBytes16",id:"getbytes16"},{depth:4,value:"getBytes16",id:"getbytes16-1"},{depth:4,value:"getBytes17",id:"getbytes17"},{depth:4,value:"getBytes17",id:"getbytes17-1"},{depth:4,value:"getBytes18",id:"getbytes18"},{depth:4,value:"getBytes18",id:"getbytes18-1"},{depth:4,value:"getBytes19",id:"getbytes19"},{depth:4,value:"getBytes19",id:"getbytes19-1"},{depth:4,value:"getBytes20",id:"getbytes20"},{depth:4,value:"getBytes20",id:"getbytes20-1"},{depth:4,value:"getBytes21",id:"getbytes21"},{depth:4,value:"getBytes21",id:"getbytes21-1"},{depth:4,value:"getBytes22",id:"getbytes22"},{depth:4,value:"getBytes22",id:"getbytes22-1"},{depth:4,value:"getBytes23",id:"getbytes23"},{depth:4,value:"getBytes23",id:"getbytes23-1"},{depth:4,value:"getBytes24",id:"getbytes24"},{depth:4,value:"getBytes24",id:"getbytes24-1"},{depth:4,value:"getBytes25",id:"getbytes25"},{depth:4,value:"getBytes25",id:"getbytes25-1"},{depth:4,value:"getBytes26",id:"getbytes26"},{depth:4,value:"getBytes26",id:"getbytes26-1"},{depth:4,value:"getBytes27",id:"getbytes27"},{depth:4,value:"getBytes27",id:"getbytes27-1"},{depth:4,value:"getBytes28",id:"getbytes28"},{depth:4,value:"getBytes28",id:"getbytes28-1"},{depth:4,value:"getBytes29",id:"getbytes29"},{depth:4,value:"getBytes29",id:"getbytes29-1"},{depth:4,value:"getBytes30",id:"getbytes30"},{depth:4,value:"getBytes30",id:"getbytes30-1"},{depth:4,value:"getBytes31",id:"getbytes31"},{depth:4,value:"getBytes31",id:"getbytes31-1"},{depth:4,value:"getBytes32",id:"getbytes32"},{depth:4,value:"getBytes32",id:"getbytes32-1"},{depth:2,value:"FieldLayoutInstance",id:"fieldlayoutinstance"},{depth:3,value:"Functions",id:"functions-1"},{depth:4,value:"atIndex",id:"atindex"},{depth:4,value:"staticDataLength",id:"staticdatalength"},{depth:4,value:"numStaticFields",id:"numstaticfields"},{depth:4,value:"numDynamicFields",id:"numdynamicfields"},{depth:4,value:"numFields",id:"numfields"},{depth:4,value:"isEmpty",id:"isempty"},{depth:4,value:"validate",id:"validate"},{depth:4,value:"unwrap",id:"unwrap"},{depth:2,value:"FieldLayoutLib",id:"fieldlayoutlib"},{depth:3,value:"Functions",id:"functions-2"},{depth:4,value:"encode",id:"encode"},{depth:2,value:"FieldLayout",id:"fieldlayout"},{depth:2,value:"HookInstance",id:"hookinstance"},{depth:3,value:"Functions",id:"functions-3"},{depth:4,value:"isEnabled",id:"isenabled"},{depth:4,value:"getAddress",id:"getaddress"},{depth:4,value:"getBitmap",id:"getbitmap"},{depth:2,value:"HookLib",id:"hooklib"},{depth:3,value:"Functions",id:"functions-4"},{depth:4,value:"encode",id:"encode-1"},{depth:4,value:"filterListByAddress",id:"filterlistbyaddress"},{depth:2,value:"Hook",id:"hook"},{depth:2,value:"Memory",id:"memory"},{depth:3,value:"Functions",id:"functions-5"},{depth:4,value:"dataPointer",id:"datapointer"},{depth:4,value:"copy",id:"copy"},{depth:2,value:"ResourceId.sol constants",id:"resourceidsol-constants"},{depth:4,value:"TYPE_BITS",id:"type_bits"},{depth:2,value:"ResourceIdInstance",id:"resourceidinstance"},{depth:3,value:"Functions",id:"functions-6"},{depth:4,value:"getType",id:"gettype"},{depth:2,value:"ResourceIdLib",id:"resourceidlib"},{depth:3,value:"Functions",id:"functions-7"},{depth:4,value:"encode",id:"encode-2"},{depth:2,value:"ResourceId",id:"resourceid"},{depth:2,value:"SchemaInstance",id:"schemainstance"},{depth:3,value:"Functions",id:"functions-8"},{depth:4,value:"staticDataLength",id:"staticdatalength-1"},{depth:4,value:"atIndex",id:"atindex-1"},{depth:4,value:"numStaticFields",id:"numstaticfields-1"},{depth:4,value:"numDynamicFields",id:"numdynamicfields-1"},{depth:4,value:"numFields",id:"numfields-1"},{depth:4,value:"isEmpty",id:"isempty-1"},{depth:4,value:"validate",id:"validate-1"},{depth:4,value:"unwrap",id:"unwrap-1"},{depth:2,value:"SchemaLib",id:"schemalib"},{depth:3,value:"Functions",id:"functions-9"},{depth:4,value:"encode",id:"encode-3"},{depth:2,value:"Schema",id:"schema"},{depth:2,value:"SliceInstance",id:"sliceinstance"},{depth:3,value:"Functions",id:"functions-10"},{depth:4,value:"pointer",id:"pointer"},{depth:4,value:"length",id:"length"},{depth:4,value:"toBytes",id:"tobytes"},{depth:4,value:"toBytes32",id:"tobytes32"},{depth:2,value:"SliceLib",id:"slicelib"},{depth:3,value:"State Variables",id:"state-variables"},{depth:4,value:"MASK_LEN",id:"mask_len"},{depth:3,value:"Functions",id:"functions-11"},{depth:4,value:"fromBytes",id:"frombytes"},{depth:4,value:"getSubslice",id:"getsubslice"},{depth:4,value:"getSubslice",id:"getsubslice-1"},{depth:2,value:"Slice",id:"slice"},{depth:2,value:"Storage",id:"storage"},{depth:3,value:"Functions",id:"functions-12"},{depth:4,value:"store",id:"store"},{depth:4,value:"store",id:"store-1"},{depth:4,value:"store",id:"store-2"},{depth:4,value:"zero",id:"zero"},{depth:4,value:"load",id:"load"},{depth:4,value:"load",id:"load-1"},{depth:4,value:"load",id:"load-2"},{depth:4,value:"loadField",id:"loadfield"},{depth:2,value:"constants.sol",id:"constantssol"},{depth:4,value:"WORD_SIZE",id:"word_size"},{depth:4,value:"WORD_LAST_INDEX",id:"word_last_index"},{depth:4,value:"BYTE_TO_BITS",id:"byte_to_bits"},{depth:4,value:"MAX_TOTAL_FIELDS",id:"max_total_fields"},{depth:4,value:"MAX_STATIC_FIELDS",id:"max_static_fields"},{depth:4,value:"MAX_DYNAMIC_FIELDS",id:"max_dynamic_fields"},{depth:2,value:"LayoutOffsets",id:"layoutoffsets"},{depth:3,value:"State Variables",id:"state-variables-1"},{depth:4,value:"TOTAL_LENGTH",id:"total_length"},{depth:4,value:"NUM_STATIC_FIELDS",id:"num_static_fields"},{depth:4,value:"NUM_DYNAMIC_FIELDS",id:"num_dynamic_fields"},{depth:2,value:"rightMask",id:"rightmask"},{depth:2,value:"storeHookTypes.sol constants",id:"storehooktypessol-constants"},{depth:4,value:"BEFORE_SET_RECORD",id:"before_set_record"},{depth:4,value:"AFTER_SET_RECORD",id:"after_set_record"},{depth:4,value:"BEFORE_SPLICE_STATIC_DATA",id:"before_splice_static_data"},{depth:4,value:"AFTER_SPLICE_STATIC_DATA",id:"after_splice_static_data"},{depth:4,value:"BEFORE_SPLICE_DYNAMIC_DATA",id:"before_splice_dynamic_data"},{depth:4,value:"AFTER_SPLICE_DYNAMIC_DATA",id:"after_splice_dynamic_data"},{depth:4,value:"BEFORE_DELETE_RECORD",id:"before_delete_record"},{depth:4,value:"AFTER_DELETE_RECORD",id:"after_delete_record"},{depth:4,value:"ALL",id:"all"},{depth:4,value:"BEFORE_ALL",id:"before_all"},{depth:4,value:"AFTER_ALL",id:"after_all"},{depth:2,value:"storeResourceTypes.sol constants",id:"storeresourcetypessol-constants"},{depth:4,value:"RESOURCE_TABLE",id:"resource_table"},{depth:4,value:"RESOURCE_OFFCHAIN_TABLE",id:"resource_offchain_table"},{depth:2,value:"version.sol constants",id:"versionsol-constants"},{depth:4,value:"STORE_VERSION",id:"store_version"}],pageMap:[{kind:"Meta",data:{introduction:{title:"What is MUD?",theme:{breadcrumb:!1}},quickstart:{title:"Get started",theme:{breadcrumb:!1}},protocol:{title:"Protocol",type:"separator"},store:"Store",world:"World",framework:{title:"Framework",type:"separator"},config:"Config",cli:"CLI","state-query":"State Query",services:"Services","---":{title:"",type:"separator"},guides:"Guides",templates:"Templates",contribute:{title:"Contribute",theme:{breadcrumb:!1}},changelog:"Changelog",retrospectives:"Retrospectives",version:{title:"2.0.1",type:"menu",items:{changelog:{title:"Changelog",href:"/changelog"},contribute:{title:"Contribute",href:"/contribute"}}},status:{title:"Status",type:"page",href:"https://status.mud.dev",newWindow:!0},community:{title:"Community",type:"page",href:"https://community.mud.dev",newWindow:!0},twitter:{title:"Twitter",type:"page",href:"https://twitter.com/latticexyz",newWindow:!0},discord:{title:"Discord",type:"page",href:"https://lattice.xyz/discord",newWindow:!0}}},{kind:"MdxPage",name:"changelog",route:"/changelog"},{kind:"Folder",name:"cli",route:"/cli",children:[{kind:"Meta",data:{tablegen:"mud tablegen",worldgen:"mud worldgen",test:"mud test",deploy:"mud deploy","dev-contracts":"mud dev-contracts","abi-ts":"mud abi-ts",faucet:"mud faucet","set-version":"mud set-version"}},{kind:"MdxPage",name:"abi-ts",route:"/cli/abi-ts"},{kind:"MdxPage",name:"deploy",route:"/cli/deploy"},{kind:"MdxPage",name:"dev-contracts",route:"/cli/dev-contracts"},{kind:"MdxPage",name:"faucet",route:"/cli/faucet"},{kind:"MdxPage",name:"set-version",route:"/cli/set-version"},{kind:"MdxPage",name:"tablegen",route:"/cli/tablegen"},{kind:"MdxPage",name:"test",route:"/cli/test"},{kind:"MdxPage",name:"worldgen",route:"/cli/worldgen"}]},{kind:"MdxPage",name:"config",route:"/config"},{kind:"MdxPage",name:"contribute",route:"/contribute"},{kind:"Folder",name:"guides",route:"/guides",children:[{kind:"Meta",data:{"replicating-onchain-state":"Replicating onchain state","hello-world":"Hello World","extending-a-world":"Extending a World",emojimon:"Emojimon"}},{kind:"Folder",name:"emojimon",route:"/guides/emojimon",children:[{kind:"MdxPage",name:"1-preface-the-ecs-model",route:"/guides/emojimon/1-preface-the-ecs-model"},{kind:"MdxPage",name:"2-getting-started",route:"/guides/emojimon/2-getting-started"},{kind:"MdxPage",name:"3-players-and-movement",route:"/guides/emojimon/3-players-and-movement"},{kind:"MdxPage",name:"4-map-and-terrain",route:"/guides/emojimon/4-map-and-terrain"},{kind:"MdxPage",name:"5-a-wild-emojimon-appears",route:"/guides/emojimon/5-a-wild-emojimon-appears"},{kind:"MdxPage",name:"6-advanced",route:"/guides/emojimon/6-advanced"},{kind:"Meta",data:{"1-preface-the-ecs-model":"Preface: the ECS model","2-getting-started":"Getting started","3-players-and-movement":"Players and movement","4-map-and-terrain":"Map and terrain","5-a-wild-emojimon-appears":"A wild Emojimon appears","6-advanced":"Advanced features"}}]},{kind:"MdxPage",name:"emojimon",route:"/guides/emojimon"},{kind:"MdxPage",name:"extending-a-world",route:"/guides/extending-a-world"},{kind:"Folder",name:"hello-world",route:"/guides/hello-world",children:[{kind:"Meta",data:{"add-table":"Add a table","filter-sync":"Filter data synchronization","add-system":"Add a system",deploy:{title:"Deploy to a blockchain",href:"/cli/deploy"}}},{kind:"MdxPage",name:"add-system",route:"/guides/hello-world/add-system"},{kind:"MdxPage",name:"add-table",route:"/guides/hello-world/add-table"},{kind:"MdxPage",name:"filter-sync",route:"/guides/hello-world/filter-sync"}]},{kind:"MdxPage",name:"hello-world",route:"/guides/hello-world"},{kind:"MdxPage",name:"replicating-onchain-state",route:"/guides/replicating-onchain-state"}]},{kind:"MdxPage",name:"introduction",route:"/introduction"},{kind:"MdxPage",name:"quickstart",route:"/quickstart"},{kind:"Folder",name:"retrospectives",route:"/retrospectives",children:[{kind:"MdxPage",name:"2023-09-12-register-system-vulnerability",route:"/retrospectives/2023-09-12-register-system-vulnerability"},{kind:"Meta",data:{"2023-09-12-register-system-vulnerability":"2023-09-12 registerSystem vulnerability"}}]},{kind:"Folder",name:"services",route:"/services",children:[{kind:"Meta",data:{indexer:"Indexer",faucet:"Faucet"}},{kind:"MdxPage",name:"faucet",route:"/services/faucet"},{kind:"MdxPage",name:"indexer",route:"/services/indexer"}]},{kind:"Folder",name:"state-query",route:"/state-query",children:[{kind:"Meta",data:{typescript:"TypeScript"}},{kind:"Folder",name:"typescript",route:"/state-query/typescript",children:[{kind:"Meta",data:{recs:"RECS",zustand:"Zustand"}},{kind:"MdxPage",name:"recs",route:"/state-query/typescript/recs"},{kind:"MdxPage",name:"zustand",route:"/state-query/typescript/zustand"}]}]},{kind:"Folder",name:"store",route:"/store",children:[{kind:"Meta",data:{introduction:"Introduction","data-model":"Data model",tables:"Tables","table-libraries":"Table libraries",encoding:"Encoding","store-hooks":"Store hooks",reference:"Reference"}},{kind:"MdxPage",name:"data-model",route:"/store/data-model"},{kind:"MdxPage",name:"encoding",route:"/store/encoding"},{kind:"MdxPage",name:"introduction",route:"/store/introduction"},{kind:"Folder",name:"reference",route:"/store/reference",children:[{kind:"Meta",data:{"store-core":"StoreCore (internal)",store:"IStore (external)","store-hook":"StoreHook",misc:"Miscellaneous"}},{kind:"MdxPage",name:"misc",route:"/store/reference/misc"},{kind:"MdxPage",name:"store-core",route:"/store/reference/store-core"},{kind:"MdxPage",name:"store-hook",route:"/store/reference/store-hook"},{kind:"MdxPage",name:"store",route:"/store/reference/store"}]},{kind:"MdxPage",name:"store-hooks",route:"/store/store-hooks"},{kind:"MdxPage",name:"table-libraries",route:"/store/table-libraries"},{kind:"MdxPage",name:"tables",route:"/store/tables"}]},{kind:"Folder",name:"templates",route:"/templates",children:[{kind:"Meta",data:{typescript:"TypeScript",godot:"Godot",pwa:"Progressive Web App (for mobile)",swift:"Swift",svelte:"Svelte",unity:"Unity",disclaimer:{display:"hidden",title:"Disclaimer"}}},{kind:"MdxPage",name:"disclaimer",route:"/templates/disclaimer"},{kind:"MdxPage",name:"godot",route:"/templates/godot"},{kind:"MdxPage",name:"pwa",route:"/templates/pwa"},{kind:"MdxPage",name:"svelte",route:"/templates/svelte"},{kind:"MdxPage",name:"swift",route:"/templates/swift"},{kind:"Folder",name:"typescript",route:"/templates/typescript",children:[{kind:"Meta",data:{contracts:"Contracts",vanilla:"Vanilla","react-ecs":"React-ECS",three:"Three.js"}},{kind:"MdxPage",name:"contracts",route:"/templates/typescript/contracts"},{kind:"MdxPage",name:"react-ecs",route:"/templates/typescript/react-ecs"},{kind:"MdxPage",name:"three",route:"/templates/typescript/three"},{kind:"MdxPage",name:"vanilla",route:"/templates/typescript/vanilla"}]},{kind:"MdxPage",name:"unity",route:"/templates/unity"}]},{kind:"Folder",name:"world",route:"/world",children:[{kind:"Meta",data:{introduction:"Introduction","namespaces-access-control":"Namespaces & Access Control",tables:"Tables",systems:"Systems","system-hooks":"System Hooks","function-selectors":"Function Selectors",balance:"Balance","account-delegation":"Account Delegation","batch-calls":"Batch Calls",modules:"Modules",reference:"Reference","world-table-illustration":{display:"hidden",title:"World Table Illustration"}}},{kind:"MdxPage",name:"account-delegation",route:"/world/account-delegation"},{kind:"MdxPage",name:"balance",route:"/world/balance"},{kind:"MdxPage",name:"batch-calls",route:"/world/batch-calls"},{kind:"MdxPage",name:"function-selectors",route:"/world/function-selectors"},{kind:"MdxPage",name:"introduction",route:"/world/introduction"},{kind:"Folder",name:"modules",route:"/world/modules",children:[{kind:"Meta",data:{keyswithvalue:"Keys with Value"}},{kind:"MdxPage",name:"keyswithvalue",route:"/world/modules/keyswithvalue"}]},{kind:"MdxPage",name:"modules",route:"/world/modules"},{kind:"MdxPage",name:"namespaces-access-control",route:"/world/namespaces-access-control"},{kind:"Folder",name:"reference",route:"/world/reference",children:[{kind:"Meta",data:{"delegation-external":"Delegation (interface)",module:"Modules","module-external":"Modules (interface)",system:"Systems","system-external":"Systems (interface)",world:"World","world-external":"World (interfaces)","world-context":"World context","world-context-external":"World context (interface)","resource-ids":"Resource IDs",misc:"Miscellaneous",internal:"Internals"}},{kind:"MdxPage",name:"delegation-external",route:"/world/reference/delegation-external"},{kind:"Folder",name:"internal",route:"/world/reference/internal",children:[{kind:"Meta",data:{"access-control":"Access Control",create:"Create2",delegation:"Delegation",erc165:"ERC165","erc165-external":"ERC165 (interface)","init-module":"Init Module","init-module-implementation":"Init Module Implementation",systemcall:"SystemCall"}},{kind:"MdxPage",name:"access-control",route:"/world/reference/internal/access-control"},{kind:"MdxPage",name:"create",route:"/world/reference/internal/create"},{kind:"MdxPage",name:"delegation",route:"/world/reference/internal/delegation"},{kind:"MdxPage",name:"erc165-external",route:"/world/reference/internal/erc165-external"},{kind:"MdxPage",name:"erc165",route:"/world/reference/internal/erc165"},{kind:"MdxPage",name:"init-module-implementation",route:"/world/reference/internal/init-module-implementation"},{kind:"MdxPage",name:"init-module",route:"/world/reference/internal/init-module"},{kind:"MdxPage",name:"systemcall",route:"/world/reference/internal/systemcall"}]},{kind:"MdxPage",name:"misc",route:"/world/reference/misc"},{kind:"MdxPage",name:"module-external",route:"/world/reference/module-external"},{kind:"MdxPage",name:"module",route:"/world/reference/module"},{kind:"MdxPage",name:"resource-ids",route:"/world/reference/resource-ids"},{kind:"MdxPage",name:"system-external",route:"/world/reference/system-external"},{kind:"MdxPage",name:"system",route:"/world/reference/system"},{kind:"MdxPage",name:"world-context-external",route:"/world/reference/world-context-external"},{kind:"MdxPage",name:"world-context",route:"/world/reference/world-context"},{kind:"MdxPage",name:"world-external",route:"/world/reference/world-external"},{kind:"MdxPage",name:"world",route:"/world/reference/world"}]},{kind:"MdxPage",name:"system-hooks",route:"/world/system-hooks"},{kind:"MdxPage",name:"systems",route:"/world/systems"},{kind:"MdxPage",name:"tables",route:"/world/tables"},{kind:"MdxPage",name:"world-table-illustration",route:"/world/world-table-illustration"}]}],flexsearch:{codeblocks:!0},title:"Misc"},pageNextRoute:"/store/reference/misc",nextraLayout:i.ZP,themeConfig:l.Z};function d(e){let s=Object.assign({h2:"h2",p:"p",a:"a",h3:"h3",h4:"h4",em:"em",pre:"pre",code:"code",span:"span",strong:"strong",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td",ul:"ul",li:"li"},(0,o.ah)(),e.components);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.h2,{id:"bytes",children:"Bytes"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Bytes.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:"Utility functions for bytes."}),"\n",(0,r.jsx)(s.h3,{id:"functions",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"setlength",children:"setLength"}),"\n",(0,r.jsx)(s.p,{children:"UTILS"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Sets the length of a bytes blob in memory.\nThis function does not resize the memory allocation; it only changes the length\nfield, which affects operations that access the length property."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"setLength"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" input"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" length) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"input"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob to modify."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"length"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The new length to set."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"Reference to the input bytes blob with modified length."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"setbytes4",children:"setBytes4"}),"\n",(0,r.jsx)(s.p,{children:"SET"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Sets a specific 4-byte sequence in a bytes blob at a given index."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"setBytes4"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" input"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" index"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes4"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" overwrite) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"input"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob in which a specific 4-byte sequence is to be altered."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"index"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The position within the bytes blob to start altering the 4-byte sequence. Index starts from the left."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"overwrite"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes4"})}),(0,r.jsx)(s.td,{children:"The new 4-byte value to be set at the specified index."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The modified bytes blob with the new 4-byte value at the specified index."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes1",children:"getBytes1"}),"\n",(0,r.jsx)(s.p,{children:"GET\nUsed by codegen libraries"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a single byte from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a byte is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes1"})}),(0,r.jsx)(s.td,{children:"The extracted bytes1 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes1-1",children:"getBytes1"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a single byte from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a byte is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes1"})}),(0,r.jsx)(s.td,{children:"The extracted bytes1 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes2",children:"getBytes2"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 2-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 2-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes2"})}),(0,r.jsx)(s.td,{children:"The extracted bytes2 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes2-1",children:"getBytes2"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 2-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 2-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes2"})}),(0,r.jsx)(s.td,{children:"The extracted bytes2 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes3",children:"getBytes3"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 3-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes3"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes3"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 3-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes3"})}),(0,r.jsx)(s.td,{children:"The extracted bytes3 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes3-1",children:"getBytes3"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 3-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes3"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes3"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 3-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes3"})}),(0,r.jsx)(s.td,{children:"The extracted bytes3 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes4",children:"getBytes4"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 4-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes4"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes4"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 4-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes4"})}),(0,r.jsx)(s.td,{children:"The extracted bytes4 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes4-1",children:"getBytes4"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 4-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes4"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes4"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 4-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes4"})}),(0,r.jsx)(s.td,{children:"The extracted bytes4 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes5",children:"getBytes5"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 5-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes5"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes5"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 5-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes5"})}),(0,r.jsx)(s.td,{children:"The extracted bytes5 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes5-1",children:"getBytes5"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 5-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes5"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes5"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 5-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes5"})}),(0,r.jsx)(s.td,{children:"The extracted bytes5 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes6",children:"getBytes6"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 6-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes6"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes6"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 6-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes6"})}),(0,r.jsx)(s.td,{children:"The extracted bytes6 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes6-1",children:"getBytes6"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 6-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes6"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes6"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 6-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes6"})}),(0,r.jsx)(s.td,{children:"The extracted bytes6 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes7",children:"getBytes7"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 7-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes7"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes7"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 7-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes7"})}),(0,r.jsx)(s.td,{children:"The extracted bytes7 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes7-1",children:"getBytes7"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 7-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes7"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes7"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 7-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes7"})}),(0,r.jsx)(s.td,{children:"The extracted bytes7 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes8",children:"getBytes8"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 8-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 8-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes8"})}),(0,r.jsx)(s.td,{children:"The extracted bytes8 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes8-1",children:"getBytes8"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 8-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 8-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes8"})}),(0,r.jsx)(s.td,{children:"The extracted bytes8 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes9",children:"getBytes9"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 9-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes9"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes9"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 9-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes9"})}),(0,r.jsx)(s.td,{children:"The extracted bytes9 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes9-1",children:"getBytes9"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 9-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes9"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes9"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 9-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes9"})}),(0,r.jsx)(s.td,{children:"The extracted bytes9 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes10",children:"getBytes10"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 10-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes10"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes10"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 10-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes10"})}),(0,r.jsx)(s.td,{children:"The extracted bytes10 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes10-1",children:"getBytes10"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 10-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes10"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes10"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 10-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes10"})}),(0,r.jsx)(s.td,{children:"The extracted bytes10 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes11",children:"getBytes11"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 11-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes11"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes11"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 11-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes11"})}),(0,r.jsx)(s.td,{children:"The extracted bytes11 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes11-1",children:"getBytes11"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 11-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes11"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes11"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 11-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes11"})}),(0,r.jsx)(s.td,{children:"The extracted bytes11 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes12",children:"getBytes12"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 12-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes12"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes12"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 12-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes12"})}),(0,r.jsx)(s.td,{children:"The extracted bytes12 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes12-1",children:"getBytes12"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 12-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes12"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes12"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 12-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes12"})}),(0,r.jsx)(s.td,{children:"The extracted bytes12 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes13",children:"getBytes13"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 13-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes13"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes13"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 13-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes13"})}),(0,r.jsx)(s.td,{children:"The extracted bytes13 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes13-1",children:"getBytes13"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 13-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes13"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes13"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 13-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes13"})}),(0,r.jsx)(s.td,{children:"The extracted bytes13 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes14",children:"getBytes14"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 14-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes14"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes14"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 14-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes14"})}),(0,r.jsx)(s.td,{children:"The extracted bytes14 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes14-1",children:"getBytes14"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 14-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes14"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes14"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 14-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes14"})}),(0,r.jsx)(s.td,{children:"The extracted bytes14 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes15",children:"getBytes15"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 15-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes15"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes15"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 15-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes15"})}),(0,r.jsx)(s.td,{children:"The extracted bytes15 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes15-1",children:"getBytes15"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 15-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes15"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes15"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 15-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes15"})}),(0,r.jsx)(s.td,{children:"The extracted bytes15 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes16",children:"getBytes16"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 16-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes16"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes16"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 16-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes16"})}),(0,r.jsx)(s.td,{children:"The extracted bytes16 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes16-1",children:"getBytes16"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 16-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes16"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes16"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 16-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes16"})}),(0,r.jsx)(s.td,{children:"The extracted bytes16 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes17",children:"getBytes17"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 17-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes17"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes17"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 17-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes17"})}),(0,r.jsx)(s.td,{children:"The extracted bytes17 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes17-1",children:"getBytes17"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 17-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes17"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes17"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 17-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes17"})}),(0,r.jsx)(s.td,{children:"The extracted bytes17 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes18",children:"getBytes18"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 18-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes18"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes18"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 18-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes18"})}),(0,r.jsx)(s.td,{children:"The extracted bytes18 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes18-1",children:"getBytes18"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 18-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes18"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes18"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 18-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes18"})}),(0,r.jsx)(s.td,{children:"The extracted bytes18 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes19",children:"getBytes19"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 19-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes19"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes19"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 19-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes19"})}),(0,r.jsx)(s.td,{children:"The extracted bytes19 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes19-1",children:"getBytes19"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 19-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes19"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes19"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 19-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes19"})}),(0,r.jsx)(s.td,{children:"The extracted bytes19 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes20",children:"getBytes20"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 20-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes20"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes20"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 20-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes20"})}),(0,r.jsx)(s.td,{children:"The extracted bytes20 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes20-1",children:"getBytes20"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 20-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes20"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes20"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 20-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes20"})}),(0,r.jsx)(s.td,{children:"The extracted bytes20 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes21",children:"getBytes21"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 21-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes21"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes21"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 21-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes21"})}),(0,r.jsx)(s.td,{children:"The extracted bytes21 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes21-1",children:"getBytes21"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 21-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes21"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes21"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 21-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes21"})}),(0,r.jsx)(s.td,{children:"The extracted bytes21 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes22",children:"getBytes22"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 22-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes22"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes22"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 22-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes22"})}),(0,r.jsx)(s.td,{children:"The extracted bytes22 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes22-1",children:"getBytes22"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 22-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes22"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes22"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 22-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes22"})}),(0,r.jsx)(s.td,{children:"The extracted bytes22 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes23",children:"getBytes23"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 23-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes23"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes23"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 23-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes23"})}),(0,r.jsx)(s.td,{children:"The extracted bytes23 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes23-1",children:"getBytes23"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 23-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes23"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes23"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 23-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes23"})}),(0,r.jsx)(s.td,{children:"The extracted bytes23 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes24",children:"getBytes24"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 24-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes24"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes24"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 24-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes24"})}),(0,r.jsx)(s.td,{children:"The extracted bytes24 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes24-1",children:"getBytes24"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 24-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes24"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes24"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 24-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes24"})}),(0,r.jsx)(s.td,{children:"The extracted bytes24 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes25",children:"getBytes25"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 25-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes25"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes25"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 25-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes25"})}),(0,r.jsx)(s.td,{children:"The extracted bytes25 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes25-1",children:"getBytes25"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 25-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes25"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes25"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 25-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes25"})}),(0,r.jsx)(s.td,{children:"The extracted bytes25 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes26",children:"getBytes26"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 26-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes26"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes26"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 26-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes26"})}),(0,r.jsx)(s.td,{children:"The extracted bytes26 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes26-1",children:"getBytes26"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 26-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes26"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes26"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 26-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes26"})}),(0,r.jsx)(s.td,{children:"The extracted bytes26 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes27",children:"getBytes27"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 27-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes27"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes27"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 27-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes27"})}),(0,r.jsx)(s.td,{children:"The extracted bytes27 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes27-1",children:"getBytes27"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 27-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes27"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes27"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 27-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes27"})}),(0,r.jsx)(s.td,{children:"The extracted bytes27 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes28",children:"getBytes28"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 28-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes28"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes28"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 28-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes28"})}),(0,r.jsx)(s.td,{children:"The extracted bytes28 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes28-1",children:"getBytes28"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 28-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes28"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes28"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 28-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes28"})}),(0,r.jsx)(s.td,{children:"The extracted bytes28 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes29",children:"getBytes29"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 29-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes29"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes29"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 29-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes29"})}),(0,r.jsx)(s.td,{children:"The extracted bytes29 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes29-1",children:"getBytes29"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 29-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes29"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes29"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 29-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes29"})}),(0,r.jsx)(s.td,{children:"The extracted bytes29 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes30",children:"getBytes30"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 30-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes30"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes30"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 30-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes30"})}),(0,r.jsx)(s.td,{children:"The extracted bytes30 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes30-1",children:"getBytes30"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 30-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes30"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes30"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 30-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes30"})}),(0,r.jsx)(s.td,{children:"The extracted bytes30 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes31",children:"getBytes31"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 31-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes31"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes31"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 31-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes31"})}),(0,r.jsx)(s.td,{children:"The extracted bytes31 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes31-1",children:"getBytes31"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 31-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes31"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes31"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 31-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes31"})}),(0,r.jsx)(s.td,{children:"The extracted bytes31 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes32",children:"getBytes32"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 32-byte sequence from a bytes blob starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes blob from which a 32-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes blob for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The extracted bytes32 value from the specified position in the bytes blob."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbytes32-1",children:"getBytes32"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Extracts a 32-byte sequence from a bytes32 value starting at a specific position."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" output);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 value from which a 32-byte sequence is to be extracted."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting position within the bytes32 value for extraction."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"output"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The extracted bytes32 value from the specified position in the bytes32 value."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"fieldlayoutinstance",children:"FieldLayoutInstance"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/FieldLayout.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Provides instance functions for obtaining information from an encoded FieldLayout."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-1",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"atindex",children:"atIndex"}),"\n",(0,r.jsx)(s.p,{children:"Get the static byte length at the given index from the field layout."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"atIndex"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" index) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to extract the byte length from."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"index"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The field index to get the static byte length from."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The static byte length at the specified index."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"staticdatalength",children:"staticDataLength"}),"\n",(0,r.jsx)(s.p,{children:"Get the total static byte length for the given field layout."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"staticDataLength"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to extract the total static byte length from."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The total static byte length."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"numstaticfields",children:"numStaticFields"}),"\n",(0,r.jsx)(s.p,{children:"Get the number of static fields for the field layout."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"numStaticFields"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to extract the number of static fields from."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of static fields."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"numdynamicfields",children:"numDynamicFields"}),"\n",(0,r.jsx)(s.p,{children:"Get the number of dynamic length fields for the field layout."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"numDynamicFields"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to extract the number of dynamic fields from."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of dynamic length fields."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"numfields",children:"numFields"}),"\n",(0,r.jsx)(s.p,{children:"Get the total number of fields for the field layout."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"numFields"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to extract the total number of fields from."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The total number of fields."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"isempty",children:"isEmpty"}),"\n",(0,r.jsx)(s.p,{children:"Check if the field layout is empty."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"isEmpty"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bool"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to check."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bool"})}),(0,r.jsx)(s.td,{children:"True if the field layout is empty, false otherwise."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"validate",children:"validate"}),"\n",(0,r.jsx)(s.p,{children:"Validate the field layout with various checks on the length and size of the fields."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Reverts if total fields, static field length, or static byte length exceed allowed limits."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"validate"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to validate."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"unwrap",children:"unwrap"}),"\n",(0,r.jsx)(s.p,{children:"Unwrap the field layout to obtain the raw bytes32 representation."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"unwrap"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fieldLayout) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fieldLayout"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"The FieldLayout to unwrap."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The unwrapped bytes32 representation of the FieldLayout."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"fieldlayoutlib",children:"FieldLayoutLib"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/FieldLayout.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"A library for handling field layout encoding into a single bytes32.\nIt provides a function to encode static and dynamic fields and ensure\nvarious constraints regarding the length and size of the fields."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-2",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"encode",children:"encode"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"/world/namespaces-access-control#modifying-access-control",children:"Usage Sample"})}),"\n",(0,r.jsx)(s.p,{children:"Encodes the given field layout into a single bytes32."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Ensures various constraints on the length and size of the fields.\nReverts if total fields, static field length, or static byte length exceed allowed limits."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"encode"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"[] "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-parameter)"},children:"_staticFieldLengths"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" numDynamicFields) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"_staticFieldLengths"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256[]"})}),(0,r.jsx)(s.td,{children:"An array of static field lengths."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"numDynamicFields"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of dynamic fields."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"FieldLayout"})}),(0,r.jsx)(s.td,{children:"A FieldLayout structure containing the encoded field layout."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"fieldlayout",children:"FieldLayout"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/FieldLayout.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:"*Represents a field layout encoded into a single bytes32.\nFrom left to right, the bytes are laid out as follows:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"2 bytes for total length of all static fields"}),"\n",(0,r.jsx)(s.li,{children:"1 byte for number of static size fields"}),"\n",(0,r.jsx)(s.li,{children:"1 byte for number of dynamic size fields"}),"\n",(0,r.jsx)(s.li,{children:"28 bytes for 28 static field lengths\n(MAX_DYNAMIC_FIELDS allows EncodedLengths to pack the dynamic lengths into 1 word)*"}),"\n"]}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"FieldLayout"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"is"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"hookinstance",children:"HookInstance"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Hook.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Library for interacting with Hook instances."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-3",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"isenabled",children:"isEnabled"}),"\n",(0,r.jsx)(s.p,{children:"Check if the given hook types are enabled in the hook."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"We check multiple hook types at once by using a bitmap."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"isEnabled"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Hook"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" self"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" hookTypes) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bool"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"self"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Hook"})}),(0,r.jsx)(s.td,{children:"The Hook instance to check."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"hookTypes"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint8"})}),(0,r.jsx)(s.td,{children:"A bitmap of hook types to check."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bool"})}),(0,r.jsx)(s.td,{children:"True if the hook types are enabled, false otherwise."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getaddress",children:"getAddress"}),"\n",(0,r.jsx)(s.p,{children:"Get the address from the hook."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"The address is stored in the leftmost 20 bytes."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getAddress"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Hook"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" self) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"address"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"self"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Hook"})}),(0,r.jsx)(s.td,{children:"The Hook instance to get the address from."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"address"})}),(0,r.jsx)(s.td,{children:"The address contained in the Hook instance."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getbitmap",children:"getBitmap"}),"\n",(0,r.jsx)(s.p,{children:"Get the bitmap from the hook."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"The bitmap is stored in the rightmost byte."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getBitmap"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Hook"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" self) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"self"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Hook"})}),(0,r.jsx)(s.td,{children:"The Hook instance to get the bitmap from."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint8"})}),(0,r.jsx)(s.td,{children:"The bitmap contained in the Hook instance."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"hooklib",children:"HookLib"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Hook.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Library for encoding hooks and filtering hooks from a list by address."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-4",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"encode-1",children:"encode"}),"\n",(0,r.jsx)(s.p,{children:"Packs the bitmap of enabled hooks with the hook address into a Hook value (bytes21)."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"The hook address is stored in the leftmost 20 bytes, and the bitmap is stored in the rightmost byte."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"encode"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"address"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" hookAddress"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" encodedHooks) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Hook"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"hookAddress"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"address"})}),(0,r.jsx)(s.td,{children:"The address of the hook."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"encodedHooks"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint8"})}),(0,r.jsx)(s.td,{children:"The encoded hooks in a bitmap."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Hook"})}),(0,r.jsx)(s.td,{children:"A Hook type with packed hook address and bitmap."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"filterlistbyaddress",children:"filterListByAddress"}),"\n",(0,r.jsx)(s.p,{children:"Filter a hook from the hook list by its address."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"This function writes the updated hook list to the table in place."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.code,{"data-language":"solidity","data-theme":"default",children:[(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"filterListByAddress"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"ResourceId"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" hookTableId"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"ResourceId"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" resourceWithHooks"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"address"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" hookAddressToRemove"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:") "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})]})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"hookTableId"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"ResourceId"})}),(0,r.jsx)(s.td,{children:"The resource ID of the hook table."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"resourceWithHooks"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"ResourceId"})}),(0,r.jsx)(s.td,{children:"The resource ID of the table with hooks to filter."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"hookAddressToRemove"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"address"})}),(0,r.jsx)(s.td,{children:"The address of the hook to remove."})]})]})]}),"\n",(0,r.jsx)(s.h2,{id:"hook",children:"Hook"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Hook.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"Hook"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"is"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes21"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"memory",children:"Memory"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Memory.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:"A library for performing low-level memory operations."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"This library provides low-level memory operations with safety checks."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-5",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"datapointer",children:"dataPointer"}),"\n",(0,r.jsx)(s.p,{children:"Gets the actual data pointer of dynamic arrays."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"In dynamic arrays, the first word stores the length of the data, after which comes the actual data.\nExample: 0x40 0x01 0x02\n^len ^data"})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"dataPointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" memoryPointer);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The dynamic bytes data from which to get the pointer."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"memoryPointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The pointer to the actual data (skipping the length)."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"copy",children:"copy"}),"\n",(0,r.jsx)(s.p,{children:"Copies memory from one location to another."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Safely copies memory in chunks of 32 bytes, then handles any residual bytes."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"copy"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" fromPointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" toPointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" length) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"fromPointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The memory location to copy from."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"toPointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The memory location to copy to."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"length"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of bytes to copy."})]})]})]}),"\n",(0,r.jsx)(s.h2,{id:"resourceidsol-constants",children:"ResourceId.sol constants"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/ResourceId.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.h4,{id:"type_bits",children:"TYPE_BITS"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Number of bits reserved for the type in the ResourceId."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" TYPE_BITS "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"resourceidinstance",children:"ResourceIdInstance"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/ResourceId.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Provides functions to extract data from a ResourceId."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-6",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"gettype",children:"getType"}),"\n",(0,r.jsx)(s.p,{children:"Extracts the type identifier from a given ResourceId."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getType"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"ResourceId"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" resourceId) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"resourceId"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"ResourceId"})}),(0,r.jsx)(s.td,{children:"The ResourceId from which the type identifier should be extracted."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes2"})}),(0,r.jsx)(s.td,{children:"The extracted 2-byte type identifier."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"resourceidlib",children:"ResourceIdLib"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/ResourceId.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Provides functions to encode data into the ResourceId"})}),"\n",(0,r.jsx)(s.h3,{id:"functions-7",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"encode-2",children:"encode"}),"\n",(0,r.jsx)(s.p,{children:"Encodes given typeId and name into a ResourceId."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"encode"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" typeId"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes30"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" name) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"ResourceId"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"typeId"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes2"})}),(0,r.jsx)(s.td,{children:"The type identifier to be encoded. Must be 2 bytes."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"name"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes30"})}),(0,r.jsx)(s.td,{children:"The name to be encoded. Must be 30 bytes."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"ResourceId"})}),(0,r.jsx)(s.td,{children:"A ResourceId containing the encoded typeId and name."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"resourceid",children:"ResourceId"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/ResourceId.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"A ResourceId is a bytes32 data structure that consists of a\ntype and a name"})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"ResourceId"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"is"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"schemainstance",children:"SchemaInstance"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Schema.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Instance utility functions for handling a Schema instance."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-8",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"staticdatalength-1",children:"staticDataLength"}),"\n",(0,r.jsx)(s.p,{children:"Get the length of static data for the given schema."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"staticDataLength"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to inspect."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The static data length."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"atindex-1",children:"atIndex"}),"\n",(0,r.jsx)(s.p,{children:"Get the SchemaType at a given index in the schema."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"atIndex"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" index) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"SchemaType"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to inspect."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"index"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The index of the SchemaType to retrieve."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"SchemaType"})}),(0,r.jsx)(s.td,{children:"The SchemaType at the given index."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"numstaticfields-1",children:"numStaticFields"}),"\n",(0,r.jsx)(s.p,{children:"Get the number of static (fixed length) fields in the schema."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"numStaticFields"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to inspect."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of static fields."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"numdynamicfields-1",children:"numDynamicFields"}),"\n",(0,r.jsx)(s.p,{children:"Get the number of dynamic length fields in the schema."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"numDynamicFields"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to inspect."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of dynamic length fields."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"numfields-1",children:"numFields"}),"\n",(0,r.jsx)(s.p,{children:"Get the total number of fields in the schema."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"numFields"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to inspect."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The total number of fields."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"isempty-1",children:"isEmpty"}),"\n",(0,r.jsx)(s.p,{children:"Checks if the provided schema is empty."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"isEmpty"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bool"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to check."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bool"})}),(0,r.jsx)(s.td,{children:"true if the schema is empty, false otherwise."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"validate-1",children:"validate"}),"\n",(0,r.jsx)(s.p,{children:"Validates the given schema."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"validate"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bool"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" allowEmpty) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to validate."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"allowEmpty"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bool"})}),(0,r.jsx)(s.td,{children:"Determines if an empty schema is valid or not."})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"unwrap-1",children:"unwrap"}),"\n",(0,r.jsx)(s.p,{children:"Unwraps the schema to its underlying bytes32 representation."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"unwrap"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schema) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schema"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The schema to unwrap."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 representation of the schema."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"schemalib",children:"SchemaLib"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Schema.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Static utility functions for handling Schemas."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-9",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"encode-3",children:"encode"}),"\n",(0,r.jsx)(s.p,{children:"Encodes a given schema into a single bytes32."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"encode"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"SchemaType"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"[] "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" schemas) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"schemas"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"SchemaType[]"})}),(0,r.jsx)(s.td,{children:"The list of SchemaTypes that constitute the schema."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Schema"})}),(0,r.jsx)(s.td,{children:"The encoded Schema."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"schema",children:"Schema"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Schema.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Defines and handles the encoding/decoding of Schemas which describe the layout of data structures.\n2 bytes length of all the static (in size) fields in the schema\n1 byte for number of static size fields\n1 byte for number of dynamic size fields\n28 bytes for 28 schema types (MAX_DYNAMIC_FIELDS allows us to pack the lengths into 1 word)"})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"Schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"is"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"sliceinstance",children:"SliceInstance"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Slice.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.h3,{id:"functions-10",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"pointer",children:"pointer"}),"\n",(0,r.jsx)(s.p,{children:"Returns the pointer to the start of a slice"}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"pointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" self) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"self"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Slice"})}),(0,r.jsx)(s.td,{children:"The slice whose pointer needs to be fetched"})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The pointer to the start of the slice"})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"length",children:"length"}),"\n",(0,r.jsx)(s.p,{children:"Returns the slice length in bytes"}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"length"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" self) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"self"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Slice"})}),(0,r.jsx)(s.td,{children:"The slice whose length needs to be fetched"})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The length of the slice"})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"tobytes",children:"toBytes"}),"\n",(0,r.jsx)(s.p,{children:"Converts a Slice to bytes"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"This function internally manages the conversion of a slice into a bytes format."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"toBytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" self) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"self"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Slice"})}),(0,r.jsx)(s.td,{children:"The Slice to be converted to bytes."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes representation of the provided Slice."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"tobytes32",children:"toBytes32"}),"\n",(0,r.jsx)(s.p,{children:"Converts a Slice to bytes32"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"This function converts a slice into a fixed-length bytes32. Uses inline assembly for the conversion."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"toBytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" self) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" result);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"self"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Slice"})}),(0,r.jsx)(s.td,{children:"The Slice to be converted to bytes32."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"result"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The bytes32 representation of the provided Slice."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"slicelib",children:"SliceLib"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Slice.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.h3,{id:"state-variables",children:"State Variables"}),"\n",(0,r.jsx)(s.h4,{id:"mask_len",children:"MASK_LEN"}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" MASK_LEN "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"(type("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint128"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:").max);"})]})})}),"\n",(0,r.jsx)(s.h3,{id:"functions-11",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"frombytes",children:"fromBytes"}),"\n",(0,r.jsx)(s.p,{children:"Converts a bytes array to a slice (without copying data)"}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"fromBytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes array to be converted"})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Slice"})}),(0,r.jsx)(s.td,{children:"A new Slice representing the bytes array"})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getsubslice",children:"getSubslice"}),"\n",(0,r.jsx)(s.p,{children:"Subslice a bytes array using the given start index until the end of the array (without copying data)"}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getSubslice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes array to subslice"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The start index for the subslice"})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Slice"})}),(0,r.jsx)(s.td,{children:"A new Slice representing the subslice"})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"getsubslice-1",children:"getSubslice"}),"\n",(0,r.jsx)(s.p,{children:"Subslice a bytes array using the given indexes (without copying data)"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"The start index is inclusive, the end index is exclusive"})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getSubslice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" start"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" end) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:");"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The bytes array to subslice"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"start"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The start index for the subslice"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"end"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The end index for the subslice"})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"<none>"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"Slice"})}),(0,r.jsx)(s.td,{children:"A new Slice representing the subslice"})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"slice",children:"Slice"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Slice.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"Slice"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"is"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"storage",children:"Storage"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/Storage.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Provides functions for low-level storage manipulation, including storing and retrieving bytes."})}),"\n",(0,r.jsx)(s.h3,{id:"functions-12",children:"Functions"}),"\n",(0,r.jsx)(s.h4,{id:"store",children:"store"}),"\n",(0,r.jsx)(s.p,{children:"Store a single word of data at a specific storage pointer."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"store"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The location to store the data."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The 32-byte word of data to store."})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"store-1",children:"store"}),"\n",(0,r.jsx)(s.p,{children:"Store bytes of data at a specific storage pointer and offset."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"store"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" offset"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" data) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The base storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"offset"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Offset within the storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"data"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"Bytes to store."})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"store-2",children:"store"}),"\n",(0,r.jsx)(s.p,{children:"Stores raw bytes to storage at a given pointer, offset, and length, keeping the rest of the word intact."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"store"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" offset"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" length"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" memoryPointer) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The base storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"offset"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Offset within the storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"length"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Length of the data in bytes."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"memoryPointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Pointer to the start of the data in memory."})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"zero",children:"zero"}),"\n",(0,r.jsx)(s.p,{children:"Set multiple storage locations to zero."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"zero"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" length) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The starting storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"length"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of storage locations to set to zero, in bytes"})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"load",children:"load"}),"\n",(0,r.jsx)(s.p,{children:"Load a single word of data from a specific storage pointer."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"load"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"view"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" word);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The location to load the data from."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"word"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The loaded 32-byte word of data."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"load-1",children:"load"}),"\n",(0,r.jsx)(s.p,{children:"Load raw bytes from storage at a given pointer, offset, and length."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"load"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" offset"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" length) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"view"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"memory"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" result);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The base storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"offset"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Offset within the storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"length"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Length of the data in bytes."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"result"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes"})}),(0,r.jsx)(s.td,{children:"The loaded bytes of data."})]})})]}),"\n",(0,r.jsx)(s.h4,{id:"load-2",children:"load"}),"\n",(0,r.jsx)(s.p,{children:"Append raw bytes from storage at a given pointer, offset, and length to a specific memory pointer."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"load"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" offset"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" length"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" memoryPointer) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"view"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The base storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"offset"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Offset within the storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"length"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Length of the data in bytes."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"memoryPointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Pointer to the location in memory to append the data."})]})]})]}),"\n",(0,r.jsx)(s.h4,{id:"loadfield",children:"loadField"}),"\n",(0,r.jsx)(s.p,{children:"Load up to 32 bytes from storage at a given pointer and offset."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Since fields are tightly packed, they can span more than one slot.\nSince they're max 32 bytes, they can span at most 2 slots."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"loadField"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" storagePointer"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" length"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" offset) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"view"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" result);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"storagePointer"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The base storage location."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"length"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Length of the data in bytes."})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"offset"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"Offset within the storage location."})]})]})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"result"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"bytes32"})}),(0,r.jsx)(s.td,{children:"The loaded bytes, left-aligned bytes. Bytes beyond the length are not zeroed."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"constantssol",children:"constants.sol"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/constants.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.h4,{id:"word_size",children:"WORD_SIZE"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"This file provides constants for better handling of EVM and Schema related functionalities."})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Represents the total byte length of an EVM word."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" WORD_SIZE "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"word_last_index",children:"WORD_LAST_INDEX"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Represents the index of the last byte in an EVM word."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" WORD_LAST_INDEX "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"31"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"byte_to_bits",children:"BYTE_TO_BITS"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Represents the conversion constant from byte to bits."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BYTE_TO_BITS "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"max_total_fields",children:"MAX_TOTAL_FIELDS"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Represents the maximum number of fields a Schema can handle."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" MAX_TOTAL_FIELDS "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"28"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"max_static_fields",children:"MAX_STATIC_FIELDS"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Represents the maximum number of static fields in a FieldLayout."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" MAX_STATIC_FIELDS "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"28"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"max_dynamic_fields",children:"MAX_DYNAMIC_FIELDS"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Represents the maximum number of dynamic fields that can be packed in EncodedLengths."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" MAX_DYNAMIC_FIELDS "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"5"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"layoutoffsets",children:"LayoutOffsets"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/constants.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:"This library provides constant offsets for FieldLayout and Schema metadata."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"FieldLayout and Schema utilize the same offset values for metadata."})}),"\n",(0,r.jsx)(s.h3,{id:"state-variables-1",children:"State Variables"}),"\n",(0,r.jsx)(s.h4,{id:"total_length",children:"TOTAL_LENGTH"}),"\n",(0,r.jsx)(s.p,{children:"Represents the total length offset within the EVM word."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" TOTAL_LENGTH "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" (WORD_SIZE "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:") "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BYTE_TO_BITS;"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"num_static_fields",children:"NUM_STATIC_FIELDS"}),"\n",(0,r.jsx)(s.p,{children:"Represents the number of static fields offset within the EVM word."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" NUM_STATIC_FIELDS "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" (WORD_SIZE "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:") "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BYTE_TO_BITS;"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"num_dynamic_fields",children:"NUM_DYNAMIC_FIELDS"}),"\n",(0,r.jsx)(s.p,{children:"Represents the number of dynamic fields offset within the EVM word."}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"internal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" NUM_DYNAMIC_FIELDS "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" (WORD_SIZE "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:") "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BYTE_TO_BITS;"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"rightmask",children:"rightMask"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/rightMask.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.p,{children:"Utility functions to manage bytes in memory."}),"\n",(0,r.jsx)(s.p,{children:"Computes a right-aligned byte mask based on the provided byte length."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Adapted from ",(0,r.jsx)(s.a,{href:"https://github.com/dk1a/solidity-stringutils/blob/main/src/utils/mem.sol#L149-L167",children:"https://github.com/dk1a/solidity-stringutils/blob/main/src/utils/mem.sol#L149-L167"})]})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"The mask is used to extract a specified number of rightmost bytes."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"rightMask"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" byteLength) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"pure"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"returns"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint256"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" mask);"})]})})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Parameters"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"byteLength"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"The number of rightmost bytes to be masked."})]})})]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.strong,{children:"Returns"})}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Name"}),(0,r.jsx)(s.th,{children:"Type"}),(0,r.jsx)(s.th,{children:"Description"})]})}),(0,r.jsx)(s.tbody,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"mask"})}),(0,r.jsx)(s.td,{children:(0,r.jsx)(s.code,{children:"uint256"})}),(0,r.jsx)(s.td,{children:"A right-aligned byte mask corresponding to the specified byte length."})]})})]}),"\n",(0,r.jsx)(s.h2,{id:"storehooktypessol-constants",children:"storeHookTypes.sol constants"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/storeHookTypes.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.h4,{id:"before_set_record",children:"BEFORE_SET_RECORD"}),"\n",(0,r.jsx)(s.p,{children:"Constants for enabling store hooks."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["These bitmaps can be used to enable selected store hooks. They can be combined with a bitwise OR (",(0,r.jsx)(s.code,{children:"|"}),")."]})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"onBeforeSetRecord"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BEFORE_SET_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"after_set_record",children:"AFTER_SET_RECORD"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"afterSetRecord"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" AFTER_SET_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"before_splice_static_data",children:"BEFORE_SPLICE_STATIC_DATA"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"beforeSpliceStaticData"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BEFORE_SPLICE_STATIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"after_splice_static_data",children:"AFTER_SPLICE_STATIC_DATA"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"afterSpliceStaticData"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" AFTER_SPLICE_STATIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"3"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"before_splice_dynamic_data",children:"BEFORE_SPLICE_DYNAMIC_DATA"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"beforeSpliceDynamicData"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BEFORE_SPLICE_DYNAMIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"4"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"after_splice_dynamic_data",children:"AFTER_SPLICE_DYNAMIC_DATA"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"afterSpliceDynamicData"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" AFTER_SPLICE_DYNAMIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"5"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"before_delete_record",children:"BEFORE_DELETE_RECORD"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"beforeDeleteRecord"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BEFORE_DELETE_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"6"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"after_delete_record",children:"AFTER_DELETE_RECORD"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsxs)(s.em,{children:["Flag to enable the ",(0,r.jsx)(s.code,{children:"afterDeleteRecord"})," hook."]})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" AFTER_DELETE_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"7"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"all",children:"ALL"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Bitmap to enable all hooks."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.code,{"data-language":"solidity","data-theme":"default",children:[(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" ALL "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BEFORE_SET_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  AFTER_SET_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  BEFORE_SPLICE_STATIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  AFTER_SPLICE_STATIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  BEFORE_SPLICE_DYNAMIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  AFTER_SPLICE_DYNAMIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  BEFORE_DELETE_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsx)(s.span,{className:"line",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  AFTER_DELETE_RECORD;"})})]})}),"\n",(0,r.jsx)(s.h4,{id:"before_all",children:"BEFORE_ALL"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:'Bitmap to enable all "before" hooks.'})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.code,{"data-language":"solidity","data-theme":"default",children:[(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BEFORE_ALL "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" BEFORE_SET_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  BEFORE_SPLICE_STATIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  BEFORE_SPLICE_DYNAMIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsx)(s.span,{className:"line",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  BEFORE_DELETE_RECORD;"})})]})}),"\n",(0,r.jsx)(s.h4,{id:"after_all",children:"AFTER_ALL"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:'Bitmap to enable all "after" hooks.'})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.code,{"data-language":"solidity","data-theme":"default",children:[(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"uint8"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" AFTER_ALL "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" AFTER_SET_RECORD "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  AFTER_SPLICE_STATIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  AFTER_SPLICE_DYNAMIC_DATA "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"|"})]}),"\n",(0,r.jsx)(s.span,{className:"line",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:"  AFTER_DELETE_RECORD;"})})]})}),"\n",(0,r.jsx)(s.h2,{id:"storeresourcetypessol-constants",children:"storeResourceTypes.sol constants"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/storeResourceTypes.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.h4,{id:"resource_table",children:"RESOURCE_TABLE"}),"\n",(0,r.jsx)(s.p,{children:"Constants representing unique identifiers for different resource types."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"These identifiers can be used to distinguish between various resource types."})}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Identifier for a resource table."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" RESOURCE_TABLE "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"tb"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h4,{id:"resource_offchain_table",children:"RESOURCE_OFFCHAIN_TABLE"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Identifier for an offchain resource table."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes2"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" RESOURCE_OFFCHAIN_TABLE "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"ot"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})}),"\n",(0,r.jsx)(s.h2,{id:"versionsol-constants",children:"version.sol constants"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.a,{href:"https://github.com/latticexyz/mud/blob/main/packages/store/src/version.sol",children:"Git Source"})}),"\n",(0,r.jsx)(s.h4,{id:"store_version",children:"STORE_VERSION"}),"\n",(0,r.jsx)(s.p,{children:"Contains a constant representing the version of the Store protocol."}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.em,{children:"Identifier for the current Store protocol version."})}),"\n",(0,r.jsx)(s.pre,{"data-language":"solidity","data-theme":"default",children:(0,r.jsx)(s.code,{"data-language":"solidity","data-theme":"default",children:(0,r.jsxs)(s.span,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"bytes32"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"constant"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" STORE_VERSION "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:" "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"2.0.0"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-color-text)"},children:";"})]})})})]})}s.default=(0,n.j)(c)}},function(e){e.O(0,[3720,2888,179],function(){return e(e.s=5866)}),_N_E=e.O()}]);