@latticexyz/world-modules 2.0.0-main-2e288aa7 → 2.0.0-main-a2e99323

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 (182) hide show
  1. package/out/AccessControl.sol/AccessControl.json +1 -1
  2. package/out/AccessControlLib.sol/AccessControlLib.json +1 -1
  3. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  4. package/out/AddressArray.sol/AddressArray.json +1 -1
  5. package/out/Allowances.sol/Allowances.json +1 -1
  6. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  7. package/out/Balances.sol/Balances.json +1 -1
  8. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  9. package/out/Bool.sol/Bool.json +1 -1
  10. package/out/Bytes.sol/Bytes.json +1 -1
  11. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +1 -1
  12. package/out/CallboundDelegations.sol/CallboundDelegations.json +1 -1
  13. package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
  14. package/out/Delegation.sol/Delegation.json +1 -1
  15. package/out/DelegationControl.sol/DelegationControl.json +1 -1
  16. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
  17. package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
  18. package/out/ERC20.t.sol/ERC20Test.json +1 -1
  19. package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
  20. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  21. package/out/ERC20Module.sol/ERC20ModuleRegistrationLibrary.json +1 -1
  22. package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
  23. package/out/ERC20System.sol/ERC20System.json +1 -1
  24. package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
  25. package/out/ERC721.t.sol/ERC721Test.json +1 -1
  26. package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
  27. package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
  28. package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
  29. package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
  30. package/out/ERC721Metadata.sol/ERC721Metadata.json +1 -1
  31. package/out/ERC721Module.sol/ERC721Module.json +1 -1
  32. package/out/ERC721Module.sol/ERC721ModuleRegistrationLibrary.json +1 -1
  33. package/out/ERC721Registry.sol/ERC721Registry.json +1 -1
  34. package/out/ERC721System.sol/ERC721System.json +1 -1
  35. package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -1
  36. package/out/EncodeArray.sol/EncodeArray.json +1 -1
  37. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
  38. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
  39. package/out/FieldLayoutEncodeHelper.sol/FieldLayoutEncodeHelper.json +1 -1
  40. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
  41. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
  42. package/out/Hook.sol/HookInstance.json +1 -1
  43. package/out/Hook.sol/HookLib.json +1 -1
  44. package/out/Hooks.sol/Hooks.json +1 -1
  45. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
  46. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
  47. package/out/IBaseWorld.sol/IBaseWorld.abi.json +202 -0
  48. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +202 -0
  49. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  50. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
  51. package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
  52. package/out/IERC20System.sol/IERC20System.json +1 -1
  53. package/out/IERC721Metadata.sol/IERC721Metadata.json +1 -1
  54. package/out/IERC721Receiver.sol/IERC721Receiver.json +1 -1
  55. package/out/IModule.sol/IModule.json +1 -1
  56. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
  57. package/out/IPuppetFactorySystem.sol/IPuppetFactorySystem.json +1 -1
  58. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
  59. package/out/IStore.sol/IStore.abi.json +202 -0
  60. package/out/IStore.sol/IStore.abi.json.d.ts +202 -0
  61. package/out/IStore.sol/IStore.json +1 -1
  62. package/out/IStoreData.sol/IStoreData.json +1 -1
  63. package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
  64. package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +204 -0
  65. package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
  66. package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
  67. package/out/IStoreHook.sol/IStoreHook.json +1 -1
  68. package/out/IStoreRead.sol/IStoreRead.json +1 -1
  69. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
  70. package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
  71. package/out/ISystemHook.sol/ISystemHook.json +1 -1
  72. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
  73. package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
  74. package/out/IWorldKernel.sol/IWorldCall.json +1 -1
  75. package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
  76. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
  77. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  78. package/out/InitModule.sol/InitModule.json +1 -1
  79. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
  80. package/out/InstalledModules.sol/InstalledModules.json +1 -1
  81. package/out/KeysInTable.sol/KeysInTable.json +1 -1
  82. package/out/KeysInTableHook.sol/KeysInTableHook.json +1 -1
  83. package/out/KeysInTableModule.sol/KeysInTableModule.json +1 -1
  84. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
  85. package/out/KeysWithValue.sol/KeysWithValue.json +1 -1
  86. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1 -1
  87. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +1 -1
  88. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
  89. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
  90. package/out/Memory.sol/Memory.json +1 -1
  91. package/out/Module.sol/Module.json +1 -1
  92. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  93. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
  94. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
  95. package/out/OperatorApproval.sol/OperatorApproval.json +1 -1
  96. package/out/Owners.sol/Owners.json +1 -1
  97. package/out/PackedCounter.sol/PackedCounterInstance.json +1 -1
  98. package/out/PackedCounter.sol/PackedCounterLib.json +1 -1
  99. package/out/Puppet.sol/Puppet.json +1 -1
  100. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.json +1 -1
  101. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.json +1 -1
  102. package/out/PuppetMaster.sol/PuppetMaster.json +1 -1
  103. package/out/PuppetModule.sol/PuppetModule.json +1 -1
  104. package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
  105. package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
  106. package/out/PuppetRegistry.sol/PuppetRegistry.json +1 -1
  107. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  108. package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
  109. package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
  110. package/out/ResourceId.sol/ResourceIdLib.json +1 -1
  111. package/out/ResourceIds.sol/ResourceIds.json +1 -1
  112. package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -1
  113. package/out/Schema.sol/SchemaInstance.json +1 -1
  114. package/out/Schema.sol/SchemaLib.json +1 -1
  115. package/out/SchemaEncodeHelper.sol/SchemaEncodeHelper.json +1 -1
  116. package/out/Slice.sol/SliceInstance.json +1 -1
  117. package/out/Slice.sol/SliceLib.json +1 -1
  118. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +1 -1
  119. package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
  120. package/out/Storage.sol/Storage.json +1 -1
  121. package/out/StoreCore.sol/StoreCore.json +1 -1
  122. package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
  123. package/out/StoreData.sol/StoreData.json +1 -1
  124. package/out/StoreHook.sol/StoreHook.json +1 -1
  125. package/out/StoreHooks.sol/StoreHooks.json +1 -1
  126. package/out/StoreRead.sol/StoreRead.json +1 -1
  127. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  128. package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
  129. package/out/System.sol/System.json +1 -1
  130. package/out/SystemCall.sol/SystemCall.json +1 -1
  131. package/out/SystemHook.sol/SystemHook.json +1 -1
  132. package/out/SystemHooks.sol/SystemHooks.json +1 -1
  133. package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
  134. package/out/SystemSwitch.sol/SystemSwitch.json +1 -1
  135. package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
  136. package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
  137. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.json +1 -1
  138. package/out/SystemboundDelegations.sol/SystemboundDelegations.json +1 -1
  139. package/out/Systems.sol/Systems.json +1 -1
  140. package/out/Tables.sol/Tables.json +1 -1
  141. package/out/TightCoder.sol/TightCoder.json +1 -1
  142. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +1 -1
  143. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1 -1
  144. package/out/TokenApproval.sol/TokenApproval.json +1 -1
  145. package/out/TokenURI.sol/TokenURI.json +1 -1
  146. package/out/TotalSupply.sol/TotalSupply.json +1 -1
  147. package/out/TwoFields.sol/TwoFields.json +1 -1
  148. package/out/UniqueEntity.sol/UniqueEntity.json +1 -1
  149. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +1 -1
  150. package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
  151. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
  152. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +1 -1
  153. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +1 -1
  154. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
  155. package/out/World.sol/World.json +1 -1
  156. package/out/World.t.sol/EchoSystemHook.json +1 -1
  157. package/out/World.t.sol/IWorldTestSystem.json +1 -1
  158. package/out/World.t.sol/PayableFallbackSystem.json +1 -1
  159. package/out/World.t.sol/RevertSystemHook.json +1 -1
  160. package/out/World.t.sol/WorldTest.json +1 -1
  161. package/out/World.t.sol/WorldTestSystem.json +1 -1
  162. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  163. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  164. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  165. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  166. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
  167. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
  168. package/out/constants.sol/LayoutOffsets.json +1 -1
  169. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +202 -0
  170. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +202 -0
  171. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +1 -1
  172. package/out/query.t.sol/QueryTest.json +1 -1
  173. package/out/tables/Balances.sol/Balances.json +1 -1
  174. package/out/world/src/IERC165.sol/IERC165.json +1 -1
  175. package/package.json +8 -8
  176. package/src/interfaces/IBaseWorld.sol +1 -0
  177. package/src/interfaces/IERC20System.sol +1 -0
  178. package/src/interfaces/IPuppetFactorySystem.sol +1 -0
  179. package/src/modules/erc721-puppet/IERC721Metadata.sol +1 -0
  180. package/src/modules/erc721-puppet/IERC721Receiver.sol +1 -0
  181. package/src/utils/AccessControlLib.sol +1 -0
  182. package/src/utils/SystemSwitch.sol +1 -0
