@latticexyz/world-module-erc20 2.2.20-b7901812d4035faa3ec9bb75f31ffe7af398bdf2 → 2.2.21-041031d271b62a7f41f7c6dc0098c1c0ae222bd5

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 (278) hide show
  1. package/README.md +11 -39
  2. package/out/AccessControl.sol/AccessControl.json +1 -1
  3. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +1 -1
  4. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +1 -1
  5. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  6. package/out/Allowances.sol/Allowances.json +1 -1
  7. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +1 -1
  8. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +1 -1
  9. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  10. package/out/Balances.sol/Balances.json +1 -1
  11. package/out/Base.sol/CommonBase.json +1 -1
  12. package/out/Base.sol/ScriptBase.json +1 -1
  13. package/out/Base.sol/TestBase.json +1 -1
  14. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +1 -1
  15. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +1 -1
  16. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  17. package/out/Bytes.sol/Bytes.json +1 -1
  18. package/out/Constants.sol/ERC20TableNames.json +1 -1
  19. package/out/Constants.sol/ModuleConstants.json +1 -1
  20. package/out/Constants.sol/PausableTableNames.json +1 -1
  21. package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
  22. package/out/Delegation.sol/Delegation.json +1 -1
  23. package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
  24. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json +331 -0
  25. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json.d.ts +331 -0
  26. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
  27. package/out/{ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json → ERC20BaseTest.t.sol/ERC20Test.abi.json} +324 -7
  28. package/out/{ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json.d.ts → ERC20BaseTest.t.sol/ERC20Test.abi.json.d.ts} +324 -7
  29. package/out/ERC20BaseTest.t.sol/ERC20Test.json +1 -0
  30. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +93 -198
  31. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +93 -198
  32. package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
  33. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +75 -235
  34. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +75 -235
  35. package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
  36. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +331 -0
  37. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +331 -0
  38. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
  39. package/out/{ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json → ERC20Burnable.t.sol/MockERC20Burnable.abi.json} +124 -198
  40. package/out/{ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts → ERC20Burnable.t.sol/MockERC20Burnable.abi.json.d.ts} +124 -198
  41. package/out/ERC20Burnable.t.sol/MockERC20Burnable.json +1 -0
  42. package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
  43. package/out/ERC20Module.sol/ERC20Module.abi.json +3 -3
  44. package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +3 -3
  45. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  46. package/out/ERC20Module.sol/ERC20ModuleLib.json +1 -0
  47. package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
  48. package/out/ERC20Module.t.sol/TestConstants.json +1 -1
  49. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +76 -236
  50. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +76 -236
  51. package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
  52. package/out/ERC20Pausable.t.sol/{ERC20PausableWithWorldTest.abi.json → ERC20PausableTest.abi.json} +324 -0
  53. package/out/ERC20Pausable.t.sol/{ERC20PausableWithWorldTest.abi.json.d.ts → ERC20PausableTest.abi.json.d.ts} +324 -0
  54. package/out/ERC20Pausable.t.sol/ERC20PausableTest.json +1 -0
  55. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +130 -199
  56. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +130 -199
  57. package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
  58. package/out/{ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json} +163 -209
  59. package/out/{ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json.d.ts} +163 -209
  60. package/out/ERC20PausableBurnable.sol/ERC20PausableBurnable.json +1 -0
  61. package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
  62. package/out/EncodeArray.sol/EncodeArray.json +1 -1
  63. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -1
  64. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -1
  65. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
  66. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
  67. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
  68. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
  69. package/out/GasReporter.sol/GasReporter.json +1 -1
  70. package/out/Hook.sol/HookInstance.json +1 -1
  71. package/out/Hook.sol/HookLib.json +1 -1
  72. package/out/Hooks.sol/Hooks.json +1 -1
  73. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
  74. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
  75. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  76. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
  77. package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
  78. package/out/IERC165.sol/IERC165.json +1 -1
  79. package/out/IERC20.sol/IERC20.json +1 -1
  80. package/out/IERC20Errors.sol/IERC20Errors.json +1 -1
  81. package/out/IERC20Events.sol/IERC20Events.json +1 -1
  82. package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -1
  83. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -1
  84. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -1
  85. package/out/IModule.sol/IModule.json +1 -1
  86. package/out/IModuleErrors.sol/IModuleErrors.json +1 -1
  87. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
  88. package/out/IMulticall3.sol/IMulticall3.json +1 -1
  89. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
  90. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -1
  91. package/out/ISliceErrors.sol/ISliceErrors.json +1 -1
  92. package/out/IStore.sol/IStore.json +1 -1
  93. package/out/IStoreErrors.sol/IStoreErrors.json +1 -1
  94. package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
  95. package/out/IStoreHook.sol/IStoreHook.json +1 -1
  96. package/out/IStoreKernel.sol/IStoreKernel.json +1 -1
  97. package/out/IStoreRead.sol/IStoreRead.json +1 -1
  98. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
  99. package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
  100. package/out/ISystemHook.sol/ISystemHook.json +1 -1
  101. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
  102. package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
  103. package/out/IWorldEvents.sol/IWorldEvents.json +1 -1
  104. package/out/IWorldKernel.sol/IWorldCall.json +1 -1
  105. package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
  106. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
  107. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  108. package/out/InitModule.sol/InitModule.abi.json +3 -3
  109. package/out/InitModule.sol/InitModule.abi.json.d.ts +3 -3
  110. package/out/InitModule.sol/InitModule.json +1 -1
  111. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
  112. package/out/InstalledModules.sol/InstalledModules.json +1 -1
  113. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
  114. package/out/MUDERC20.sol/MUDERC20.abi.json +75 -235
  115. package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +75 -235
  116. package/out/MUDERC20.sol/MUDERC20.json +1 -1
  117. package/out/Memory.sol/Memory.json +1 -1
  118. package/out/Module.sol/Module.abi.json +1 -1
  119. package/out/Module.sol/Module.abi.json.d.ts +1 -1
  120. package/out/Module.sol/Module.json +1 -1
  121. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +1 -1
  122. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +1 -1
  123. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  124. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
  125. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
  126. package/out/Owner.sol/Owner.json +1 -1
  127. package/out/Pausable.sol/Pausable.abi.json +64 -276
  128. package/out/Pausable.sol/Pausable.abi.json.d.ts +64 -276
  129. package/out/Pausable.sol/Pausable.json +1 -1
  130. package/out/Paused.sol/Paused.json +1 -1
  131. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1 -1
  132. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1 -1
  133. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  134. package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
  135. package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
  136. package/out/ResourceId.sol/ResourceIdLib.json +1 -1
  137. package/out/ResourceIds.sol/ResourceIds.json +1 -1
  138. package/out/Schema.sol/SchemaInstance.json +1 -1
  139. package/out/Schema.sol/SchemaLib.json +1 -1
  140. package/out/Slice.sol/SliceInstance.json +1 -1
  141. package/out/Slice.sol/SliceLib.json +1 -1
  142. package/out/StdAssertions.sol/StdAssertions.json +1 -1
  143. package/out/StdChains.sol/StdChains.json +1 -1
  144. package/out/StdCheats.sol/StdCheats.json +1 -1
  145. package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
  146. package/out/StdError.sol/stdError.json +1 -1
  147. package/out/StdInvariant.sol/StdInvariant.json +1 -1
  148. package/out/StdJson.sol/stdJson.json +1 -1
  149. package/out/StdMath.sol/stdMath.json +1 -1
  150. package/out/StdStorage.sol/stdStorage.json +1 -1
  151. package/out/StdStorage.sol/stdStorageSafe.json +1 -1
  152. package/out/StdStyle.sol/StdStyle.json +1 -1
  153. package/out/StdUtils.sol/StdUtils.json +1 -1
  154. package/out/Storage.sol/Storage.json +1 -1
  155. package/out/StoreCore.sol/StoreCore.json +1 -1
  156. package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
  157. package/out/StoreHooks.sol/StoreHooks.json +1 -1
  158. package/out/StoreKernel.sol/StoreKernel.json +1 -1
  159. package/out/StoreRead.sol/StoreRead.json +1 -1
  160. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +1 -1
  161. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +1 -1
  162. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  163. package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
  164. package/out/System.sol/System.abi.json +1 -1
  165. package/out/System.sol/System.abi.json.d.ts +1 -1
  166. package/out/System.sol/System.json +1 -1
  167. package/out/SystemCall.sol/SystemCall.json +1 -1
  168. package/out/SystemHooks.sol/SystemHooks.json +1 -1
  169. package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
  170. package/out/Systems.sol/Systems.json +1 -1
  171. package/out/Tables.sol/Tables.json +1 -1
  172. package/out/Test.sol/Test.json +1 -1
  173. package/out/TightCoder.sol/TightCoder.json +1 -1
  174. package/out/TotalSupply.sol/TotalSupply.json +1 -1
  175. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
  176. package/out/Vm.sol/Vm.json +1 -1
  177. package/out/Vm.sol/VmSafe.json +1 -1
  178. package/out/World.sol/World.json +1 -1
  179. package/out/WorldConsumer.sol/WorldConsumer.abi.json +140 -0
  180. package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +142 -0
  181. package/out/WorldConsumer.sol/WorldConsumer.json +1 -0
  182. package/out/WorldContext.sol/WorldContextConsumer.abi.json +1 -1
  183. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +1 -1
  184. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  185. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  186. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  187. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +1 -1
  188. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +1 -1
  189. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  190. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
  191. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
  192. package/out/build-info/5dec426f2d87057b9b49f18296a28057.json +1 -0
  193. package/out/console.sol/console.json +1 -1
  194. package/out/console2.sol/console2.json +1 -1
  195. package/out/constants.sol/LayoutOffsets.json +1 -1
  196. package/out/safeconsole.sol/safeconsole.json +1 -1
  197. package/out/src/IERC165.sol/IERC165.json +1 -1
  198. package/out/tables/Balances.sol/Balances.json +1 -1
  199. package/out/test.sol/DSTest.json +1 -1
  200. package/package.json +8 -8
  201. package/src/examples/ERC20PausableBurnable.sol +55 -0
  202. package/src/experimental/Constants.sol +0 -4
  203. package/src/experimental/ERC20Module.sol +47 -14
  204. package/src/experimental/ERC20Pausable.sol +3 -0
  205. package/src/experimental/MUDERC20.sol +28 -32
  206. package/src/experimental/Pausable.sol +18 -17
  207. package/out/Constants.sol/OwnableTableNames.abi.json +0 -1
  208. package/out/Constants.sol/OwnableTableNames.json +0 -1
  209. package/out/Context.sol/Context.abi.json +0 -15
  210. package/out/Context.sol/Context.abi.json.d.ts +0 -17
  211. package/out/Context.sol/Context.json +0 -1
  212. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json +0 -949
  213. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json.d.ts +0 -951
  214. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +0 -1
  215. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json +0 -949
  216. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json.d.ts +0 -951
  217. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +0 -1
  218. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.abi.json +0 -956
  219. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.abi.json.d.ts +0 -958
  220. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +0 -1
  221. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json +0 -956
  222. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json.d.ts +0 -958
  223. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.json +0 -1
  224. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +0 -1
  225. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +0 -839
  226. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +0 -841
  227. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +0 -1
  228. package/out/ERC20BaseTest.t.sol/TestConstants.abi.json +0 -1
  229. package/out/ERC20BaseTest.t.sol/TestConstants.json +0 -1
  230. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json +0 -956
  231. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json.d.ts +0 -958
  232. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +0 -1
  233. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +0 -1
  234. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +0 -727
  235. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +0 -729
  236. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +0 -1
  237. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +0 -865
  238. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +0 -867
  239. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +0 -1
  240. package/out/ERC20Module.sol/ERC20RegistryLib.json +0 -1
  241. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json +0 -956
  242. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json.d.ts +0 -958
  243. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +0 -1
  244. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json +0 -956
  245. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json.d.ts +0 -958
  246. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +0 -1
  247. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +0 -1
  248. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +0 -1
  249. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +0 -897
  250. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +0 -899
  251. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +0 -1
  252. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +0 -851
  253. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +0 -853
  254. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +0 -1
  255. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +0 -936
  256. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +0 -938
  257. package/out/ERC20WithWorld.sol/ERC20WithWorld.json +0 -1
  258. package/out/Ownable.sol/Ownable.abi.json +0 -426
  259. package/out/Ownable.sol/Ownable.abi.json.d.ts +0 -428
  260. package/out/Ownable.sol/Ownable.json +0 -1
  261. package/out/Store.sol/Store.abi.json +0 -1261
  262. package/out/Store.sol/Store.abi.json.d.ts +0 -1263
  263. package/out/Store.sol/Store.json +0 -1
  264. package/out/StoreConsumer.sol/StoreConsumer.abi.json +0 -15
  265. package/out/StoreConsumer.sol/StoreConsumer.abi.json.d.ts +0 -17
  266. package/out/StoreConsumer.sol/StoreConsumer.json +0 -1
  267. package/out/WithStore.sol/WithStore.abi.json +0 -352
  268. package/out/WithStore.sol/WithStore.abi.json.d.ts +0 -354
  269. package/out/WithStore.sol/WithStore.json +0 -1
  270. package/out/WithWorld.sol/WithWorld.abi.json +0 -490
  271. package/out/WithWorld.sol/WithWorld.abi.json.d.ts +0 -492
  272. package/out/WithWorld.sol/WithWorld.json +0 -1
  273. package/out/build-info/60c60a9593fdb00b3264c36836a28f39.json +0 -1
  274. package/src/examples/ERC20WithInternalStore.sol +0 -32
  275. package/src/examples/ERC20WithWorld.sol +0 -47
  276. package/src/experimental/Ownable.sol +0 -110
  277. /package/out/ERC20Module.sol/{ERC20RegistryLib.abi.json → ERC20ModuleLib.abi.json} +0 -0
  278. /package/out/ERC20Module.sol/{ERC20RegistryLib.abi.json.d.ts → ERC20ModuleLib.abi.json.d.ts} +0 -0
