@latticexyz/world 2.0.0-alpha.1.22 → 2.0.0-alpha.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/abi/AccessControl.sol/AccessControl.abi.json +1 -0
  2. package/abi/AccessManagementSystem.sol/AccessManagementSystem.abi.json +117 -0
  3. package/abi/AddressArray.sol/AddressArray.abi.json +1 -0
  4. package/abi/ArrayLib.sol/ArrayLib.abi.json +1 -0
  5. package/abi/Bool.sol/Bool.abi.json +1 -0
  6. package/abi/Bytes.sol/Bytes.abi.json +1 -0
  7. package/abi/Call.sol/Call.abi.json +1 -0
  8. package/abi/Callbacks.sol/Callbacks.abi.json +1 -0
  9. package/abi/CoreModule.sol/CoreModule.abi.json +140 -0
  10. package/abi/CoreSystem.sol/CoreSystem.abi.json +575 -0
  11. package/abi/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
  12. package/abi/EncodeArray.sol/EncodeArray.abi.json +1 -0
  13. package/abi/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
  14. package/abi/Hooks.sol/Hooks.abi.json +1 -0
  15. package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +48 -0
  16. package/abi/IBaseWorld.sol/IBaseWorld.abi.json +1064 -0
  17. package/abi/ICoreSystem.sol/ICoreSystem.abi.json +1 -0
  18. package/abi/IErrors.sol/IErrors.abi.json +92 -0
  19. package/abi/IModule.sol/IModule.abi.json +39 -0
  20. package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
  21. package/abi/IStore.sol/IStore.abi.json +426 -0
  22. package/abi/IStore.sol/IStoreData.abi.json +362 -0
  23. package/abi/IStore.sol/IStoreHook.abi.json +99 -0
  24. package/abi/IStore.sol/IStoreRead.abi.json +129 -0
  25. package/abi/IStore.sol/IStoreRegistration.abi.json +66 -0
  26. package/abi/IStore.sol/IStoreWrite.abi.json +235 -0
  27. package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.abi.json +66 -0
  28. package/abi/ISystemHook.sol/ISystemHook.abi.json +25 -0
  29. package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +15 -0
  30. package/abi/IWorldKernel.sol/IWorldCall.abi.json +31 -0
  31. package/abi/IWorldKernel.sol/IWorldData.abi.json +190 -0
  32. package/abi/IWorldKernel.sol/IWorldKernel.abi.json +330 -0
  33. package/abi/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
  34. package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +248 -0
  35. package/abi/InstalledModules.sol/InstalledModules.abi.json +1 -0
  36. package/abi/KeysWithValue.sol/KeysWithValue.abi.json +1 -0
  37. package/abi/KeysWithValueHook.sol/KeysWithValueHook.abi.json +157 -0
  38. package/abi/KeysWithValueModule.sol/KeysWithValueModule.abi.json +97 -0
  39. package/abi/Memory.sol/Memory.abi.json +1 -0
  40. package/abi/Mixed.sol/Mixed.abi.json +1 -0
  41. package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +73 -0
  42. package/abi/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
  43. package/abi/PackedCounter.sol/PackedCounterLib.abi.json +1 -0
  44. package/abi/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
  45. package/abi/ResourceSelector.sol/ResourceSelector.abi.json +1 -0
  46. package/abi/ResourceType.sol/ResourceType.abi.json +1 -0
  47. package/abi/Schema.sol/SchemaLib.abi.json +18 -0
  48. package/abi/Slice.sol/SliceInstance.abi.json +1 -0
  49. package/abi/Slice.sol/SliceLib.abi.json +23 -0
  50. package/abi/Storage.sol/Storage.abi.json +1 -0
  51. package/abi/StoreCore.sol/StoreCore.abi.json +77 -0
  52. package/abi/StoreCore.sol/StoreCoreExtended.abi.json +1 -0
  53. package/abi/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
  54. package/abi/StoreMetadata.sol/StoreMetadata.abi.json +1 -0
  55. package/abi/StoreRead.sol/StoreRead.abi.json +235 -0
  56. package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +82 -0
  57. package/abi/StoreSwitch.sol/StoreSwitch.abi.json +7 -0
  58. package/abi/System.sol/System.abi.json +1 -0
  59. package/abi/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
  60. package/abi/Systems.sol/Systems.abi.json +1 -0
  61. package/abi/TableId.sol/TableId.abi.json +1 -0
  62. package/abi/TightCoder.sol/TightCoder.abi.json +1 -0
  63. package/abi/UniqueEntity.sol/UniqueEntity.abi.json +1 -0
  64. package/abi/UniqueEntityModule.sol/UniqueEntityModule.abi.json +55 -0
  65. package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json +68 -0
  66. package/abi/Utils.sol/Utils.abi.json +1 -0
  67. package/abi/Vector2.sol/Vector2.abi.json +1 -0
  68. package/abi/World.sol/World.abi.json +825 -0
  69. package/abi/WorldContext.sol/WorldContext.abi.json +1 -0
  70. package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +447 -0
  71. package/abi/console.sol/console.abi.json +1 -0
  72. package/abi/interfaces/IErrors.sol/IErrors.abi.json +95 -0
  73. package/abi/src/Bytes.sol/Bytes.abi.json +1 -0
  74. package/abi/src/IStore.sol/IStore.abi.json +426 -0
  75. package/abi/src/IStore.sol/IStoreData.abi.json +362 -0
  76. package/abi/src/IStore.sol/IStoreHook.abi.json +99 -0
  77. package/abi/src/IStore.sol/IStoreRead.abi.json +129 -0
  78. package/abi/src/IStore.sol/IStoreRegistration.abi.json +66 -0
  79. package/abi/src/IStore.sol/IStoreWrite.abi.json +235 -0
  80. package/abi/src/Memory.sol/Memory.abi.json +1 -0
  81. package/abi/src/PackedCounter.sol/PackedCounterLib.abi.json +1 -0
  82. package/abi/src/Schema.sol/SchemaLib.abi.json +18 -0
  83. package/abi/src/Slice.sol/SliceInstance.abi.json +1 -0
  84. package/abi/src/Slice.sol/SliceLib.abi.json +23 -0
  85. package/abi/src/StoreCore.sol/StoreCore.abi.json +77 -0
  86. package/abi/src/StoreCore.sol/StoreCoreExtended.abi.json +1 -0
  87. package/abi/src/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
  88. package/abi/src/StoreSwitch.sol/StoreSwitch.abi.json +7 -0
  89. package/abi/tightcoder/EncodeArray.sol/EncodeArray.abi.json +1 -0
  90. package/dist/mud.config.js +2 -151
  91. package/dist/mud.config.js.map +1 -1
  92. package/dist/ts/index.js +28 -0
  93. package/dist/ts/index.js.map +1 -0
  94. package/package.json +17 -33
  95. package/dist/index.js +0 -33166
  96. package/dist/index.js.map +0 -1