@@ -1045,6 +1045,208 @@ declare const abi: [
1045
1045
  ],
1046
1046
  "anonymous": false
1047
1047
  },
1048
+ {
1049
+ "type": "error",
1050
+ "name": "Store_IndexOutOfBounds",
1051
+ "inputs": [
1052
+ {
1053
+ "name": "length",
1054
+ "type": "uint256",
1055
+ "internalType": "uint256"
1056
+ },
1057
+ {
1058
+ "name": "accessedIndex",
1059
+ "type": "uint256",
1060
+ "internalType": "uint256"
1061
+ }
1062
+ ]
1063
+ },
1064
+ {
1065
+ "type": "error",
1066
+ "name": "Store_InvalidBounds",
1067
+ "inputs": [
1068
+ {
1069
+ "name": "start",
1070
+ "type": "uint256",
1071
+ "internalType": "uint256"
1072
+ },
1073
+ {
1074
+ "name": "end",
1075
+ "type": "uint256",
1076
+ "internalType": "uint256"
1077
+ }
1078
+ ]
1079
+ },
1080
+ {
1081
+ "type": "error",
1082
+ "name": "Store_InvalidFieldNamesLength",
1083
+ "inputs": [
1084
+ {
1085
+ "name": "expected",
1086
+ "type": "uint256",
1087
+ "internalType": "uint256"
1088
+ },
1089
+ {
1090
+ "name": "received",
1091
+ "type": "uint256",
1092
+ "internalType": "uint256"
1093
+ }
1094
+ ]
1095
+ },
1096
+ {
1097
+ "type": "error",
1098
+ "name": "Store_InvalidKeyNamesLength",
1099
+ "inputs": [
1100
+ {
1101
+ "name": "expected",
1102
+ "type": "uint256",
1103
+ "internalType": "uint256"
1104
+ },
1105
+ {
1106
+ "name": "received",
1107
+ "type": "uint256",
1108
+ "internalType": "uint256"
1109
+ }
1110
+ ]
1111
+ },
1112
+ {
1113
+ "type": "error",
1114
+ "name": "Store_InvalidResourceType",
1115
+ "inputs": [
1116
+ {
1117
+ "name": "expected",
1118
+ "type": "bytes2",
1119
+ "internalType": "bytes2"
1120
+ },
1121
+ {
1122
+ "name": "resourceId",
1123
+ "type": "bytes32",
1124
+ "internalType": "ResourceId"
1125
+ },
1126
+ {
1127
+ "name": "resourceIdString",
1128
+ "type": "string",
1129
+ "internalType": "string"
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "type": "error",
1135
+ "name": "Store_InvalidSplice",
1136
+ "inputs": [
1137
+ {
1138
+ "name": "startWithinField",
1139
+ "type": "uint40",
1140
+ "internalType": "uint40"
1141
+ },
1142
+ {
1143
+ "name": "deleteCount",
1144
+ "type": "uint40",
1145
+ "internalType": "uint40"
1146
+ },
1147
+ {
1148
+ "name": "fieldLength",
1149
+ "type": "uint40",
1150
+ "internalType": "uint40"
1151
+ }
1152
+ ]
1153
+ },
1154
+ {
1155
+ "type": "error",
1156
+ "name": "Store_InvalidStaticDataLength",
1157
+ "inputs": [
1158
+ {
1159
+ "name": "expected",
1160
+ "type": "uint256",
1161
+ "internalType": "uint256"
1162
+ },
1163
+ {
1164
+ "name": "received",
1165
+ "type": "uint256",
1166
+ "internalType": "uint256"
1167
+ }
1168
+ ]
1169
+ },
1170
+ {
1171
+ "type": "error",
1172
+ "name": "Store_InvalidValueSchemaDynamicLength",
1173
+ "inputs": [
1174
+ {
1175
+ "name": "expected",
1176
+ "type": "uint256",
1177
+ "internalType": "uint256"
1178
+ },
1179
+ {
1180
+ "name": "received",
1181
+ "type": "uint256",
1182
+ "internalType": "uint256"
1183
+ }
1184
+ ]
1185
+ },
1186
+ {
1187
+ "type": "error",
1188
+ "name": "Store_InvalidValueSchemaLength",
1189
+ "inputs": [
1190
+ {
1191
+ "name": "expected",
1192
+ "type": "uint256",
1193
+ "internalType": "uint256"
1194
+ },
1195
+ {
1196
+ "name": "received",
1197
+ "type": "uint256",
1198
+ "internalType": "uint256"
1199
+ }
1200
+ ]
1201
+ },
1202
+ {
1203
+ "type": "error",
1204
+ "name": "Store_InvalidValueSchemaStaticLength",
1205
+ "inputs": [
1206
+ {
1207
+ "name": "expected",
1208
+ "type": "uint256",
1209
+ "internalType": "uint256"
1210
+ },
1211
+ {
1212
+ "name": "received",
1213
+ "type": "uint256",
1214
+ "internalType": "uint256"
1215
+ }
1216
+ ]
1217
+ },
1218
+ {
1219
+ "type": "error",
1220
+ "name": "Store_TableAlreadyExists",
1221
+ "inputs": [
1222
+ {
1223
+ "name": "tableId",
1224
+ "type": "bytes32",
1225
+ "internalType": "ResourceId"
1226
+ },
1227
+ {
1228
+ "name": "tableIdString",
1229
+ "type": "string",
1230
+ "internalType": "string"
1231
+ }
1232
+ ]
1233
+ },
1234
+ {
1235
+ "type": "error",
1236
+ "name": "Store_TableNotFound",
1237
+ "inputs": [
1238
+ {
1239
+ "name": "tableId",
1240
+ "type": "bytes32",
1241
+ "internalType": "ResourceId"
1242
+ },
1243
+ {
1244
+ "name": "tableIdString",
1245
+ "type": "string",
1246
+ "internalType": "string"
1247
+ }
1248
+ ]
1249
+ },
1048
1250
  {
1049
1251
  "type": "error",
1050
1252
  "name": "World_AccessDenied",