diff --git a/.gitignore b/.gitignore index 76f37082..c496c016 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ packages/contracts/types/* !packages/contracts/out/IWorld.sol/ packages/client/dist/* +.idea/* diff --git a/packages/client/src/components/PIXIAPP/index.tsx b/packages/client/src/components/PIXIAPP/index.tsx index d9a7a1d5..fda5a6e0 100644 --- a/packages/client/src/components/PIXIAPP/index.tsx +++ b/packages/client/src/components/PIXIAPP/index.tsx @@ -22,6 +22,7 @@ import { } from '@/utils/player'; import PIXIMsg from '@/components/PIXIMsg'; import MiniMap from '@/components/MiniMap'; +import showFPS from '@/utils/fps'; PIXI.settings.SCALE_MODE = PIXI.SCALE_MODES.NEAREST; @@ -110,13 +111,14 @@ const PIXIAPP = () => { } const animateMove = (player, paths, onFinish) => { + console.log('moving', player.name); let index = 0; const moveTime = calculateMoveTime(paths, blockTime); const linePath = createPathInterpolator(paths, ~~(moveTime / 16)); - const interval = setInterval(() => { + const _move = () => { const movingPlayer = renderPlayers.find(item => item.addr === player.addr); if (!movingPlayer) { - clearInterval(interval); + // clearInterval(interval); return; } if (movingPlayer.addr === curPlayer?.addr) { @@ -131,10 +133,35 @@ const PIXIAPP = () => { movingPlayer.action = 'idle'; movingPlayer.moving = false; setPlayerUpdateTime(Date.now()); - clearInterval(interval); - onFinish?.() + // clearInterval(interval); + onFinish?.(); + return; } - }, 16) + requestAnimationFrame(_move); + }; + _move(); + // const interval = setInterval(() => { + // const movingPlayer = renderPlayers.find(item => item.addr === player.addr); + // if (!movingPlayer) { + // clearInterval(interval); + // return; + // } + // if (movingPlayer.addr === curPlayer?.addr) { + // setOffset(calculateOffset(linePath[index])); + // } + // updatePlayerPosition(movingPlayer, linePath[index]); + // movingPlayer.action = 'run'; + // movingPlayer.moving = true; + // setPlayerUpdateTime(Date.now()); + // index++; + // if (index >= linePath.length) { + // movingPlayer.action = 'idle'; + // movingPlayer.moving = false; + // setPlayerUpdateTime(Date.now()); + // clearInterval(interval); + // onFinish?.() + // } + // }, 16) } @@ -149,10 +176,12 @@ const PIXIAPP = () => { document.body.addEventListener('keydown', (e) => { if (e.key === 'Tab') { - console.log('tab') setMiniMapVisible((prevState => !prevState)); } - }) + }); + if (location.hostname === 'localhost') { + showFPS.go(); + } }, []); const createPreviewPath = (coordinate: ICoordinate) => { @@ -280,6 +309,9 @@ const PIXIAPP = () => { } } + const curPlayerPosition = curPlayer ? [curPlayer.x, curPlayer.y] : [4, 5]; + + return (
{ data={renderPlayers} huntingPlayerId={huntingPlayerId} playerUpdateTime={playerUpdateTime} - msgMap={msgMap} + curPlayerPosition={curPlayerPosition} /> - + diff --git a/packages/client/src/components/PIXIMsg/index.tsx b/packages/client/src/components/PIXIMsg/index.tsx index efdb9fb0..9ed163df 100644 --- a/packages/client/src/components/PIXIMsg/index.tsx +++ b/packages/client/src/components/PIXIMsg/index.tsx @@ -9,7 +9,7 @@ import * as PIXI from 'pixi.js'; const { cellSize } = MapConfig; -interface IMsgMap { +export interface IMsgMap { [key: string]: { content: string; time: number; diff --git a/packages/client/src/components/PIXIPlayers/index.tsx b/packages/client/src/components/PIXIPlayers/index.tsx index ff92f3ef..68ca204f 100644 --- a/packages/client/src/components/PIXIPlayers/index.tsx +++ b/packages/client/src/components/PIXIPlayers/index.tsx @@ -2,21 +2,30 @@ import React from 'react'; import { Container } from '@pixi/react'; import Player, { IPlayer } from '@/components/PIXIPlayers/Player'; import { isDelivery } from '@/utils/map'; +import { MapConfig } from '@/config'; interface IProps { data: IPlayer[]; huntingPlayerId?: string; + curPlayerPosition: number[]; } const PIXIPlayers = (props: IProps) => { - const { data = [], huntingPlayerId } = props; + const { data = [], huntingPlayerId, curPlayerPosition } = props; + + const isRenderable = (player) => { + return (Math.abs(player.x - curPlayerPosition[0]) < MapConfig.visualWidth) + && (Math.abs(player.y - curPlayerPosition[1]) < MapConfig.visualHeight) + && !isDelivery(player) + } + return ( { - data.filter(player => !isDelivery(player)).map((player, index) => { + data.filter(isRenderable).map((player, index) => { - return ; + return ; }) } diff --git a/packages/client/src/pages/ffa/header/styles.scss b/packages/client/src/pages/ffa/header/styles.scss index 2169fb04..9b1b68a7 100644 --- a/packages/client/src/pages/ffa/header/styles.scss +++ b/packages/client/src/pages/ffa/header/styles.scss @@ -1,6 +1,6 @@ .home-header { position: fixed; - z-index: 2; + z-index: 999; display: flex; align-items: center; top: 0; diff --git a/packages/client/src/pages/game/index.tsx b/packages/client/src/pages/game/index.tsx index 8382429a..0e7da988 100644 --- a/packages/client/src/pages/game/index.tsx +++ b/packages/client/src/pages/game/index.tsx @@ -123,12 +123,25 @@ const Game = () => { return item }).sort((a, b) => b.oreBalance - a.oreBalance); }); + + const lootCache = useRef({}); const PlayersData = useStore((state: any) => { const records = Object.values(state.getRecords(tables.Player)); return records.map((e:any) => { let playerItem = Object.assign(e.value, {addr: e.key.addr}) //LootList1Data - let loot = LootList1Data.find((loot: any) => loot.addr == e.key.addr) || {} + let loot = LootList1Data.find((loot: any) => loot.addr == e.key.addr) || {}; + // if (!lootCache.current[loot.addr]) { + // // playerItem.equip = lootCache.current[loot.addr] + // let clothes = loot?.chest?.replace(/"(.*?)"/, '').split(' of')[0].replace(/^\s+|\s+$/g,"") + // let handheld = loot?.weapon?.replace(/"(.*?)"/, '').split(' of')[0].replace(/^\s+|\s+$/g,"") + // let head = loot?.head?.replace(/"(.*?)"/, '').split(' of')[0].replace(/^\s+|\s+$/g,"") + // lootCache.current[loot.addr] = playerItem.equip = { + // clothes, + // handheld, + // head, + // } + // } let clothes = loot?.chest?.replace(/"(.*?)"/, '').split(' of')[0].replace(/^\s+|\s+$/g,"") let handheld = loot?.weapon?.replace(/"(.*?)"/, '').split(' of')[0].replace(/^\s+|\s+$/g,"") let head = loot?.head?.replace(/"(.*?)"/, '').split(' of')[0].replace(/^\s+|\s+$/g,"") diff --git a/packages/client/src/utils/fps.ts b/packages/client/src/utils/fps.ts new file mode 100644 index 00000000..3ec7c4ae --- /dev/null +++ b/packages/client/src/utils/fps.ts @@ -0,0 +1,54 @@ +/** + * Created by ui on 2016/6/13. + */ +const showFPS = (function () { + const requestAnimationFrame = + window.requestAnimationFrame; + // 去他大爷的兼容 + //|| //Chromium + //window.webkitRequestAnimationFrame || //Webkit + //window.mozRequestAnimationFrame || //Mozilla Geko + //window.oRequestAnimationFrame || //Opera Presto + //window.msRequestAnimationFrame || //IE Trident? + //function(callback) { //Fallback function + // window.setTimeout(callback, 1000/60); + //} + let e, pe, pid, fps, last, offset; + + fps = 0; + last = Date.now(); + const step = function () { + offset = Date.now() - last; + fps += 1; + if (offset >= 1000) { + last += offset; + appendFps(fps); + fps = 0; + } + requestAnimationFrame(step); + }; + //显示fps; 如果未指定元素id,默认标签 + const appendFps = function (fps) { + if (!e) e = document.createElement('span'); + e.style = ` + position: fixed; + right: 0; + top: 0; + color: red; + z-index: 999; + ` + pe = pid ? document.getElementById(pid) : document.getElementsByTagName('body')[0]; + e.innerHTML = "fps: " + fps; + pe.appendChild(e); + } + return { + setParentElementId: function (id) { + pid = id; + }, + go: function () { + step(); + } + } +})(); + +export default showFPS; \ No newline at end of file diff --git a/packages/client/src/utils/player.ts b/packages/client/src/utils/player.ts index 16dde1b4..b3994f07 100644 --- a/packages/client/src/utils/player.ts +++ b/packages/client/src/utils/player.ts @@ -1,5 +1,5 @@ import { IPlayer } from '@/components/PIXIPlayers/Player'; -import { IMsgMap } from '@/components/PIXIPlayers'; +import { IMsgMap } from '@/components/PIXIMsg'; import { MsgShowTime } from '@/config/hero'; export const updatePlayerPosition = (player: IPlayer, next: IPlayer) => { diff --git a/packages/contracts/out/IWorld.sol/IWorld.abi.json b/packages/contracts/out/IWorld.sol/IWorld.abi.json index 69aa090b..79b1ef02 100644 --- a/packages/contracts/out/IWorld.sol/IWorld.abi.json +++ b/packages/contracts/out/IWorld.sol/IWorld.abi.json @@ -1,2350 +1,2350 @@ [ { + "type": "function", + "name": "CreateBox", "inputs": [ { - "internalType": "uint256", - "name": "length", - "type": "uint256" + "name": "_x", + "type": "uint16", + "internalType": "uint16" }, { - "internalType": "uint256", - "name": "accessedIndex", - "type": "uint256" + "name": "_y", + "type": "uint16", + "internalType": "uint16" } ], - "name": "Store_IndexOutOfBounds", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [ + "type": "function", + "name": "GetSeasonInfo", + "inputs": [], + "outputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" + "name": "", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "Store_InvalidDynamicDataLength", - "type": "error" + "stateMutability": "view" }, { + "type": "function", + "name": "Init", "inputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" + "name": "_userContract", + "type": "address", + "internalType": "address" }, { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "_lootContract", + "type": "address", + "internalType": "address" + }, + { + "name": "_pluginContract", + "type": "address", + "internalType": "address" + }, + { + "name": "_merkleRoot", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "Store_InvalidFieldNamesLength", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "SetMapMerkleRoot", "inputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "_root", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "Store_InvalidKeyNamesLength", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "SetSeasonInfo", "inputs": [ { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "_start", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "_end", + "type": "uint256", + "internalType": "uint256" } ], - "name": "Store_InvalidResourceType", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "SetUserContract", "inputs": [ { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "fieldLength", - "type": "uint40" + "name": "_user", + "type": "address", + "internalType": "address" } ], - "name": "Store_InvalidSplice", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "batchCall", "inputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, + "name": "systemCalls", + "type": "tuple[]", + "internalType": "struct SystemCallData[]", + "components": [ + { + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "returnDatas", + "type": "bytes[]", + "internalType": "bytes[]" } ], - "name": "Store_InvalidValueSchemaLength", - "type": "error" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "batchCallFrom", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, + "name": "systemCalls", + "type": "tuple[]", + "internalType": "struct SystemCallFromData[]", + "components": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ { - "internalType": "string", - "name": "tableIdString", - "type": "string" + "name": "returnDatas", + "type": "bytes[]", + "internalType": "bytes[]" } ], - "name": "Store_TableAlreadyExists", - "type": "error" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "battleInvitation", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "_targetAddress", + "type": "address", + "internalType": "address" }, { - "internalType": "string", - "name": "tableIdString", - "type": "string" + "name": "positionList", + "type": "tuple[]", + "internalType": "struct Position[]", + "components": [ + { + "name": "x", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "y", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "proof", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ] } ], - "name": "Store_TableNotFound", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "call", "inputs": [ { - "internalType": "string", - "name": "resource", - "type": "string" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "caller", - "type": "address" + "name": "callData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_AccessDenied", - "type": "error" - }, - { - "inputs": [], - "name": "World_AlreadyInitialized", - "type": "error" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_CallbackNotAllowed", - "type": "error" + "stateMutability": "payable" }, { + "type": "function", + "name": "callFrom", "inputs": [ { - "internalType": "address", "name": "delegator", - "type": "address" + "type": "address", + "internalType": "address" }, { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "World_DelegationNotFound", - "type": "error" - }, - { - "inputs": [ + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" + "name": "callData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_FunctionSelectorAlreadyExists", - "type": "error" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_FunctionSelectorNotFound", - "type": "error" + "stateMutability": "payable" }, { + "type": "function", + "name": "confirmBattle", "inputs": [ { - "internalType": "uint256", - "name": "balance", - "type": "uint256" + "name": "_buffHash", + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "World_InsufficientBalance", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, + "type": "function", + "name": "creator", + "inputs": [], + "outputs": [ { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" + "name": "", + "type": "address", + "internalType": "address" } ], - "name": "World_InterfaceNotSupported", - "type": "error" + "stateMutability": "view" }, { + "type": "function", + "name": "deleteRecord", "inputs": [ { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" } ], - "name": "World_InvalidResourceId", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "forceEnd", "inputs": [ { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "World_InvalidResourceType", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "getBattlePlayerHp", "inputs": [ { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "addr", + "type": "address", + "internalType": "address" } ], - "name": "World_ResourceAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, + "outputs": [ { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "World_ResourceNotFound", - "type": "error" + "stateMutability": "view" }, { + "type": "function", + "name": "getCollections", "inputs": [ { - "internalType": "address", - "name": "system", - "type": "address" + "name": "_boxId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_oreAmount", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "_treasureAmount", + "type": "uint16", + "internalType": "uint16" } ], - "name": "World_SystemAlreadyExists", - "type": "error" - }, - { - "inputs": [], - "name": "World_UnlimitedDelegationNotAllowed", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { - "anonymous": false, + "type": "function", + "name": "getDynamicField", "inputs": [ { - "indexed": true, - "internalType": "bytes32", - "name": "storeVersion", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" } ], - "name": "HelloStore", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ + "outputs": [ { - "indexed": true, - "internalType": "bytes32", - "name": "worldVersion", - "type": "bytes32" + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "name": "HelloWorld", - "type": "event" + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getDynamicFieldLength", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" } ], - "name": "Store_DeleteRecord", - "type": "event" + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getDynamicFieldSlice", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "indexed": false, - "internalType": "bytes", - "name": "staticData", - "type": "bytes" + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "indexed": false, - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" + "name": "start", + "type": "uint256", + "internalType": "uint256" }, { - "indexed": false, - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "end", + "type": "uint256", + "internalType": "uint256" } ], - "name": "Store_SetRecord", - "type": "event" + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getField", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint48", - "name": "start", - "type": "uint48" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "indexed": false, - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "indexed": false, - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" + } + ], + "outputs": [ { - "indexed": false, - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "internalType": "bytes" } ], - "name": "Store_SpliceDynamicData", - "type": "event" + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getField", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "indexed": false, - "internalType": "uint48", - "name": "start", - "type": "uint48" - }, + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ { - "indexed": false, - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "internalType": "bytes" } ], - "name": "Store_SpliceStaticData", - "type": "event" + "stateMutability": "view" }, { + "type": "function", + "name": "getFieldLayout", "inputs": [ { - "internalType": "uint16", - "name": "_x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "_y", - "type": "uint16" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "CreateBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "GetSeasonInfo", "outputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getFieldLength", "inputs": [ { - "internalType": "address", - "name": "_userContract", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "_lootContract", - "type": "address" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "address", - "name": "_pluginContract", - "type": "address" + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "internalType": "bytes32", - "name": "_merkleRoot", - "type": "bytes32" + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "Init", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "bytes32", - "name": "_root", - "type": "bytes32" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "SetMapMerkleRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getFieldLength", "inputs": [ { - "internalType": "uint256", - "name": "_start", - "type": "uint256" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint256", - "name": "_end", - "type": "uint256" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" } ], - "name": "SetSeasonInfo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "address", - "name": "_user", - "type": "address" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "SetUserContract", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getInfo", "inputs": [ { - "components": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "internalType": "struct SystemCallData[]", - "name": "systemCalls", - "type": "tuple[]" + "name": "addr", + "type": "address", + "internalType": "address" } ], - "name": "batchCall", "outputs": [ { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" + "name": "", + "type": "string", + "internalType": "string" } ], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getKeySchema", "inputs": [ { - "components": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "internalType": "struct SystemCallFromData[]", - "name": "systemCalls", - "type": "tuple[]" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "batchCallFrom", "outputs": [ { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" + "name": "keySchema", + "type": "bytes32", + "internalType": "Schema" } ], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getPosition", "inputs": [ { - "internalType": "address", - "name": "_targetAddress", - "type": "address" + "name": "addr", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint16", + "internalType": "uint16" }, { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "internalType": "struct Position[]", - "name": "positionList", - "type": "tuple[]" + "name": "", + "type": "uint16", + "internalType": "uint16" } ], - "name": "battleInvitation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getRecord", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "callData", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "call", "outputs": [ { - "internalType": "bytes", - "name": "", - "type": "bytes" + "name": "staticData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "encodedLengths", + "type": "bytes32", + "internalType": "PackedCounter" + }, + { + "name": "dynamicData", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "payable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getRecord", "inputs": [ { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "callData", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" } ], - "name": "callFrom", "outputs": [ { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ + "name": "staticData", + "type": "bytes", + "internalType": "bytes" + }, { - "internalType": "bytes32", - "name": "_buffHash", - "type": "bytes32" + "name": "encodedLengths", + "type": "bytes32", + "internalType": "PackedCounter" }, { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" + "name": "dynamicData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "confirmBattle", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getSenderPosition", "inputs": [], - "name": "creator", "outputs": [ { - "internalType": "address", "name": "", - "type": "address" + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "", + "type": "uint16", + "internalType": "uint16" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getStaticField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "forceEnd", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getUserInfo", "inputs": [ { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "addr", - "type": "address" + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "getBattlePlayerHp", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ + "type": "uint256", + "internalType": "uint256" + }, { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" + "name": "", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint16", - "name": "_oreAmount", - "type": "uint16" + "name": "", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint16", - "name": "_treasureAmount", - "type": "uint16" + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "getCollections", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getValueSchema", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "getDynamicField", "outputs": [ { - "internalType": "bytes", - "name": "", - "type": "bytes" + "name": "valueSchema", + "type": "bytes32", + "internalType": "Schema" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "view" }, { - "inputs": [ + "type": "function", + "name": "goHome", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "grantAccess", + "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, + "name": "grantee", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "initPlayerHp", + "inputs": [ { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "_player", + "type": "address", + "internalType": "address" } ], - "name": "getDynamicFieldLength", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "initUserInfo", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" + "name": "_player", + "type": "address", + "internalType": "address" } ], - "name": "getDynamicFieldSlice", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "coreModule", + "type": "address", + "internalType": "contract IModule" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "installModule", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "module", + "type": "address", + "internalType": "contract IModule" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "args", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "installRootModule", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "module", + "type": "address", + "internalType": "contract IModule" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "args", + "type": "bytes", + "internalType": "bytes" } ], - "name": "getField", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "joinBattlefield", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "move", + "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "moveList", + "type": "tuple[]", + "internalType": "struct Position[]", + "components": [ + { + "name": "x", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "y", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "proof", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ] } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "multCreateBox", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "cList", + "type": "tuple[]", + "internalType": "struct Coordinate[]", + "components": [ + { + "name": "x", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "y", + "type": "uint16", + "internalType": "uint16" + } + ] } ], - "name": "getFieldLayout", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "openBox", + "inputs": [ { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "_boxId", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "popFromDynamicField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "byteLengthToPop", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "pushToDynamicField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - } - ], - "name": "getFieldLength", - "outputs": [ + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "dataToPush", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerDelegation", "inputs": [ { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "getInfo", - "outputs": [ + "name": "delegatee", + "type": "address", + "internalType": "address" + }, { - "internalType": "string", - "name": "", - "type": "string" + "name": "delegationControlId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "initCallData", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerFunctionSelector", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "systemFunctionSignature", + "type": "string", + "internalType": "string" } ], - "name": "getKeySchema", "outputs": [ { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" + "name": "worldFunctionSelector", + "type": "bytes4", + "internalType": "bytes4" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerNamespace", "inputs": [ { - "internalType": "address", - "name": "addr", - "type": "address" + "name": "namespaceId", + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "getPosition", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "registerNamespaceDelegation", + "inputs": [ { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "namespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "delegationControlId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "initCallData", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerRootFunctionSelector", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "worldFunctionSignature", + "type": "string", + "internalType": "string" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "systemFunctionSelector", + "type": "bytes4", + "internalType": "bytes4" } ], - "name": "getRecord", "outputs": [ { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "worldFunctionSelector", + "type": "bytes4", + "internalType": "bytes4" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerStoreHook", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "hookAddress", + "type": "address", + "internalType": "contract IStoreHook" + }, + { + "name": "enabledHooksBitmap", + "type": "uint8", + "internalType": "uint8" } ], - "name": "getRecord", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "registerSystem", + "inputs": [ { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" + "name": "system", + "type": "address", + "internalType": "contract WorldContextConsumer" }, { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "publicAccess", + "type": "bool", + "internalType": "bool" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [], - "name": "getSenderPosition", - "outputs": [ + "type": "function", + "name": "registerSystemHook", + "inputs": [ { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "hookAddress", + "type": "address", + "internalType": "contract ISystemHook" + }, + { + "name": "enabledHooksBitmap", + "type": "uint8", + "internalType": "uint8" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerTable", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "keySchema", + "type": "bytes32", + "internalType": "Schema" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getStaticField", - "outputs": [ + "name": "valueSchema", + "type": "bytes32", + "internalType": "Schema" + }, { - "internalType": "bytes32", - "name": "", - "type": "bytes32" + "name": "keyNames", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "fieldNames", + "type": "string[]", + "internalType": "string[]" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "revealBattle", "inputs": [ { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getUserInfo", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_action", + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_arg", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_nonce", + "type": "bytes32", + "internalType": "bytes32" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "revealBox", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "_boxId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "getValueSchema", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revealWinner", + "inputs": [ { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "goHome", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "revokeAccess", "inputs": [ { - "internalType": "ResourceId", "name": "resourceId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", "name": "grantee", - "type": "address" + "type": "address", + "internalType": "address" } ], - "name": "grantAccess", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "selectBothNFT", "inputs": [ { - "internalType": "address", - "name": "_player", - "type": "address" - } - ], - "name": "initPlayerHp", - "outputs": [ + "name": "_userTokenId", + "type": "uint256", + "internalType": "uint256" + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_lootTokenId", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "selectLootNFT", "inputs": [ { - "internalType": "address", - "name": "_player", - "type": "address" + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "initUserInfo", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "selectUserNft", "inputs": [ { - "internalType": "contract IModule", - "name": "coreModule", - "type": "address" + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "initialize", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setDynamicField", "inputs": [ { - "internalType": "contract IModule", - "name": "module", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "args", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "name": "installModule", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setField", "inputs": [ { - "internalType": "contract IModule", - "name": "module", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "args", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "name": "installRootModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "joinBattlefield", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setField", "inputs": [ { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "internalType": "struct Position[]", - "name": "moveList", - "type": "tuple[]" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "move", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setGmaeOpen", "inputs": [ { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - } - ], - "internalType": "struct Coordinate[]", - "name": "cList", - "type": "tuple[]" + "name": "_b", + "type": "bool", + "internalType": "bool" } ], - "name": "multCreateBox", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setInfo", "inputs": [ { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" + "name": "name", + "type": "string", + "internalType": "string" } ], - "name": "openBox", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setRecord", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "staticData", + "type": "bytes", + "internalType": "bytes" }, { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" + "name": "encodedLengths", + "type": "bytes32", + "internalType": "PackedCounter" + }, + { + "name": "dynamicData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "popFromDynamicField", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setStaticField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "pushToDynamicField", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "spliceDynamicData", "inputs": [ { - "internalType": "address", - "name": "delegatee", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "startWithinField", + "type": "uint40", + "internalType": "uint40" + }, + { + "name": "deleteCount", + "type": "uint40", + "internalType": "uint40" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "name": "registerDelegation", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "spliceStaticData", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string", - "name": "systemFunctionSignature", - "type": "string" - } - ], - "name": "registerFunctionSelector", - "outputs": [ + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" + "name": "start", + "type": "uint48", + "internalType": "uint48" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [ + "type": "function", + "name": "storeVersion", + "inputs": [], + "outputs": [ { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" + "name": "version", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "registerNamespace", + "stateMutability": "view" + }, + { + "type": "function", + "name": "submitGem", + "inputs": [], "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transfer", "inputs": [ { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" + "name": "addr", + "type": "address", + "internalType": "address" }, { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" + "name": "x", + "type": "uint16", + "internalType": "uint16" }, { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" + "name": "y", + "type": "uint16", + "internalType": "uint16" } ], - "name": "registerNamespaceDelegation", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transferBalanceToAddress", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "fromNamespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string", - "name": "worldFunctionSignature", - "type": "string" + "name": "toAddress", + "type": "address", + "internalType": "address" }, { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" + "name": "amount", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transferBalanceToNamespace", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "fromNamespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" + "name": "toNamespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" + "name": "amount", + "type": "uint256", + "internalType": "uint256" } ], - "name": "registerStoreHook", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transferOwnership", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" + "name": "namespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" + "name": "newOwner", + "type": "address", + "internalType": "address" } ], - "name": "registerSystem", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unlockUserLocation", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "unregisterStoreHook", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract ISystemHook", "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" + "type": "address", + "internalType": "contract IStoreHook" } ], - "name": "registerSystemHook", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "unregisterSystemHook", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" + "name": "hookAddress", + "type": "address", + "internalType": "contract ISystemHook" } ], - "name": "registerTable", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "_action", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_arg", - "type": "uint256" - }, + "type": "function", + "name": "worldVersion", + "inputs": [], + "outputs": [ { - "internalType": "bytes32", - "name": "_nonce", - "type": "bytes32" + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "revealBattle", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "event", + "name": "HelloStore", "inputs": [ { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" + "name": "storeVersion", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" } ], - "name": "revealBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "HelloWorld", "inputs": [ { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" + "name": "worldVersion", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" } ], - "name": "revealWinner", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_DeleteRecord", "inputs": [ { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "grantee", - "type": "address" + "name": "keyTuple", + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" } ], - "name": "revokeAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_SetRecord", "inputs": [ { - "internalType": "uint256", - "name": "_userTokenId", - "type": "uint256" + "name": "tableId", + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "uint256", - "name": "_lootTokenId", - "type": "uint256" - } - ], - "name": "selectBothNFT", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "name": "keyTuple", + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" + }, { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "selectLootNFT", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "name": "staticData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + }, { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" + "name": "encodedLengths", + "type": "bytes32", + "indexed": false, + "internalType": "PackedCounter" + }, + { + "name": "dynamicData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" } ], - "name": "selectUserNft", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_SpliceDynamicData", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "start", + "type": "uint48", + "indexed": false, + "internalType": "uint48" + }, + { + "name": "deleteCount", + "type": "uint40", + "indexed": false, + "internalType": "uint40" + }, + { + "name": "encodedLengths", + "type": "bytes32", + "indexed": false, + "internalType": "PackedCounter" }, { - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "indexed": false, + "internalType": "bytes" } ], - "name": "setDynamicField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_SpliceStaticData", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "start", + "type": "uint48", + "indexed": false, + "internalType": "uint48" }, { - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "indexed": false, + "internalType": "bytes" } ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "error", + "name": "Store_IndexOutOfBounds", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "length", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "accessedIndex", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidDynamicDataLength", "inputs": [ { - "internalType": "bool", - "name": "_b", - "type": "bool" + "name": "expected", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "received", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setGmaeOpen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidFieldNamesLength", "inputs": [ { - "internalType": "string", - "name": "name", - "type": "string" + "name": "expected", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "received", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setInfo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidKeyNamesLength", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "expected", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, + "name": "received", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "Store_InvalidResourceType", + "inputs": [ { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" + "name": "expected", + "type": "bytes2", + "internalType": "bytes2" }, { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidSplice", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "startWithinField", + "type": "uint40", + "internalType": "uint40" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "deleteCount", + "type": "uint40", + "internalType": "uint40" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, + "name": "fieldLength", + "type": "uint40", + "internalType": "uint40" + } + ] + }, + { + "type": "error", + "name": "Store_InvalidValueSchemaLength", + "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "expected", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "received", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setStaticField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_TableAlreadyExists", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "tableIdString", + "type": "string", + "internalType": "string" } - ], - "name": "spliceDynamicData", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_TableNotFound", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, + "name": "tableIdString", + "type": "string", + "internalType": "string" + } + ] + }, + { + "type": "error", + "name": "World_AccessDenied", + "inputs": [ { - "internalType": "uint48", - "name": "start", - "type": "uint48" + "name": "resource", + "type": "string", + "internalType": "string" }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "caller", + "type": "address", + "internalType": "address" } - ], - "name": "spliceStaticData", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { - "inputs": [], - "name": "storeVersion", - "outputs": [ - { - "internalType": "bytes32", - "name": "version", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" + "type": "error", + "name": "World_AlreadyInitialized", + "inputs": [] }, { - "inputs": [], - "name": "submitGem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "type": "error", + "name": "World_CallbackNotAllowed", + "inputs": [ + { + "name": "functionSelector", + "type": "bytes4", + "internalType": "bytes4" + } + ] }, { + "type": "error", + "name": "World_DelegationNotFound", "inputs": [ { - "internalType": "address", - "name": "addr", - "type": "address" + "name": "delegator", + "type": "address", + "internalType": "address" }, { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, + "name": "delegatee", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "World_FunctionSelectorAlreadyExists", + "inputs": [ { - "internalType": "uint16", - "name": "y", - "type": "uint16" + "name": "functionSelector", + "type": "bytes4", + "internalType": "bytes4" } - ], - "name": "transfer", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_FunctionSelectorNotFound", "inputs": [ { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, + "name": "functionSelector", + "type": "bytes4", + "internalType": "bytes4" + } + ] + }, + { + "type": "error", + "name": "World_InsufficientBalance", + "inputs": [ { - "internalType": "address", - "name": "toAddress", - "type": "address" + "name": "balance", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", "name": "amount", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } - ], - "name": "transferBalanceToAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_InterfaceNotSupported", "inputs": [ { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, - { - "internalType": "ResourceId", - "name": "toNamespaceId", - "type": "bytes32" + "name": "contractAddress", + "type": "address", + "internalType": "address" }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" } - ], - "name": "transferBalanceToNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_InvalidResourceId", "inputs": [ { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "newOwner", - "type": "address" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { - "inputs": [], - "name": "unlockUserLocation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "type": "error", + "name": "World_InvalidResourceType", + "inputs": [ + { + "name": "expected", + "type": "bytes2", + "internalType": "bytes2" + }, + { + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "resourceIdString", + "type": "string", + "internalType": "string" + } + ] }, { + "type": "error", + "name": "World_ResourceAlreadyExists", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_ResourceNotFound", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "unregisterSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { - "inputs": [], - "name": "worldVersion", - "outputs": [ + "type": "error", + "name": "World_SystemAlreadyExists", + "inputs": [ { - "internalType": "bytes32", - "name": "", - "type": "bytes32" + "name": "system", + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view", - "type": "function" + ] + }, + { + "type": "error", + "name": "World_UnlimitedDelegationNotAllowed", + "inputs": [] } ] \ No newline at end of file diff --git a/packages/contracts/out/IWorld.sol/IWorld.abi.json.d.ts b/packages/contracts/out/IWorld.sol/IWorld.abi.json.d.ts index a01f2df2..3e81f5a5 100644 --- a/packages/contracts/out/IWorld.sol/IWorld.abi.json.d.ts +++ b/packages/contracts/out/IWorld.sol/IWorld.abi.json.d.ts @@ -1,2350 +1,2350 @@ declare const abi: [ { + "type": "function", + "name": "CreateBox", "inputs": [ { - "internalType": "uint256", - "name": "length", - "type": "uint256" + "name": "_x", + "type": "uint16", + "internalType": "uint16" }, { - "internalType": "uint256", - "name": "accessedIndex", - "type": "uint256" + "name": "_y", + "type": "uint16", + "internalType": "uint16" } ], - "name": "Store_IndexOutOfBounds", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [ + "type": "function", + "name": "GetSeasonInfo", + "inputs": [], + "outputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" + "name": "", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "Store_InvalidDynamicDataLength", - "type": "error" + "stateMutability": "view" }, { + "type": "function", + "name": "Init", "inputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" + "name": "_userContract", + "type": "address", + "internalType": "address" }, { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "_lootContract", + "type": "address", + "internalType": "address" + }, + { + "name": "_pluginContract", + "type": "address", + "internalType": "address" + }, + { + "name": "_merkleRoot", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "Store_InvalidFieldNamesLength", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "SetMapMerkleRoot", "inputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "_root", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "Store_InvalidKeyNamesLength", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "SetSeasonInfo", "inputs": [ { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "_start", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "_end", + "type": "uint256", + "internalType": "uint256" } ], - "name": "Store_InvalidResourceType", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "SetUserContract", "inputs": [ { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "fieldLength", - "type": "uint40" + "name": "_user", + "type": "address", + "internalType": "address" } ], - "name": "Store_InvalidSplice", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "batchCall", "inputs": [ { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, + "name": "systemCalls", + "type": "tuple[]", + "internalType": "struct SystemCallData[]", + "components": [ + { + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ { - "internalType": "uint256", - "name": "received", - "type": "uint256" + "name": "returnDatas", + "type": "bytes[]", + "internalType": "bytes[]" } ], - "name": "Store_InvalidValueSchemaLength", - "type": "error" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "batchCallFrom", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, + "name": "systemCalls", + "type": "tuple[]", + "internalType": "struct SystemCallFromData[]", + "components": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [ { - "internalType": "string", - "name": "tableIdString", - "type": "string" + "name": "returnDatas", + "type": "bytes[]", + "internalType": "bytes[]" } ], - "name": "Store_TableAlreadyExists", - "type": "error" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "battleInvitation", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "_targetAddress", + "type": "address", + "internalType": "address" }, { - "internalType": "string", - "name": "tableIdString", - "type": "string" + "name": "positionList", + "type": "tuple[]", + "internalType": "struct Position[]", + "components": [ + { + "name": "x", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "y", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "proof", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ] } ], - "name": "Store_TableNotFound", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "call", "inputs": [ { - "internalType": "string", - "name": "resource", - "type": "string" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "caller", - "type": "address" + "name": "callData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_AccessDenied", - "type": "error" - }, - { - "inputs": [], - "name": "World_AlreadyInitialized", - "type": "error" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_CallbackNotAllowed", - "type": "error" + "stateMutability": "payable" }, { + "type": "function", + "name": "callFrom", "inputs": [ { - "internalType": "address", "name": "delegator", - "type": "address" + "type": "address", + "internalType": "address" }, { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "World_DelegationNotFound", - "type": "error" - }, - { - "inputs": [ + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" + "name": "callData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_FunctionSelectorAlreadyExists", - "type": "error" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "name": "World_FunctionSelectorNotFound", - "type": "error" + "stateMutability": "payable" }, { + "type": "function", + "name": "confirmBattle", "inputs": [ { - "internalType": "uint256", - "name": "balance", - "type": "uint256" + "name": "_buffHash", + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "World_InsufficientBalance", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, + "type": "function", + "name": "creator", + "inputs": [], + "outputs": [ { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" + "name": "", + "type": "address", + "internalType": "address" } ], - "name": "World_InterfaceNotSupported", - "type": "error" + "stateMutability": "view" }, { + "type": "function", + "name": "deleteRecord", "inputs": [ { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" } ], - "name": "World_InvalidResourceId", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "forceEnd", "inputs": [ { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "World_InvalidResourceType", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "getBattlePlayerHp", "inputs": [ { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "addr", + "type": "address", + "internalType": "address" } ], - "name": "World_ResourceAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, + "outputs": [ { - "internalType": "string", - "name": "resourceIdString", - "type": "string" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "World_ResourceNotFound", - "type": "error" + "stateMutability": "view" }, { + "type": "function", + "name": "getCollections", "inputs": [ { - "internalType": "address", - "name": "system", - "type": "address" + "name": "_boxId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_oreAmount", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "_treasureAmount", + "type": "uint16", + "internalType": "uint16" } ], - "name": "World_SystemAlreadyExists", - "type": "error" - }, - { - "inputs": [], - "name": "World_UnlimitedDelegationNotAllowed", - "type": "error" + "outputs": [], + "stateMutability": "nonpayable" }, { - "anonymous": false, + "type": "function", + "name": "getDynamicField", "inputs": [ { - "indexed": true, - "internalType": "bytes32", - "name": "storeVersion", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" } ], - "name": "HelloStore", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ + "outputs": [ { - "indexed": true, - "internalType": "bytes32", - "name": "worldVersion", - "type": "bytes32" + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "name": "HelloWorld", - "type": "event" + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getDynamicFieldLength", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" } ], - "name": "Store_DeleteRecord", - "type": "event" + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getDynamicFieldSlice", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "indexed": false, - "internalType": "bytes", - "name": "staticData", - "type": "bytes" + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "indexed": false, - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" + "name": "start", + "type": "uint256", + "internalType": "uint256" }, { - "indexed": false, - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "end", + "type": "uint256", + "internalType": "uint256" } ], - "name": "Store_SetRecord", - "type": "event" + "outputs": [ + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getField", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint48", - "name": "start", - "type": "uint48" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "indexed": false, - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "indexed": false, - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" + } + ], + "outputs": [ { - "indexed": false, - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "internalType": "bytes" } ], - "name": "Store_SpliceDynamicData", - "type": "event" + "stateMutability": "view" }, { - "anonymous": false, + "type": "function", + "name": "getField", "inputs": [ { - "indexed": true, - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "indexed": false, - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "indexed": false, - "internalType": "uint48", - "name": "start", - "type": "uint48" - }, + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + } + ], + "outputs": [ { - "indexed": false, - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "internalType": "bytes" } ], - "name": "Store_SpliceStaticData", - "type": "event" + "stateMutability": "view" }, { + "type": "function", + "name": "getFieldLayout", "inputs": [ { - "internalType": "uint16", - "name": "_x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "_y", - "type": "uint16" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "CreateBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "GetSeasonInfo", "outputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getFieldLength", "inputs": [ { - "internalType": "address", - "name": "_userContract", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "_lootContract", - "type": "address" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "address", - "name": "_pluginContract", - "type": "address" + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "internalType": "bytes32", - "name": "_merkleRoot", - "type": "bytes32" + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "Init", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "bytes32", - "name": "_root", - "type": "bytes32" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "SetMapMerkleRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getFieldLength", "inputs": [ { - "internalType": "uint256", - "name": "_start", - "type": "uint256" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint256", - "name": "_end", - "type": "uint256" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" } ], - "name": "SetSeasonInfo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "address", - "name": "_user", - "type": "address" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "SetUserContract", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getInfo", "inputs": [ { - "components": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "internalType": "struct SystemCallData[]", - "name": "systemCalls", - "type": "tuple[]" + "name": "addr", + "type": "address", + "internalType": "address" } ], - "name": "batchCall", "outputs": [ { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" + "name": "", + "type": "string", + "internalType": "string" } ], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getKeySchema", "inputs": [ { - "components": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "internalType": "struct SystemCallFromData[]", - "name": "systemCalls", - "type": "tuple[]" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "batchCallFrom", "outputs": [ { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" + "name": "keySchema", + "type": "bytes32", + "internalType": "Schema" } ], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getPosition", "inputs": [ { - "internalType": "address", - "name": "_targetAddress", - "type": "address" + "name": "addr", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint16", + "internalType": "uint16" }, { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "internalType": "struct Position[]", - "name": "positionList", - "type": "tuple[]" + "name": "", + "type": "uint16", + "internalType": "uint16" } ], - "name": "battleInvitation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getRecord", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "callData", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "call", "outputs": [ { - "internalType": "bytes", - "name": "", - "type": "bytes" + "name": "staticData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "encodedLengths", + "type": "bytes32", + "internalType": "PackedCounter" + }, + { + "name": "dynamicData", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "payable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getRecord", "inputs": [ { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "callData", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" } ], - "name": "callFrom", "outputs": [ { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ + "name": "staticData", + "type": "bytes", + "internalType": "bytes" + }, { - "internalType": "bytes32", - "name": "_buffHash", - "type": "bytes32" + "name": "encodedLengths", + "type": "bytes32", + "internalType": "PackedCounter" }, { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" + "name": "dynamicData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "confirmBattle", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getSenderPosition", "inputs": [], - "name": "creator", "outputs": [ { - "internalType": "address", "name": "", - "type": "address" + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "", + "type": "uint16", + "internalType": "uint16" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getStaticField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "outputs": [ { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "forceEnd", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getUserInfo", "inputs": [ { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "addr", - "type": "address" + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "getBattlePlayerHp", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ + "type": "uint256", + "internalType": "uint256" + }, { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" + "name": "", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint16", - "name": "_oreAmount", - "type": "uint16" + "name": "", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint16", - "name": "_treasureAmount", - "type": "uint16" + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "name": "getCollections", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "function", + "name": "getValueSchema", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "getDynamicField", "outputs": [ { - "internalType": "bytes", - "name": "", - "type": "bytes" + "name": "valueSchema", + "type": "bytes32", + "internalType": "Schema" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "view" }, { - "inputs": [ + "type": "function", + "name": "goHome", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "grantAccess", + "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, + "name": "grantee", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "initPlayerHp", + "inputs": [ { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "_player", + "type": "address", + "internalType": "address" } ], - "name": "getDynamicFieldLength", "outputs": [ { - "internalType": "uint256", "name": "", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "initUserInfo", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" + "name": "_player", + "type": "address", + "internalType": "address" } ], - "name": "getDynamicFieldSlice", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "coreModule", + "type": "address", + "internalType": "contract IModule" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "installModule", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "module", + "type": "address", + "internalType": "contract IModule" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "args", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "installRootModule", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "module", + "type": "address", + "internalType": "contract IModule" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "args", + "type": "bytes", + "internalType": "bytes" } ], - "name": "getField", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "joinBattlefield", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "move", + "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "moveList", + "type": "tuple[]", + "internalType": "struct Position[]", + "components": [ + { + "name": "x", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "y", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "proof", + "type": "bytes32[]", + "internalType": "bytes32[]" + } + ] } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "multCreateBox", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "cList", + "type": "tuple[]", + "internalType": "struct Coordinate[]", + "components": [ + { + "name": "x", + "type": "uint16", + "internalType": "uint16" + }, + { + "name": "y", + "type": "uint16", + "internalType": "uint16" + } + ] } ], - "name": "getFieldLayout", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "openBox", + "inputs": [ { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "_boxId", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "popFromDynamicField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "byteLengthToPop", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "pushToDynamicField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - } - ], - "name": "getFieldLength", - "outputs": [ + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "dataToPush", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerDelegation", "inputs": [ { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "getInfo", - "outputs": [ + "name": "delegatee", + "type": "address", + "internalType": "address" + }, { - "internalType": "string", - "name": "", - "type": "string" + "name": "delegationControlId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "initCallData", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerFunctionSelector", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "systemFunctionSignature", + "type": "string", + "internalType": "string" } ], - "name": "getKeySchema", "outputs": [ { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" + "name": "worldFunctionSelector", + "type": "bytes4", + "internalType": "bytes4" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerNamespace", "inputs": [ { - "internalType": "address", - "name": "addr", - "type": "address" + "name": "namespaceId", + "type": "bytes32", + "internalType": "ResourceId" } ], - "name": "getPosition", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "registerNamespaceDelegation", + "inputs": [ { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "namespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "delegationControlId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "initCallData", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerRootFunctionSelector", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "worldFunctionSignature", + "type": "string", + "internalType": "string" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "systemFunctionSelector", + "type": "bytes4", + "internalType": "bytes4" } ], - "name": "getRecord", "outputs": [ { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "worldFunctionSelector", + "type": "bytes4", + "internalType": "bytes4" } ], - "stateMutability": "view", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerStoreHook", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "hookAddress", + "type": "address", + "internalType": "contract IStoreHook" + }, + { + "name": "enabledHooksBitmap", + "type": "uint8", + "internalType": "uint8" } ], - "name": "getRecord", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "registerSystem", + "inputs": [ { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" + "name": "system", + "type": "address", + "internalType": "contract WorldContextConsumer" }, { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "publicAccess", + "type": "bool", + "internalType": "bool" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [], - "name": "getSenderPosition", - "outputs": [ + "type": "function", + "name": "registerSystemHook", + "inputs": [ { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint16", - "name": "", - "type": "uint16" + "name": "hookAddress", + "type": "address", + "internalType": "contract ISystemHook" + }, + { + "name": "enabledHooksBitmap", + "type": "uint8", + "internalType": "uint8" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "registerTable", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "keySchema", + "type": "bytes32", + "internalType": "Schema" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getStaticField", - "outputs": [ + "name": "valueSchema", + "type": "bytes32", + "internalType": "Schema" + }, { - "internalType": "bytes32", - "name": "", - "type": "bytes32" + "name": "keyNames", + "type": "string[]", + "internalType": "string[]" + }, + { + "name": "fieldNames", + "type": "string[]", + "internalType": "string[]" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "revealBattle", "inputs": [ { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getUserInfo", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_action", + "type": "bytes32", + "internalType": "bytes32" }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_arg", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_nonce", + "type": "bytes32", + "internalType": "bytes32" } ], - "stateMutability": "view", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "revealBox", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "_boxId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "getValueSchema", - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revealWinner", + "inputs": [ { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" + "name": "_battleId", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "goHome", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "revokeAccess", "inputs": [ { - "internalType": "ResourceId", "name": "resourceId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", "name": "grantee", - "type": "address" + "type": "address", + "internalType": "address" } ], - "name": "grantAccess", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "selectBothNFT", "inputs": [ { - "internalType": "address", - "name": "_player", - "type": "address" - } - ], - "name": "initPlayerHp", - "outputs": [ + "name": "_userTokenId", + "type": "uint256", + "internalType": "uint256" + }, { - "internalType": "uint256", - "name": "", - "type": "uint256" + "name": "_lootTokenId", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "selectLootNFT", "inputs": [ { - "internalType": "address", - "name": "_player", - "type": "address" + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "initUserInfo", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "selectUserNft", "inputs": [ { - "internalType": "contract IModule", - "name": "coreModule", - "type": "address" + "name": "_tokenId", + "type": "uint256", + "internalType": "uint256" } ], - "name": "initialize", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setDynamicField", "inputs": [ { - "internalType": "contract IModule", - "name": "module", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "args", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "name": "installModule", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setField", "inputs": [ { - "internalType": "contract IModule", - "name": "module", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "args", - "type": "bytes" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "name": "installRootModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "joinBattlefield", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setField", "inputs": [ { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "internalType": "struct Position[]", - "name": "moveList", - "type": "tuple[]" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "move", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setGmaeOpen", "inputs": [ { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - } - ], - "internalType": "struct Coordinate[]", - "name": "cList", - "type": "tuple[]" + "name": "_b", + "type": "bool", + "internalType": "bool" } ], - "name": "multCreateBox", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setInfo", "inputs": [ { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" + "name": "name", + "type": "string", + "internalType": "string" } ], - "name": "openBox", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setRecord", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "staticData", + "type": "bytes", + "internalType": "bytes" }, { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" + "name": "encodedLengths", + "type": "bytes32", + "internalType": "PackedCounter" + }, + { + "name": "dynamicData", + "type": "bytes", + "internalType": "bytes" } ], - "name": "popFromDynamicField", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "setStaticField", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "fieldIndex", + "type": "uint8", + "internalType": "uint8" }, { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" + "name": "data", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "fieldLayout", + "type": "bytes32", + "internalType": "FieldLayout" } ], - "name": "pushToDynamicField", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "spliceDynamicData", "inputs": [ { - "internalType": "address", - "name": "delegatee", - "type": "address" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" }, { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" + "name": "dynamicFieldIndex", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "startWithinField", + "type": "uint40", + "internalType": "uint40" + }, + { + "name": "deleteCount", + "type": "uint40", + "internalType": "uint40" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "name": "registerDelegation", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "spliceStaticData", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string", - "name": "systemFunctionSignature", - "type": "string" - } - ], - "name": "registerFunctionSelector", - "outputs": [ + "name": "keyTuple", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" + "name": "start", + "type": "uint48", + "internalType": "uint48" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { - "inputs": [ + "type": "function", + "name": "storeVersion", + "inputs": [], + "outputs": [ { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" + "name": "version", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "registerNamespace", + "stateMutability": "view" + }, + { + "type": "function", + "name": "submitGem", + "inputs": [], "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transfer", "inputs": [ { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" + "name": "addr", + "type": "address", + "internalType": "address" }, { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" + "name": "x", + "type": "uint16", + "internalType": "uint16" }, { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" + "name": "y", + "type": "uint16", + "internalType": "uint16" } ], - "name": "registerNamespaceDelegation", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transferBalanceToAddress", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "fromNamespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string", - "name": "worldFunctionSignature", - "type": "string" + "name": "toAddress", + "type": "address", + "internalType": "address" }, { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" + "name": "amount", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "nonpayable", - "type": "function" + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transferBalanceToNamespace", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "fromNamespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" + "name": "toNamespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" + "name": "amount", + "type": "uint256", + "internalType": "uint256" } ], - "name": "registerStoreHook", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "transferOwnership", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" + "name": "namespaceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" + "name": "newOwner", + "type": "address", + "internalType": "address" } ], - "name": "registerSystem", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unlockUserLocation", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "unregisterStoreHook", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract ISystemHook", "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" + "type": "address", + "internalType": "contract IStoreHook" } ], - "name": "registerSystemHook", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { + "type": "function", + "name": "unregisterSystemHook", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" + "name": "systemId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" + "name": "hookAddress", + "type": "address", + "internalType": "contract ISystemHook" } ], - "name": "registerTable", "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "nonpayable" }, { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "_action", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_arg", - "type": "uint256" - }, + "type": "function", + "name": "worldVersion", + "inputs": [], + "outputs": [ { - "internalType": "bytes32", - "name": "_nonce", - "type": "bytes32" + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], - "name": "revealBattle", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "stateMutability": "view" }, { + "type": "event", + "name": "HelloStore", "inputs": [ { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" + "name": "storeVersion", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" } ], - "name": "revealBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "HelloWorld", "inputs": [ { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" + "name": "worldVersion", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" } ], - "name": "revealWinner", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_DeleteRecord", "inputs": [ { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" + "name": "tableId", + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "grantee", - "type": "address" + "name": "keyTuple", + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" } ], - "name": "revokeAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_SetRecord", "inputs": [ { - "internalType": "uint256", - "name": "_userTokenId", - "type": "uint256" + "name": "tableId", + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "uint256", - "name": "_lootTokenId", - "type": "uint256" - } - ], - "name": "selectBothNFT", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "name": "keyTuple", + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" + }, { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "selectLootNFT", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ + "name": "staticData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + }, { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" + "name": "encodedLengths", + "type": "bytes32", + "indexed": false, + "internalType": "PackedCounter" + }, + { + "name": "dynamicData", + "type": "bytes", + "indexed": false, + "internalType": "bytes" } ], - "name": "selectUserNft", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_SpliceDynamicData", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" + "name": "start", + "type": "uint48", + "indexed": false, + "internalType": "uint48" + }, + { + "name": "deleteCount", + "type": "uint40", + "indexed": false, + "internalType": "uint40" + }, + { + "name": "encodedLengths", + "type": "bytes32", + "indexed": false, + "internalType": "PackedCounter" }, { - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "indexed": false, + "internalType": "bytes" } ], - "name": "setDynamicField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "event", + "name": "Store_SpliceStaticData", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "indexed": true, + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", "name": "keyTuple", - "type": "bytes32[]" + "type": "bytes32[]", + "indexed": false, + "internalType": "bytes32[]" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" + "name": "start", + "type": "uint48", + "indexed": false, + "internalType": "uint48" }, { - "internalType": "bytes", "name": "data", - "type": "bytes" + "type": "bytes", + "indexed": false, + "internalType": "bytes" } ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "anonymous": false }, { + "type": "error", + "name": "Store_IndexOutOfBounds", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "length", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "accessedIndex", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidDynamicDataLength", "inputs": [ { - "internalType": "bool", - "name": "_b", - "type": "bool" + "name": "expected", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "received", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setGmaeOpen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidFieldNamesLength", "inputs": [ { - "internalType": "string", - "name": "name", - "type": "string" + "name": "expected", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "received", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setInfo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidKeyNamesLength", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "expected", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, + "name": "received", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "Store_InvalidResourceType", + "inputs": [ { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" + "name": "expected", + "type": "bytes2", + "internalType": "bytes2" }, { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_InvalidSplice", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "startWithinField", + "type": "uint40", + "internalType": "uint40" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" + "name": "deleteCount", + "type": "uint40", + "internalType": "uint40" }, { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, + "name": "fieldLength", + "type": "uint40", + "internalType": "uint40" + } + ] + }, + { + "type": "error", + "name": "Store_InvalidValueSchemaLength", + "inputs": [ { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "expected", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" + "name": "received", + "type": "uint256", + "internalType": "uint256" } - ], - "name": "setStaticField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_TableAlreadyExists", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "tableIdString", + "type": "string", + "internalType": "string" } - ], - "name": "spliceDynamicData", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "Store_TableNotFound", "inputs": [ { - "internalType": "ResourceId", "name": "tableId", - "type": "bytes32" + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, + "name": "tableIdString", + "type": "string", + "internalType": "string" + } + ] + }, + { + "type": "error", + "name": "World_AccessDenied", + "inputs": [ { - "internalType": "uint48", - "name": "start", - "type": "uint48" + "name": "resource", + "type": "string", + "internalType": "string" }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" + "name": "caller", + "type": "address", + "internalType": "address" } - ], - "name": "spliceStaticData", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { - "inputs": [], - "name": "storeVersion", - "outputs": [ - { - "internalType": "bytes32", - "name": "version", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" + "type": "error", + "name": "World_AlreadyInitialized", + "inputs": [] }, { - "inputs": [], - "name": "submitGem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "type": "error", + "name": "World_CallbackNotAllowed", + "inputs": [ + { + "name": "functionSelector", + "type": "bytes4", + "internalType": "bytes4" + } + ] }, { + "type": "error", + "name": "World_DelegationNotFound", "inputs": [ { - "internalType": "address", - "name": "addr", - "type": "address" + "name": "delegator", + "type": "address", + "internalType": "address" }, { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, + "name": "delegatee", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "World_FunctionSelectorAlreadyExists", + "inputs": [ { - "internalType": "uint16", - "name": "y", - "type": "uint16" + "name": "functionSelector", + "type": "bytes4", + "internalType": "bytes4" } - ], - "name": "transfer", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_FunctionSelectorNotFound", "inputs": [ { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, + "name": "functionSelector", + "type": "bytes4", + "internalType": "bytes4" + } + ] + }, + { + "type": "error", + "name": "World_InsufficientBalance", + "inputs": [ { - "internalType": "address", - "name": "toAddress", - "type": "address" + "name": "balance", + "type": "uint256", + "internalType": "uint256" }, { - "internalType": "uint256", "name": "amount", - "type": "uint256" + "type": "uint256", + "internalType": "uint256" } - ], - "name": "transferBalanceToAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_InterfaceNotSupported", "inputs": [ { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, - { - "internalType": "ResourceId", - "name": "toNamespaceId", - "type": "bytes32" + "name": "contractAddress", + "type": "address", + "internalType": "address" }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" } - ], - "name": "transferBalanceToNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_InvalidResourceId", "inputs": [ { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "address", - "name": "newOwner", - "type": "address" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { - "inputs": [], - "name": "unlockUserLocation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + "type": "error", + "name": "World_InvalidResourceType", + "inputs": [ + { + "name": "expected", + "type": "bytes2", + "internalType": "bytes2" + }, + { + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" + }, + { + "name": "resourceIdString", + "type": "string", + "internalType": "string" + } + ] }, { + "type": "error", + "name": "World_ResourceAlreadyExists", "inputs": [ { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { + "type": "error", + "name": "World_ResourceNotFound", "inputs": [ { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" + "name": "resourceId", + "type": "bytes32", + "internalType": "ResourceId" }, { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" + "name": "resourceIdString", + "type": "string", + "internalType": "string" } - ], - "name": "unregisterSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + ] }, { - "inputs": [], - "name": "worldVersion", - "outputs": [ + "type": "error", + "name": "World_SystemAlreadyExists", + "inputs": [ { - "internalType": "bytes32", - "name": "", - "type": "bytes32" + "name": "system", + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view", - "type": "function" + ] + }, + { + "type": "error", + "name": "World_UnlimitedDelegationNotAllowed", + "inputs": [] } ]; export default abi; diff --git a/packages/contracts/out/IWorld.sol/IWorld.json b/packages/contracts/out/IWorld.sol/IWorld.json index a0c68c8c..ee02e5b4 100644 --- a/packages/contracts/out/IWorld.sol/IWorld.json +++ b/packages/contracts/out/IWorld.sol/IWorld.json @@ -1,6007 +1 @@ -{ - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "accessedIndex", - "type": "uint256" - } - ], - "name": "Store_IndexOutOfBounds", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "Store_InvalidDynamicDataLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "Store_InvalidFieldNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "Store_InvalidKeyNamesLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "name": "Store_InvalidResourceType", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "fieldLength", - "type": "uint40" - } - ], - "name": "Store_InvalidSplice", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "name": "Store_InvalidValueSchemaLength", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "Store_TableAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "name": "Store_TableNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "name": "World_AccessDenied", - "type": "error" - }, - { - "inputs": [], - "name": "World_AlreadyInitialized", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "World_CallbackNotAllowed", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "name": "World_DelegationNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "World_FunctionSelectorAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "name": "World_FunctionSelectorNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "World_InsufficientBalance", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "World_InterfaceNotSupported", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "name": "World_InvalidResourceId", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "name": "World_InvalidResourceType", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "name": "World_ResourceAlreadyExists", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "name": "World_ResourceNotFound", - "type": "error" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "name": "World_SystemAlreadyExists", - "type": "error" - }, - { - "inputs": [], - "name": "World_UnlimitedDelegationNotAllowed", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "storeVersion", - "type": "bytes32" - } - ], - "name": "HelloStore", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "worldVersion", - "type": "bytes32" - } - ], - "name": "HelloWorld", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "Store_DeleteRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "indexed": false, - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" - } - ], - "name": "Store_SetRecord", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint48", - "name": "start", - "type": "uint48" - }, - { - "indexed": false, - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" - }, - { - "indexed": false, - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "Store_SpliceDynamicData", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "indexed": false, - "internalType": "uint48", - "name": "start", - "type": "uint48" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "Store_SpliceStaticData", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "uint16", - "name": "_x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "_y", - "type": "uint16" - } - ], - "name": "CreateBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "GetSeasonInfo", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_userContract", - "type": "address" - }, - { - "internalType": "address", - "name": "_lootContract", - "type": "address" - }, - { - "internalType": "address", - "name": "_pluginContract", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_merkleRoot", - "type": "bytes32" - } - ], - "name": "Init", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_root", - "type": "bytes32" - } - ], - "name": "SetMapMerkleRoot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_end", - "type": "uint256" - } - ], - "name": "SetSeasonInfo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "SetUserContract", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "internalType": "struct SystemCallData[]", - "name": "systemCalls", - "type": "tuple[]" - } - ], - "name": "batchCall", - "outputs": [ - { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "internalType": "struct SystemCallFromData[]", - "name": "systemCalls", - "type": "tuple[]" - } - ], - "name": "batchCallFrom", - "outputs": [ - { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_targetAddress", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "internalType": "struct Position[]", - "name": "positionList", - "type": "tuple[]" - } - ], - "name": "battleInvitation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "name": "call", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "name": "callFrom", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_buffHash", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - } - ], - "name": "confirmBattle", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "creator", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "deleteRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - } - ], - "name": "forceEnd", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "getBattlePlayerHp", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" - }, - { - "internalType": "uint16", - "name": "_oreAmount", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "_treasureAmount", - "type": "uint16" - } - ], - "name": "getCollections", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - } - ], - "name": "getDynamicField", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - } - ], - "name": "getDynamicFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "name": "getDynamicFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - } - ], - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - } - ], - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - } - ], - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "getInfo", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - } - ], - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "name": "getPosition", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getSenderPosition", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "getStaticField", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getUserInfo", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - } - ], - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "goHome", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "grantAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_player", - "type": "address" - } - ], - "name": "initPlayerHp", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_player", - "type": "address" - } - ], - "name": "initUserInfo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "coreModule", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "name": "installRootModule", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "joinBattlefield", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ], - "internalType": "struct Position[]", - "name": "moveList", - "type": "tuple[]" - } - ], - "name": "move", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - } - ], - "internalType": "struct Coordinate[]", - "name": "cList", - "type": "tuple[]" - } - ], - "name": "multCreateBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" - } - ], - "name": "openBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - } - ], - "name": "popFromDynamicField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - } - ], - "name": "pushToDynamicField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" - } - ], - "name": "registerDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "systemFunctionSignature", - "type": "string" - } - ], - "name": "registerFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" - } - ], - "name": "registerNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" - }, - { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" - } - ], - "name": "registerNamespaceDelegation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "worldFunctionSignature", - "type": "string" - }, - { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" - }, - { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" - } - ], - "name": "registerSystem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "name": "registerSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "name": "registerTable", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "_action", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_arg", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "_nonce", - "type": "bytes32" - } - ], - "name": "revealBattle", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" - } - ], - "name": "revealBox", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - } - ], - "name": "revealWinner", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "name": "revokeAccess", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_userTokenId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_lootTokenId", - "type": "uint256" - } - ], - "name": "selectBothNFT", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "selectLootNFT", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "selectUserNft", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "setDynamicField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "_b", - "type": "bool" - } - ], - "name": "setGmaeOpen", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "name": "setInfo", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" - } - ], - "name": "setRecord", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "name": "setStaticField", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "spliceDynamicData", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint48", - "name": "start", - "type": "uint48" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "spliceStaticData", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "storeVersion", - "outputs": [ - { - "internalType": "bytes32", - "name": "version", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "submitGem", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - }, - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - } - ], - "name": "transfer", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "toAddress", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToAddress", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, - { - "internalType": "ResourceId", - "name": "toNamespaceId", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferBalanceToNamespace", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "unlockUserLocation", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterStoreHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - } - ], - "name": "unregisterSystemHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "worldVersion", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "deployedBytecode": { - "object": "0x", - "sourceMap": "", - "linkReferences": {} - }, - "methodIdentifiers": { - "CreateBox(uint16,uint16)": "ac34af91", - "GetSeasonInfo()": "2a9d93e6", - "Init(address,address,address,bytes32)": "3534c345", - "SetMapMerkleRoot(bytes32)": "13d4a1c7", - "SetSeasonInfo(uint256,uint256)": "2b934ac4", - "SetUserContract(address)": "0252b86c", - "batchCall((bytes32,bytes)[])": "ce5e8dd9", - "batchCallFrom((address,bytes32,bytes)[])": "8fc8cf7e", - "battleInvitation(address,(uint16,uint16,bytes32[])[])": "68747c41", - "call(bytes32,bytes)": "3ae7af08", - "callFrom(address,bytes32,bytes)": "894ecc58", - "confirmBattle(bytes32,uint256)": "62ca2162", - "creator()": "02d05d3f", - "deleteRecord(bytes32,bytes32[])": "505a181d", - "forceEnd(uint256)": "f152b5bd", - "getBattlePlayerHp(uint256,address)": "b506b103", - "getCollections(uint256,uint16,uint16)": "f0d744ed", - "getDynamicField(bytes32,bytes32[],uint8)": "1e788977", - "getDynamicFieldLength(bytes32,bytes32[],uint8)": "dbbf0e21", - "getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)": "4dc77d97", - "getField(bytes32,bytes32[],uint8)": "d03edb8c", - "getField(bytes32,bytes32[],uint8,bytes32)": "05242d2f", - "getFieldLayout(bytes32)": "3a77c2c2", - "getFieldLength(bytes32,bytes32[],uint8)": "a53417ed", - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": "9f1fcf0a", - "getInfo(address)": "ffdd5cf1", - "getKeySchema(bytes32)": "d4285dc2", - "getPosition(address)": "16c19739", - "getRecord(bytes32,bytes32[])": "cc49db7e", - "getRecord(bytes32,bytes32[],bytes32)": "419b58fd", - "getSenderPosition()": "5af5cf8d", - "getStaticField(bytes32,bytes32[],uint8,bytes32)": "8c364d59", - "getUserInfo(uint256)": "d379dadf", - "getValueSchema(bytes32)": "e228a4a3", - "goHome()": "9055c111", - "grantAccess(bytes32,address)": "40554c3a", - "initPlayerHp(address)": "864924d6", - "initUserInfo(address)": "544d817d", - "initialize(address)": "c4d66de8", - "installModule(address,bytes)": "8da798da", - "installRootModule(address,bytes)": "af068c9e", - "joinBattlefield()": "9ebfc58a", - "move((uint16,uint16,bytes32[])[])": "6f330272", - "multCreateBox((uint16,uint16)[])": "36752085", - "openBox(uint256)": "b1e5e2b7", - "popFromDynamicField(bytes32,bytes32[],uint8,uint256)": "d9c03a04", - "pushToDynamicField(bytes32,bytes32[],uint8,bytes)": "150f3262", - "registerDelegation(address,bytes32,bytes)": "1d2257ba", - "registerFunctionSelector(bytes32,string)": "26d98102", - "registerNamespace(bytes32)": "b29e4089", - "registerNamespaceDelegation(bytes32,bytes32,bytes)": "bfdfaff7", - "registerRootFunctionSelector(bytes32,string,bytes4)": "742d6118", - "registerStoreHook(bytes32,address,uint8)": "530f4b60", - "registerSystem(bytes32,address,bool)": "3350b6a9", - "registerSystemHook(bytes32,address,uint8)": "d5f8337f", - "registerTable(bytes32,bytes32,bytes32,bytes32,string[],string[])": "0ba51f49", - "revealBattle(uint256,bytes32,uint256,bytes32)": "fdec9328", - "revealBox(uint256)": "6981e607", - "revealWinner(uint256)": "8ccb59e8", - "revokeAccess(bytes32,address)": "8d53b208", - "selectBothNFT(uint256,uint256)": "e9be9111", - "selectLootNFT(uint256)": "f5778754", - "selectUserNft(uint256)": "3ee77c01", - "setDynamicField(bytes32,bytes32[],uint8,bytes)": "ef6ea862", - "setField(bytes32,bytes32[],uint8,bytes)": "114a7266", - "setField(bytes32,bytes32[],uint8,bytes,bytes32)": "3708196e", - "setGmaeOpen(bool)": "2ac8f957", - "setInfo(string)": "937f6e77", - "setRecord(bytes32,bytes32[],bytes,bytes32,bytes)": "298314fb", - "setStaticField(bytes32,bytes32[],uint8,bytes,bytes32)": "390baae0", - "spliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes)": "c0a2895a", - "spliceStaticData(bytes32,bytes32[],uint48,bytes)": "b047c1eb", - "storeVersion()": "c1122229", - "submitGem()": "f2f2e507", - "transfer(address,uint16,uint16)": "672296dc", - "transferBalanceToAddress(bytes32,address,uint256)": "45afd199", - "transferBalanceToNamespace(bytes32,bytes32,uint256)": "c9c85a60", - "transferOwnership(bytes32,address)": "ef5d6bbb", - "unlockUserLocation()": "7ad5cf14", - "unregisterStoreHook(bytes32,address)": "05609129", - "unregisterSystemHook(bytes32,address)": "a92813ad", - "worldVersion()": "6951955d" - }, - "rawMetadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accessedIndex\",\"type\":\"uint256\"}],\"name\":\"Store_IndexOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidDynamicDataLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidFieldNamesLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidKeyNamesLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"Store_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"startWithinField\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"fieldLength\",\"type\":\"uint40\"}],\"name\":\"Store_InvalidSplice\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidValueSchemaLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"tableIdString\",\"type\":\"string\"}],\"name\":\"Store_TableAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"tableIdString\",\"type\":\"string\"}],\"name\":\"Store_TableNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"resource\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"World_AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_CallbackNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"World_DelegationNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"World_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"World_InterfaceNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"system\",\"type\":\"address\"}],\"name\":\"World_SystemAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_UnlimitedDelegationNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"storeVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloStore\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"worldVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloWorld\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"}],\"name\":\"Store_DeleteRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"name\":\"Store_SetRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"indexed\":false,\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Store_SpliceDynamicData\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Store_SpliceStaticData\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_y\",\"type\":\"uint16\"}],\"name\":\"CreateBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GetSeasonInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_lootContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pluginContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_merkleRoot\",\"type\":\"bytes32\"}],\"name\":\"Init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"}],\"name\":\"SetMapMerkleRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_end\",\"type\":\"uint256\"}],\"name\":\"SetSeasonInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"SetUserContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallFromData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCallFrom\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_targetAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"struct Position[]\",\"name\":\"positionList\",\"type\":\"tuple[]\"}],\"name\":\"battleInvitation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_buffHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"}],\"name\":\"confirmBattle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"}],\"name\":\"forceEnd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getBattlePlayerHp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_boxId\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_oreAmount\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_treasureAmount\",\"type\":\"uint16\"}],\"name\":\"getCollections\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"}],\"name\":\"getDynamicField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"}],\"name\":\"getDynamicFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"name\":\"getDynamicFieldSlice\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getFieldLayout\",\"outputs\":[{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"}],\"name\":\"getFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getInfo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getKeySchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getPosition\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSenderPosition\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getStaticField\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getUserInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getValueSchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"valueSchema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"goHome\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_player\",\"type\":\"address\"}],\"name\":\"initPlayerHp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_player\",\"type\":\"address\"}],\"name\":\"initUserInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"coreModule\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"joinBattlefield\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"struct Position[]\",\"name\":\"moveList\",\"type\":\"tuple[]\"}],\"name\":\"move\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"}],\"internalType\":\"struct Coordinate[]\",\"name\":\"cList\",\"type\":\"tuple[]\"}],\"name\":\"multCreateBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_boxId\",\"type\":\"uint256\"}],\"name\":\"openBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"byteLengthToPop\",\"type\":\"uint256\"}],\"name\":\"popFromDynamicField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"dataToPush\",\"type\":\"bytes\"}],\"name\":\"pushToDynamicField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"delegationControlId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"initCallData\",\"type\":\"bytes\"}],\"name\":\"registerDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"systemFunctionSignature\",\"type\":\"string\"}],\"name\":\"registerFunctionSelector\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"worldFunctionSelector\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"}],\"name\":\"registerNamespace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"ResourceId\",\"name\":\"delegationControlId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"initCallData\",\"type\":\"bytes\"}],\"name\":\"registerNamespaceDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"worldFunctionSignature\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"systemFunctionSelector\",\"type\":\"bytes4\"}],\"name\":\"registerRootFunctionSelector\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"worldFunctionSelector\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hookAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"enabledHooksBitmap\",\"type\":\"uint8\"}],\"name\":\"registerStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"contract WorldContextConsumer\",\"name\":\"system\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"publicAccess\",\"type\":\"bool\"}],\"name\":\"registerSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"contract ISystemHook\",\"name\":\"hookAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"enabledHooksBitmap\",\"type\":\"uint8\"}],\"name\":\"registerSystemHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"valueSchema\",\"type\":\"bytes32\"},{\"internalType\":\"string[]\",\"name\":\"keyNames\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"fieldNames\",\"type\":\"string[]\"}],\"name\":\"registerTable\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_action\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_arg\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_nonce\",\"type\":\"bytes32\"}],\"name\":\"revealBattle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_boxId\",\"type\":\"uint256\"}],\"name\":\"revealBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"}],\"name\":\"revealWinner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_userTokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lootTokenId\",\"type\":\"uint256\"}],\"name\":\"selectBothNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"selectLootNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"selectUserNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setDynamicField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"setField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_b\",\"type\":\"bool\"}],\"name\":\"setGmaeOpen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"setStaticField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint40\",\"name\":\"startWithinField\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"spliceDynamicData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"spliceStaticData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"storeVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"version\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submitGem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"}],\"name\":\"transfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"ResourceId\",\"name\":\"toNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToNamespace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockUserLocation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"name\":\"unregisterStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"contract ISystemHook\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"name\":\"unregisterSystemHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"worldVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is an autogenerated file; do not edit manually.\",\"errors\":{\"World_AccessDenied(string,address)\":[{\"params\":{\"caller\":\"The address of the user trying to access the resource.\",\"resource\":\"The resource's identifier.\"}}],\"World_CallbackNotAllowed(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector of the disallowed callback.\"}}],\"World_DelegationNotFound(address,address)\":[{\"params\":{\"delegatee\":\"The address of the delegatee.\",\"delegator\":\"The address of the delegator.\"}}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_InsufficientBalance(uint256,uint256)\":[{\"params\":{\"amount\":\"The amount needed.\",\"balance\":\"The current balance.\"}}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"params\":{\"contractAddress\":\"The address of the contract in question.\",\"interfaceId\":\"The ID of the interface.\"}}],\"World_InvalidResourceId(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"params\":{\"expected\":\"The expected resource type.\",\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceNotFound(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_SystemAlreadyExists(address)\":[{\"params\":{\"system\":\"The address of the system.\"}}]},\"events\":{\"HelloStore(bytes32)\":{\"params\":{\"storeVersion\":\"The version of the Store contract.\"}},\"HelloWorld(bytes32)\":{\"details\":\"Emitted upon successful World initialization.\",\"params\":{\"worldVersion\":\"The version of the World being initialized.\"}},\"Store_DeleteRecord(bytes32,bytes32[])\":{\"params\":{\"keyTuple\":\"An array representing the composite key for the record.\",\"tableId\":\"The ID of the table where the record is deleted.\"}},\"Store_SetRecord(bytes32,bytes32[],bytes,bytes32,bytes)\":{\"params\":{\"dynamicData\":\"The dynamic data of the record.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"staticData\":\"The static data of the record.\",\"tableId\":\"The ID of the table where the record is set.\"}},\"Store_SpliceDynamicData(bytes32,bytes32[],uint48,uint40,bytes32,bytes)\":{\"params\":{\"data\":\"The data to insert into the dynamic data of the record at the start byte.\",\"deleteCount\":\"The number of bytes to delete in the splice operation.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"start\":\"The start position in bytes for the splice operation.\",\"tableId\":\"The ID of the table where the data is spliced.\"}},\"Store_SpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"details\":\"In static data, data is always overwritten starting at the start position, so the total length of the data remains the same and no data is shifted.\",\"params\":{\"data\":\"The data to write to the static data of the record at the start byte.\",\"keyTuple\":\"An array representing the key for the record.\",\"start\":\"The start position in bytes for the splice operation.\",\"tableId\":\"The ID of the table where the data is spliced.\"}}},\"kind\":\"dev\",\"methods\":{\"call(bytes32,bytes)\":{\"details\":\"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"callFrom(address,bytes32,bytes)\":{\"details\":\"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"delegator\":\"The address on whose behalf the call is made.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"creator()\":{\"returns\":{\"_0\":\"The address of the World's creator.\"}},\"initialize(address)\":{\"details\":\"Can only be called once by the creator.\",\"params\":{\"coreModule\":\"The CoreModule to be installed during initialization.\"}},\"installRootModule(address,bytes)\":{\"details\":\"Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\",\"params\":{\"args\":\"The arguments provided for the module installation.\",\"module\":\"The module to be installed.\"}},\"storeVersion()\":{\"returns\":{\"version\":\"The version of the Store contract.\"}},\"worldVersion()\":{\"returns\":{\"_0\":\"The version identifier of the World.\"}}},\"title\":\"IWorld\",\"version\":1},\"userdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"notice\":\"Raised when a user tries to access a resource they don't have permission for.\"}],\"World_AlreadyInitialized()\":[{\"notice\":\"Raised when trying to initialize an already initialized World.\"}],\"World_CallbackNotAllowed(bytes4)\":[{\"notice\":\"Raised when the World is calling itself via an external call.\"}],\"World_DelegationNotFound(address,address)\":[{\"notice\":\"Raised when the specified delegation is not found.\"}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"notice\":\"Raised when trying to register a function selector that already exists.\"}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"notice\":\"Raised when the specified function selector is not found.\"}],\"World_InsufficientBalance(uint256,uint256)\":[{\"notice\":\"Raised when there's an insufficient balance for a particular operation.\"}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"notice\":\"Raised when the specified interface is not supported by the contract.\"}],\"World_InvalidResourceId(bytes32,string)\":[{\"notice\":\"Raised when an invalid resource ID is provided.\"}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"notice\":\"Raised when an invalid resource type is provided.\"}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"notice\":\"Raised when trying to register a resource that already exists.\"}],\"World_ResourceNotFound(bytes32,string)\":[{\"notice\":\"Raised when the specified resource is not found.\"}],\"World_SystemAlreadyExists(address)\":[{\"notice\":\"Raised when trying to register a system that already exists.\"}],\"World_UnlimitedDelegationNotAllowed()\":[{\"notice\":\"Raised when trying to create an unlimited delegation in a context where it is not allowed, e.g. when registering a namespace fallback delegation.\"}]},\"events\":{\"HelloStore(bytes32)\":{\"notice\":\"Emitted when the store is initialized.\"},\"Store_DeleteRecord(bytes32,bytes32[])\":{\"notice\":\"Emitted when a record is deleted from the store.\"},\"Store_SetRecord(bytes32,bytes32[],bytes,bytes32,bytes)\":{\"notice\":\"Emitted when a new record is set in the store.\"},\"Store_SpliceDynamicData(bytes32,bytes32[],uint48,uint40,bytes32,bytes)\":{\"notice\":\"Emitted when dynamic data in the store is spliced.\"},\"Store_SpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"notice\":\"Emitted when static data in the store is spliced.\"}},\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID.\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator.\"},\"creator()\":{\"notice\":\"Retrieve the immutable original deployer of the World.\"},\"getDynamicField(bytes32,bytes32[],uint8)\":{\"notice\":\"Get a single dynamic field from the given tableId and key tuple at the given dynamic field index. (Dynamic field index = field index - number of static fields)\"},\"getDynamicFieldLength(bytes32,bytes32[],uint8)\":{\"notice\":\"Get the byte length of a single dynamic field from the given tableId and key tuple\"},\"getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)\":{\"notice\":\"Get a byte slice (including start, excluding end) of a single dynamic field from the given tableId and key tuple, with the given value field layout. The slice is unchecked and will return invalid data if `start`:`end` overflow.\"},\"getField(bytes32,bytes32[],uint8)\":{\"notice\":\"Get a single field from the given tableId and key tuple, loading the field layout from storage\"},\"getField(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get a single field from the given tableId and key tuple, with the given field layout\"},\"getFieldLength(bytes32,bytes32[],uint8)\":{\"notice\":\"Get the byte length of a single field from the given tableId and key tuple, loading the field layout from storage\"},\"getFieldLength(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get the byte length of a single field from the given tableId and key tuple, with the given value field layout\"},\"getRecord(bytes32,bytes32[])\":{\"notice\":\"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, loading the field layout from storage\"},\"getRecord(bytes32,bytes32[],bytes32)\":{\"notice\":\"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, with the given field layout\"},\"getStaticField(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get a single static field from the given tableId and key tuple, with the given value field layout. Note: the field value is left-aligned in the returned bytes32, the rest of the word is not zeroed out. Consumers are expected to truncate the returned value as needed.\"},\"initialize(address)\":{\"notice\":\"Initializes the World.\"},\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"},\"storeVersion()\":{\"notice\":\"Returns the version of the Store contract.\"},\"worldVersion()\":{\"notice\":\"Retrieve the version of the World.\"}},\"notice\":\"This interface integrates all systems and associated function selectors that are dynamically registered in the World during deployment.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/codegen/world/IWorld.sol\":\"IWorld\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@codegen/=src/codegen/\",\":@latticexyz/=node_modules/@latticexyz/\",\":@library/=src/systems/library/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":@src/=src/\",\":@systems/=src/systems/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4\",\"dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba\",\"dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18\",\"dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2\",\"dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0\",\"dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb\"]},\"node_modules/@latticexyz/store/src/IStoreData.sol\":{\"keccak256\":\"0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a\",\"dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx\"]},\"node_modules/@latticexyz/store/src/IStoreErrors.sol\":{\"keccak256\":\"0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc\",\"dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ\"]},\"node_modules/@latticexyz/store/src/IStoreEvents.sol\":{\"keccak256\":\"0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d\",\"dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e\",\"dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy\"]},\"node_modules/@latticexyz/store/src/IStoreRead.sol\":{\"keccak256\":\"0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac\",\"dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115\",\"dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg\"]},\"node_modules/@latticexyz/store/src/IStoreWrite.sol\":{\"keccak256\":\"0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1\",\"dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5\",\"dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0\",\"dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3\",\"dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c\",\"dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648\",\"dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534\",\"dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7\",\"dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR\"]},\"node_modules/@latticexyz/store/src/codegen/index.sol\":{\"keccak256\":\"0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6\",\"dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xc5c6f807cff6b4dc486525c559ba3f7cbb034ac5895636ee64c9d01defa6a38e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://84d3a3b3fd3afa2ab3231fd7fe981889dfb0600deec34c5d4e9c07d3187af8a5\",\"dweb:/ipfs/Qmanj7WjETqBYQXkxKLjqWs4vMp3en3N69B5MacKme5fpD\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xf7a9bf3e37b486377005c556cdf5b813ea1a41278b3a0349f81e3c82a2f1c789\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://92cc87add89abcb126bf3cd0b284f25065c2b9c90a49f8dba4629b28a5b87751\",\"dweb:/ipfs/QmNNBDSK5GNujERGiSUhorbmtpdD2UnGz7MqSSDasEGdub\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0xa1186b8b6143b4a87cea1624785494398be1613cb7c6f9e57734e1cca1d5dd14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://488c158082622689d035d7964c6ca063295e53078291c340eb6a23db08e8ff95\",\"dweb:/ipfs/QmWcjo3B5SH7jStXKAuf7qvF2ouz6syw9c7aT86PnTgRqW\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0xd47e1921c07fc8608157b5dc343fcef7235e891ea6a21dec1fb118a0bd797fcb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01a6ad068e6991994a0939f22a55245e0c7c82fc5e274da0af616286a8acfc7a\",\"dweb:/ipfs/QmPokA3pSexzZY33MMV6BGx48ZwQegdUN5AijiAfycSDxy\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793\",\"dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401\",\"dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81\",\"dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1\",\"dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49\",\"dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256\",\"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491\",\"dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0x4535542ceb57e77096f24b943285bc158c48ef5291999f9c1e27f5682f8a9581\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec670524d19c50c659e385bc4dcb4757b065e1b5fe14160244537a7cd7a4b883\",\"dweb:/ipfs/QmT7NSWFSQ6MxYefe665srKMT2GTWomrPRZAHLjrFhQzV6\"]},\"node_modules/@latticexyz/world/src/ISystemHook.sol\":{\"keccak256\":\"0xb2114b6b66c0e7d8304d9e1d06aa1d0731f089daa6a0584e6cf744d9c48cf4db\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ebbb172970b106dd4ae5a6d5e417ac75cad7529d2b94c1601e10b886d0edf510\",\"dweb:/ipfs/QmPGn4F92hjkFch6Jh2NB37EYLLfstw6JxJKUZjXBFqGCw\"]},\"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol\":{\"keccak256\":\"0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d\",\"dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"node_modules/@latticexyz/world/src/WorldContext.sol\":{\"keccak256\":\"0xa11d93077d94f18683f1098b69c4713a48001ae15054476135ec9569041abb9a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9b1d3384def68b4061c445b55602dd9cbcd4e8c58c13db5e945f284a05c1b518\",\"dweb:/ipfs/Qma5DUZrSKZUxrxiGCpyRPWMJNdHU2wu6qDEsFWEJSnLfN\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IAccessManagementSystem.sol\":{\"keccak256\":\"0xc912f14d0f2e2e9e728a9d18e250ebe3eb2f51d0b4d79993c9d997991bbd5593\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://29621425847a1c11205307896b04e2a6c97934dd619f23ce6774ce52520f1255\",\"dweb:/ipfs/QmeuTe3q8U11Dqkp5tahxVWnp9Cd5ezQmRZ5vhEHtv14Eu\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IBalanceTransferSystem.sol\":{\"keccak256\":\"0xf04594c29c5c5b3110453ac189a8008735753de864ab4a7dfa97ccd3ae5f4a55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4a3061f72b969a294dc96c3b2e59277e762ce6571cedcc7e280412431453dde5\",\"dweb:/ipfs/QmWB9aboakrCH9AmzGiZ1mCceh9atF4ks5ndEYFzUVbaHT\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol\":{\"keccak256\":\"0xf96aee478cc770cd9cd417b7939c38c9b9b075c91f3f47bdf8c6742f5591e9dc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9c59c4c9a6ab3d64e2b0d7c9f3df2d330a36fc93ac2ab5e5f907fa881fbed1f8\",\"dweb:/ipfs/QmTbd82cCtDwc8Ga1UsWAKXmFYrWU1zkbCCk1nMspqWdZu\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IBatchCallSystem.sol\":{\"keccak256\":\"0xb4d323470e22b1d3f0168a44196eb09466f602b7564c75e5739c5f53a5036f97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acad752208d00b731baaa1cfa192ff3981001fd030953bdc604e4f69ec2cd0b8\",\"dweb:/ipfs/QmRFw3RgmX2CHqg7PqsP3rqVKxBVYNq5hHcFiyA2Y7iAaX\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/ICoreSystem.sol\":{\"keccak256\":\"0xf837b53eaa348da3b3650e0b7159de02d3f84897d96e487ece2f932c272dbe57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbdc52e9e519c8c6d4a00caf4de08688eb8eb34dbfc6236308f281d7cf05b51b\",\"dweb:/ipfs/QmWnogXiA5KA6JGxCTJR5W1MNFowrH7baSAYhSXjV1xM47\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol\":{\"keccak256\":\"0x5be1d1ee90a7a03258e8c4fce7542453332c637a51b015e0cc29151ef2792263\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6d97356b2ca9d97b7593f4c0772742529fea73f1665e55a879a368b399cae0\",\"dweb:/ipfs/QmXCs5X4Z95isKRzjP4TQjQxwiB7773tHiJWLWkjLv3SLj\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IWorldRegistrationSystem.sol\":{\"keccak256\":\"0xd7e31957e7fcf056912fe16e10a0411bdb071c14c45853e7da264dfbfd6bcb62\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4ce02327ac8971177685fc2655733ed3c07f5dfb72846680544a48953180aad\",\"dweb:/ipfs/QmQMNtkeCXdZfyyvtY8vUrKh5RUbpM7HYMGrzbxZGzTEFh\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218\",\"dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc\"]},\"node_modules/@latticexyz/world/src/modules/core/types.sol\":{\"keccak256\":\"0x256b3269e1e7eb6c8b6e26432bbe6799b4d45a88ef1b0e795ea71e604cec3a8a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://99bf6320ce9671ed74e7352b4e6c462d741ca9a894c48b526e7d8513308fa6b3\",\"dweb:/ipfs/QmRFJcWFMDRkg7soJ4r4MrqacKmj16vUEMFEGWJuvFi4vJ\"]},\"node_modules/@latticexyz/world/src/revertWithBytes.sol\":{\"keccak256\":\"0x16795bdbfd7956d733df9ada1030ee7a1a714e3b9da5899149a7b07568c4af55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a71128b4989e78215d5fc57dae8c2f84c6b5e503c159178c0df6f642b8228df\",\"dweb:/ipfs/QmNYTfBe62SdGESZ32fxME72CbAxEqk4j79jBT7655C4u7\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"src/codegen/world/IBattleForceSystem.sol\":{\"keccak256\":\"0xaaae8945eb1f119f49d0b32ce63d88ba7c8fc58bb629ef6fb21f392515f43154\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78b2d78787f1f7ab4fc15361435089df2995351548258eb58956635683245b5b\",\"dweb:/ipfs/QmUeiS3YBzDqMwXHVt3nnYwgTq8PBonq7wkVdk4YhSkQp1\"]},\"src/codegen/world/IBattleInfoSystem.sol\":{\"keccak256\":\"0xd9ebeacb62e690027661294264d0988b6f2da0693f3ccd56b79ba81cd37aca78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ad0024a0984dc620ca4ddd835505a0db434b0b7074e425c17913400598c8b836\",\"dweb:/ipfs/QmZJ7VUaUhKDREpY2TznPkGfKPpzDANXggsu42h4nxY34u\"]},\"src/codegen/world/IBattlePrepareSystem.sol\":{\"keccak256\":\"0xe5777b832337d5c9635a3e860ca707cbdd76e99470467fb1b08ca9328bf287ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://20945a2620ae6fe6c428d0651b3c3f500930cdacc69f063899cc10b4f5bf5c27\",\"dweb:/ipfs/QmThWSCCbLzBQ11AncoTxnyiK65uhGnrkmoChmTroGQLju\"]},\"src/codegen/world/IBattleSystem.sol\":{\"keccak256\":\"0xe3e924f3ee52e0bd95f486016f0e83ffa0c9ffb522d73ad1866bfe7f1697ba07\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5cb090e11605c751d40732935a36c39aca2c6613081b2dcbf2e31334bea74b9a\",\"dweb:/ipfs/QmPYd21H69q7JsUc44347h9h4sHJ1tbDzksUhCy1esu3T5\"]},\"src/codegen/world/IBoxSystem.sol\":{\"keccak256\":\"0x049b9b6459f62245372656cdf636697bca5a81b90ffa4ce805890656694f7c83\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://376d318f966315df8e4125e84f6d4a69c3c3d2097b8c3c442d8e9ab67542979b\",\"dweb:/ipfs/QmbpHDQH9oZEYswneeJ9t7QsyBH9PVhnm6CCFbWB7dG5mX\"]},\"src/codegen/world/IGMSystem.sol\":{\"keccak256\":\"0x9ba859f42e254c1154c90a9867d3ff30b855e04352dc3b03b2b418f484414ce7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://abb47796ba4458b0bc8adba5e92d853e698a332978bdc169bc6af6bc1a2e0f47\",\"dweb:/ipfs/QmcMpe2LPrThaBgb8oM7Kj4XRdkRAPbwJyBbXU5SHkTnjW\"]},\"src/codegen/world/IGameSystem.sol\":{\"keccak256\":\"0x0c7ffa8de306bb1f725a0aa6aae6a599cd8c643222f79158c0d427d47fae4287\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f0c9eea50a7035012af54436c3f01d5b358d69bcea2cb5fc228cf6aaf093544\",\"dweb:/ipfs/QmW5g5tD3wA5tcfCfWeShVNvRZSroZ6yxvseKgk4QMmEuh\"]},\"src/codegen/world/IInitSystem.sol\":{\"keccak256\":\"0x1a89e470cf515ba57f2b2d9acb83cbd3ae4687d9d2a579e52364f5cc7cc9b35f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a9dcda270bf1a2f2f1491978828e56e27afa45624ba900096362555e2526dcc2\",\"dweb:/ipfs/QmP6HEUEpoiR4LKgvR1BnTiP8UWaA5nDXHvtsYV44PUFyY\"]},\"src/codegen/world/IMoveSystem.sol\":{\"keccak256\":\"0x7136b6e044cd694a8776dd58f35e4f33936a378be7462262a625ad2056b3caf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01d6a4b33553fb21bfeab3709714dfd09b8b8c57a5ed28627b6213e25c63df5b\",\"dweb:/ipfs/QmcPU2tY5oSLS42khSGE26Sk1TrndoPueMxgeFFbugzL5c\"]},\"src/codegen/world/IPlayerSystem.sol\":{\"keccak256\":\"0xaad9e081b1d16c49f130e8b3e5640bf73acbc3220d58f86d1874cd43a319045f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3aebb6e37d72614f5aa9d8e41c82c5c3e577881d439eb55f5c6e0a9efc86cee6\",\"dweb:/ipfs/QmNwwL85wzawWZwHGjYaaKpCNx8dnZzvKQoK4odMyB2cad\"]},\"src/codegen/world/IWorld.sol\":{\"keccak256\":\"0x2660b910c2aeeb21764a8262e411f7501849dd15aa584f67c310884df926ae97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://596ff9365fe869b81c063d84c993075212b4c6761d85ee575e3368266a6b6124\",\"dweb:/ipfs/QmY5qiGynTFkQ3aGBZTUTuhCpvFqgSrb6oQeCNHiJr5KHC\"]},\"src/systems/Common.sol\":{\"keccak256\":\"0x1510fa9f77234d0a7fb7b0cfb466c5a9a609c8f1f2c2abdcf1ab441321df5423\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46b580b7a2c111b865c27895adf4e1ddb09a7696f65fd62d52d9c84c705f689a\",\"dweb:/ipfs/QmTDtCuNmaqJ31MxyxYfCPQQf8BYBS1BdTyGtMb9hWxeYx\"]}},\"version\":1}", - "metadata": { - "compiler": { - "version": "0.8.21+commit.d9974bed" - }, - "language": "Solidity", - "output": { - "abi": [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "length", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "accessedIndex", - "type": "uint256" - } - ], - "type": "error", - "name": "Store_IndexOutOfBounds" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "type": "error", - "name": "Store_InvalidDynamicDataLength" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "type": "error", - "name": "Store_InvalidFieldNamesLength" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "type": "error", - "name": "Store_InvalidKeyNamesLength" - }, - { - "inputs": [ - { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "type": "error", - "name": "Store_InvalidResourceType" - }, - { - "inputs": [ - { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "fieldLength", - "type": "uint40" - } - ], - "type": "error", - "name": "Store_InvalidSplice" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "expected", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "received", - "type": "uint256" - } - ], - "type": "error", - "name": "Store_InvalidValueSchemaLength" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "type": "error", - "name": "Store_TableAlreadyExists" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "tableIdString", - "type": "string" - } - ], - "type": "error", - "name": "Store_TableNotFound" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "resource", - "type": "string" - }, - { - "internalType": "address", - "name": "caller", - "type": "address" - } - ], - "type": "error", - "name": "World_AccessDenied" - }, - { - "inputs": [], - "type": "error", - "name": "World_AlreadyInitialized" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "type": "error", - "name": "World_CallbackNotAllowed" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "address", - "name": "delegatee", - "type": "address" - } - ], - "type": "error", - "name": "World_DelegationNotFound" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "type": "error", - "name": "World_FunctionSelectorAlreadyExists" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "functionSelector", - "type": "bytes4" - } - ], - "type": "error", - "name": "World_FunctionSelectorNotFound" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "type": "error", - "name": "World_InsufficientBalance" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "contractAddress", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "type": "error", - "name": "World_InterfaceNotSupported" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "type": "error", - "name": "World_InvalidResourceId" - }, - { - "inputs": [ - { - "internalType": "bytes2", - "name": "expected", - "type": "bytes2" - }, - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "type": "error", - "name": "World_InvalidResourceType" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "type": "error", - "name": "World_ResourceAlreadyExists" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "resourceIdString", - "type": "string" - } - ], - "type": "error", - "name": "World_ResourceNotFound" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "system", - "type": "address" - } - ], - "type": "error", - "name": "World_SystemAlreadyExists" - }, - { - "inputs": [], - "type": "error", - "name": "World_UnlimitedDelegationNotAllowed" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "storeVersion", - "type": "bytes32", - "indexed": true - } - ], - "type": "event", - "name": "HelloStore", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "worldVersion", - "type": "bytes32", - "indexed": true - } - ], - "type": "event", - "name": "HelloWorld", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false - } - ], - "type": "event", - "name": "Store_DeleteRecord", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false - }, - { - "internalType": "bytes", - "name": "staticData", - "type": "bytes", - "indexed": false - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32", - "indexed": false - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "Store_SetRecord", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false - }, - { - "internalType": "uint48", - "name": "start", - "type": "uint48", - "indexed": false - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40", - "indexed": false - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32", - "indexed": false - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "Store_SpliceDynamicData", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32", - "indexed": true - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]", - "indexed": false - }, - { - "internalType": "uint48", - "name": "start", - "type": "uint48", - "indexed": false - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes", - "indexed": false - } - ], - "type": "event", - "name": "Store_SpliceStaticData", - "anonymous": false - }, - { - "inputs": [ - { - "internalType": "uint16", - "name": "_x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "_y", - "type": "uint16" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "CreateBox" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "GetSeasonInfo", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_userContract", - "type": "address" - }, - { - "internalType": "address", - "name": "_lootContract", - "type": "address" - }, - { - "internalType": "address", - "name": "_pluginContract", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_merkleRoot", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "Init" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_root", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "SetMapMerkleRoot" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_end", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "SetSeasonInfo" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "SetUserContract" - }, - { - "inputs": [ - { - "internalType": "struct SystemCallData[]", - "name": "systemCalls", - "type": "tuple[]", - "components": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "batchCall", - "outputs": [ - { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "struct SystemCallFromData[]", - "name": "systemCalls", - "type": "tuple[]", - "components": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "batchCallFrom", - "outputs": [ - { - "internalType": "bytes[]", - "name": "returnDatas", - "type": "bytes[]" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_targetAddress", - "type": "address" - }, - { - "internalType": "struct Position[]", - "name": "positionList", - "type": "tuple[]", - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "battleInvitation" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "call", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegator", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "callData", - "type": "bytes" - } - ], - "stateMutability": "payable", - "type": "function", - "name": "callFrom", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_buffHash", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "confirmBattle" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "creator", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "deleteRecord" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "forceEnd" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getBattlePlayerHp", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" - }, - { - "internalType": "uint16", - "name": "_oreAmount", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "_treasureAmount", - "type": "uint16" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "getCollections" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getDynamicField", - "outputs": [ - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getDynamicFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "start", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "end", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getDynamicFieldSlice", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getField", - "outputs": [ - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getFieldLayout", - "outputs": [ - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getFieldLength", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getInfo", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getKeySchema", - "outputs": [ - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getPosition", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getRecord", - "outputs": [ - { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" - } - ] - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "getSenderPosition", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getStaticField", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getUserInfo", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function", - "name": "getValueSchema", - "outputs": [ - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "goHome" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "grantAccess" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_player", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "initPlayerHp", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ] - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_player", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "initUserInfo" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "coreModule", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "installModule" - }, - { - "inputs": [ - { - "internalType": "contract IModule", - "name": "module", - "type": "address" - }, - { - "internalType": "bytes", - "name": "args", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "installRootModule" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "joinBattlefield" - }, - { - "inputs": [ - { - "internalType": "struct Position[]", - "name": "moveList", - "type": "tuple[]", - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - }, - { - "internalType": "bytes32[]", - "name": "proof", - "type": "bytes32[]" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "move" - }, - { - "inputs": [ - { - "internalType": "struct Coordinate[]", - "name": "cList", - "type": "tuple[]", - "components": [ - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - } - ] - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "multCreateBox" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "openBox" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint256", - "name": "byteLengthToPop", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "popFromDynamicField" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "dataToPush", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "pushToDynamicField" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "delegatee", - "type": "address" - }, - { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerDelegation" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "systemFunctionSignature", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerNamespace" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" - }, - { - "internalType": "ResourceId", - "name": "delegationControlId", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "initCallData", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerNamespaceDelegation" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "string", - "name": "worldFunctionSignature", - "type": "string" - }, - { - "internalType": "bytes4", - "name": "systemFunctionSelector", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerRootFunctionSelector", - "outputs": [ - { - "internalType": "bytes4", - "name": "worldFunctionSelector", - "type": "bytes4" - } - ] - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerStoreHook" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract WorldContextConsumer", - "name": "system", - "type": "address" - }, - { - "internalType": "bool", - "name": "publicAccess", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerSystem" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - }, - { - "internalType": "uint8", - "name": "enabledHooksBitmap", - "type": "uint8" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerSystemHook" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "keySchema", - "type": "bytes32" - }, - { - "internalType": "Schema", - "name": "valueSchema", - "type": "bytes32" - }, - { - "internalType": "string[]", - "name": "keyNames", - "type": "string[]" - }, - { - "internalType": "string[]", - "name": "fieldNames", - "type": "string[]" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "registerTable" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "_action", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "_arg", - "type": "uint256" - }, - { - "internalType": "bytes32", - "name": "_nonce", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revealBattle" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_boxId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revealBox" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_battleId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revealWinner" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "resourceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "grantee", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeAccess" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_userTokenId", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_lootTokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "selectBothNFT" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "selectLootNFT" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_tokenId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "selectUserNft" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setDynamicField" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setField" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setField" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "_b", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setGmaeOpen" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "name", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setInfo" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "bytes", - "name": "staticData", - "type": "bytes" - }, - { - "internalType": "PackedCounter", - "name": "encodedLengths", - "type": "bytes32" - }, - { - "internalType": "bytes", - "name": "dynamicData", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setRecord" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "fieldIndex", - "type": "uint8" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - }, - { - "internalType": "FieldLayout", - "name": "fieldLayout", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "setStaticField" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint8", - "name": "dynamicFieldIndex", - "type": "uint8" - }, - { - "internalType": "uint40", - "name": "startWithinField", - "type": "uint40" - }, - { - "internalType": "uint40", - "name": "deleteCount", - "type": "uint40" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "spliceDynamicData" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "bytes32[]", - "name": "keyTuple", - "type": "bytes32[]" - }, - { - "internalType": "uint48", - "name": "start", - "type": "uint48" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "spliceStaticData" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "storeVersion", - "outputs": [ - { - "internalType": "bytes32", - "name": "version", - "type": "bytes32" - } - ] - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "submitGem" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "addr", - "type": "address" - }, - { - "internalType": "uint16", - "name": "x", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "y", - "type": "uint16" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "toAddress", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferBalanceToAddress" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "fromNamespaceId", - "type": "bytes32" - }, - { - "internalType": "ResourceId", - "name": "toNamespaceId", - "type": "bytes32" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferBalanceToNamespace" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "namespaceId", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "transferOwnership" - }, - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "name": "unlockUserLocation" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "tableId", - "type": "bytes32" - }, - { - "internalType": "contract IStoreHook", - "name": "hookAddress", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "unregisterStoreHook" - }, - { - "inputs": [ - { - "internalType": "ResourceId", - "name": "systemId", - "type": "bytes32" - }, - { - "internalType": "contract ISystemHook", - "name": "hookAddress", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "name": "unregisterSystemHook" - }, - { - "inputs": [], - "stateMutability": "view", - "type": "function", - "name": "worldVersion", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ] - } - ], - "devdoc": { - "kind": "dev", - "methods": { - "call(bytes32,bytes)": { - "details": "If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).", - "params": { - "callData": "The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.", - "systemId": "The ID of the system to be called." - }, - "returns": { - "_0": "The abi encoded return data from the called system." - } - }, - "callFrom(address,bytes32,bytes)": { - "details": "If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).", - "params": { - "callData": "The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.", - "delegator": "The address on whose behalf the call is made.", - "systemId": "The ID of the system to be called." - }, - "returns": { - "_0": "The abi encoded return data from the called system." - } - }, - "creator()": { - "returns": { - "_0": "The address of the World's creator." - } - }, - "initialize(address)": { - "details": "Can only be called once by the creator.", - "params": { - "coreModule": "The CoreModule to be installed during initialization." - } - }, - "installRootModule(address,bytes)": { - "details": "Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.", - "params": { - "args": "The arguments provided for the module installation.", - "module": "The module to be installed." - } - }, - "storeVersion()": { - "returns": { - "version": "The version of the Store contract." - } - }, - "worldVersion()": { - "returns": { - "_0": "The version identifier of the World." - } - } - }, - "version": 1 - }, - "userdoc": { - "kind": "user", - "methods": { - "call(bytes32,bytes)": { - "notice": "Call the system at the given system ID." - }, - "callFrom(address,bytes32,bytes)": { - "notice": "Call the system at the given system ID on behalf of the given delegator." - }, - "creator()": { - "notice": "Retrieve the immutable original deployer of the World." - }, - "getDynamicField(bytes32,bytes32[],uint8)": { - "notice": "Get a single dynamic field from the given tableId and key tuple at the given dynamic field index. (Dynamic field index = field index - number of static fields)" - }, - "getDynamicFieldLength(bytes32,bytes32[],uint8)": { - "notice": "Get the byte length of a single dynamic field from the given tableId and key tuple" - }, - "getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)": { - "notice": "Get a byte slice (including start, excluding end) of a single dynamic field from the given tableId and key tuple, with the given value field layout. The slice is unchecked and will return invalid data if `start`:`end` overflow." - }, - "getField(bytes32,bytes32[],uint8)": { - "notice": "Get a single field from the given tableId and key tuple, loading the field layout from storage" - }, - "getField(bytes32,bytes32[],uint8,bytes32)": { - "notice": "Get a single field from the given tableId and key tuple, with the given field layout" - }, - "getFieldLength(bytes32,bytes32[],uint8)": { - "notice": "Get the byte length of a single field from the given tableId and key tuple, loading the field layout from storage" - }, - "getFieldLength(bytes32,bytes32[],uint8,bytes32)": { - "notice": "Get the byte length of a single field from the given tableId and key tuple, with the given value field layout" - }, - "getRecord(bytes32,bytes32[])": { - "notice": "Get full record (all fields, static and dynamic data) for the given tableId and key tuple, loading the field layout from storage" - }, - "getRecord(bytes32,bytes32[],bytes32)": { - "notice": "Get full record (all fields, static and dynamic data) for the given tableId and key tuple, with the given field layout" - }, - "getStaticField(bytes32,bytes32[],uint8,bytes32)": { - "notice": "Get a single static field from the given tableId and key tuple, with the given value field layout. Note: the field value is left-aligned in the returned bytes32, the rest of the word is not zeroed out. Consumers are expected to truncate the returned value as needed." - }, - "initialize(address)": { - "notice": "Initializes the World." - }, - "installRootModule(address,bytes)": { - "notice": "Install the given root module in the World." - }, - "storeVersion()": { - "notice": "Returns the version of the Store contract." - }, - "worldVersion()": { - "notice": "Retrieve the version of the World." - } - }, - "version": 1 - } - }, - "settings": { - "remappings": [ - "@codegen/=src/codegen/", - "@latticexyz/=node_modules/@latticexyz/", - "@library/=src/systems/library/", - "@openzeppelin/=node_modules/@openzeppelin/", - "@src/=src/", - "@systems/=src/systems/", - "ds-test/=node_modules/ds-test/src/", - "forge-std/=node_modules/forge-std/src/" - ], - "optimizer": { - "enabled": true, - "runs": 3000 - }, - "metadata": { - "bytecodeHash": "ipfs" - }, - "compilationTarget": { - "src/codegen/world/IWorld.sol": "IWorld" - }, - "libraries": {} - }, - "sources": { - "node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol": { - "keccak256": "0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb", - "urls": [ - "bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4", - "dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/Bytes.sol": { - "keccak256": "0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558", - "urls": [ - "bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4", - "dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/FieldLayout.sol": { - "keccak256": "0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0", - "urls": [ - "bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba", - "dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/Hook.sol": { - "keccak256": "0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd", - "urls": [ - "bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18", - "dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IERC165.sol": { - "keccak256": "0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf", - "urls": [ - "bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2", - "dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStore.sol": { - "keccak256": "0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827", - "urls": [ - "bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0", - "dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStoreData.sol": { - "keccak256": "0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5", - "urls": [ - "bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a", - "dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStoreErrors.sol": { - "keccak256": "0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212", - "urls": [ - "bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc", - "dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStoreEvents.sol": { - "keccak256": "0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f", - "urls": [ - "bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d", - "dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStoreHook.sol": { - "keccak256": "0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e", - "urls": [ - "bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e", - "dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStoreRead.sol": { - "keccak256": "0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37", - "urls": [ - "bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac", - "dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStoreRegistration.sol": { - "keccak256": "0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f", - "urls": [ - "bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115", - "dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/IStoreWrite.sol": { - "keccak256": "0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b", - "urls": [ - "bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1", - "dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/Memory.sol": { - "keccak256": "0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7", - "urls": [ - "bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5", - "dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/PackedCounter.sol": { - "keccak256": "0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb", - "urls": [ - "bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0", - "dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/ResourceId.sol": { - "keccak256": "0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed", - "urls": [ - "bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d", - "dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/Schema.sol": { - "keccak256": "0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401", - "urls": [ - "bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3", - "dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/Slice.sol": { - "keccak256": "0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32", - "urls": [ - "bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c", - "dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/Storage.sol": { - "keccak256": "0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5", - "urls": [ - "bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648", - "dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/StoreCore.sol": { - "keccak256": "0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180", - "urls": [ - "bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534", - "dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/StoreSwitch.sol": { - "keccak256": "0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416", - "urls": [ - "bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7", - "dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/codegen/index.sol": { - "keccak256": "0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3", - "urls": [ - "bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6", - "dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol": { - "keccak256": "0xc5c6f807cff6b4dc486525c559ba3f7cbb034ac5895636ee64c9d01defa6a38e", - "urls": [ - "bzz-raw://84d3a3b3fd3afa2ab3231fd7fe981889dfb0600deec34c5d4e9c07d3187af8a5", - "dweb:/ipfs/Qmanj7WjETqBYQXkxKLjqWs4vMp3en3N69B5MacKme5fpD" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol": { - "keccak256": "0xf7a9bf3e37b486377005c556cdf5b813ea1a41278b3a0349f81e3c82a2f1c789", - "urls": [ - "bzz-raw://92cc87add89abcb126bf3cd0b284f25065c2b9c90a49f8dba4629b28a5b87751", - "dweb:/ipfs/QmNNBDSK5GNujERGiSUhorbmtpdD2UnGz7MqSSDasEGdub" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol": { - "keccak256": "0xa1186b8b6143b4a87cea1624785494398be1613cb7c6f9e57734e1cca1d5dd14", - "urls": [ - "bzz-raw://488c158082622689d035d7964c6ca063295e53078291c340eb6a23db08e8ff95", - "dweb:/ipfs/QmWcjo3B5SH7jStXKAuf7qvF2ouz6syw9c7aT86PnTgRqW" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/codegen/tables/Tables.sol": { - "keccak256": "0xd47e1921c07fc8608157b5dc343fcef7235e891ea6a21dec1fb118a0bd797fcb", - "urls": [ - "bzz-raw://01a6ad068e6991994a0939f22a55245e0c7c82fc5e274da0af616286a8acfc7a", - "dweb:/ipfs/QmPokA3pSexzZY33MMV6BGx48ZwQegdUN5AijiAfycSDxy" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/constants.sol": { - "keccak256": "0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076", - "urls": [ - "bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793", - "dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/leftMask.sol": { - "keccak256": "0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f", - "urls": [ - "bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401", - "dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/storeHookTypes.sol": { - "keccak256": "0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5", - "urls": [ - "bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81", - "dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/storeResourceTypes.sol": { - "keccak256": "0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2", - "urls": [ - "bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84", - "dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol": { - "keccak256": "0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04", - "urls": [ - "bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1", - "dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol": { - "keccak256": "0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d", - "urls": [ - "bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49", - "dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol": { - "keccak256": "0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b", - "urls": [ - "bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256", - "dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/store/src/version.sol": { - "keccak256": "0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c", - "urls": [ - "bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491", - "dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/IERC165.sol": { - "keccak256": "0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47", - "urls": [ - "bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5", - "dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/IModule.sol": { - "keccak256": "0x4535542ceb57e77096f24b943285bc158c48ef5291999f9c1e27f5682f8a9581", - "urls": [ - "bzz-raw://ec670524d19c50c659e385bc4dcb4757b065e1b5fe14160244537a7cd7a4b883", - "dweb:/ipfs/QmT7NSWFSQ6MxYefe665srKMT2GTWomrPRZAHLjrFhQzV6" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/ISystemHook.sol": { - "keccak256": "0xb2114b6b66c0e7d8304d9e1d06aa1d0731f089daa6a0584e6cf744d9c48cf4db", - "urls": [ - "bzz-raw://ebbb172970b106dd4ae5a6d5e417ac75cad7529d2b94c1601e10b886d0edf510", - "dweb:/ipfs/QmPGn4F92hjkFch6Jh2NB37EYLLfstw6JxJKUZjXBFqGCw" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/IWorldContextConsumer.sol": { - "keccak256": "0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500", - "urls": [ - "bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d", - "dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/IWorldErrors.sol": { - "keccak256": "0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7", - "urls": [ - "bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83", - "dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/IWorldKernel.sol": { - "keccak256": "0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb", - "urls": [ - "bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c", - "dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/WorldContext.sol": { - "keccak256": "0xa11d93077d94f18683f1098b69c4713a48001ae15054476135ec9569041abb9a", - "urls": [ - "bzz-raw://9b1d3384def68b4061c445b55602dd9cbcd4e8c58c13db5e945f284a05c1b518", - "dweb:/ipfs/Qma5DUZrSKZUxrxiGCpyRPWMJNdHU2wu6qDEsFWEJSnLfN" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/WorldResourceId.sol": { - "keccak256": "0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417", - "urls": [ - "bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb", - "dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/codegen/interfaces/IAccessManagementSystem.sol": { - "keccak256": "0xc912f14d0f2e2e9e728a9d18e250ebe3eb2f51d0b4d79993c9d997991bbd5593", - "urls": [ - "bzz-raw://29621425847a1c11205307896b04e2a6c97934dd619f23ce6774ce52520f1255", - "dweb:/ipfs/QmeuTe3q8U11Dqkp5tahxVWnp9Cd5ezQmRZ5vhEHtv14Eu" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/codegen/interfaces/IBalanceTransferSystem.sol": { - "keccak256": "0xf04594c29c5c5b3110453ac189a8008735753de864ab4a7dfa97ccd3ae5f4a55", - "urls": [ - "bzz-raw://4a3061f72b969a294dc96c3b2e59277e762ce6571cedcc7e280412431453dde5", - "dweb:/ipfs/QmWB9aboakrCH9AmzGiZ1mCceh9atF4ks5ndEYFzUVbaHT" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol": { - "keccak256": "0xf96aee478cc770cd9cd417b7939c38c9b9b075c91f3f47bdf8c6742f5591e9dc", - "urls": [ - "bzz-raw://9c59c4c9a6ab3d64e2b0d7c9f3df2d330a36fc93ac2ab5e5f907fa881fbed1f8", - "dweb:/ipfs/QmTbd82cCtDwc8Ga1UsWAKXmFYrWU1zkbCCk1nMspqWdZu" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/codegen/interfaces/IBatchCallSystem.sol": { - "keccak256": "0xb4d323470e22b1d3f0168a44196eb09466f602b7564c75e5739c5f53a5036f97", - "urls": [ - "bzz-raw://acad752208d00b731baaa1cfa192ff3981001fd030953bdc604e4f69ec2cd0b8", - "dweb:/ipfs/QmRFw3RgmX2CHqg7PqsP3rqVKxBVYNq5hHcFiyA2Y7iAaX" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/codegen/interfaces/ICoreSystem.sol": { - "keccak256": "0xf837b53eaa348da3b3650e0b7159de02d3f84897d96e487ece2f932c272dbe57", - "urls": [ - "bzz-raw://fbdc52e9e519c8c6d4a00caf4de08688eb8eb34dbfc6236308f281d7cf05b51b", - "dweb:/ipfs/QmWnogXiA5KA6JGxCTJR5W1MNFowrH7baSAYhSXjV1xM47" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol": { - "keccak256": "0x5be1d1ee90a7a03258e8c4fce7542453332c637a51b015e0cc29151ef2792263", - "urls": [ - "bzz-raw://df6d97356b2ca9d97b7593f4c0772742529fea73f1665e55a879a368b399cae0", - "dweb:/ipfs/QmXCs5X4Z95isKRzjP4TQjQxwiB7773tHiJWLWkjLv3SLj" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/codegen/interfaces/IWorldRegistrationSystem.sol": { - "keccak256": "0xd7e31957e7fcf056912fe16e10a0411bdb071c14c45853e7da264dfbfd6bcb62", - "urls": [ - "bzz-raw://c4ce02327ac8971177685fc2655733ed3c07f5dfb72846680544a48953180aad", - "dweb:/ipfs/QmQMNtkeCXdZfyyvtY8vUrKh5RUbpM7HYMGrzbxZGzTEFh" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/constants.sol": { - "keccak256": "0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588", - "urls": [ - "bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218", - "dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/modules/core/types.sol": { - "keccak256": "0x256b3269e1e7eb6c8b6e26432bbe6799b4d45a88ef1b0e795ea71e604cec3a8a", - "urls": [ - "bzz-raw://99bf6320ce9671ed74e7352b4e6c462d741ca9a894c48b526e7d8513308fa6b3", - "dweb:/ipfs/QmRFJcWFMDRkg7soJ4r4MrqacKmj16vUEMFEGWJuvFi4vJ" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/revertWithBytes.sol": { - "keccak256": "0x16795bdbfd7956d733df9ada1030ee7a1a714e3b9da5899149a7b07568c4af55", - "urls": [ - "bzz-raw://7a71128b4989e78215d5fc57dae8c2f84c6b5e503c159178c0df6f642b8228df", - "dweb:/ipfs/QmNYTfBe62SdGESZ32fxME72CbAxEqk4j79jBT7655C4u7" - ], - "license": "MIT" - }, - "node_modules/@latticexyz/world/src/worldResourceTypes.sol": { - "keccak256": "0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746", - "urls": [ - "bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2", - "dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9" - ], - "license": "MIT" - }, - "src/codegen/world/IBattleForceSystem.sol": { - "keccak256": "0xaaae8945eb1f119f49d0b32ce63d88ba7c8fc58bb629ef6fb21f392515f43154", - "urls": [ - "bzz-raw://78b2d78787f1f7ab4fc15361435089df2995351548258eb58956635683245b5b", - "dweb:/ipfs/QmUeiS3YBzDqMwXHVt3nnYwgTq8PBonq7wkVdk4YhSkQp1" - ], - "license": "MIT" - }, - "src/codegen/world/IBattleInfoSystem.sol": { - "keccak256": "0xd9ebeacb62e690027661294264d0988b6f2da0693f3ccd56b79ba81cd37aca78", - "urls": [ - "bzz-raw://ad0024a0984dc620ca4ddd835505a0db434b0b7074e425c17913400598c8b836", - "dweb:/ipfs/QmZJ7VUaUhKDREpY2TznPkGfKPpzDANXggsu42h4nxY34u" - ], - "license": "MIT" - }, - "src/codegen/world/IBattlePrepareSystem.sol": { - "keccak256": "0xe5777b832337d5c9635a3e860ca707cbdd76e99470467fb1b08ca9328bf287ec", - "urls": [ - "bzz-raw://20945a2620ae6fe6c428d0651b3c3f500930cdacc69f063899cc10b4f5bf5c27", - "dweb:/ipfs/QmThWSCCbLzBQ11AncoTxnyiK65uhGnrkmoChmTroGQLju" - ], - "license": "MIT" - }, - "src/codegen/world/IBattleSystem.sol": { - "keccak256": "0xe3e924f3ee52e0bd95f486016f0e83ffa0c9ffb522d73ad1866bfe7f1697ba07", - "urls": [ - "bzz-raw://5cb090e11605c751d40732935a36c39aca2c6613081b2dcbf2e31334bea74b9a", - "dweb:/ipfs/QmPYd21H69q7JsUc44347h9h4sHJ1tbDzksUhCy1esu3T5" - ], - "license": "MIT" - }, - "src/codegen/world/IBoxSystem.sol": { - "keccak256": "0x049b9b6459f62245372656cdf636697bca5a81b90ffa4ce805890656694f7c83", - "urls": [ - "bzz-raw://376d318f966315df8e4125e84f6d4a69c3c3d2097b8c3c442d8e9ab67542979b", - "dweb:/ipfs/QmbpHDQH9oZEYswneeJ9t7QsyBH9PVhnm6CCFbWB7dG5mX" - ], - "license": "MIT" - }, - "src/codegen/world/IGMSystem.sol": { - "keccak256": "0x9ba859f42e254c1154c90a9867d3ff30b855e04352dc3b03b2b418f484414ce7", - "urls": [ - "bzz-raw://abb47796ba4458b0bc8adba5e92d853e698a332978bdc169bc6af6bc1a2e0f47", - "dweb:/ipfs/QmcMpe2LPrThaBgb8oM7Kj4XRdkRAPbwJyBbXU5SHkTnjW" - ], - "license": "MIT" - }, - "src/codegen/world/IGameSystem.sol": { - "keccak256": "0x0c7ffa8de306bb1f725a0aa6aae6a599cd8c643222f79158c0d427d47fae4287", - "urls": [ - "bzz-raw://8f0c9eea50a7035012af54436c3f01d5b358d69bcea2cb5fc228cf6aaf093544", - "dweb:/ipfs/QmW5g5tD3wA5tcfCfWeShVNvRZSroZ6yxvseKgk4QMmEuh" - ], - "license": "MIT" - }, - "src/codegen/world/IInitSystem.sol": { - "keccak256": "0x1a89e470cf515ba57f2b2d9acb83cbd3ae4687d9d2a579e52364f5cc7cc9b35f", - "urls": [ - "bzz-raw://a9dcda270bf1a2f2f1491978828e56e27afa45624ba900096362555e2526dcc2", - "dweb:/ipfs/QmP6HEUEpoiR4LKgvR1BnTiP8UWaA5nDXHvtsYV44PUFyY" - ], - "license": "MIT" - }, - "src/codegen/world/IMoveSystem.sol": { - "keccak256": "0x7136b6e044cd694a8776dd58f35e4f33936a378be7462262a625ad2056b3caf2", - "urls": [ - "bzz-raw://01d6a4b33553fb21bfeab3709714dfd09b8b8c57a5ed28627b6213e25c63df5b", - "dweb:/ipfs/QmcPU2tY5oSLS42khSGE26Sk1TrndoPueMxgeFFbugzL5c" - ], - "license": "MIT" - }, - "src/codegen/world/IPlayerSystem.sol": { - "keccak256": "0xaad9e081b1d16c49f130e8b3e5640bf73acbc3220d58f86d1874cd43a319045f", - "urls": [ - "bzz-raw://3aebb6e37d72614f5aa9d8e41c82c5c3e577881d439eb55f5c6e0a9efc86cee6", - "dweb:/ipfs/QmNwwL85wzawWZwHGjYaaKpCNx8dnZzvKQoK4odMyB2cad" - ], - "license": "MIT" - }, - "src/codegen/world/IWorld.sol": { - "keccak256": "0x2660b910c2aeeb21764a8262e411f7501849dd15aa584f67c310884df926ae97", - "urls": [ - "bzz-raw://596ff9365fe869b81c063d84c993075212b4c6761d85ee575e3368266a6b6124", - "dweb:/ipfs/QmY5qiGynTFkQ3aGBZTUTuhCpvFqgSrb6oQeCNHiJr5KHC" - ], - "license": "MIT" - }, - "src/systems/Common.sol": { - "keccak256": "0x1510fa9f77234d0a7fb7b0cfb466c5a9a609c8f1f2c2abdcf1ab441321df5423", - "urls": [ - "bzz-raw://46b580b7a2c111b865c27895adf4e1ddb09a7696f65fd62d52d9c84c705f689a", - "dweb:/ipfs/QmTDtCuNmaqJ31MxyxYfCPQQf8BYBS1BdTyGtMb9hWxeYx" - ], - "license": "MIT" - } - }, - "version": 1 - }, - "ast": { - "absolutePath": "src/codegen/world/IWorld.sol", - "id": 122333, - "exportedSymbols": { - "IBaseWorld": [ - 73850 - ], - "IBattleForceSystem": [ - 122024 - ], - "IBattleInfoSystem": [ - 122037 - ], - "IBattlePrepareSystem": [ - 122072 - ], - "IBattleSystem": [ - 122092 - ], - "IBoxSystem": [ - 122115 - ], - "IGMSystem": [ - 122166 - ], - "IGameSystem": [ - 122173 - ], - "IInitSystem": [ - 122188 - ], - "IMoveSystem": [ - 122204 - ], - "IPlayerSystem": [ - 122284 - ], - "IWorld": [ - 122332 - ] - }, - "nodeType": "SourceUnit", - "src": "32:1147:184", - "nodes": [ - { - "id": 122286, - "nodeType": "PragmaDirective", - "src": "32:25:184", - "nodes": [], - "literals": [ - "solidity", - ">=", - "0.8", - ".21" - ] - }, - { - "id": 122288, - "nodeType": "ImportDirective", - "src": "108:85:184", - "nodes": [], - "absolutePath": "node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol", - "file": "@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 73851, - "symbolAliases": [ - { - "foreign": { - "id": 122287, - "name": "IBaseWorld", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 73850, - "src": "117:10:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122290, - "nodeType": "ImportDirective", - "src": "195:62:184", - "nodes": [], - "absolutePath": "src/codegen/world/IBattleForceSystem.sol", - "file": "./IBattleForceSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122025, - "symbolAliases": [ - { - "foreign": { - "id": 122289, - "name": "IBattleForceSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122024, - "src": "204:18:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122292, - "nodeType": "ImportDirective", - "src": "258:60:184", - "nodes": [], - "absolutePath": "src/codegen/world/IBattleInfoSystem.sol", - "file": "./IBattleInfoSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122038, - "symbolAliases": [ - { - "foreign": { - "id": 122291, - "name": "IBattleInfoSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122037, - "src": "267:17:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122294, - "nodeType": "ImportDirective", - "src": "319:66:184", - "nodes": [], - "absolutePath": "src/codegen/world/IBattlePrepareSystem.sol", - "file": "./IBattlePrepareSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122073, - "symbolAliases": [ - { - "foreign": { - "id": 122293, - "name": "IBattlePrepareSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122072, - "src": "328:20:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122296, - "nodeType": "ImportDirective", - "src": "386:52:184", - "nodes": [], - "absolutePath": "src/codegen/world/IBattleSystem.sol", - "file": "./IBattleSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122093, - "symbolAliases": [ - { - "foreign": { - "id": 122295, - "name": "IBattleSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122092, - "src": "395:13:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122298, - "nodeType": "ImportDirective", - "src": "439:46:184", - "nodes": [], - "absolutePath": "src/codegen/world/IBoxSystem.sol", - "file": "./IBoxSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122116, - "symbolAliases": [ - { - "foreign": { - "id": 122297, - "name": "IBoxSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122115, - "src": "448:10:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122300, - "nodeType": "ImportDirective", - "src": "486:48:184", - "nodes": [], - "absolutePath": "src/codegen/world/IGameSystem.sol", - "file": "./IGameSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122174, - "symbolAliases": [ - { - "foreign": { - "id": 122299, - "name": "IGameSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122173, - "src": "495:11:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122302, - "nodeType": "ImportDirective", - "src": "535:44:184", - "nodes": [], - "absolutePath": "src/codegen/world/IGMSystem.sol", - "file": "./IGMSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122167, - "symbolAliases": [ - { - "foreign": { - "id": 122301, - "name": "IGMSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122166, - "src": "544:9:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122304, - "nodeType": "ImportDirective", - "src": "580:48:184", - "nodes": [], - "absolutePath": "src/codegen/world/IInitSystem.sol", - "file": "./IInitSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122189, - "symbolAliases": [ - { - "foreign": { - "id": 122303, - "name": "IInitSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122188, - "src": "589:11:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122306, - "nodeType": "ImportDirective", - "src": "629:48:184", - "nodes": [], - "absolutePath": "src/codegen/world/IMoveSystem.sol", - "file": "./IMoveSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122205, - "symbolAliases": [ - { - "foreign": { - "id": 122305, - "name": "IMoveSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122204, - "src": "638:11:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122308, - "nodeType": "ImportDirective", - "src": "678:52:184", - "nodes": [], - "absolutePath": "src/codegen/world/IPlayerSystem.sol", - "file": "./IPlayerSystem.sol", - "nameLocation": "-1:-1:-1", - "scope": 122333, - "sourceUnit": 122285, - "symbolAliases": [ - { - "foreign": { - "id": 122307, - "name": "IPlayerSystem", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 122284, - "src": "687:13:184", - "typeDescriptions": {} - }, - "nameLocation": "-1:-1:-1" - } - ], - "unitAlias": "" - }, - { - "id": 122332, - "nodeType": "ContractDefinition", - "src": "968:210:184", - "nodes": [], - "abstract": false, - "baseContracts": [ - { - "baseName": { - "id": 122310, - "name": "IBaseWorld", - "nameLocations": [ - "990:10:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 73850, - "src": "990:10:184" - }, - "id": 122311, - "nodeType": "InheritanceSpecifier", - "src": "990:10:184" - }, - { - "baseName": { - "id": 122312, - "name": "IBattleForceSystem", - "nameLocations": [ - "1004:18:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122024, - "src": "1004:18:184" - }, - "id": 122313, - "nodeType": "InheritanceSpecifier", - "src": "1004:18:184" - }, - { - "baseName": { - "id": 122314, - "name": "IBattleInfoSystem", - "nameLocations": [ - "1026:17:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122037, - "src": "1026:17:184" - }, - "id": 122315, - "nodeType": "InheritanceSpecifier", - "src": "1026:17:184" - }, - { - "baseName": { - "id": 122316, - "name": "IBattlePrepareSystem", - "nameLocations": [ - "1047:20:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122072, - "src": "1047:20:184" - }, - "id": 122317, - "nodeType": "InheritanceSpecifier", - "src": "1047:20:184" - }, - { - "baseName": { - "id": 122318, - "name": "IBattleSystem", - "nameLocations": [ - "1071:13:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122092, - "src": "1071:13:184" - }, - "id": 122319, - "nodeType": "InheritanceSpecifier", - "src": "1071:13:184" - }, - { - "baseName": { - "id": 122320, - "name": "IBoxSystem", - "nameLocations": [ - "1088:10:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122115, - "src": "1088:10:184" - }, - "id": 122321, - "nodeType": "InheritanceSpecifier", - "src": "1088:10:184" - }, - { - "baseName": { - "id": 122322, - "name": "IGameSystem", - "nameLocations": [ - "1102:11:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122173, - "src": "1102:11:184" - }, - "id": 122323, - "nodeType": "InheritanceSpecifier", - "src": "1102:11:184" - }, - { - "baseName": { - "id": 122324, - "name": "IGMSystem", - "nameLocations": [ - "1117:9:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122166, - "src": "1117:9:184" - }, - "id": 122325, - "nodeType": "InheritanceSpecifier", - "src": "1117:9:184" - }, - { - "baseName": { - "id": 122326, - "name": "IInitSystem", - "nameLocations": [ - "1130:11:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122188, - "src": "1130:11:184" - }, - "id": 122327, - "nodeType": "InheritanceSpecifier", - "src": "1130:11:184" - }, - { - "baseName": { - "id": 122328, - "name": "IMoveSystem", - "nameLocations": [ - "1145:11:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122204, - "src": "1145:11:184" - }, - "id": 122329, - "nodeType": "InheritanceSpecifier", - "src": "1145:11:184" - }, - { - "baseName": { - "id": 122330, - "name": "IPlayerSystem", - "nameLocations": [ - "1160:13:184" - ], - "nodeType": "IdentifierPath", - "referencedDeclaration": 122284, - "src": "1160:13:184" - }, - "id": 122331, - "nodeType": "InheritanceSpecifier", - "src": "1160:13:184" - } - ], - "canonicalName": "IWorld", - "contractDependencies": [], - "contractKind": "interface", - "documentation": { - "id": 122309, - "nodeType": "StructuredDocumentation", - "src": "732:235:184", - "text": " @title IWorld\n @notice This interface integrates all systems and associated function selectors\n that are dynamically registered in the World during deployment.\n @dev This is an autogenerated file; do not edit manually." - }, - "fullyImplemented": false, - "linearizedBaseContracts": [ - 122332, - 122284, - 122204, - 122188, - 122166, - 122173, - 122115, - 122092, - 122072, - 122037, - 122024, - 73850, - 136090, - 136000, - 135982, - 135955, - 135928, - 135986, - 135898, - 173304, - 135866, - 135840, - 65844, - 126572, - 126625, - 126506, - 168725, - 173600, - 168573 - ], - "name": "IWorld", - "nameLocation": "978:6:184", - "scope": 122333, - "usedErrors": [ - 126517, - 126524, - 126533, - 126539, - 126545, - 126551, - 126557, - 126563, - 126571, - 173218, - 173226, - 173234, - 173241, - 173249, - 173254, - 173259, - 173264, - 173271, - 173274, - 173281, - 173288, - 173298, - 173303 - ], - "usedEvents": [ - 126499, - 135878, - 173559, - 173572, - 173590, - 173599 - ] - } - ], - "license": "MIT" - }, - "id": 184 -} \ No newline at end of file +{"abi":[{"type":"function","name":"CreateBox","inputs":[{"name":"_x","type":"uint16","internalType":"uint16"},{"name":"_y","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"GetSeasonInfo","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"Init","inputs":[{"name":"_userContract","type":"address","internalType":"address"},{"name":"_lootContract","type":"address","internalType":"address"},{"name":"_pluginContract","type":"address","internalType":"address"},{"name":"_merkleRoot","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"SetMapMerkleRoot","inputs":[{"name":"_root","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"SetSeasonInfo","inputs":[{"name":"_start","type":"uint256","internalType":"uint256"},{"name":"_end","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"SetUserContract","inputs":[{"name":"_user","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchCall","inputs":[{"name":"systemCalls","type":"tuple[]","internalType":"struct SystemCallData[]","components":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"callData","type":"bytes","internalType":"bytes"}]}],"outputs":[{"name":"returnDatas","type":"bytes[]","internalType":"bytes[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"batchCallFrom","inputs":[{"name":"systemCalls","type":"tuple[]","internalType":"struct SystemCallFromData[]","components":[{"name":"from","type":"address","internalType":"address"},{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"callData","type":"bytes","internalType":"bytes"}]}],"outputs":[{"name":"returnDatas","type":"bytes[]","internalType":"bytes[]"}],"stateMutability":"nonpayable"},{"type":"function","name":"battleInvitation","inputs":[{"name":"_targetAddress","type":"address","internalType":"address"},{"name":"positionList","type":"tuple[]","internalType":"struct Position[]","components":[{"name":"x","type":"uint16","internalType":"uint16"},{"name":"y","type":"uint16","internalType":"uint16"},{"name":"proof","type":"bytes32[]","internalType":"bytes32[]"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"call","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"callData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"payable"},{"type":"function","name":"callFrom","inputs":[{"name":"delegator","type":"address","internalType":"address"},{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"callData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"payable"},{"type":"function","name":"confirmBattle","inputs":[{"name":"_buffHash","type":"bytes32","internalType":"bytes32"},{"name":"_battleId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"creator","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"deleteRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"forceEnd","inputs":[{"name":"_battleId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getBattlePlayerHp","inputs":[{"name":"_battleId","type":"uint256","internalType":"uint256"},{"name":"addr","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getCollections","inputs":[{"name":"_boxId","type":"uint256","internalType":"uint256"},{"name":"_oreAmount","type":"uint16","internalType":"uint16"},{"name":"_treasureAmount","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getDynamicField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getDynamicFieldLength","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getDynamicFieldSlice","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"start","type":"uint256","internalType":"uint256"},{"name":"end","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getFieldLayout","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"stateMutability":"view"},{"type":"function","name":"getFieldLength","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getFieldLength","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getInfo","inputs":[{"name":"addr","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"getKeySchema","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"keySchema","type":"bytes32","internalType":"Schema"}],"stateMutability":"view"},{"type":"function","name":"getPosition","inputs":[{"name":"addr","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint16","internalType":"uint16"},{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"type":"function","name":"getRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"staticData","type":"bytes","internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","internalType":"PackedCounter"},{"name":"dynamicData","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"}],"outputs":[{"name":"staticData","type":"bytes","internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","internalType":"PackedCounter"},{"name":"dynamicData","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"type":"function","name":"getSenderPosition","inputs":[],"outputs":[{"name":"","type":"uint16","internalType":"uint16"},{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"type":"function","name":"getStaticField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"getUserInfo","inputs":[{"name":"tokenId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"getValueSchema","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"valueSchema","type":"bytes32","internalType":"Schema"}],"stateMutability":"view"},{"type":"function","name":"goHome","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"grantAccess","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"grantee","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"initPlayerHp","inputs":[{"name":"_player","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"type":"function","name":"initUserInfo","inputs":[{"name":"_player","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"initialize","inputs":[{"name":"coreModule","type":"address","internalType":"contract IModule"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"installModule","inputs":[{"name":"module","type":"address","internalType":"contract IModule"},{"name":"args","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"installRootModule","inputs":[{"name":"module","type":"address","internalType":"contract IModule"},{"name":"args","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"joinBattlefield","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"move","inputs":[{"name":"moveList","type":"tuple[]","internalType":"struct Position[]","components":[{"name":"x","type":"uint16","internalType":"uint16"},{"name":"y","type":"uint16","internalType":"uint16"},{"name":"proof","type":"bytes32[]","internalType":"bytes32[]"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"multCreateBox","inputs":[{"name":"cList","type":"tuple[]","internalType":"struct Coordinate[]","components":[{"name":"x","type":"uint16","internalType":"uint16"},{"name":"y","type":"uint16","internalType":"uint16"}]}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"openBox","inputs":[{"name":"_boxId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"popFromDynamicField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"byteLengthToPop","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"pushToDynamicField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"dataToPush","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerDelegation","inputs":[{"name":"delegatee","type":"address","internalType":"address"},{"name":"delegationControlId","type":"bytes32","internalType":"ResourceId"},{"name":"initCallData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerFunctionSelector","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"systemFunctionSignature","type":"string","internalType":"string"}],"outputs":[{"name":"worldFunctionSelector","type":"bytes4","internalType":"bytes4"}],"stateMutability":"nonpayable"},{"type":"function","name":"registerNamespace","inputs":[{"name":"namespaceId","type":"bytes32","internalType":"ResourceId"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerNamespaceDelegation","inputs":[{"name":"namespaceId","type":"bytes32","internalType":"ResourceId"},{"name":"delegationControlId","type":"bytes32","internalType":"ResourceId"},{"name":"initCallData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerRootFunctionSelector","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"worldFunctionSignature","type":"string","internalType":"string"},{"name":"systemFunctionSelector","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"worldFunctionSelector","type":"bytes4","internalType":"bytes4"}],"stateMutability":"nonpayable"},{"type":"function","name":"registerStoreHook","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"hookAddress","type":"address","internalType":"contract IStoreHook"},{"name":"enabledHooksBitmap","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerSystem","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"system","type":"address","internalType":"contract WorldContextConsumer"},{"name":"publicAccess","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerSystemHook","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"hookAddress","type":"address","internalType":"contract ISystemHook"},{"name":"enabledHooksBitmap","type":"uint8","internalType":"uint8"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"registerTable","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"},{"name":"keySchema","type":"bytes32","internalType":"Schema"},{"name":"valueSchema","type":"bytes32","internalType":"Schema"},{"name":"keyNames","type":"string[]","internalType":"string[]"},{"name":"fieldNames","type":"string[]","internalType":"string[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revealBattle","inputs":[{"name":"_battleId","type":"uint256","internalType":"uint256"},{"name":"_action","type":"bytes32","internalType":"bytes32"},{"name":"_arg","type":"uint256","internalType":"uint256"},{"name":"_nonce","type":"bytes32","internalType":"bytes32"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revealBox","inputs":[{"name":"_boxId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revealWinner","inputs":[{"name":"_battleId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"revokeAccess","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"grantee","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"selectBothNFT","inputs":[{"name":"_userTokenId","type":"uint256","internalType":"uint256"},{"name":"_lootTokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"selectLootNFT","inputs":[{"name":"_tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"selectUserNft","inputs":[{"name":"_tokenId","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setDynamicField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setGmaeOpen","inputs":[{"name":"_b","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setInfo","inputs":[{"name":"name","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setRecord","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"staticData","type":"bytes","internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","internalType":"PackedCounter"},{"name":"dynamicData","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setStaticField","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"fieldIndex","type":"uint8","internalType":"uint8"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"fieldLayout","type":"bytes32","internalType":"FieldLayout"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"spliceDynamicData","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"dynamicFieldIndex","type":"uint8","internalType":"uint8"},{"name":"startWithinField","type":"uint40","internalType":"uint40"},{"name":"deleteCount","type":"uint40","internalType":"uint40"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"spliceStaticData","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","internalType":"bytes32[]"},{"name":"start","type":"uint48","internalType":"uint48"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"storeVersion","inputs":[],"outputs":[{"name":"version","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"submitGem","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transfer","inputs":[{"name":"addr","type":"address","internalType":"address"},{"name":"x","type":"uint16","internalType":"uint16"},{"name":"y","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferBalanceToAddress","inputs":[{"name":"fromNamespaceId","type":"bytes32","internalType":"ResourceId"},{"name":"toAddress","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferBalanceToNamespace","inputs":[{"name":"fromNamespaceId","type":"bytes32","internalType":"ResourceId"},{"name":"toNamespaceId","type":"bytes32","internalType":"ResourceId"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"namespaceId","type":"bytes32","internalType":"ResourceId"},{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"unlockUserLocation","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"unregisterStoreHook","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"hookAddress","type":"address","internalType":"contract IStoreHook"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"unregisterSystemHook","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"hookAddress","type":"address","internalType":"contract ISystemHook"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"worldVersion","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"event","name":"HelloStore","inputs":[{"name":"storeVersion","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"HelloWorld","inputs":[{"name":"worldVersion","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"type":"event","name":"Store_DeleteRecord","inputs":[{"name":"tableId","type":"bytes32","indexed":true,"internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","indexed":false,"internalType":"bytes32[]"}],"anonymous":false},{"type":"event","name":"Store_SetRecord","inputs":[{"name":"tableId","type":"bytes32","indexed":true,"internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","indexed":false,"internalType":"bytes32[]"},{"name":"staticData","type":"bytes","indexed":false,"internalType":"bytes"},{"name":"encodedLengths","type":"bytes32","indexed":false,"internalType":"PackedCounter"},{"name":"dynamicData","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"Store_SpliceDynamicData","inputs":[{"name":"tableId","type":"bytes32","indexed":true,"internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","indexed":false,"internalType":"bytes32[]"},{"name":"start","type":"uint48","indexed":false,"internalType":"uint48"},{"name":"deleteCount","type":"uint40","indexed":false,"internalType":"uint40"},{"name":"encodedLengths","type":"bytes32","indexed":false,"internalType":"PackedCounter"},{"name":"data","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"event","name":"Store_SpliceStaticData","inputs":[{"name":"tableId","type":"bytes32","indexed":true,"internalType":"ResourceId"},{"name":"keyTuple","type":"bytes32[]","indexed":false,"internalType":"bytes32[]"},{"name":"start","type":"uint48","indexed":false,"internalType":"uint48"},{"name":"data","type":"bytes","indexed":false,"internalType":"bytes"}],"anonymous":false},{"type":"error","name":"Store_IndexOutOfBounds","inputs":[{"name":"length","type":"uint256","internalType":"uint256"},{"name":"accessedIndex","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"Store_InvalidDynamicDataLength","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"Store_InvalidFieldNamesLength","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"Store_InvalidKeyNamesLength","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"Store_InvalidResourceType","inputs":[{"name":"expected","type":"bytes2","internalType":"bytes2"},{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"Store_InvalidSplice","inputs":[{"name":"startWithinField","type":"uint40","internalType":"uint40"},{"name":"deleteCount","type":"uint40","internalType":"uint40"},{"name":"fieldLength","type":"uint40","internalType":"uint40"}]},{"type":"error","name":"Store_InvalidValueSchemaLength","inputs":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"Store_TableAlreadyExists","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"tableIdString","type":"string","internalType":"string"}]},{"type":"error","name":"Store_TableNotFound","inputs":[{"name":"tableId","type":"bytes32","internalType":"ResourceId"},{"name":"tableIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_AccessDenied","inputs":[{"name":"resource","type":"string","internalType":"string"},{"name":"caller","type":"address","internalType":"address"}]},{"type":"error","name":"World_AlreadyInitialized","inputs":[]},{"type":"error","name":"World_CallbackNotAllowed","inputs":[{"name":"functionSelector","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_DelegationNotFound","inputs":[{"name":"delegator","type":"address","internalType":"address"},{"name":"delegatee","type":"address","internalType":"address"}]},{"type":"error","name":"World_FunctionSelectorAlreadyExists","inputs":[{"name":"functionSelector","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_FunctionSelectorNotFound","inputs":[{"name":"functionSelector","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_InsufficientBalance","inputs":[{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}]},{"type":"error","name":"World_InterfaceNotSupported","inputs":[{"name":"contractAddress","type":"address","internalType":"address"},{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}]},{"type":"error","name":"World_InvalidResourceId","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_InvalidResourceType","inputs":[{"name":"expected","type":"bytes2","internalType":"bytes2"},{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_ResourceAlreadyExists","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_ResourceNotFound","inputs":[{"name":"resourceId","type":"bytes32","internalType":"ResourceId"},{"name":"resourceIdString","type":"string","internalType":"string"}]},{"type":"error","name":"World_SystemAlreadyExists","inputs":[{"name":"system","type":"address","internalType":"address"}]},{"type":"error","name":"World_UnlimitedDelegationNotAllowed","inputs":[]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"CreateBox(uint16,uint16)":"ac34af91","GetSeasonInfo()":"2a9d93e6","Init(address,address,address,bytes32)":"3534c345","SetMapMerkleRoot(bytes32)":"13d4a1c7","SetSeasonInfo(uint256,uint256)":"2b934ac4","SetUserContract(address)":"0252b86c","batchCall((bytes32,bytes)[])":"ce5e8dd9","batchCallFrom((address,bytes32,bytes)[])":"8fc8cf7e","battleInvitation(address,(uint16,uint16,bytes32[])[])":"68747c41","call(bytes32,bytes)":"3ae7af08","callFrom(address,bytes32,bytes)":"894ecc58","confirmBattle(bytes32,uint256)":"62ca2162","creator()":"02d05d3f","deleteRecord(bytes32,bytes32[])":"505a181d","forceEnd(uint256)":"f152b5bd","getBattlePlayerHp(uint256,address)":"b506b103","getCollections(uint256,uint16,uint16)":"f0d744ed","getDynamicField(bytes32,bytes32[],uint8)":"1e788977","getDynamicFieldLength(bytes32,bytes32[],uint8)":"dbbf0e21","getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)":"4dc77d97","getField(bytes32,bytes32[],uint8)":"d03edb8c","getField(bytes32,bytes32[],uint8,bytes32)":"05242d2f","getFieldLayout(bytes32)":"3a77c2c2","getFieldLength(bytes32,bytes32[],uint8)":"a53417ed","getFieldLength(bytes32,bytes32[],uint8,bytes32)":"9f1fcf0a","getInfo(address)":"ffdd5cf1","getKeySchema(bytes32)":"d4285dc2","getPosition(address)":"16c19739","getRecord(bytes32,bytes32[])":"cc49db7e","getRecord(bytes32,bytes32[],bytes32)":"419b58fd","getSenderPosition()":"5af5cf8d","getStaticField(bytes32,bytes32[],uint8,bytes32)":"8c364d59","getUserInfo(uint256)":"d379dadf","getValueSchema(bytes32)":"e228a4a3","goHome()":"9055c111","grantAccess(bytes32,address)":"40554c3a","initPlayerHp(address)":"864924d6","initUserInfo(address)":"544d817d","initialize(address)":"c4d66de8","installModule(address,bytes)":"8da798da","installRootModule(address,bytes)":"af068c9e","joinBattlefield()":"9ebfc58a","move((uint16,uint16,bytes32[])[])":"6f330272","multCreateBox((uint16,uint16)[])":"36752085","openBox(uint256)":"b1e5e2b7","popFromDynamicField(bytes32,bytes32[],uint8,uint256)":"d9c03a04","pushToDynamicField(bytes32,bytes32[],uint8,bytes)":"150f3262","registerDelegation(address,bytes32,bytes)":"1d2257ba","registerFunctionSelector(bytes32,string)":"26d98102","registerNamespace(bytes32)":"b29e4089","registerNamespaceDelegation(bytes32,bytes32,bytes)":"bfdfaff7","registerRootFunctionSelector(bytes32,string,bytes4)":"742d6118","registerStoreHook(bytes32,address,uint8)":"530f4b60","registerSystem(bytes32,address,bool)":"3350b6a9","registerSystemHook(bytes32,address,uint8)":"d5f8337f","registerTable(bytes32,bytes32,bytes32,bytes32,string[],string[])":"0ba51f49","revealBattle(uint256,bytes32,uint256,bytes32)":"fdec9328","revealBox(uint256)":"6981e607","revealWinner(uint256)":"8ccb59e8","revokeAccess(bytes32,address)":"8d53b208","selectBothNFT(uint256,uint256)":"e9be9111","selectLootNFT(uint256)":"f5778754","selectUserNft(uint256)":"3ee77c01","setDynamicField(bytes32,bytes32[],uint8,bytes)":"ef6ea862","setField(bytes32,bytes32[],uint8,bytes)":"114a7266","setField(bytes32,bytes32[],uint8,bytes,bytes32)":"3708196e","setGmaeOpen(bool)":"2ac8f957","setInfo(string)":"937f6e77","setRecord(bytes32,bytes32[],bytes,bytes32,bytes)":"298314fb","setStaticField(bytes32,bytes32[],uint8,bytes,bytes32)":"390baae0","spliceDynamicData(bytes32,bytes32[],uint8,uint40,uint40,bytes)":"c0a2895a","spliceStaticData(bytes32,bytes32[],uint48,bytes)":"b047c1eb","storeVersion()":"c1122229","submitGem()":"f2f2e507","transfer(address,uint16,uint16)":"672296dc","transferBalanceToAddress(bytes32,address,uint256)":"45afd199","transferBalanceToNamespace(bytes32,bytes32,uint256)":"c9c85a60","transferOwnership(bytes32,address)":"ef5d6bbb","unlockUserLocation()":"7ad5cf14","unregisterStoreHook(bytes32,address)":"05609129","unregisterSystemHook(bytes32,address)":"a92813ad","worldVersion()":"6951955d"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accessedIndex\",\"type\":\"uint256\"}],\"name\":\"Store_IndexOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidDynamicDataLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidFieldNamesLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidKeyNamesLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"Store_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint40\",\"name\":\"startWithinField\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"fieldLength\",\"type\":\"uint40\"}],\"name\":\"Store_InvalidSplice\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"Store_InvalidValueSchemaLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"tableIdString\",\"type\":\"string\"}],\"name\":\"Store_TableAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"tableIdString\",\"type\":\"string\"}],\"name\":\"Store_TableNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"resource\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"World_AccessDenied\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_CallbackNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"World_DelegationNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"functionSelector\",\"type\":\"bytes4\"}],\"name\":\"World_FunctionSelectorNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"World_InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"World_InterfaceNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes2\",\"name\":\"expected\",\"type\":\"bytes2\"},{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_InvalidResourceType\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"resourceIdString\",\"type\":\"string\"}],\"name\":\"World_ResourceNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"system\",\"type\":\"address\"}],\"name\":\"World_SystemAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"World_UnlimitedDelegationNotAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"storeVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloStore\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"worldVersion\",\"type\":\"bytes32\"}],\"name\":\"HelloWorld\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"}],\"name\":\"Store_DeleteRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"name\":\"Store_SetRecord\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"indexed\":false,\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Store_SpliceDynamicData\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"Store_SpliceStaticData\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_y\",\"type\":\"uint16\"}],\"name\":\"CreateBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GetSeasonInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_lootContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_pluginContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_merkleRoot\",\"type\":\"bytes32\"}],\"name\":\"Init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_root\",\"type\":\"bytes32\"}],\"name\":\"SetMapMerkleRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_end\",\"type\":\"uint256\"}],\"name\":\"SetSeasonInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"SetUserContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"internalType\":\"struct SystemCallFromData[]\",\"name\":\"systemCalls\",\"type\":\"tuple[]\"}],\"name\":\"batchCallFrom\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"returnDatas\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_targetAddress\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"struct Position[]\",\"name\":\"positionList\",\"type\":\"tuple[]\"}],\"name\":\"battleInvitation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"call\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"callFrom\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_buffHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"}],\"name\":\"confirmBattle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"creator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"}],\"name\":\"deleteRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"}],\"name\":\"forceEnd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getBattlePlayerHp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_boxId\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_oreAmount\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_treasureAmount\",\"type\":\"uint16\"}],\"name\":\"getCollections\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"}],\"name\":\"getDynamicField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"}],\"name\":\"getDynamicFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"end\",\"type\":\"uint256\"}],\"name\":\"getDynamicFieldSlice\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"}],\"name\":\"getField\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getFieldLayout\",\"outputs\":[{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"}],\"name\":\"getFieldLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getInfo\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getKeySchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"getPosition\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"}],\"name\":\"getRecord\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSenderPosition\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"getStaticField\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getUserInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"}],\"name\":\"getValueSchema\",\"outputs\":[{\"internalType\":\"Schema\",\"name\":\"valueSchema\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"goHome\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_player\",\"type\":\"address\"}],\"name\":\"initPlayerHp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_player\",\"type\":\"address\"}],\"name\":\"initUserInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"coreModule\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IModule\",\"name\":\"module\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"args\",\"type\":\"bytes\"}],\"name\":\"installRootModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"joinBattlefield\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"struct Position[]\",\"name\":\"moveList\",\"type\":\"tuple[]\"}],\"name\":\"move\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"}],\"internalType\":\"struct Coordinate[]\",\"name\":\"cList\",\"type\":\"tuple[]\"}],\"name\":\"multCreateBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_boxId\",\"type\":\"uint256\"}],\"name\":\"openBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"byteLengthToPop\",\"type\":\"uint256\"}],\"name\":\"popFromDynamicField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"dataToPush\",\"type\":\"bytes\"}],\"name\":\"pushToDynamicField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"delegationControlId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"initCallData\",\"type\":\"bytes\"}],\"name\":\"registerDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"systemFunctionSignature\",\"type\":\"string\"}],\"name\":\"registerFunctionSelector\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"worldFunctionSelector\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"}],\"name\":\"registerNamespace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"ResourceId\",\"name\":\"delegationControlId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"initCallData\",\"type\":\"bytes\"}],\"name\":\"registerNamespaceDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"worldFunctionSignature\",\"type\":\"string\"},{\"internalType\":\"bytes4\",\"name\":\"systemFunctionSelector\",\"type\":\"bytes4\"}],\"name\":\"registerRootFunctionSelector\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"worldFunctionSelector\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hookAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"enabledHooksBitmap\",\"type\":\"uint8\"}],\"name\":\"registerStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"contract WorldContextConsumer\",\"name\":\"system\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"publicAccess\",\"type\":\"bool\"}],\"name\":\"registerSystem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"contract ISystemHook\",\"name\":\"hookAddress\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"enabledHooksBitmap\",\"type\":\"uint8\"}],\"name\":\"registerSystemHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"keySchema\",\"type\":\"bytes32\"},{\"internalType\":\"Schema\",\"name\":\"valueSchema\",\"type\":\"bytes32\"},{\"internalType\":\"string[]\",\"name\":\"keyNames\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"fieldNames\",\"type\":\"string[]\"}],\"name\":\"registerTable\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_action\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_arg\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_nonce\",\"type\":\"bytes32\"}],\"name\":\"revealBattle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_boxId\",\"type\":\"uint256\"}],\"name\":\"revealBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_battleId\",\"type\":\"uint256\"}],\"name\":\"revealWinner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"resourceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"grantee\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_userTokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lootTokenId\",\"type\":\"uint256\"}],\"name\":\"selectBothNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"selectLootNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"selectUserNft\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setDynamicField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"setField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"setField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_b\",\"type\":\"bool\"}],\"name\":\"setGmaeOpen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"staticData\",\"type\":\"bytes\"},{\"internalType\":\"PackedCounter\",\"name\":\"encodedLengths\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"dynamicData\",\"type\":\"bytes\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"fieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"FieldLayout\",\"name\":\"fieldLayout\",\"type\":\"bytes32\"}],\"name\":\"setStaticField\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8\",\"name\":\"dynamicFieldIndex\",\"type\":\"uint8\"},{\"internalType\":\"uint40\",\"name\":\"startWithinField\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"deleteCount\",\"type\":\"uint40\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"spliceDynamicData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"keyTuple\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint48\",\"name\":\"start\",\"type\":\"uint48\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"spliceStaticData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"storeVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"version\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submitGem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"x\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"y\",\"type\":\"uint16\"}],\"name\":\"transfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"fromNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"ResourceId\",\"name\":\"toNamespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferBalanceToNamespace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"namespaceId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockUserLocation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"tableId\",\"type\":\"bytes32\"},{\"internalType\":\"contract IStoreHook\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"name\":\"unregisterStoreHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"contract ISystemHook\",\"name\":\"hookAddress\",\"type\":\"address\"}],\"name\":\"unregisterSystemHook\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"worldVersion\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"This is an autogenerated file; do not edit manually.\",\"errors\":{\"World_AccessDenied(string,address)\":[{\"params\":{\"caller\":\"The address of the user trying to access the resource.\",\"resource\":\"The resource's identifier.\"}}],\"World_CallbackNotAllowed(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector of the disallowed callback.\"}}],\"World_DelegationNotFound(address,address)\":[{\"params\":{\"delegatee\":\"The address of the delegatee.\",\"delegator\":\"The address of the delegator.\"}}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"params\":{\"functionSelector\":\"The function selector in question.\"}}],\"World_InsufficientBalance(uint256,uint256)\":[{\"params\":{\"amount\":\"The amount needed.\",\"balance\":\"The current balance.\"}}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"params\":{\"contractAddress\":\"The address of the contract in question.\",\"interfaceId\":\"The ID of the interface.\"}}],\"World_InvalidResourceId(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"params\":{\"expected\":\"The expected resource type.\",\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_ResourceNotFound(bytes32,string)\":[{\"params\":{\"resourceId\":\"The ID of the resource.\",\"resourceIdString\":\"The string representation of the resource ID.\"}}],\"World_SystemAlreadyExists(address)\":[{\"params\":{\"system\":\"The address of the system.\"}}]},\"events\":{\"HelloStore(bytes32)\":{\"params\":{\"storeVersion\":\"The version of the Store contract.\"}},\"HelloWorld(bytes32)\":{\"details\":\"Emitted upon successful World initialization.\",\"params\":{\"worldVersion\":\"The version of the World being initialized.\"}},\"Store_DeleteRecord(bytes32,bytes32[])\":{\"params\":{\"keyTuple\":\"An array representing the composite key for the record.\",\"tableId\":\"The ID of the table where the record is deleted.\"}},\"Store_SetRecord(bytes32,bytes32[],bytes,bytes32,bytes)\":{\"params\":{\"dynamicData\":\"The dynamic data of the record.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"staticData\":\"The static data of the record.\",\"tableId\":\"The ID of the table where the record is set.\"}},\"Store_SpliceDynamicData(bytes32,bytes32[],uint48,uint40,bytes32,bytes)\":{\"params\":{\"data\":\"The data to insert into the dynamic data of the record at the start byte.\",\"deleteCount\":\"The number of bytes to delete in the splice operation.\",\"encodedLengths\":\"The encoded lengths of the dynamic data of the record.\",\"keyTuple\":\"An array representing the composite key for the record.\",\"start\":\"The start position in bytes for the splice operation.\",\"tableId\":\"The ID of the table where the data is spliced.\"}},\"Store_SpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"details\":\"In static data, data is always overwritten starting at the start position, so the total length of the data remains the same and no data is shifted.\",\"params\":{\"data\":\"The data to write to the static data of the record at the start byte.\",\"keyTuple\":\"An array representing the key for the record.\",\"start\":\"The start position in bytes for the splice operation.\",\"tableId\":\"The ID of the table where the data is spliced.\"}}},\"kind\":\"dev\",\"methods\":{\"call(bytes32,bytes)\":{\"details\":\"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"callFrom(address,bytes32,bytes)\":{\"details\":\"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).\",\"params\":{\"callData\":\"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.\",\"delegator\":\"The address on whose behalf the call is made.\",\"systemId\":\"The ID of the system to be called.\"},\"returns\":{\"_0\":\"The abi encoded return data from the called system.\"}},\"creator()\":{\"returns\":{\"_0\":\"The address of the World's creator.\"}},\"initialize(address)\":{\"details\":\"Can only be called once by the creator.\",\"params\":{\"coreModule\":\"The CoreModule to be installed during initialization.\"}},\"installRootModule(address,bytes)\":{\"details\":\"Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.\",\"params\":{\"args\":\"The arguments provided for the module installation.\",\"module\":\"The module to be installed.\"}},\"storeVersion()\":{\"returns\":{\"version\":\"The version of the Store contract.\"}},\"worldVersion()\":{\"returns\":{\"_0\":\"The version identifier of the World.\"}}},\"title\":\"IWorld\",\"version\":1},\"userdoc\":{\"errors\":{\"World_AccessDenied(string,address)\":[{\"notice\":\"Raised when a user tries to access a resource they don't have permission for.\"}],\"World_AlreadyInitialized()\":[{\"notice\":\"Raised when trying to initialize an already initialized World.\"}],\"World_CallbackNotAllowed(bytes4)\":[{\"notice\":\"Raised when the World is calling itself via an external call.\"}],\"World_DelegationNotFound(address,address)\":[{\"notice\":\"Raised when the specified delegation is not found.\"}],\"World_FunctionSelectorAlreadyExists(bytes4)\":[{\"notice\":\"Raised when trying to register a function selector that already exists.\"}],\"World_FunctionSelectorNotFound(bytes4)\":[{\"notice\":\"Raised when the specified function selector is not found.\"}],\"World_InsufficientBalance(uint256,uint256)\":[{\"notice\":\"Raised when there's an insufficient balance for a particular operation.\"}],\"World_InterfaceNotSupported(address,bytes4)\":[{\"notice\":\"Raised when the specified interface is not supported by the contract.\"}],\"World_InvalidResourceId(bytes32,string)\":[{\"notice\":\"Raised when an invalid resource ID is provided.\"}],\"World_InvalidResourceType(bytes2,bytes32,string)\":[{\"notice\":\"Raised when an invalid resource type is provided.\"}],\"World_ResourceAlreadyExists(bytes32,string)\":[{\"notice\":\"Raised when trying to register a resource that already exists.\"}],\"World_ResourceNotFound(bytes32,string)\":[{\"notice\":\"Raised when the specified resource is not found.\"}],\"World_SystemAlreadyExists(address)\":[{\"notice\":\"Raised when trying to register a system that already exists.\"}],\"World_UnlimitedDelegationNotAllowed()\":[{\"notice\":\"Raised when trying to create an unlimited delegation in a context where it is not allowed, e.g. when registering a namespace fallback delegation.\"}]},\"events\":{\"HelloStore(bytes32)\":{\"notice\":\"Emitted when the store is initialized.\"},\"Store_DeleteRecord(bytes32,bytes32[])\":{\"notice\":\"Emitted when a record is deleted from the store.\"},\"Store_SetRecord(bytes32,bytes32[],bytes,bytes32,bytes)\":{\"notice\":\"Emitted when a new record is set in the store.\"},\"Store_SpliceDynamicData(bytes32,bytes32[],uint48,uint40,bytes32,bytes)\":{\"notice\":\"Emitted when dynamic data in the store is spliced.\"},\"Store_SpliceStaticData(bytes32,bytes32[],uint48,bytes)\":{\"notice\":\"Emitted when static data in the store is spliced.\"}},\"kind\":\"user\",\"methods\":{\"call(bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID.\"},\"callFrom(address,bytes32,bytes)\":{\"notice\":\"Call the system at the given system ID on behalf of the given delegator.\"},\"creator()\":{\"notice\":\"Retrieve the immutable original deployer of the World.\"},\"getDynamicField(bytes32,bytes32[],uint8)\":{\"notice\":\"Get a single dynamic field from the given tableId and key tuple at the given dynamic field index. (Dynamic field index = field index - number of static fields)\"},\"getDynamicFieldLength(bytes32,bytes32[],uint8)\":{\"notice\":\"Get the byte length of a single dynamic field from the given tableId and key tuple\"},\"getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)\":{\"notice\":\"Get a byte slice (including start, excluding end) of a single dynamic field from the given tableId and key tuple, with the given value field layout. The slice is unchecked and will return invalid data if `start`:`end` overflow.\"},\"getField(bytes32,bytes32[],uint8)\":{\"notice\":\"Get a single field from the given tableId and key tuple, loading the field layout from storage\"},\"getField(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get a single field from the given tableId and key tuple, with the given field layout\"},\"getFieldLength(bytes32,bytes32[],uint8)\":{\"notice\":\"Get the byte length of a single field from the given tableId and key tuple, loading the field layout from storage\"},\"getFieldLength(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get the byte length of a single field from the given tableId and key tuple, with the given value field layout\"},\"getRecord(bytes32,bytes32[])\":{\"notice\":\"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, loading the field layout from storage\"},\"getRecord(bytes32,bytes32[],bytes32)\":{\"notice\":\"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, with the given field layout\"},\"getStaticField(bytes32,bytes32[],uint8,bytes32)\":{\"notice\":\"Get a single static field from the given tableId and key tuple, with the given value field layout. Note: the field value is left-aligned in the returned bytes32, the rest of the word is not zeroed out. Consumers are expected to truncate the returned value as needed.\"},\"initialize(address)\":{\"notice\":\"Initializes the World.\"},\"installRootModule(address,bytes)\":{\"notice\":\"Install the given root module in the World.\"},\"storeVersion()\":{\"notice\":\"Returns the version of the Store contract.\"},\"worldVersion()\":{\"notice\":\"Retrieve the version of the World.\"}},\"notice\":\"This interface integrates all systems and associated function selectors that are dynamically registered in the World during deployment.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/codegen/world/IWorld.sol\":\"IWorld\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@codegen/=src/codegen/\",\":@latticexyz/=node_modules/@latticexyz/\",\":@library/=src/systems/library/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":@src/=src/\",\":@systems/=src/systems/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol\":{\"keccak256\":\"0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4\",\"dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC\"]},\"node_modules/@latticexyz/store/src/Bytes.sol\":{\"keccak256\":\"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4\",\"dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk\"]},\"node_modules/@latticexyz/store/src/FieldLayout.sol\":{\"keccak256\":\"0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba\",\"dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9\"]},\"node_modules/@latticexyz/store/src/Hook.sol\":{\"keccak256\":\"0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18\",\"dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe\"]},\"node_modules/@latticexyz/store/src/IERC165.sol\":{\"keccak256\":\"0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2\",\"dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb\"]},\"node_modules/@latticexyz/store/src/IStore.sol\":{\"keccak256\":\"0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0\",\"dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb\"]},\"node_modules/@latticexyz/store/src/IStoreData.sol\":{\"keccak256\":\"0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a\",\"dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx\"]},\"node_modules/@latticexyz/store/src/IStoreErrors.sol\":{\"keccak256\":\"0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc\",\"dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ\"]},\"node_modules/@latticexyz/store/src/IStoreEvents.sol\":{\"keccak256\":\"0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d\",\"dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv\"]},\"node_modules/@latticexyz/store/src/IStoreHook.sol\":{\"keccak256\":\"0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e\",\"dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy\"]},\"node_modules/@latticexyz/store/src/IStoreRead.sol\":{\"keccak256\":\"0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac\",\"dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo\"]},\"node_modules/@latticexyz/store/src/IStoreRegistration.sol\":{\"keccak256\":\"0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115\",\"dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg\"]},\"node_modules/@latticexyz/store/src/IStoreWrite.sol\":{\"keccak256\":\"0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1\",\"dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U\"]},\"node_modules/@latticexyz/store/src/Memory.sol\":{\"keccak256\":\"0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5\",\"dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv\"]},\"node_modules/@latticexyz/store/src/PackedCounter.sol\":{\"keccak256\":\"0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0\",\"dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH\"]},\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d\",\"dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d\"]},\"node_modules/@latticexyz/store/src/Schema.sol\":{\"keccak256\":\"0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3\",\"dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE\"]},\"node_modules/@latticexyz/store/src/Slice.sol\":{\"keccak256\":\"0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c\",\"dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT\"]},\"node_modules/@latticexyz/store/src/Storage.sol\":{\"keccak256\":\"0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648\",\"dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ\"]},\"node_modules/@latticexyz/store/src/StoreCore.sol\":{\"keccak256\":\"0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534\",\"dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj\"]},\"node_modules/@latticexyz/store/src/StoreSwitch.sol\":{\"keccak256\":\"0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7\",\"dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR\"]},\"node_modules/@latticexyz/store/src/codegen/index.sol\":{\"keccak256\":\"0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6\",\"dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol\":{\"keccak256\":\"0xc5c6f807cff6b4dc486525c559ba3f7cbb034ac5895636ee64c9d01defa6a38e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://84d3a3b3fd3afa2ab3231fd7fe981889dfb0600deec34c5d4e9c07d3187af8a5\",\"dweb:/ipfs/Qmanj7WjETqBYQXkxKLjqWs4vMp3en3N69B5MacKme5fpD\"]},\"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol\":{\"keccak256\":\"0xf7a9bf3e37b486377005c556cdf5b813ea1a41278b3a0349f81e3c82a2f1c789\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://92cc87add89abcb126bf3cd0b284f25065c2b9c90a49f8dba4629b28a5b87751\",\"dweb:/ipfs/QmNNBDSK5GNujERGiSUhorbmtpdD2UnGz7MqSSDasEGdub\"]},\"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol\":{\"keccak256\":\"0xa1186b8b6143b4a87cea1624785494398be1613cb7c6f9e57734e1cca1d5dd14\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://488c158082622689d035d7964c6ca063295e53078291c340eb6a23db08e8ff95\",\"dweb:/ipfs/QmWcjo3B5SH7jStXKAuf7qvF2ouz6syw9c7aT86PnTgRqW\"]},\"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol\":{\"keccak256\":\"0xd47e1921c07fc8608157b5dc343fcef7235e891ea6a21dec1fb118a0bd797fcb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01a6ad068e6991994a0939f22a55245e0c7c82fc5e274da0af616286a8acfc7a\",\"dweb:/ipfs/QmPokA3pSexzZY33MMV6BGx48ZwQegdUN5AijiAfycSDxy\"]},\"node_modules/@latticexyz/store/src/constants.sol\":{\"keccak256\":\"0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793\",\"dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC\"]},\"node_modules/@latticexyz/store/src/leftMask.sol\":{\"keccak256\":\"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401\",\"dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr\"]},\"node_modules/@latticexyz/store/src/storeHookTypes.sol\":{\"keccak256\":\"0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81\",\"dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX\"]},\"node_modules/@latticexyz/store/src/storeResourceTypes.sol\":{\"keccak256\":\"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84\",\"dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t\"]},\"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol\":{\"keccak256\":\"0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1\",\"dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq\"]},\"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol\":{\"keccak256\":\"0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49\",\"dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB\"]},\"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol\":{\"keccak256\":\"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256\",\"dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A\"]},\"node_modules/@latticexyz/store/src/version.sol\":{\"keccak256\":\"0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491\",\"dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk\"]},\"node_modules/@latticexyz/world/src/IERC165.sol\":{\"keccak256\":\"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5\",\"dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y\"]},\"node_modules/@latticexyz/world/src/IModule.sol\":{\"keccak256\":\"0x4535542ceb57e77096f24b943285bc158c48ef5291999f9c1e27f5682f8a9581\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec670524d19c50c659e385bc4dcb4757b065e1b5fe14160244537a7cd7a4b883\",\"dweb:/ipfs/QmT7NSWFSQ6MxYefe665srKMT2GTWomrPRZAHLjrFhQzV6\"]},\"node_modules/@latticexyz/world/src/ISystemHook.sol\":{\"keccak256\":\"0xb2114b6b66c0e7d8304d9e1d06aa1d0731f089daa6a0584e6cf744d9c48cf4db\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ebbb172970b106dd4ae5a6d5e417ac75cad7529d2b94c1601e10b886d0edf510\",\"dweb:/ipfs/QmPGn4F92hjkFch6Jh2NB37EYLLfstw6JxJKUZjXBFqGCw\"]},\"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol\":{\"keccak256\":\"0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d\",\"dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu\"]},\"node_modules/@latticexyz/world/src/IWorldErrors.sol\":{\"keccak256\":\"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83\",\"dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4\"]},\"node_modules/@latticexyz/world/src/IWorldKernel.sol\":{\"keccak256\":\"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c\",\"dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs\"]},\"node_modules/@latticexyz/world/src/WorldContext.sol\":{\"keccak256\":\"0xa11d93077d94f18683f1098b69c4713a48001ae15054476135ec9569041abb9a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9b1d3384def68b4061c445b55602dd9cbcd4e8c58c13db5e945f284a05c1b518\",\"dweb:/ipfs/Qma5DUZrSKZUxrxiGCpyRPWMJNdHU2wu6qDEsFWEJSnLfN\"]},\"node_modules/@latticexyz/world/src/WorldResourceId.sol\":{\"keccak256\":\"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb\",\"dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IAccessManagementSystem.sol\":{\"keccak256\":\"0xc912f14d0f2e2e9e728a9d18e250ebe3eb2f51d0b4d79993c9d997991bbd5593\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://29621425847a1c11205307896b04e2a6c97934dd619f23ce6774ce52520f1255\",\"dweb:/ipfs/QmeuTe3q8U11Dqkp5tahxVWnp9Cd5ezQmRZ5vhEHtv14Eu\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IBalanceTransferSystem.sol\":{\"keccak256\":\"0xf04594c29c5c5b3110453ac189a8008735753de864ab4a7dfa97ccd3ae5f4a55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4a3061f72b969a294dc96c3b2e59277e762ce6571cedcc7e280412431453dde5\",\"dweb:/ipfs/QmWB9aboakrCH9AmzGiZ1mCceh9atF4ks5ndEYFzUVbaHT\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol\":{\"keccak256\":\"0xf96aee478cc770cd9cd417b7939c38c9b9b075c91f3f47bdf8c6742f5591e9dc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9c59c4c9a6ab3d64e2b0d7c9f3df2d330a36fc93ac2ab5e5f907fa881fbed1f8\",\"dweb:/ipfs/QmTbd82cCtDwc8Ga1UsWAKXmFYrWU1zkbCCk1nMspqWdZu\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IBatchCallSystem.sol\":{\"keccak256\":\"0xb4d323470e22b1d3f0168a44196eb09466f602b7564c75e5739c5f53a5036f97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://acad752208d00b731baaa1cfa192ff3981001fd030953bdc604e4f69ec2cd0b8\",\"dweb:/ipfs/QmRFw3RgmX2CHqg7PqsP3rqVKxBVYNq5hHcFiyA2Y7iAaX\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/ICoreSystem.sol\":{\"keccak256\":\"0xf837b53eaa348da3b3650e0b7159de02d3f84897d96e487ece2f932c272dbe57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fbdc52e9e519c8c6d4a00caf4de08688eb8eb34dbfc6236308f281d7cf05b51b\",\"dweb:/ipfs/QmWnogXiA5KA6JGxCTJR5W1MNFowrH7baSAYhSXjV1xM47\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol\":{\"keccak256\":\"0x5be1d1ee90a7a03258e8c4fce7542453332c637a51b015e0cc29151ef2792263\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6d97356b2ca9d97b7593f4c0772742529fea73f1665e55a879a368b399cae0\",\"dweb:/ipfs/QmXCs5X4Z95isKRzjP4TQjQxwiB7773tHiJWLWkjLv3SLj\"]},\"node_modules/@latticexyz/world/src/codegen/interfaces/IWorldRegistrationSystem.sol\":{\"keccak256\":\"0xd7e31957e7fcf056912fe16e10a0411bdb071c14c45853e7da264dfbfd6bcb62\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c4ce02327ac8971177685fc2655733ed3c07f5dfb72846680544a48953180aad\",\"dweb:/ipfs/QmQMNtkeCXdZfyyvtY8vUrKh5RUbpM7HYMGrzbxZGzTEFh\"]},\"node_modules/@latticexyz/world/src/constants.sol\":{\"keccak256\":\"0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218\",\"dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc\"]},\"node_modules/@latticexyz/world/src/modules/core/types.sol\":{\"keccak256\":\"0x256b3269e1e7eb6c8b6e26432bbe6799b4d45a88ef1b0e795ea71e604cec3a8a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://99bf6320ce9671ed74e7352b4e6c462d741ca9a894c48b526e7d8513308fa6b3\",\"dweb:/ipfs/QmRFJcWFMDRkg7soJ4r4MrqacKmj16vUEMFEGWJuvFi4vJ\"]},\"node_modules/@latticexyz/world/src/revertWithBytes.sol\":{\"keccak256\":\"0x16795bdbfd7956d733df9ada1030ee7a1a714e3b9da5899149a7b07568c4af55\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a71128b4989e78215d5fc57dae8c2f84c6b5e503c159178c0df6f642b8228df\",\"dweb:/ipfs/QmNYTfBe62SdGESZ32fxME72CbAxEqk4j79jBT7655C4u7\"]},\"node_modules/@latticexyz/world/src/worldResourceTypes.sol\":{\"keccak256\":\"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2\",\"dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9\"]},\"src/codegen/world/IBattleForceSystem.sol\":{\"keccak256\":\"0xaaae8945eb1f119f49d0b32ce63d88ba7c8fc58bb629ef6fb21f392515f43154\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78b2d78787f1f7ab4fc15361435089df2995351548258eb58956635683245b5b\",\"dweb:/ipfs/QmUeiS3YBzDqMwXHVt3nnYwgTq8PBonq7wkVdk4YhSkQp1\"]},\"src/codegen/world/IBattleInfoSystem.sol\":{\"keccak256\":\"0xd9ebeacb62e690027661294264d0988b6f2da0693f3ccd56b79ba81cd37aca78\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ad0024a0984dc620ca4ddd835505a0db434b0b7074e425c17913400598c8b836\",\"dweb:/ipfs/QmZJ7VUaUhKDREpY2TznPkGfKPpzDANXggsu42h4nxY34u\"]},\"src/codegen/world/IBattlePrepareSystem.sol\":{\"keccak256\":\"0xe5777b832337d5c9635a3e860ca707cbdd76e99470467fb1b08ca9328bf287ec\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://20945a2620ae6fe6c428d0651b3c3f500930cdacc69f063899cc10b4f5bf5c27\",\"dweb:/ipfs/QmThWSCCbLzBQ11AncoTxnyiK65uhGnrkmoChmTroGQLju\"]},\"src/codegen/world/IBattleSystem.sol\":{\"keccak256\":\"0xe3e924f3ee52e0bd95f486016f0e83ffa0c9ffb522d73ad1866bfe7f1697ba07\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5cb090e11605c751d40732935a36c39aca2c6613081b2dcbf2e31334bea74b9a\",\"dweb:/ipfs/QmPYd21H69q7JsUc44347h9h4sHJ1tbDzksUhCy1esu3T5\"]},\"src/codegen/world/IBoxSystem.sol\":{\"keccak256\":\"0x049b9b6459f62245372656cdf636697bca5a81b90ffa4ce805890656694f7c83\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://376d318f966315df8e4125e84f6d4a69c3c3d2097b8c3c442d8e9ab67542979b\",\"dweb:/ipfs/QmbpHDQH9oZEYswneeJ9t7QsyBH9PVhnm6CCFbWB7dG5mX\"]},\"src/codegen/world/IGMSystem.sol\":{\"keccak256\":\"0x9ba859f42e254c1154c90a9867d3ff30b855e04352dc3b03b2b418f484414ce7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://abb47796ba4458b0bc8adba5e92d853e698a332978bdc169bc6af6bc1a2e0f47\",\"dweb:/ipfs/QmcMpe2LPrThaBgb8oM7Kj4XRdkRAPbwJyBbXU5SHkTnjW\"]},\"src/codegen/world/IGameSystem.sol\":{\"keccak256\":\"0x0c7ffa8de306bb1f725a0aa6aae6a599cd8c643222f79158c0d427d47fae4287\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8f0c9eea50a7035012af54436c3f01d5b358d69bcea2cb5fc228cf6aaf093544\",\"dweb:/ipfs/QmW5g5tD3wA5tcfCfWeShVNvRZSroZ6yxvseKgk4QMmEuh\"]},\"src/codegen/world/IInitSystem.sol\":{\"keccak256\":\"0x1a89e470cf515ba57f2b2d9acb83cbd3ae4687d9d2a579e52364f5cc7cc9b35f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a9dcda270bf1a2f2f1491978828e56e27afa45624ba900096362555e2526dcc2\",\"dweb:/ipfs/QmP6HEUEpoiR4LKgvR1BnTiP8UWaA5nDXHvtsYV44PUFyY\"]},\"src/codegen/world/IMoveSystem.sol\":{\"keccak256\":\"0x7136b6e044cd694a8776dd58f35e4f33936a378be7462262a625ad2056b3caf2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://01d6a4b33553fb21bfeab3709714dfd09b8b8c57a5ed28627b6213e25c63df5b\",\"dweb:/ipfs/QmcPU2tY5oSLS42khSGE26Sk1TrndoPueMxgeFFbugzL5c\"]},\"src/codegen/world/IPlayerSystem.sol\":{\"keccak256\":\"0xaad9e081b1d16c49f130e8b3e5640bf73acbc3220d58f86d1874cd43a319045f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3aebb6e37d72614f5aa9d8e41c82c5c3e577881d439eb55f5c6e0a9efc86cee6\",\"dweb:/ipfs/QmNwwL85wzawWZwHGjYaaKpCNx8dnZzvKQoK4odMyB2cad\"]},\"src/codegen/world/IWorld.sol\":{\"keccak256\":\"0x2660b910c2aeeb21764a8262e411f7501849dd15aa584f67c310884df926ae97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://596ff9365fe869b81c063d84c993075212b4c6761d85ee575e3368266a6b6124\",\"dweb:/ipfs/QmY5qiGynTFkQ3aGBZTUTuhCpvFqgSrb6oQeCNHiJr5KHC\"]},\"src/systems/Common.sol\":{\"keccak256\":\"0x7f0c618195bd5527963d727da8d9352467e256aba71275b6265af7342eeb18cf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b5448d0d232ad7627306dcabe161701c3b7ead08db487d9aa018aae562ca01b3\",\"dweb:/ipfs/QmdGnWSMVyQdAxE8NYzngsN3oMGhZmr16TBakk77XhhL7d\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.21+commit.d9974bed"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"},{"internalType":"uint256","name":"accessedIndex","type":"uint256"}],"type":"error","name":"Store_IndexOutOfBounds"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"}],"type":"error","name":"Store_InvalidDynamicDataLength"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"}],"type":"error","name":"Store_InvalidFieldNamesLength"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"}],"type":"error","name":"Store_InvalidKeyNamesLength"},{"inputs":[{"internalType":"bytes2","name":"expected","type":"bytes2"},{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"Store_InvalidResourceType"},{"inputs":[{"internalType":"uint40","name":"startWithinField","type":"uint40"},{"internalType":"uint40","name":"deleteCount","type":"uint40"},{"internalType":"uint40","name":"fieldLength","type":"uint40"}],"type":"error","name":"Store_InvalidSplice"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"}],"type":"error","name":"Store_InvalidValueSchemaLength"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"string","name":"tableIdString","type":"string"}],"type":"error","name":"Store_TableAlreadyExists"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"string","name":"tableIdString","type":"string"}],"type":"error","name":"Store_TableNotFound"},{"inputs":[{"internalType":"string","name":"resource","type":"string"},{"internalType":"address","name":"caller","type":"address"}],"type":"error","name":"World_AccessDenied"},{"inputs":[],"type":"error","name":"World_AlreadyInitialized"},{"inputs":[{"internalType":"bytes4","name":"functionSelector","type":"bytes4"}],"type":"error","name":"World_CallbackNotAllowed"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"},{"internalType":"address","name":"delegatee","type":"address"}],"type":"error","name":"World_DelegationNotFound"},{"inputs":[{"internalType":"bytes4","name":"functionSelector","type":"bytes4"}],"type":"error","name":"World_FunctionSelectorAlreadyExists"},{"inputs":[{"internalType":"bytes4","name":"functionSelector","type":"bytes4"}],"type":"error","name":"World_FunctionSelectorNotFound"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"type":"error","name":"World_InsufficientBalance"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"type":"error","name":"World_InterfaceNotSupported"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_InvalidResourceId"},{"inputs":[{"internalType":"bytes2","name":"expected","type":"bytes2"},{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_InvalidResourceType"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_ResourceAlreadyExists"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"string","name":"resourceIdString","type":"string"}],"type":"error","name":"World_ResourceNotFound"},{"inputs":[{"internalType":"address","name":"system","type":"address"}],"type":"error","name":"World_SystemAlreadyExists"},{"inputs":[],"type":"error","name":"World_UnlimitedDelegationNotAllowed"},{"inputs":[{"internalType":"bytes32","name":"storeVersion","type":"bytes32","indexed":true}],"type":"event","name":"HelloStore","anonymous":false},{"inputs":[{"internalType":"bytes32","name":"worldVersion","type":"bytes32","indexed":true}],"type":"event","name":"HelloWorld","anonymous":false},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32","indexed":true},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]","indexed":false}],"type":"event","name":"Store_DeleteRecord","anonymous":false},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32","indexed":true},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]","indexed":false},{"internalType":"bytes","name":"staticData","type":"bytes","indexed":false},{"internalType":"PackedCounter","name":"encodedLengths","type":"bytes32","indexed":false},{"internalType":"bytes","name":"dynamicData","type":"bytes","indexed":false}],"type":"event","name":"Store_SetRecord","anonymous":false},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32","indexed":true},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]","indexed":false},{"internalType":"uint48","name":"start","type":"uint48","indexed":false},{"internalType":"uint40","name":"deleteCount","type":"uint40","indexed":false},{"internalType":"PackedCounter","name":"encodedLengths","type":"bytes32","indexed":false},{"internalType":"bytes","name":"data","type":"bytes","indexed":false}],"type":"event","name":"Store_SpliceDynamicData","anonymous":false},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32","indexed":true},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]","indexed":false},{"internalType":"uint48","name":"start","type":"uint48","indexed":false},{"internalType":"bytes","name":"data","type":"bytes","indexed":false}],"type":"event","name":"Store_SpliceStaticData","anonymous":false},{"inputs":[{"internalType":"uint16","name":"_x","type":"uint16"},{"internalType":"uint16","name":"_y","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"CreateBox"},{"inputs":[],"stateMutability":"view","type":"function","name":"GetSeasonInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"_userContract","type":"address"},{"internalType":"address","name":"_lootContract","type":"address"},{"internalType":"address","name":"_pluginContract","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"Init"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"SetMapMerkleRoot"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"SetSeasonInfo"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"SetUserContract"},{"inputs":[{"internalType":"struct SystemCallData[]","name":"systemCalls","type":"tuple[]","components":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"bytes","name":"callData","type":"bytes"}]}],"stateMutability":"nonpayable","type":"function","name":"batchCall","outputs":[{"internalType":"bytes[]","name":"returnDatas","type":"bytes[]"}]},{"inputs":[{"internalType":"struct SystemCallFromData[]","name":"systemCalls","type":"tuple[]","components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"bytes","name":"callData","type":"bytes"}]}],"stateMutability":"nonpayable","type":"function","name":"batchCallFrom","outputs":[{"internalType":"bytes[]","name":"returnDatas","type":"bytes[]"}]},{"inputs":[{"internalType":"address","name":"_targetAddress","type":"address"},{"internalType":"struct Position[]","name":"positionList","type":"tuple[]","components":[{"internalType":"uint16","name":"x","type":"uint16"},{"internalType":"uint16","name":"y","type":"uint16"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}]}],"stateMutability":"nonpayable","type":"function","name":"battleInvitation"},{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"bytes","name":"callData","type":"bytes"}],"stateMutability":"payable","type":"function","name":"call","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"address","name":"delegator","type":"address"},{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"bytes","name":"callData","type":"bytes"}],"stateMutability":"payable","type":"function","name":"callFrom","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"bytes32","name":"_buffHash","type":"bytes32"},{"internalType":"uint256","name":"_battleId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"confirmBattle"},{"inputs":[],"stateMutability":"view","type":"function","name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"}],"stateMutability":"nonpayable","type":"function","name":"deleteRecord"},{"inputs":[{"internalType":"uint256","name":"_battleId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"forceEnd"},{"inputs":[{"internalType":"uint256","name":"_battleId","type":"uint256"},{"internalType":"address","name":"addr","type":"address"}],"stateMutability":"view","type":"function","name":"getBattlePlayerHp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"uint256","name":"_boxId","type":"uint256"},{"internalType":"uint16","name":"_oreAmount","type":"uint16"},{"internalType":"uint16","name":"_treasureAmount","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"getCollections"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getDynamicField","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getDynamicFieldLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"stateMutability":"view","type":"function","name":"getDynamicFieldSlice","outputs":[{"internalType":"bytes","name":"data","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getField","outputs":[{"internalType":"bytes","name":"data","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getField","outputs":[{"internalType":"bytes","name":"data","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getFieldLayout","outputs":[{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getFieldLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"}],"stateMutability":"view","type":"function","name":"getFieldLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"stateMutability":"view","type":"function","name":"getInfo","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getKeySchema","outputs":[{"internalType":"Schema","name":"keySchema","type":"bytes32"}]},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"stateMutability":"view","type":"function","name":"getPosition","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getRecord","outputs":[{"internalType":"bytes","name":"staticData","type":"bytes"},{"internalType":"PackedCounter","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"dynamicData","type":"bytes"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"}],"stateMutability":"view","type":"function","name":"getRecord","outputs":[{"internalType":"bytes","name":"staticData","type":"bytes"},{"internalType":"PackedCounter","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"dynamicData","type":"bytes"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getSenderPosition","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getStaticField","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function","name":"getUserInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"}],"stateMutability":"view","type":"function","name":"getValueSchema","outputs":[{"internalType":"Schema","name":"valueSchema","type":"bytes32"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"goHome"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"address","name":"grantee","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"grantAccess"},{"inputs":[{"internalType":"address","name":"_player","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"initPlayerHp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"_player","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"initUserInfo"},{"inputs":[{"internalType":"contract IModule","name":"coreModule","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"initialize"},{"inputs":[{"internalType":"contract IModule","name":"module","type":"address"},{"internalType":"bytes","name":"args","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"installModule"},{"inputs":[{"internalType":"contract IModule","name":"module","type":"address"},{"internalType":"bytes","name":"args","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"installRootModule"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"joinBattlefield"},{"inputs":[{"internalType":"struct Position[]","name":"moveList","type":"tuple[]","components":[{"internalType":"uint16","name":"x","type":"uint16"},{"internalType":"uint16","name":"y","type":"uint16"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}]}],"stateMutability":"nonpayable","type":"function","name":"move"},{"inputs":[{"internalType":"struct Coordinate[]","name":"cList","type":"tuple[]","components":[{"internalType":"uint16","name":"x","type":"uint16"},{"internalType":"uint16","name":"y","type":"uint16"}]}],"stateMutability":"nonpayable","type":"function","name":"multCreateBox"},{"inputs":[{"internalType":"uint256","name":"_boxId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"openBox"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"uint256","name":"byteLengthToPop","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"popFromDynamicField"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"bytes","name":"dataToPush","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"pushToDynamicField"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"ResourceId","name":"delegationControlId","type":"bytes32"},{"internalType":"bytes","name":"initCallData","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"registerDelegation"},{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"string","name":"systemFunctionSignature","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"registerFunctionSelector","outputs":[{"internalType":"bytes4","name":"worldFunctionSelector","type":"bytes4"}]},{"inputs":[{"internalType":"ResourceId","name":"namespaceId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"registerNamespace"},{"inputs":[{"internalType":"ResourceId","name":"namespaceId","type":"bytes32"},{"internalType":"ResourceId","name":"delegationControlId","type":"bytes32"},{"internalType":"bytes","name":"initCallData","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"registerNamespaceDelegation"},{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"string","name":"worldFunctionSignature","type":"string"},{"internalType":"bytes4","name":"systemFunctionSelector","type":"bytes4"}],"stateMutability":"nonpayable","type":"function","name":"registerRootFunctionSelector","outputs":[{"internalType":"bytes4","name":"worldFunctionSelector","type":"bytes4"}]},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"contract IStoreHook","name":"hookAddress","type":"address"},{"internalType":"uint8","name":"enabledHooksBitmap","type":"uint8"}],"stateMutability":"nonpayable","type":"function","name":"registerStoreHook"},{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"contract WorldContextConsumer","name":"system","type":"address"},{"internalType":"bool","name":"publicAccess","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"registerSystem"},{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"contract ISystemHook","name":"hookAddress","type":"address"},{"internalType":"uint8","name":"enabledHooksBitmap","type":"uint8"}],"stateMutability":"nonpayable","type":"function","name":"registerSystemHook"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"},{"internalType":"Schema","name":"keySchema","type":"bytes32"},{"internalType":"Schema","name":"valueSchema","type":"bytes32"},{"internalType":"string[]","name":"keyNames","type":"string[]"},{"internalType":"string[]","name":"fieldNames","type":"string[]"}],"stateMutability":"nonpayable","type":"function","name":"registerTable"},{"inputs":[{"internalType":"uint256","name":"_battleId","type":"uint256"},{"internalType":"bytes32","name":"_action","type":"bytes32"},{"internalType":"uint256","name":"_arg","type":"uint256"},{"internalType":"bytes32","name":"_nonce","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"revealBattle"},{"inputs":[{"internalType":"uint256","name":"_boxId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"revealBox"},{"inputs":[{"internalType":"uint256","name":"_battleId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"revealWinner"},{"inputs":[{"internalType":"ResourceId","name":"resourceId","type":"bytes32"},{"internalType":"address","name":"grantee","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"revokeAccess"},{"inputs":[{"internalType":"uint256","name":"_userTokenId","type":"uint256"},{"internalType":"uint256","name":"_lootTokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"selectBothNFT"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"selectLootNFT"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"selectUserNft"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"setDynamicField"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"setField"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"setField"},{"inputs":[{"internalType":"bool","name":"_b","type":"bool"}],"stateMutability":"nonpayable","type":"function","name":"setGmaeOpen"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"stateMutability":"nonpayable","type":"function","name":"setInfo"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"bytes","name":"staticData","type":"bytes"},{"internalType":"PackedCounter","name":"encodedLengths","type":"bytes32"},{"internalType":"bytes","name":"dynamicData","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"setRecord"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"fieldIndex","type":"uint8"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"FieldLayout","name":"fieldLayout","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"setStaticField"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint8","name":"dynamicFieldIndex","type":"uint8"},{"internalType":"uint40","name":"startWithinField","type":"uint40"},{"internalType":"uint40","name":"deleteCount","type":"uint40"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"spliceDynamicData"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"bytes32[]","name":"keyTuple","type":"bytes32[]"},{"internalType":"uint48","name":"start","type":"uint48"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"nonpayable","type":"function","name":"spliceStaticData"},{"inputs":[],"stateMutability":"view","type":"function","name":"storeVersion","outputs":[{"internalType":"bytes32","name":"version","type":"bytes32"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"submitGem"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint16","name":"x","type":"uint16"},{"internalType":"uint16","name":"y","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"transfer"},{"inputs":[{"internalType":"ResourceId","name":"fromNamespaceId","type":"bytes32"},{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transferBalanceToAddress"},{"inputs":[{"internalType":"ResourceId","name":"fromNamespaceId","type":"bytes32"},{"internalType":"ResourceId","name":"toNamespaceId","type":"bytes32"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transferBalanceToNamespace"},{"inputs":[{"internalType":"ResourceId","name":"namespaceId","type":"bytes32"},{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"unlockUserLocation"},{"inputs":[{"internalType":"ResourceId","name":"tableId","type":"bytes32"},{"internalType":"contract IStoreHook","name":"hookAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"unregisterStoreHook"},{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"contract ISystemHook","name":"hookAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"unregisterSystemHook"},{"inputs":[],"stateMutability":"view","type":"function","name":"worldVersion","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]}],"devdoc":{"kind":"dev","methods":{"call(bytes32,bytes)":{"details":"If the system is not public, the caller must have access to the namespace or name (encoded in the system ID).","params":{"callData":"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.","systemId":"The ID of the system to be called."},"returns":{"_0":"The abi encoded return data from the called system."}},"callFrom(address,bytes32,bytes)":{"details":"If the system is not public, the delegator must have access to the namespace or name (encoded in the system ID).","params":{"callData":"The data to pass with the call, function selector (4 bytes) followed by the ABI encoded parameters.","delegator":"The address on whose behalf the call is made.","systemId":"The ID of the system to be called."},"returns":{"_0":"The abi encoded return data from the called system."}},"creator()":{"returns":{"_0":"The address of the World's creator."}},"initialize(address)":{"details":"Can only be called once by the creator.","params":{"coreModule":"The CoreModule to be installed during initialization."}},"installRootModule(address,bytes)":{"details":"Requires the caller to own the root namespace. The module is delegatecalled and installed in the root namespace.","params":{"args":"The arguments provided for the module installation.","module":"The module to be installed."}},"storeVersion()":{"returns":{"version":"The version of the Store contract."}},"worldVersion()":{"returns":{"_0":"The version identifier of the World."}}},"version":1},"userdoc":{"kind":"user","methods":{"call(bytes32,bytes)":{"notice":"Call the system at the given system ID."},"callFrom(address,bytes32,bytes)":{"notice":"Call the system at the given system ID on behalf of the given delegator."},"creator()":{"notice":"Retrieve the immutable original deployer of the World."},"getDynamicField(bytes32,bytes32[],uint8)":{"notice":"Get a single dynamic field from the given tableId and key tuple at the given dynamic field index. (Dynamic field index = field index - number of static fields)"},"getDynamicFieldLength(bytes32,bytes32[],uint8)":{"notice":"Get the byte length of a single dynamic field from the given tableId and key tuple"},"getDynamicFieldSlice(bytes32,bytes32[],uint8,uint256,uint256)":{"notice":"Get a byte slice (including start, excluding end) of a single dynamic field from the given tableId and key tuple, with the given value field layout. The slice is unchecked and will return invalid data if `start`:`end` overflow."},"getField(bytes32,bytes32[],uint8)":{"notice":"Get a single field from the given tableId and key tuple, loading the field layout from storage"},"getField(bytes32,bytes32[],uint8,bytes32)":{"notice":"Get a single field from the given tableId and key tuple, with the given field layout"},"getFieldLength(bytes32,bytes32[],uint8)":{"notice":"Get the byte length of a single field from the given tableId and key tuple, loading the field layout from storage"},"getFieldLength(bytes32,bytes32[],uint8,bytes32)":{"notice":"Get the byte length of a single field from the given tableId and key tuple, with the given value field layout"},"getRecord(bytes32,bytes32[])":{"notice":"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, loading the field layout from storage"},"getRecord(bytes32,bytes32[],bytes32)":{"notice":"Get full record (all fields, static and dynamic data) for the given tableId and key tuple, with the given field layout"},"getStaticField(bytes32,bytes32[],uint8,bytes32)":{"notice":"Get a single static field from the given tableId and key tuple, with the given value field layout. Note: the field value is left-aligned in the returned bytes32, the rest of the word is not zeroed out. Consumers are expected to truncate the returned value as needed."},"initialize(address)":{"notice":"Initializes the World."},"installRootModule(address,bytes)":{"notice":"Install the given root module in the World."},"storeVersion()":{"notice":"Returns the version of the Store contract."},"worldVersion()":{"notice":"Retrieve the version of the World."}},"version":1}},"settings":{"remappings":["@codegen/=src/codegen/","@latticexyz/=node_modules/@latticexyz/","@library/=src/systems/library/","@openzeppelin/=node_modules/@openzeppelin/","@src/=src/","@systems/=src/systems/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"src/codegen/world/IWorld.sol":"IWorld"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol":{"keccak256":"0x770eff7a38b9b7b1613dc11ca09db4f28b42a117c9b39b2a06a650a58a250bdb","urls":["bzz-raw://39f544110658a53def52c2a4e33b8b158b95a4f14fccea58d5268b6e728d86d4","dweb:/ipfs/QmTesj6tjSFbfAiKUitXapdNYWPStS8bLkB3r22qfyHwUC"],"license":"MIT"},"node_modules/@latticexyz/store/src/Bytes.sol":{"keccak256":"0xab31edce915377852bb5f29f7f2ccfc50cac087d64d2a8aae669715ad862d558","urls":["bzz-raw://3187e86e43be1fbdd59df45c695294f1114aa1ac48e6445c0cb26089434be5c4","dweb:/ipfs/Qmck7shMVrcKMVkgN2pC1byPY7hb3V9fTxnUcGgxAUeXYk"],"license":"MIT"},"node_modules/@latticexyz/store/src/FieldLayout.sol":{"keccak256":"0x2a0536cd6cecc479d0b81d5aad6380231f4d6873beadc54814d801c2036b02c0","urls":["bzz-raw://e07c041e19146a9ec258cc700a450b4d49440202895eb12f3bb17508427c23ba","dweb:/ipfs/QmXoqrCGDSkuFgNSMURRFdjokjREL78nLDzNaUi6rjefy9"],"license":"MIT"},"node_modules/@latticexyz/store/src/Hook.sol":{"keccak256":"0x045024523eb55d08ad8d13eca6185bff2988865f4aa12e3f9372029c2ecb8ddd","urls":["bzz-raw://6621c53b49f8fe0557d1a1db47bfe1561801c09256948dd0652fb41541891a18","dweb:/ipfs/QmZgFVCUH1pKcc9MeFyzMe1VW87SLz6c9szGwrDRUp6BZe"],"license":"MIT"},"node_modules/@latticexyz/store/src/IERC165.sol":{"keccak256":"0x2bbc3c43400c15a91a5cb35430a91309cb64a4d13a0a170eacec71dcf334feaf","urls":["bzz-raw://f44dfc9605067de539de07a76a34bf469faa9e6dad8c192abafc2e05860c7dd2","dweb:/ipfs/QmX8xgG6XWokM7YFwFZvmMhuh1uhkSjxCMD2oTHjUVdapb"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStore.sol":{"keccak256":"0x9092b65551d0f910e5645cebb5acadb387cdd192d75fa89cd6b293bd65b28827","urls":["bzz-raw://478825a6f7eff9ddab968e71e1d55ebee279d3b318f10976d9334384000059c0","dweb:/ipfs/Qme7NY976woRy3RQjE4tkkiwoXnoVtTmER3PbWCSbjZ2kb"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreData.sol":{"keccak256":"0xa8eade05c551aeef35c84727d7a44af239516deb2d8a0cfb7ebeb5d88c6995e5","urls":["bzz-raw://5335910bd8a204abb5f4396fb911a5ee5c221bd7fa63b1cc8ae5e737c6458c6a","dweb:/ipfs/QmckkCAfrNcWo3yDxoD1jCe1k4iDA2GzVDpFjJZs7W79vx"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreErrors.sol":{"keccak256":"0xb9070663ded3cad82285bb7610949e422f88abb48c2ddbd792af83d127d64212","urls":["bzz-raw://830490f1c888bec86df1e7ef43773d60ebdbdfdb2b91ab7fe074e2f38d7439dc","dweb:/ipfs/QmS26fpXdZuGgMmjcdQDf9k1Bedn2dhjk9byFZJoNkctPZ"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreEvents.sol":{"keccak256":"0xdd3104680808f975462a85cbd4fa87783ba5395797419caeeca37e8f8627a16f","urls":["bzz-raw://943864b7eb16ad2047ade5a8598e85c8a4b46d1aed6aef02bfb7cee8de732b4d","dweb:/ipfs/QmTEij4caToSNk15PFpubXYDy9QhwmPyP9tMXjUse2cTdv"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreHook.sol":{"keccak256":"0xa6777c7868333996ad9c61a94457dcac702d8d7445a104dfdc86543d25e7470e","urls":["bzz-raw://6268a16449d7529a94746d0103670dd0e38faf5117bf914fb01da9947ab44c2e","dweb:/ipfs/QmaSfbx1QRA3jw2K8bGkQTw4CTGPUzNqnCJW7LwaFUJCXy"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreRead.sol":{"keccak256":"0xd2180d53ecd31069b1166f170ecdcd85917ac50f45fc26fb39b49cee7ba00e37","urls":["bzz-raw://1494bb0a3228e2d194bddaed4761fd3ca865979f0e3f3a53acd271143a4aa0ac","dweb:/ipfs/Qmaddnzzmu99iP9dTWK9ZeByh5dZyjY9SpVnRdvyr2fBAo"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreRegistration.sol":{"keccak256":"0xf448fbb2bc9c982721a43234463656da5a49cea08543e62148d54f11e1ac3e2f","urls":["bzz-raw://64b3579d9b9dcd73dca2beab3d4fcf60237420945ebbb2e9f4ffcc88f4110115","dweb:/ipfs/QmaW5nN3zGEriSYHncye6Nz2TkAw1oo1CyG2JuJTJrJoXg"],"license":"MIT"},"node_modules/@latticexyz/store/src/IStoreWrite.sol":{"keccak256":"0x8b6c7af5ee330928aebb58c8872d3944304ee10ed11f8a325b6accc4ec5df81b","urls":["bzz-raw://b866d158701c7a40834bed735194b804ef219f2bbe574e2307785fff7bcf9da1","dweb:/ipfs/QmXzJfZkXVfyr2RFGwDuazeVnV3UWYmQxjKZ3KzFbbe75U"],"license":"MIT"},"node_modules/@latticexyz/store/src/Memory.sol":{"keccak256":"0x69295976e61a1a108d1b4d6eb497b238730309f3047c4320d48e01a0ce8d4ec7","urls":["bzz-raw://559c451b21fb9dd4fec27b41bef42f4362f1e7ebb7992106d548b9d4f733b3e5","dweb:/ipfs/QmeSE7YTW5zUrfZYFVb2pFnDe3XxiT8XNecfwC3wfpxCRv"],"license":"MIT"},"node_modules/@latticexyz/store/src/PackedCounter.sol":{"keccak256":"0x44ddfa9eb8a861462c550f0a9d66c40c68acdb347a61fa765949608407a2c7fb","urls":["bzz-raw://47ee957f4b19cab9e20bf5fc569c015eca13852fb3351f2a105a8be9c48204c0","dweb:/ipfs/QmNkyzDobVQLoq9BtQ8HtgsPLiqnmi97EZx1wsu6wp8nKH"],"license":"MIT"},"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x40983c580b8958e55db4520095934a535e98544ffe8228327e598973eb6647ed","urls":["bzz-raw://839d658fa2bb2b1f09a08149d2bf0c26a26c301ad2dda8154fc99458085a695d","dweb:/ipfs/Qmd5jHHYrgqraPqF8bjzT4xyjsoPk8K7pkxXLLfz6MRT6d"],"license":"MIT"},"node_modules/@latticexyz/store/src/Schema.sol":{"keccak256":"0x58aef318ba03f8ff8866ef70f8a30f549b150657ea699734aefe16c298956401","urls":["bzz-raw://7dc104690a7e2bcf5ce1afadcd58f8ef4d639b4b92b9ad9293656235d54395f3","dweb:/ipfs/QmYJJvEv5KBJ3kzf9AkgRn7Uu5dp4exGTRddf4cae1btgE"],"license":"MIT"},"node_modules/@latticexyz/store/src/Slice.sol":{"keccak256":"0xfaf54b1f5acccd4c6ce3f8377050ee84efbb423cb604b4651e8b9ea3b467bf32","urls":["bzz-raw://acf2ce7ffec21f28ad1dc6da06c342f1212a03a3d16a0be7ee85715a5940718c","dweb:/ipfs/QmTCN3NSdFg87hi7KS2Xtq7PsmRUMG64SxC8PtP3p2GzuT"],"license":"MIT"},"node_modules/@latticexyz/store/src/Storage.sol":{"keccak256":"0x0893905ebe431a414226b479a84a54804091001a406222c748adbd4b651853a5","urls":["bzz-raw://bcfcd3848127884041f0bcd727a0e7acbddec283aa6c16ba47abc6a3be720648","dweb:/ipfs/QmY5fBd53e4Ro6vzTZYsteSibSTXVA3GHTeCAiUZTa5DPZ"],"license":"MIT"},"node_modules/@latticexyz/store/src/StoreCore.sol":{"keccak256":"0x95b7d62d84b43777c54dd1c7d941dbb5ba0afc02c444c30cfdb1de671bbbf180","urls":["bzz-raw://fe62a2fdb2a73610c3072f31b7f88ed3f9d03c1009fe0f0ef37a7eb814b23534","dweb:/ipfs/QmV85zaV5HAD6eGc5N4RmdtmpR6EwkswVLQTaR2aJqsXrj"],"license":"MIT"},"node_modules/@latticexyz/store/src/StoreSwitch.sol":{"keccak256":"0xf132af10f960a498f49c0534027056e715f4bdcb8fbdb53ac6879c92309ab416","urls":["bzz-raw://e85a09aeb7543bcd9d74b7ad319ae61e1f7f15a6a0ad9e79aff750fbd18111c7","dweb:/ipfs/QmY6xgqeeaR1FsCPLmFbVgjm1D2UyrXNABKXWLfFaSmBhR"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/index.sol":{"keccak256":"0xf337a5abb2d43ef00c1c200e7fbec30fc89c7c701e457ab4277194b700d2aea3","urls":["bzz-raw://eccdf6158076b4e8f1b587a0310228f53323705e054a44eaa7733f38805c3ee6","dweb:/ipfs/QmbXEVNTctg54dK9awdCVyAjeuUjR6ckfmmXBP8DrFmjyq"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/Hooks.sol":{"keccak256":"0xc5c6f807cff6b4dc486525c559ba3f7cbb034ac5895636ee64c9d01defa6a38e","urls":["bzz-raw://84d3a3b3fd3afa2ab3231fd7fe981889dfb0600deec34c5d4e9c07d3187af8a5","dweb:/ipfs/Qmanj7WjETqBYQXkxKLjqWs4vMp3en3N69B5MacKme5fpD"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/ResourceIds.sol":{"keccak256":"0xf7a9bf3e37b486377005c556cdf5b813ea1a41278b3a0349f81e3c82a2f1c789","urls":["bzz-raw://92cc87add89abcb126bf3cd0b284f25065c2b9c90a49f8dba4629b28a5b87751","dweb:/ipfs/QmNNBDSK5GNujERGiSUhorbmtpdD2UnGz7MqSSDasEGdub"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/StoreHooks.sol":{"keccak256":"0xa1186b8b6143b4a87cea1624785494398be1613cb7c6f9e57734e1cca1d5dd14","urls":["bzz-raw://488c158082622689d035d7964c6ca063295e53078291c340eb6a23db08e8ff95","dweb:/ipfs/QmWcjo3B5SH7jStXKAuf7qvF2ouz6syw9c7aT86PnTgRqW"],"license":"MIT"},"node_modules/@latticexyz/store/src/codegen/tables/Tables.sol":{"keccak256":"0xd47e1921c07fc8608157b5dc343fcef7235e891ea6a21dec1fb118a0bd797fcb","urls":["bzz-raw://01a6ad068e6991994a0939f22a55245e0c7c82fc5e274da0af616286a8acfc7a","dweb:/ipfs/QmPokA3pSexzZY33MMV6BGx48ZwQegdUN5AijiAfycSDxy"],"license":"MIT"},"node_modules/@latticexyz/store/src/constants.sol":{"keccak256":"0x9e37c64c119ef07ad914bc589ee3f6d67946ab95877978c1ee3e2c1ffae07076","urls":["bzz-raw://3fad47e542025382aa28e8171253e34f93b2f149434b67a26989542d70218793","dweb:/ipfs/QmW6JsKNwPc6oAMrgcikgR2EPwMUtQANiuZSQSGCd29HHC"],"license":"MIT"},"node_modules/@latticexyz/store/src/leftMask.sol":{"keccak256":"0xd0360567e4d77c6a8e3d8a5f4bf3653ccde4d268674c50988d55695dc6193f6f","urls":["bzz-raw://53e6bcb53fcb08ee9426225fdab7c41df91e12cb4f80d92895a6117338627401","dweb:/ipfs/QmeLcaPGeMBpNSTSsPYK3PHpzKuGMjuitCweAWcoXK2mXr"],"license":"MIT"},"node_modules/@latticexyz/store/src/storeHookTypes.sol":{"keccak256":"0x60880298016fa117ed9a43ddfd020f11d98a2d345bdcb08e5884e40df98eddd5","urls":["bzz-raw://3619dfda1fd514c0fc5fb34c14d5b5aa41dd6ba6045d37d5f4c8199f3a826f81","dweb:/ipfs/QmbzRBYfVa423gNzCitpGN3i2N9oeGYfinVE1jgtqxnNZX"],"license":"MIT"},"node_modules/@latticexyz/store/src/storeResourceTypes.sol":{"keccak256":"0xada1867ba72930fc5cf5562dd4e36de849dbac9c833b7969cb1b046a808fabf2","urls":["bzz-raw://6e4b5fdcaa54f567a3f8561c2c3fbc0d68c8dad892a4a8e5418bbce8efc53d84","dweb:/ipfs/QmTWbYJX1yrCqrEwUKB9rGpHdRvLNU8GCkBbxnLjGD4d2t"],"license":"MIT"},"node_modules/@latticexyz/store/src/tightcoder/DecodeSlice.sol":{"keccak256":"0x1af0fd984640123391ec2df855d00298504b7ce186a56c2caca769cfd9e08e04","urls":["bzz-raw://7305a62318890d2cc6420ba7dec13d9f2c1cb67ac689015fc83b9cbccd0696f1","dweb:/ipfs/QmR8jGNLbt64Tv1YZKRVBCVsd71oeUQFzGHHtpsrs4PuRq"],"license":"MIT"},"node_modules/@latticexyz/store/src/tightcoder/EncodeArray.sol":{"keccak256":"0x1c280d24360282e196d9c4833c58c2437108cea2af0ac7596f95be81389e306d","urls":["bzz-raw://6b4556b6eeae9328fbd9adcce346547e823c397503276a4d63effb67e00b5b49","dweb:/ipfs/QmUsynVsMYzjh8oJR8YB7SRrwFMdXcsQsHBrXxLEEFxsiB"],"license":"MIT"},"node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol":{"keccak256":"0x5cacd4cb371e0a79bc8d64f62349d568fd8b08093c11ae0c3db4f16480d8808b","urls":["bzz-raw://12b64ddf2b5c19cf68ba93a8153ed79cbafe7a91e015d4b2f25eb1d42ab06256","dweb:/ipfs/QmQz5WwztcuTbSGFv2pkhU3w5scUj1gmavoyUpduxk2v3A"],"license":"MIT"},"node_modules/@latticexyz/store/src/version.sol":{"keccak256":"0x01029999a48b7c1d85de84cae465dd24ec126c95b8a865cd20c7ed5dfcc0f02c","urls":["bzz-raw://9750164ce996badb0fd7df2f526780b9cb9558912405fe46f31064bd7c522491","dweb:/ipfs/QmYf8m2ZXFANRc9ysHgNkNtSF327ccxKYjCUJ49UXBKADk"],"license":"MIT"},"node_modules/@latticexyz/world/src/IERC165.sol":{"keccak256":"0x7997ebbdee6a2493f28e7032c7a8b906ade40f807d95734e2653c8f1b023ff47","urls":["bzz-raw://c8ca41bb2619bf27e5bf886d1322f0e2dffd096c49f7ae6e716541dd1e1ddce5","dweb:/ipfs/Qmb8zATUWWTtiWaSLjbAe6PGnJPes9ANvEyk7pYoWR3P3Y"],"license":"MIT"},"node_modules/@latticexyz/world/src/IModule.sol":{"keccak256":"0x4535542ceb57e77096f24b943285bc158c48ef5291999f9c1e27f5682f8a9581","urls":["bzz-raw://ec670524d19c50c659e385bc4dcb4757b065e1b5fe14160244537a7cd7a4b883","dweb:/ipfs/QmT7NSWFSQ6MxYefe665srKMT2GTWomrPRZAHLjrFhQzV6"],"license":"MIT"},"node_modules/@latticexyz/world/src/ISystemHook.sol":{"keccak256":"0xb2114b6b66c0e7d8304d9e1d06aa1d0731f089daa6a0584e6cf744d9c48cf4db","urls":["bzz-raw://ebbb172970b106dd4ae5a6d5e417ac75cad7529d2b94c1601e10b886d0edf510","dweb:/ipfs/QmPGn4F92hjkFch6Jh2NB37EYLLfstw6JxJKUZjXBFqGCw"],"license":"MIT"},"node_modules/@latticexyz/world/src/IWorldContextConsumer.sol":{"keccak256":"0x22b8cb3ffcc21cb1657d57fc8ac929d2d6fdd199328e6f43ad2cb54f53dcd500","urls":["bzz-raw://47c001f6b7c6d6e453c340618d23b1532078abb7d0fd7283405071e4e8ff8d2d","dweb:/ipfs/QmRW3femBhqQCPwDEj4Jop2Dnd3EU21ufg7GDVwN4joCQu"],"license":"MIT"},"node_modules/@latticexyz/world/src/IWorldErrors.sol":{"keccak256":"0xc3e7975e5785574543229eac51e3441f4185863d7f5346c0ae08a27b4541f8a7","urls":["bzz-raw://62cc0dc109e6e5475bb07fb95643a31c74337c23521db0557a36dad6117a1e83","dweb:/ipfs/Qmb8jbE1XQTUdreKFr4Jw3xmjctaLuReRZjPxZKQ2uW9p4"],"license":"MIT"},"node_modules/@latticexyz/world/src/IWorldKernel.sol":{"keccak256":"0x9dc133cb55dc23fd6fcbbef8078bb4ea9bf67d698400cf89fc62b905b60cf5eb","urls":["bzz-raw://7c1a57df7052218483eafe72d873660f39a73e2e06c1b14ad8a579d85b94bc6c","dweb:/ipfs/Qme7dnjvADGZyM2L7nZ51nSjsjXXF9isTVCpWaUCd1cEGs"],"license":"MIT"},"node_modules/@latticexyz/world/src/WorldContext.sol":{"keccak256":"0xa11d93077d94f18683f1098b69c4713a48001ae15054476135ec9569041abb9a","urls":["bzz-raw://9b1d3384def68b4061c445b55602dd9cbcd4e8c58c13db5e945f284a05c1b518","dweb:/ipfs/Qma5DUZrSKZUxrxiGCpyRPWMJNdHU2wu6qDEsFWEJSnLfN"],"license":"MIT"},"node_modules/@latticexyz/world/src/WorldResourceId.sol":{"keccak256":"0xb7bfae2890004001221b3902d185c14cfea0e606d16914f6b7f81cf112aa9417","urls":["bzz-raw://acfd0d09166fc1bf16a8a5c80fbae1bd42426b2fcbab3c492bc836ea5c0375fb","dweb:/ipfs/QmTzZWHVBkx8hipFVpgEwAbZpr4c6hfr7yf7R71JojT3NK"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/IAccessManagementSystem.sol":{"keccak256":"0xc912f14d0f2e2e9e728a9d18e250ebe3eb2f51d0b4d79993c9d997991bbd5593","urls":["bzz-raw://29621425847a1c11205307896b04e2a6c97934dd619f23ce6774ce52520f1255","dweb:/ipfs/QmeuTe3q8U11Dqkp5tahxVWnp9Cd5ezQmRZ5vhEHtv14Eu"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/IBalanceTransferSystem.sol":{"keccak256":"0xf04594c29c5c5b3110453ac189a8008735753de864ab4a7dfa97ccd3ae5f4a55","urls":["bzz-raw://4a3061f72b969a294dc96c3b2e59277e762ce6571cedcc7e280412431453dde5","dweb:/ipfs/QmWB9aboakrCH9AmzGiZ1mCceh9atF4ks5ndEYFzUVbaHT"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol":{"keccak256":"0xf96aee478cc770cd9cd417b7939c38c9b9b075c91f3f47bdf8c6742f5591e9dc","urls":["bzz-raw://9c59c4c9a6ab3d64e2b0d7c9f3df2d330a36fc93ac2ab5e5f907fa881fbed1f8","dweb:/ipfs/QmTbd82cCtDwc8Ga1UsWAKXmFYrWU1zkbCCk1nMspqWdZu"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/IBatchCallSystem.sol":{"keccak256":"0xb4d323470e22b1d3f0168a44196eb09466f602b7564c75e5739c5f53a5036f97","urls":["bzz-raw://acad752208d00b731baaa1cfa192ff3981001fd030953bdc604e4f69ec2cd0b8","dweb:/ipfs/QmRFw3RgmX2CHqg7PqsP3rqVKxBVYNq5hHcFiyA2Y7iAaX"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/ICoreSystem.sol":{"keccak256":"0xf837b53eaa348da3b3650e0b7159de02d3f84897d96e487ece2f932c272dbe57","urls":["bzz-raw://fbdc52e9e519c8c6d4a00caf4de08688eb8eb34dbfc6236308f281d7cf05b51b","dweb:/ipfs/QmWnogXiA5KA6JGxCTJR5W1MNFowrH7baSAYhSXjV1xM47"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/IModuleInstallationSystem.sol":{"keccak256":"0x5be1d1ee90a7a03258e8c4fce7542453332c637a51b015e0cc29151ef2792263","urls":["bzz-raw://df6d97356b2ca9d97b7593f4c0772742529fea73f1665e55a879a368b399cae0","dweb:/ipfs/QmXCs5X4Z95isKRzjP4TQjQxwiB7773tHiJWLWkjLv3SLj"],"license":"MIT"},"node_modules/@latticexyz/world/src/codegen/interfaces/IWorldRegistrationSystem.sol":{"keccak256":"0xd7e31957e7fcf056912fe16e10a0411bdb071c14c45853e7da264dfbfd6bcb62","urls":["bzz-raw://c4ce02327ac8971177685fc2655733ed3c07f5dfb72846680544a48953180aad","dweb:/ipfs/QmQMNtkeCXdZfyyvtY8vUrKh5RUbpM7HYMGrzbxZGzTEFh"],"license":"MIT"},"node_modules/@latticexyz/world/src/constants.sol":{"keccak256":"0x07faffa7dc4a2adc4f9bfe93d5a59a7dd89241d360996537608e38f61c2d0588","urls":["bzz-raw://b96d4ce331b257a24de2f18503a11b986ed32d218810db9d5e3e7eddc17c2218","dweb:/ipfs/Qme7Cw4RN1eaFWt2j3hk6ZMB7GWUfMY5oyZKYfMvAVxdBc"],"license":"MIT"},"node_modules/@latticexyz/world/src/modules/core/types.sol":{"keccak256":"0x256b3269e1e7eb6c8b6e26432bbe6799b4d45a88ef1b0e795ea71e604cec3a8a","urls":["bzz-raw://99bf6320ce9671ed74e7352b4e6c462d741ca9a894c48b526e7d8513308fa6b3","dweb:/ipfs/QmRFJcWFMDRkg7soJ4r4MrqacKmj16vUEMFEGWJuvFi4vJ"],"license":"MIT"},"node_modules/@latticexyz/world/src/revertWithBytes.sol":{"keccak256":"0x16795bdbfd7956d733df9ada1030ee7a1a714e3b9da5899149a7b07568c4af55","urls":["bzz-raw://7a71128b4989e78215d5fc57dae8c2f84c6b5e503c159178c0df6f642b8228df","dweb:/ipfs/QmNYTfBe62SdGESZ32fxME72CbAxEqk4j79jBT7655C4u7"],"license":"MIT"},"node_modules/@latticexyz/world/src/worldResourceTypes.sol":{"keccak256":"0xe31ee781596541f60ed71ef327c9d26ffc899e7fb3f4991c67406518bfc00746","urls":["bzz-raw://f7b864fea8c77833a322b16c4673f110d5065d0cafcedecd07895699cf4258c2","dweb:/ipfs/QmRkzXVjMLwQFWxjEjgfdXVPAp6SU4zfxPo4NJcmz8HwH9"],"license":"MIT"},"src/codegen/world/IBattleForceSystem.sol":{"keccak256":"0xaaae8945eb1f119f49d0b32ce63d88ba7c8fc58bb629ef6fb21f392515f43154","urls":["bzz-raw://78b2d78787f1f7ab4fc15361435089df2995351548258eb58956635683245b5b","dweb:/ipfs/QmUeiS3YBzDqMwXHVt3nnYwgTq8PBonq7wkVdk4YhSkQp1"],"license":"MIT"},"src/codegen/world/IBattleInfoSystem.sol":{"keccak256":"0xd9ebeacb62e690027661294264d0988b6f2da0693f3ccd56b79ba81cd37aca78","urls":["bzz-raw://ad0024a0984dc620ca4ddd835505a0db434b0b7074e425c17913400598c8b836","dweb:/ipfs/QmZJ7VUaUhKDREpY2TznPkGfKPpzDANXggsu42h4nxY34u"],"license":"MIT"},"src/codegen/world/IBattlePrepareSystem.sol":{"keccak256":"0xe5777b832337d5c9635a3e860ca707cbdd76e99470467fb1b08ca9328bf287ec","urls":["bzz-raw://20945a2620ae6fe6c428d0651b3c3f500930cdacc69f063899cc10b4f5bf5c27","dweb:/ipfs/QmThWSCCbLzBQ11AncoTxnyiK65uhGnrkmoChmTroGQLju"],"license":"MIT"},"src/codegen/world/IBattleSystem.sol":{"keccak256":"0xe3e924f3ee52e0bd95f486016f0e83ffa0c9ffb522d73ad1866bfe7f1697ba07","urls":["bzz-raw://5cb090e11605c751d40732935a36c39aca2c6613081b2dcbf2e31334bea74b9a","dweb:/ipfs/QmPYd21H69q7JsUc44347h9h4sHJ1tbDzksUhCy1esu3T5"],"license":"MIT"},"src/codegen/world/IBoxSystem.sol":{"keccak256":"0x049b9b6459f62245372656cdf636697bca5a81b90ffa4ce805890656694f7c83","urls":["bzz-raw://376d318f966315df8e4125e84f6d4a69c3c3d2097b8c3c442d8e9ab67542979b","dweb:/ipfs/QmbpHDQH9oZEYswneeJ9t7QsyBH9PVhnm6CCFbWB7dG5mX"],"license":"MIT"},"src/codegen/world/IGMSystem.sol":{"keccak256":"0x9ba859f42e254c1154c90a9867d3ff30b855e04352dc3b03b2b418f484414ce7","urls":["bzz-raw://abb47796ba4458b0bc8adba5e92d853e698a332978bdc169bc6af6bc1a2e0f47","dweb:/ipfs/QmcMpe2LPrThaBgb8oM7Kj4XRdkRAPbwJyBbXU5SHkTnjW"],"license":"MIT"},"src/codegen/world/IGameSystem.sol":{"keccak256":"0x0c7ffa8de306bb1f725a0aa6aae6a599cd8c643222f79158c0d427d47fae4287","urls":["bzz-raw://8f0c9eea50a7035012af54436c3f01d5b358d69bcea2cb5fc228cf6aaf093544","dweb:/ipfs/QmW5g5tD3wA5tcfCfWeShVNvRZSroZ6yxvseKgk4QMmEuh"],"license":"MIT"},"src/codegen/world/IInitSystem.sol":{"keccak256":"0x1a89e470cf515ba57f2b2d9acb83cbd3ae4687d9d2a579e52364f5cc7cc9b35f","urls":["bzz-raw://a9dcda270bf1a2f2f1491978828e56e27afa45624ba900096362555e2526dcc2","dweb:/ipfs/QmP6HEUEpoiR4LKgvR1BnTiP8UWaA5nDXHvtsYV44PUFyY"],"license":"MIT"},"src/codegen/world/IMoveSystem.sol":{"keccak256":"0x7136b6e044cd694a8776dd58f35e4f33936a378be7462262a625ad2056b3caf2","urls":["bzz-raw://01d6a4b33553fb21bfeab3709714dfd09b8b8c57a5ed28627b6213e25c63df5b","dweb:/ipfs/QmcPU2tY5oSLS42khSGE26Sk1TrndoPueMxgeFFbugzL5c"],"license":"MIT"},"src/codegen/world/IPlayerSystem.sol":{"keccak256":"0xaad9e081b1d16c49f130e8b3e5640bf73acbc3220d58f86d1874cd43a319045f","urls":["bzz-raw://3aebb6e37d72614f5aa9d8e41c82c5c3e577881d439eb55f5c6e0a9efc86cee6","dweb:/ipfs/QmNwwL85wzawWZwHGjYaaKpCNx8dnZzvKQoK4odMyB2cad"],"license":"MIT"},"src/codegen/world/IWorld.sol":{"keccak256":"0x2660b910c2aeeb21764a8262e411f7501849dd15aa584f67c310884df926ae97","urls":["bzz-raw://596ff9365fe869b81c063d84c993075212b4c6761d85ee575e3368266a6b6124","dweb:/ipfs/QmY5qiGynTFkQ3aGBZTUTuhCpvFqgSrb6oQeCNHiJr5KHC"],"license":"MIT"},"src/systems/Common.sol":{"keccak256":"0x7f0c618195bd5527963d727da8d9352467e256aba71275b6265af7342eeb18cf","urls":["bzz-raw://b5448d0d232ad7627306dcabe161701c3b7ead08db487d9aa018aae562ca01b3","dweb:/ipfs/QmdGnWSMVyQdAxE8NYzngsN3oMGhZmr16TBakk77XhhL7d"],"license":"MIT"}},"version":1},"ast":{"absolutePath":"src/codegen/world/IWorld.sol","id":105059,"exportedSymbols":{"IBaseWorld":[23980],"IBattleForceSystem":[104750],"IBattleInfoSystem":[104763],"IBattlePrepareSystem":[104798],"IBattleSystem":[104818],"IBoxSystem":[104841],"IGMSystem":[104892],"IGameSystem":[104899],"IInitSystem":[104914],"IMoveSystem":[104930],"IPlayerSystem":[105010],"IWorld":[105058]},"nodeType":"SourceUnit","src":"32:1147:112","nodes":[{"id":105012,"nodeType":"PragmaDirective","src":"32:25:112","nodes":[],"literals":["solidity",">=","0.8",".21"]},{"id":105014,"nodeType":"ImportDirective","src":"108:85:112","nodes":[],"absolutePath":"node_modules/@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol","file":"@latticexyz/world/src/codegen/interfaces/IBaseWorld.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":23981,"symbolAliases":[{"foreign":{"id":105013,"name":"IBaseWorld","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":23980,"src":"117:10:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105016,"nodeType":"ImportDirective","src":"195:62:112","nodes":[],"absolutePath":"src/codegen/world/IBattleForceSystem.sol","file":"./IBattleForceSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104751,"symbolAliases":[{"foreign":{"id":105015,"name":"IBattleForceSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104750,"src":"204:18:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105018,"nodeType":"ImportDirective","src":"258:60:112","nodes":[],"absolutePath":"src/codegen/world/IBattleInfoSystem.sol","file":"./IBattleInfoSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104764,"symbolAliases":[{"foreign":{"id":105017,"name":"IBattleInfoSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104763,"src":"267:17:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105020,"nodeType":"ImportDirective","src":"319:66:112","nodes":[],"absolutePath":"src/codegen/world/IBattlePrepareSystem.sol","file":"./IBattlePrepareSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104799,"symbolAliases":[{"foreign":{"id":105019,"name":"IBattlePrepareSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104798,"src":"328:20:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105022,"nodeType":"ImportDirective","src":"386:52:112","nodes":[],"absolutePath":"src/codegen/world/IBattleSystem.sol","file":"./IBattleSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104819,"symbolAliases":[{"foreign":{"id":105021,"name":"IBattleSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104818,"src":"395:13:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105024,"nodeType":"ImportDirective","src":"439:46:112","nodes":[],"absolutePath":"src/codegen/world/IBoxSystem.sol","file":"./IBoxSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104842,"symbolAliases":[{"foreign":{"id":105023,"name":"IBoxSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104841,"src":"448:10:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105026,"nodeType":"ImportDirective","src":"486:48:112","nodes":[],"absolutePath":"src/codegen/world/IGameSystem.sol","file":"./IGameSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104900,"symbolAliases":[{"foreign":{"id":105025,"name":"IGameSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104899,"src":"495:11:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105028,"nodeType":"ImportDirective","src":"535:44:112","nodes":[],"absolutePath":"src/codegen/world/IGMSystem.sol","file":"./IGMSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104893,"symbolAliases":[{"foreign":{"id":105027,"name":"IGMSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104892,"src":"544:9:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105030,"nodeType":"ImportDirective","src":"580:48:112","nodes":[],"absolutePath":"src/codegen/world/IInitSystem.sol","file":"./IInitSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104915,"symbolAliases":[{"foreign":{"id":105029,"name":"IInitSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104914,"src":"589:11:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105032,"nodeType":"ImportDirective","src":"629:48:112","nodes":[],"absolutePath":"src/codegen/world/IMoveSystem.sol","file":"./IMoveSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":104931,"symbolAliases":[{"foreign":{"id":105031,"name":"IMoveSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":104930,"src":"638:11:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105034,"nodeType":"ImportDirective","src":"678:52:112","nodes":[],"absolutePath":"src/codegen/world/IPlayerSystem.sol","file":"./IPlayerSystem.sol","nameLocation":"-1:-1:-1","scope":105059,"sourceUnit":105011,"symbolAliases":[{"foreign":{"id":105033,"name":"IPlayerSystem","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":105010,"src":"687:13:112","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"id":105058,"nodeType":"ContractDefinition","src":"968:210:112","nodes":[],"abstract":false,"baseContracts":[{"baseName":{"id":105036,"name":"IBaseWorld","nameLocations":["990:10:112"],"nodeType":"IdentifierPath","referencedDeclaration":23980,"src":"990:10:112"},"id":105037,"nodeType":"InheritanceSpecifier","src":"990:10:112"},{"baseName":{"id":105038,"name":"IBattleForceSystem","nameLocations":["1004:18:112"],"nodeType":"IdentifierPath","referencedDeclaration":104750,"src":"1004:18:112"},"id":105039,"nodeType":"InheritanceSpecifier","src":"1004:18:112"},{"baseName":{"id":105040,"name":"IBattleInfoSystem","nameLocations":["1026:17:112"],"nodeType":"IdentifierPath","referencedDeclaration":104763,"src":"1026:17:112"},"id":105041,"nodeType":"InheritanceSpecifier","src":"1026:17:112"},{"baseName":{"id":105042,"name":"IBattlePrepareSystem","nameLocations":["1047:20:112"],"nodeType":"IdentifierPath","referencedDeclaration":104798,"src":"1047:20:112"},"id":105043,"nodeType":"InheritanceSpecifier","src":"1047:20:112"},{"baseName":{"id":105044,"name":"IBattleSystem","nameLocations":["1071:13:112"],"nodeType":"IdentifierPath","referencedDeclaration":104818,"src":"1071:13:112"},"id":105045,"nodeType":"InheritanceSpecifier","src":"1071:13:112"},{"baseName":{"id":105046,"name":"IBoxSystem","nameLocations":["1088:10:112"],"nodeType":"IdentifierPath","referencedDeclaration":104841,"src":"1088:10:112"},"id":105047,"nodeType":"InheritanceSpecifier","src":"1088:10:112"},{"baseName":{"id":105048,"name":"IGameSystem","nameLocations":["1102:11:112"],"nodeType":"IdentifierPath","referencedDeclaration":104899,"src":"1102:11:112"},"id":105049,"nodeType":"InheritanceSpecifier","src":"1102:11:112"},{"baseName":{"id":105050,"name":"IGMSystem","nameLocations":["1117:9:112"],"nodeType":"IdentifierPath","referencedDeclaration":104892,"src":"1117:9:112"},"id":105051,"nodeType":"InheritanceSpecifier","src":"1117:9:112"},{"baseName":{"id":105052,"name":"IInitSystem","nameLocations":["1130:11:112"],"nodeType":"IdentifierPath","referencedDeclaration":104914,"src":"1130:11:112"},"id":105053,"nodeType":"InheritanceSpecifier","src":"1130:11:112"},{"baseName":{"id":105054,"name":"IMoveSystem","nameLocations":["1145:11:112"],"nodeType":"IdentifierPath","referencedDeclaration":104930,"src":"1145:11:112"},"id":105055,"nodeType":"InheritanceSpecifier","src":"1145:11:112"},{"baseName":{"id":105056,"name":"IPlayerSystem","nameLocations":["1160:13:112"],"nodeType":"IdentifierPath","referencedDeclaration":105010,"src":"1160:13:112"},"id":105057,"nodeType":"InheritanceSpecifier","src":"1160:13:112"}],"canonicalName":"IWorld","contractDependencies":[],"contractKind":"interface","documentation":{"id":105035,"nodeType":"StructuredDocumentation","src":"732:235:112","text":" @title IWorld\n @notice This interface integrates all systems and associated function selectors\n that are dynamically registered in the World during deployment.\n @dev This is an autogenerated file; do not edit manually."},"fullyImplemented":false,"linearizedBaseContracts":[105058,105010,104930,104914,104892,104899,104841,104818,104798,104763,104750,23980,24115,24025,24007,23944,23917,24011,23331,23254,23299,23273,1707,1796,2300,1730,2452,1859,2247],"name":"IWorld","nameLocation":"978:6:112","scope":105059,"usedErrors":[1741,1748,1757,1763,1769,1775,1781,1787,1795,23168,23176,23184,23191,23199,23204,23209,23214,23221,23224,23231,23238,23248,23253],"usedEvents":[1723,1818,1831,1849,1858,23311]}],"license":"MIT"},"id":112} \ No newline at end of file diff --git a/packages/contracts/worlds.json b/packages/contracts/worlds.json index 35c712fd..9edad95b 100644 --- a/packages/contracts/worlds.json +++ b/packages/contracts/worlds.json @@ -4,11 +4,11 @@ "blockNumber": 3018802 }, "31337": { - "address": "0x6e9474e9c83676b9a71133ff96db43e7aa0a4342" + "address": "0x7bd472fc101d3a7caf3064b7c5788965cb34685f" }, "33784": { - "address": "0xe233198863b75acc6e1af43daff3f5918e35875e", - "blockNumber": 19845 + "address": "0x6e9474e9c83676b9a71133ff96db43e7aa0a4342", + "blockNumber": 137 }, "421613": { "address": "0x32c856656b2bcdf739aa486a417b46b3d19f54f9",