@@ -0,0 +1,117 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "string",
6
+ "name": "resource",
7
+ "type": "string"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "caller",
12
+ "type": "address"
13
+ }
14
+ ],
15
+ "name": "AccessDenied",
16
+ "type": "error"
17
+ },
18
+ {
19
+ "inputs": [
20
+ {
21
+ "internalType": "bytes",
22
+ "name": "data",
23
+ "type": "bytes"
24
+ },
25
+ {
26
+ "internalType": "uint256",
27
+ "name": "start",
28
+ "type": "uint256"
29
+ },
30
+ {
31
+ "internalType": "uint256",
32
+ "name": "end",
33
+ "type": "uint256"
34
+ }
35
+ ],
36
+ "name": "Slice_OutOfBounds",
37
+ "type": "error"
38
+ },
39
+ {
40
+ "inputs": [
41
+ {
42
+ "internalType": "uint256",
43
+ "name": "expected",
44
+ "type": "uint256"
45
+ },
46
+ {
47
+ "internalType": "uint256",
48
+ "name": "received",
49
+ "type": "uint256"
50
+ }
51
+ ],
52
+ "name": "StoreCore_InvalidDataLength",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "bytes32",
59
+ "name": "tableId",
60
+ "type": "bytes32"
61
+ },
62
+ {
63
+ "internalType": "string",
64
+ "name": "tableIdString",
65
+ "type": "string"
66
+ }
67
+ ],
68
+ "name": "StoreCore_TableNotFound",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "bytes16",
75
+ "name": "namespace",
76
+ "type": "bytes16"
77
+ },
78
+ {
79
+ "internalType": "bytes16",
80
+ "name": "name",
81
+ "type": "bytes16"
82
+ },
83
+ {
84
+ "internalType": "address",
85
+ "name": "grantee",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "grantAccess",
90
+ "outputs": [],
91
+ "stateMutability": "nonpayable",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [
96
+ {
97
+ "internalType": "bytes16",
98
+ "name": "namespace",
99
+ "type": "bytes16"
100
+ },
101
+ {
102
+ "internalType": "bytes16",
103
+ "name": "name",
104
+ "type": "bytes16"
105
+ },
106
+ {
107
+ "internalType": "address",
108
+ "name": "grantee",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "revokeAccess",
113
+ "outputs": [],
114
+ "stateMutability": "nonpayable",
115
+ "type": "function"
116
+ }
117
+ ]
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1,140 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "string",
6
+ "name": "resourceSelector",
7
+ "type": "string"
8
+ }
9
+ ],
10
+ "name": "RequiredModuleNotFound",
11
+ "type": "error"
12
+ },
13
+ {
14
+ "inputs": [
15
+ {
16
+ "internalType": "uint256",
17
+ "name": "length",
18
+ "type": "uint256"
19
+ }
20
+ ],
21
+ "name": "SchemaLib_InvalidLength",
22
+ "type": "error"
23
+ },
24
+ {
25
+ "inputs": [],
26
+ "name": "SchemaLib_StaticTypeAfterDynamicType",
27
+ "type": "error"
28
+ },
29
+ {
30
+ "inputs": [
31
+ {
32
+ "internalType": "bytes",
33
+ "name": "data",
34
+ "type": "bytes"
35
+ },
36
+ {
37
+ "internalType": "uint256",
38
+ "name": "start",
39
+ "type": "uint256"
40
+ },
41
+ {
42
+ "internalType": "uint256",
43
+ "name": "end",
44
+ "type": "uint256"
45
+ }
46
+ ],
47
+ "name": "Slice_OutOfBounds",
48
+ "type": "error"
49
+ },
50
+ {
51
+ "inputs": [
52
+ {
53
+ "internalType": "uint256",
54
+ "name": "expected",
55
+ "type": "uint256"
56
+ },
57
+ {
58
+ "internalType": "uint256",
59
+ "name": "received",
60
+ "type": "uint256"
61
+ }
62
+ ],
63
+ "name": "StoreCore_InvalidDataLength",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "uint256",
70
+ "name": "expected",
71
+ "type": "uint256"
72
+ },
73
+ {
74
+ "internalType": "uint256",
75
+ "name": "received",
76
+ "type": "uint256"
77
+ }
78
+ ],
79
+ "name": "StoreCore_InvalidFieldNamesLength",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "bytes32",
86
+ "name": "tableId",
87
+ "type": "bytes32"
88
+ },
89
+ {
90
+ "internalType": "string",
91
+ "name": "tableIdString",
92
+ "type": "string"
93
+ }
94
+ ],
95
+ "name": "StoreCore_TableAlreadyExists",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "bytes32",
102
+ "name": "tableId",
103
+ "type": "bytes32"
104
+ },
105
+ {
106
+ "internalType": "string",
107
+ "name": "tableIdString",
108
+ "type": "string"
109
+ }
110
+ ],
111
+ "name": "StoreCore_TableNotFound",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "getName",
117
+ "outputs": [
118
+ {
119
+ "internalType": "bytes16",
120
+ "name": "",
121
+ "type": "bytes16"
122
+ }
123
+ ],
124
+ "stateMutability": "pure",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "bytes",
131
+ "name": "",
132
+ "type": "bytes"
133
+ }
134
+ ],
135
+ "name": "install",
136
+ "outputs": [],
137
+ "stateMutability": "nonpayable",
138
+ "type": "function"
139
+ }
140
+ ]