@@ -3,6 +3,32 @@ declare const abi: [
3
3
  "type": "function",
4
4
  "name": "_msgSender",
5
5
  "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "sender",
9
+ "type": "address",
10
+ "internalType": "address"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "_msgValue",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "value",
22
+ "type": "uint256",
23
+ "internalType": "uint256"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "_world",
31
+ "inputs": [],
6
32
  "outputs": [
7
33
  {
8
34
  "name": "",
@@ -94,34 +120,40 @@ declare const abi: [
94
120
  },
95
121
  {
96
122
  "type": "function",
97
- "name": "getStore",
123
+ "name": "name",
98
124
  "inputs": [],
99
125
  "outputs": [
100
126
  {
101
127
  "name": "",
102
- "type": "address",
103
- "internalType": "address"
128
+ "type": "string",
129
+ "internalType": "string"
104
130
  }
105
131
  ],
106
132
  "stateMutability": "view"
107
133
  },
108
134
  {
109
135
  "type": "function",
110
- "name": "name",
136
+ "name": "paused",
111
137
  "inputs": [],
112
138
  "outputs": [
113
139
  {
114
140
  "name": "",
115
- "type": "string",
116
- "internalType": "string"
141
+ "type": "bool",
142
+ "internalType": "bool"
117
143
  }
118
144
  ],
119
145
  "stateMutability": "view"
120
146
  },
121
147
  {
122
148
  "type": "function",
123
- "name": "paused",
124
- "inputs": [],
149
+ "name": "supportsInterface",
150
+ "inputs": [
151
+ {
152
+ "name": "interfaceId",
153
+ "type": "bytes4",
154
+ "internalType": "bytes4"
155
+ }
156
+ ],
125
157
  "outputs": [
126
158
  {
127
159
  "name": "",
@@ -129,7 +161,7 @@ declare const abi: [
129
161
  "internalType": "bool"
130
162
  }
131
163
  ],
132
- "stateMutability": "view"
164
+ "stateMutability": "pure"
133
165
  },
134
166
  {
135
167
  "type": "function",
@@ -248,43 +280,6 @@ declare const abi: [
248
280
  ],
249
281
  "anonymous": false
250
282
  },
251
- {
252
- "type": "event",
253
- "name": "Store_SetRecord",
254
- "inputs": [
255
- {
256
- "name": "tableId",
257
- "type": "bytes32",
258
- "indexed": true,
259
- "internalType": "ResourceId"
260
- },
261
- {
262
- "name": "keyTuple",
263
- "type": "bytes32[]",
264
- "indexed": false,
265
- "internalType": "bytes32[]"
266
- },
267
- {
268
- "name": "staticData",
269
- "type": "bytes",
270
- "indexed": false,
271
- "internalType": "bytes"
272
- },
273
- {
274
- "name": "encodedLengths",
275
- "type": "bytes32",
276
- "indexed": false,
277
- "internalType": "EncodedLengths"
278
- },
279
- {
280
- "name": "dynamicData",
281
- "type": "bytes",
282
- "indexed": false,
283
- "internalType": "bytes"
284
- }
285
- ],
286
- "anonymous": false
287
- },
288
283
  {
289
284
  "type": "event",
290
285
  "name": "Store_SpliceStaticData",
@@ -450,108 +445,6 @@ declare const abi: [
450
445
  "name": "ExpectedPause",
451
446
  "inputs": []
452
447
  },
453
- {
454
- "type": "error",
455
- "name": "FieldLayout_Empty",
456
- "inputs": []
457
- },
458
- {
459
- "type": "error",
460
- "name": "FieldLayout_InvalidStaticDataLength",
461
- "inputs": [
462
- {
463
- "name": "staticDataLength",
464
- "type": "uint256",
465
- "internalType": "uint256"
466
- },
467
- {
468
- "name": "computedStaticDataLength",
469
- "type": "uint256",
470
- "internalType": "uint256"
471
- }
472
- ]
473
- },
474
- {
475
- "type": "error",
476
- "name": "FieldLayout_StaticLengthDoesNotFitInAWord",
477
- "inputs": [
478
- {
479
- "name": "index",
480
- "type": "uint256",
481
- "internalType": "uint256"
482
- }
483
- ]
484
- },
485
- {
486
- "type": "error",
487
- "name": "FieldLayout_StaticLengthIsNotZero",
488
- "inputs": [
489
- {
490
- "name": "index",
491
- "type": "uint256",
492
- "internalType": "uint256"
493
- }
494
- ]
495
- },
496
- {
497
- "type": "error",
498
- "name": "FieldLayout_StaticLengthIsZero",
499
- "inputs": [
500
- {
501
- "name": "index",
502
- "type": "uint256",
503
- "internalType": "uint256"
504
- }
505
- ]
506
- },
507
- {
508
- "type": "error",
509
- "name": "FieldLayout_TooManyDynamicFields",
510
- "inputs": [
511
- {
512
- "name": "numFields",
513
- "type": "uint256",
514
- "internalType": "uint256"
515
- },
516
- {
517
- "name": "maxFields",
518
- "type": "uint256",
519
- "internalType": "uint256"
520
- }
521
- ]
522
- },
523
- {
524
- "type": "error",
525
- "name": "FieldLayout_TooManyFields",
526
- "inputs": [
527
- {
528
- "name": "numFields",
529
- "type": "uint256",
530
- "internalType": "uint256"
531
- },
532
- {
533
- "name": "maxFields",
534
- "type": "uint256",
535
- "internalType": "uint256"
536
- }
537
- ]
538
- },
539
- {
540
- "type": "error",
541
- "name": "Schema_InvalidLength",
542
- "inputs": [
543
- {
544
- "name": "length",
545
- "type": "uint256",
546
- "internalType": "uint256"
547
- }
548
- ]
549
- },
550
- {
551
- "type": "error",
552
- "name": "Schema_StaticTypeAfterDynamicType",
553
- "inputs": []
554
- },
555
448
  {
556
449
  "type": "error",
557
450
  "name": "Slice_OutOfBounds",
@@ -575,134 +468,81 @@ declare const abi: [
575
468
  },
576
469
  {
577
470
  "type": "error",
578
- "name": "Store_InvalidFieldNamesLength",
471
+ "name": "WorldConsumer_CallerHasNoNamespaceAccess",
579
472
  "inputs": [
580
473
  {
581
- "name": "expected",
582
- "type": "uint256",
583
- "internalType": "uint256"
584
- },
585
- {
586
- "name": "received",
587
- "type": "uint256",
588
- "internalType": "uint256"
589
- }
590
- ]
591
- },
592
- {
593
- "type": "error",
594
- "name": "Store_InvalidKeyNamesLength",
595
- "inputs": [
596
- {
597
- "name": "expected",
598
- "type": "uint256",
599
- "internalType": "uint256"
600
- },
601
- {
602
- "name": "received",
603
- "type": "uint256",
604
- "internalType": "uint256"
605
- }
606
- ]
607
- },
608
- {
609
- "type": "error",
610
- "name": "Store_InvalidResourceType",
611
- "inputs": [
612
- {
613
- "name": "expected",
614
- "type": "bytes2",
615
- "internalType": "bytes2"
474
+ "name": "worldAddress",
475
+ "type": "address",
476
+ "internalType": "address"
616
477
  },
617
478
  {
618
- "name": "resourceId",
619
- "type": "bytes32",
620
- "internalType": "ResourceId"
479
+ "name": "namespace",
480
+ "type": "bytes14",
481
+ "internalType": "bytes14"
621
482
  },
622
483
  {
623
- "name": "resourceIdString",
624
- "type": "string",
625
- "internalType": "string"
484
+ "name": "caller",
485
+ "type": "address",
486
+ "internalType": "address"
626
487
  }
627
488
  ]
628
489
  },
629
490
  {
630
491
  "type": "error",
631
- "name": "Store_InvalidStaticDataLength",
492
+ "name": "WorldConsumer_CallerIsNotNamespaceOwner",
632
493
  "inputs": [
633
494
  {
634
- "name": "expected",
635
- "type": "uint256",
636
- "internalType": "uint256"
495
+ "name": "worldAddress",
496
+ "type": "address",
497
+ "internalType": "address"
637
498
  },
638
499
  {
639
- "name": "received",
640
- "type": "uint256",
641
- "internalType": "uint256"
642
- }
643
- ]
644
- },
645
- {
646
- "type": "error",
647
- "name": "Store_InvalidValueSchemaDynamicLength",
648
- "inputs": [
649
- {
650
- "name": "expected",
651
- "type": "uint256",
652
- "internalType": "uint256"
500
+ "name": "namespace",
501
+ "type": "bytes14",
502
+ "internalType": "bytes14"
653
503
  },
654
504
  {
655
- "name": "received",
656
- "type": "uint256",
657
- "internalType": "uint256"
505
+ "name": "caller",
506
+ "type": "address",
507
+ "internalType": "address"
658
508
  }
659
509
  ]
660
510
  },
661
511
  {
662
512
  "type": "error",
663
- "name": "Store_InvalidValueSchemaLength",
513
+ "name": "WorldConsumer_CallerIsNotWorld",
664
514
  "inputs": [
665
515
  {
666
- "name": "expected",
667
- "type": "uint256",
668
- "internalType": "uint256"
516
+ "name": "worldAddress",
517
+ "type": "address",
518
+ "internalType": "address"
669
519
  },
670
520
  {
671
- "name": "received",
672
- "type": "uint256",
673
- "internalType": "uint256"
521
+ "name": "caller",
522
+ "type": "address",
523
+ "internalType": "address"
674
524
  }
675
525
  ]
676
526
  },
677
527
  {
678
528
  "type": "error",
679
- "name": "Store_InvalidValueSchemaStaticLength",
529
+ "name": "WorldConsumer_RootNamespaceNotAllowed",
680
530
  "inputs": [
681
531
  {
682
- "name": "expected",
683
- "type": "uint256",
684
- "internalType": "uint256"
685
- },
686
- {
687
- "name": "received",
688
- "type": "uint256",
689
- "internalType": "uint256"
532
+ "name": "worldAddress",
533
+ "type": "address",
534
+ "internalType": "address"
690
535
  }
691
536
  ]
692
537
  },
693
538
  {
694
539
  "type": "error",
695
- "name": "Store_TableAlreadyExists",
540
+ "name": "WorldConsumer_ValueNotAllowed",
696
541
  "inputs": [
697
542
  {
698
- "name": "tableId",
699
- "type": "bytes32",
700
- "internalType": "ResourceId"
701
- },
702
- {
703
- "name": "tableIdString",
704
- "type": "string",
705
- "internalType": "string"
543
+ "name": "worldAddress",
544
+ "type": "address",
545
+ "internalType": "address"
706
546
  }
707
547
  ]
708
548
  }