@latticexyz/world-module-erc20 2.2.20-b774ab28b3de6cefcbfce5e1bb6fcb68b9374abf → 2.2.20-b7901812d4035faa3ec9bb75f31ffe7af398bdf2

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 (268) hide show
  1. package/README.md +39 -11
  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/OwnableTableNames.json +1 -1
  21. package/out/Constants.sol/PausableTableNames.json +1 -1
  22. package/out/Context.sol/Context.abi.json +15 -0
  23. package/out/Context.sol/Context.abi.json.d.ts +17 -0
  24. package/out/Context.sol/Context.json +1 -0
  25. package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
  26. package/out/Delegation.sol/Delegation.json +1 -1
  27. package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
  28. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json +0 -7
  29. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json.d.ts +0 -7
  30. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
  31. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json +949 -0
  32. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json.d.ts +951 -0
  33. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +1 -0
  34. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json +949 -0
  35. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json.d.ts +951 -0
  36. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +1 -0
  37. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +1 -0
  38. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json +956 -0
  39. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json.d.ts +958 -0
  40. package/out/ERC20BaseTest.t.sol/{ERC20Test.json → ERC20WithWorldTest.json} +1 -1
  41. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +6 -160
  42. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +6 -160
  43. package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
  44. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json +696 -0
  45. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts +698 -0
  46. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +1 -0
  47. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +839 -0
  48. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +841 -0
  49. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +1 -0
  50. package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
  51. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +6 -155
  52. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +6 -155
  53. package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
  54. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +0 -7
  55. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +0 -7
  56. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
  57. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json +956 -0
  58. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json.d.ts +958 -0
  59. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -0
  60. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json +963 -0
  61. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json.d.ts +965 -0
  62. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -0
  63. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +727 -0
  64. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +729 -0
  65. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -0
  66. package/out/ERC20Burnable.t.sol/{MockERC20Burnable.abi.json → MockERC20WithWorldBurnable.abi.json} +42 -53
  67. package/out/ERC20Burnable.t.sol/{MockERC20Burnable.abi.json.d.ts → MockERC20WithWorldBurnable.abi.json.d.ts} +42 -53
  68. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -0
  69. package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
  70. package/out/ERC20Module.sol/ERC20Module.abi.json +3 -3
  71. package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +3 -3
  72. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  73. package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -1
  74. package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
  75. package/out/ERC20Module.t.sol/TestConstants.json +1 -1
  76. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +6 -155
  77. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +6 -155
  78. package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
  79. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json +0 -7
  80. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json.d.ts +0 -7
  81. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
  82. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json +956 -0
  83. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json.d.ts +958 -0
  84. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -0
  85. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json +963 -0
  86. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json.d.ts +965 -0
  87. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -0
  88. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +6 -191
  89. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +6 -191
  90. package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
  91. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +759 -0
  92. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +761 -0
  93. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -0
  94. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +897 -0
  95. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +899 -0
  96. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -0
  97. package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
  98. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +851 -0
  99. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +853 -0
  100. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -0
  101. package/out/{ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json → ERC20WithWorld.sol/ERC20WithWorld.abi.json} +46 -57
  102. package/out/{ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json.d.ts → ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts} +46 -57
  103. package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -0
  104. package/out/EncodeArray.sol/EncodeArray.json +1 -1
  105. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -1
  106. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -1
  107. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
  108. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
  109. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
  110. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
  111. package/out/GasReporter.sol/GasReporter.json +1 -1
  112. package/out/Hook.sol/HookInstance.json +1 -1
  113. package/out/Hook.sol/HookLib.json +1 -1
  114. package/out/Hooks.sol/Hooks.json +1 -1
  115. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
  116. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
  117. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  118. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
  119. package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
  120. package/out/IERC165.sol/IERC165.json +1 -1
  121. package/out/IERC20.sol/IERC20.json +1 -1
  122. package/out/IERC20Errors.sol/IERC20Errors.json +1 -1
  123. package/out/IERC20Events.sol/IERC20Events.json +1 -1
  124. package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -1
  125. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -1
  126. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -1
  127. package/out/IModule.sol/IModule.json +1 -1
  128. package/out/IModuleErrors.sol/IModuleErrors.json +1 -1
  129. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
  130. package/out/IMulticall3.sol/IMulticall3.json +1 -1
  131. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
  132. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -1
  133. package/out/ISliceErrors.sol/ISliceErrors.json +1 -1
  134. package/out/IStore.sol/IStore.json +1 -1
  135. package/out/IStoreErrors.sol/IStoreErrors.json +1 -1
  136. package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
  137. package/out/IStoreHook.sol/IStoreHook.json +1 -1
  138. package/out/IStoreKernel.sol/IStoreKernel.json +1 -1
  139. package/out/IStoreRead.sol/IStoreRead.json +1 -1
  140. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
  141. package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
  142. package/out/ISystemHook.sol/ISystemHook.json +1 -1
  143. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
  144. package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
  145. package/out/IWorldEvents.sol/IWorldEvents.json +1 -1
  146. package/out/IWorldKernel.sol/IWorldCall.json +1 -1
  147. package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
  148. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
  149. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  150. package/out/InitModule.sol/InitModule.abi.json +3 -3
  151. package/out/InitModule.sol/InitModule.abi.json.d.ts +3 -3
  152. package/out/InitModule.sol/InitModule.json +1 -1
  153. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
  154. package/out/InstalledModules.sol/InstalledModules.json +1 -1
  155. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
  156. package/out/MUDERC20.sol/MUDERC20.abi.json +6 -155
  157. package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +6 -155
  158. package/out/MUDERC20.sol/MUDERC20.json +1 -1
  159. package/out/Memory.sol/Memory.json +1 -1
  160. package/out/Module.sol/Module.abi.json +1 -1
  161. package/out/Module.sol/Module.abi.json.d.ts +1 -1
  162. package/out/Module.sol/Module.json +1 -1
  163. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +1 -1
  164. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +1 -1
  165. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  166. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
  167. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
  168. package/out/Ownable.sol/Ownable.abi.json +426 -0
  169. package/out/Ownable.sol/Ownable.abi.json.d.ts +428 -0
  170. package/out/Ownable.sol/Ownable.json +1 -0
  171. package/out/Owner.sol/Owner.json +1 -1
  172. package/out/Pausable.sol/Pausable.abi.json +2 -151
  173. package/out/Pausable.sol/Pausable.abi.json.d.ts +2 -151
  174. package/out/Pausable.sol/Pausable.json +1 -1
  175. package/out/Paused.sol/Paused.json +1 -1
  176. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1 -1
  177. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1 -1
  178. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  179. package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
  180. package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
  181. package/out/ResourceId.sol/ResourceIdLib.json +1 -1
  182. package/out/ResourceIds.sol/ResourceIds.json +1 -1
  183. package/out/Schema.sol/SchemaInstance.json +1 -1
  184. package/out/Schema.sol/SchemaLib.json +1 -1
  185. package/out/Slice.sol/SliceInstance.json +1 -1
  186. package/out/Slice.sol/SliceLib.json +1 -1
  187. package/out/StdAssertions.sol/StdAssertions.json +1 -1
  188. package/out/StdChains.sol/StdChains.json +1 -1
  189. package/out/StdCheats.sol/StdCheats.json +1 -1
  190. package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
  191. package/out/StdError.sol/stdError.json +1 -1
  192. package/out/StdInvariant.sol/StdInvariant.json +1 -1
  193. package/out/StdJson.sol/stdJson.json +1 -1
  194. package/out/StdMath.sol/stdMath.json +1 -1
  195. package/out/StdStorage.sol/stdStorage.json +1 -1
  196. package/out/StdStorage.sol/stdStorageSafe.json +1 -1
  197. package/out/StdStyle.sol/StdStyle.json +1 -1
  198. package/out/StdUtils.sol/StdUtils.json +1 -1
  199. package/out/Storage.sol/Storage.json +1 -1
  200. package/out/Store.sol/Store.abi.json +1261 -0
  201. package/out/Store.sol/Store.abi.json.d.ts +1263 -0
  202. package/out/Store.sol/Store.json +1 -0
  203. package/out/StoreConsumer.sol/StoreConsumer.abi.json +15 -0
  204. package/out/StoreConsumer.sol/StoreConsumer.abi.json.d.ts +17 -0
  205. package/out/StoreConsumer.sol/StoreConsumer.json +1 -0
  206. package/out/StoreCore.sol/StoreCore.json +1 -1
  207. package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
  208. package/out/StoreHooks.sol/StoreHooks.json +1 -1
  209. package/out/StoreKernel.sol/StoreKernel.json +1 -1
  210. package/out/StoreRead.sol/StoreRead.json +1 -1
  211. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +1 -1
  212. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +1 -1
  213. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  214. package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
  215. package/out/System.sol/System.abi.json +1 -1
  216. package/out/System.sol/System.abi.json.d.ts +1 -1
  217. package/out/System.sol/System.json +1 -1
  218. package/out/SystemCall.sol/SystemCall.json +1 -1
  219. package/out/SystemHooks.sol/SystemHooks.json +1 -1
  220. package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
  221. package/out/Systems.sol/Systems.json +1 -1
  222. package/out/Tables.sol/Tables.json +1 -1
  223. package/out/Test.sol/Test.json +1 -1
  224. package/out/TightCoder.sol/TightCoder.json +1 -1
  225. package/out/TotalSupply.sol/TotalSupply.json +1 -1
  226. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
  227. package/out/Vm.sol/Vm.json +1 -1
  228. package/out/Vm.sol/VmSafe.json +1 -1
  229. package/out/WithStore.sol/WithStore.abi.json +352 -0
  230. package/out/WithStore.sol/WithStore.abi.json.d.ts +354 -0
  231. package/out/WithStore.sol/WithStore.json +1 -0
  232. package/out/WithWorld.sol/WithWorld.abi.json +490 -0
  233. package/out/WithWorld.sol/WithWorld.abi.json.d.ts +492 -0
  234. package/out/WithWorld.sol/WithWorld.json +1 -0
  235. package/out/World.sol/World.json +1 -1
  236. package/out/WorldContext.sol/WorldContextConsumer.abi.json +1 -1
  237. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +1 -1
  238. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  239. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  240. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  241. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +1 -1
  242. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +1 -1
  243. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  244. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
  245. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
  246. package/out/build-info/60c60a9593fdb00b3264c36836a28f39.json +1 -0
  247. package/out/console.sol/console.json +1 -1
  248. package/out/console2.sol/console2.json +1 -1
  249. package/out/constants.sol/LayoutOffsets.json +1 -1
  250. package/out/safeconsole.sol/safeconsole.json +1 -1
  251. package/out/src/IERC165.sol/IERC165.json +1 -1
  252. package/out/tables/Balances.sol/Balances.json +1 -1
  253. package/out/test.sol/DSTest.json +1 -1
  254. package/package.json +8 -8
  255. package/src/examples/ERC20WithInternalStore.sol +32 -0
  256. package/src/examples/{ERC20PausableBurnable.sol → ERC20WithWorld.sol} +9 -4
  257. package/src/experimental/ERC20Module.sol +7 -3
  258. package/src/experimental/MUDERC20.sol +7 -8
  259. package/src/experimental/Ownable.sol +110 -0
  260. package/src/experimental/Pausable.sol +4 -5
  261. package/out/ERC20Burnable.t.sol/MockERC20Burnable.json +0 -1
  262. package/out/ERC20PausableBurnable.sol/ERC20PausableBurnable.json +0 -1
  263. package/out/WorldConsumer.sol/WorldConsumer.abi.json +0 -177
  264. package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +0 -179
  265. package/out/WorldConsumer.sol/WorldConsumer.json +0 -1
  266. package/out/build-info/3a51d1e90905a7ef4d37017d85f9a6c1.json +0 -1
  267. /package/out/ERC20BaseTest.t.sol/{ERC20Test.abi.json → ERC20WithWorldBehaviorTest.abi.json} +0 -0
  268. /package/out/ERC20BaseTest.t.sol/{ERC20Test.abi.json.d.ts → ERC20WithWorldBehaviorTest.abi.json.d.ts} +0 -0
@@ -0,0 +1,853 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "constructor",
4
+ "inputs": [],
5
+ "stateMutability": "nonpayable"
6
+ },
7
+ {
8
+ "type": "function",
9
+ "name": "_msgSender",
10
+ "inputs": [],
11
+ "outputs": [
12
+ {
13
+ "name": "",
14
+ "type": "address",
15
+ "internalType": "address"
16
+ }
17
+ ],
18
+ "stateMutability": "view"
19
+ },
20
+ {
21
+ "type": "function",
22
+ "name": "allowance",
23
+ "inputs": [
24
+ {
25
+ "name": "owner",
26
+ "type": "address",
27
+ "internalType": "address"
28
+ },
29
+ {
30
+ "name": "spender",
31
+ "type": "address",
32
+ "internalType": "address"
33
+ }
34
+ ],
35
+ "outputs": [
36
+ {
37
+ "name": "",
38
+ "type": "uint256",
39
+ "internalType": "uint256"
40
+ }
41
+ ],
42
+ "stateMutability": "view"
43
+ },
44
+ {
45
+ "type": "function",
46
+ "name": "approve",
47
+ "inputs": [
48
+ {
49
+ "name": "spender",
50
+ "type": "address",
51
+ "internalType": "address"
52
+ },
53
+ {
54
+ "name": "value",
55
+ "type": "uint256",
56
+ "internalType": "uint256"
57
+ }
58
+ ],
59
+ "outputs": [
60
+ {
61
+ "name": "",
62
+ "type": "bool",
63
+ "internalType": "bool"
64
+ }
65
+ ],
66
+ "stateMutability": "nonpayable"
67
+ },
68
+ {
69
+ "type": "function",
70
+ "name": "balanceOf",
71
+ "inputs": [
72
+ {
73
+ "name": "account",
74
+ "type": "address",
75
+ "internalType": "address"
76
+ }
77
+ ],
78
+ "outputs": [
79
+ {
80
+ "name": "",
81
+ "type": "uint256",
82
+ "internalType": "uint256"
83
+ }
84
+ ],
85
+ "stateMutability": "view"
86
+ },
87
+ {
88
+ "type": "function",
89
+ "name": "burn",
90
+ "inputs": [
91
+ {
92
+ "name": "value",
93
+ "type": "uint256",
94
+ "internalType": "uint256"
95
+ }
96
+ ],
97
+ "outputs": [],
98
+ "stateMutability": "nonpayable"
99
+ },
100
+ {
101
+ "type": "function",
102
+ "name": "burnFrom",
103
+ "inputs": [
104
+ {
105
+ "name": "account",
106
+ "type": "address",
107
+ "internalType": "address"
108
+ },
109
+ {
110
+ "name": "value",
111
+ "type": "uint256",
112
+ "internalType": "uint256"
113
+ }
114
+ ],
115
+ "outputs": [],
116
+ "stateMutability": "nonpayable"
117
+ },
118
+ {
119
+ "type": "function",
120
+ "name": "decimals",
121
+ "inputs": [],
122
+ "outputs": [
123
+ {
124
+ "name": "",
125
+ "type": "uint8",
126
+ "internalType": "uint8"
127
+ }
128
+ ],
129
+ "stateMutability": "view"
130
+ },
131
+ {
132
+ "type": "function",
133
+ "name": "getStore",
134
+ "inputs": [],
135
+ "outputs": [
136
+ {
137
+ "name": "",
138
+ "type": "address",
139
+ "internalType": "address"
140
+ }
141
+ ],
142
+ "stateMutability": "view"
143
+ },
144
+ {
145
+ "type": "function",
146
+ "name": "mint",
147
+ "inputs": [
148
+ {
149
+ "name": "to",
150
+ "type": "address",
151
+ "internalType": "address"
152
+ },
153
+ {
154
+ "name": "value",
155
+ "type": "uint256",
156
+ "internalType": "uint256"
157
+ }
158
+ ],
159
+ "outputs": [],
160
+ "stateMutability": "nonpayable"
161
+ },
162
+ {
163
+ "type": "function",
164
+ "name": "name",
165
+ "inputs": [],
166
+ "outputs": [
167
+ {
168
+ "name": "",
169
+ "type": "string",
170
+ "internalType": "string"
171
+ }
172
+ ],
173
+ "stateMutability": "view"
174
+ },
175
+ {
176
+ "type": "function",
177
+ "name": "owner",
178
+ "inputs": [],
179
+ "outputs": [
180
+ {
181
+ "name": "",
182
+ "type": "address",
183
+ "internalType": "address"
184
+ }
185
+ ],
186
+ "stateMutability": "view"
187
+ },
188
+ {
189
+ "type": "function",
190
+ "name": "pause",
191
+ "inputs": [],
192
+ "outputs": [],
193
+ "stateMutability": "nonpayable"
194
+ },
195
+ {
196
+ "type": "function",
197
+ "name": "paused",
198
+ "inputs": [],
199
+ "outputs": [
200
+ {
201
+ "name": "",
202
+ "type": "bool",
203
+ "internalType": "bool"
204
+ }
205
+ ],
206
+ "stateMutability": "view"
207
+ },
208
+ {
209
+ "type": "function",
210
+ "name": "renounceOwnership",
211
+ "inputs": [],
212
+ "outputs": [],
213
+ "stateMutability": "nonpayable"
214
+ },
215
+ {
216
+ "type": "function",
217
+ "name": "symbol",
218
+ "inputs": [],
219
+ "outputs": [
220
+ {
221
+ "name": "",
222
+ "type": "string",
223
+ "internalType": "string"
224
+ }
225
+ ],
226
+ "stateMutability": "view"
227
+ },
228
+ {
229
+ "type": "function",
230
+ "name": "totalSupply",
231
+ "inputs": [],
232
+ "outputs": [
233
+ {
234
+ "name": "",
235
+ "type": "uint256",
236
+ "internalType": "uint256"
237
+ }
238
+ ],
239
+ "stateMutability": "view"
240
+ },
241
+ {
242
+ "type": "function",
243
+ "name": "transfer",
244
+ "inputs": [
245
+ {
246
+ "name": "to",
247
+ "type": "address",
248
+ "internalType": "address"
249
+ },
250
+ {
251
+ "name": "value",
252
+ "type": "uint256",
253
+ "internalType": "uint256"
254
+ }
255
+ ],
256
+ "outputs": [
257
+ {
258
+ "name": "",
259
+ "type": "bool",
260
+ "internalType": "bool"
261
+ }
262
+ ],
263
+ "stateMutability": "nonpayable"
264
+ },
265
+ {
266
+ "type": "function",
267
+ "name": "transferFrom",
268
+ "inputs": [
269
+ {
270
+ "name": "from",
271
+ "type": "address",
272
+ "internalType": "address"
273
+ },
274
+ {
275
+ "name": "to",
276
+ "type": "address",
277
+ "internalType": "address"
278
+ },
279
+ {
280
+ "name": "value",
281
+ "type": "uint256",
282
+ "internalType": "uint256"
283
+ }
284
+ ],
285
+ "outputs": [
286
+ {
287
+ "name": "",
288
+ "type": "bool",
289
+ "internalType": "bool"
290
+ }
291
+ ],
292
+ "stateMutability": "nonpayable"
293
+ },
294
+ {
295
+ "type": "function",
296
+ "name": "transferOwnership",
297
+ "inputs": [
298
+ {
299
+ "name": "newOwner",
300
+ "type": "address",
301
+ "internalType": "address"
302
+ }
303
+ ],
304
+ "outputs": [],
305
+ "stateMutability": "nonpayable"
306
+ },
307
+ {
308
+ "type": "function",
309
+ "name": "unpause",
310
+ "inputs": [],
311
+ "outputs": [],
312
+ "stateMutability": "nonpayable"
313
+ },
314
+ {
315
+ "type": "event",
316
+ "name": "Approval",
317
+ "inputs": [
318
+ {
319
+ "name": "owner",
320
+ "type": "address",
321
+ "indexed": true,
322
+ "internalType": "address"
323
+ },
324
+ {
325
+ "name": "spender",
326
+ "type": "address",
327
+ "indexed": true,
328
+ "internalType": "address"
329
+ },
330
+ {
331
+ "name": "value",
332
+ "type": "uint256",
333
+ "indexed": false,
334
+ "internalType": "uint256"
335
+ }
336
+ ],
337
+ "anonymous": false
338
+ },
339
+ {
340
+ "type": "event",
341
+ "name": "OwnershipTransferred",
342
+ "inputs": [
343
+ {
344
+ "name": "previousOwner",
345
+ "type": "address",
346
+ "indexed": true,
347
+ "internalType": "address"
348
+ },
349
+ {
350
+ "name": "newOwner",
351
+ "type": "address",
352
+ "indexed": true,
353
+ "internalType": "address"
354
+ }
355
+ ],
356
+ "anonymous": false
357
+ },
358
+ {
359
+ "type": "event",
360
+ "name": "Paused",
361
+ "inputs": [
362
+ {
363
+ "name": "account",
364
+ "type": "address",
365
+ "indexed": false,
366
+ "internalType": "address"
367
+ }
368
+ ],
369
+ "anonymous": false
370
+ },
371
+ {
372
+ "type": "event",
373
+ "name": "Store_SetRecord",
374
+ "inputs": [
375
+ {
376
+ "name": "tableId",
377
+ "type": "bytes32",
378
+ "indexed": true,
379
+ "internalType": "ResourceId"
380
+ },
381
+ {
382
+ "name": "keyTuple",
383
+ "type": "bytes32[]",
384
+ "indexed": false,
385
+ "internalType": "bytes32[]"
386
+ },
387
+ {
388
+ "name": "staticData",
389
+ "type": "bytes",
390
+ "indexed": false,
391
+ "internalType": "bytes"
392
+ },
393
+ {
394
+ "name": "encodedLengths",
395
+ "type": "bytes32",
396
+ "indexed": false,
397
+ "internalType": "EncodedLengths"
398
+ },
399
+ {
400
+ "name": "dynamicData",
401
+ "type": "bytes",
402
+ "indexed": false,
403
+ "internalType": "bytes"
404
+ }
405
+ ],
406
+ "anonymous": false
407
+ },
408
+ {
409
+ "type": "event",
410
+ "name": "Store_SpliceStaticData",
411
+ "inputs": [
412
+ {
413
+ "name": "tableId",
414
+ "type": "bytes32",
415
+ "indexed": true,
416
+ "internalType": "ResourceId"
417
+ },
418
+ {
419
+ "name": "keyTuple",
420
+ "type": "bytes32[]",
421
+ "indexed": false,
422
+ "internalType": "bytes32[]"
423
+ },
424
+ {
425
+ "name": "start",
426
+ "type": "uint48",
427
+ "indexed": false,
428
+ "internalType": "uint48"
429
+ },
430
+ {
431
+ "name": "data",
432
+ "type": "bytes",
433
+ "indexed": false,
434
+ "internalType": "bytes"
435
+ }
436
+ ],
437
+ "anonymous": false
438
+ },
439
+ {
440
+ "type": "event",
441
+ "name": "Transfer",
442
+ "inputs": [
443
+ {
444
+ "name": "from",
445
+ "type": "address",
446
+ "indexed": true,
447
+ "internalType": "address"
448
+ },
449
+ {
450
+ "name": "to",
451
+ "type": "address",
452
+ "indexed": true,
453
+ "internalType": "address"
454
+ },
455
+ {
456
+ "name": "value",
457
+ "type": "uint256",
458
+ "indexed": false,
459
+ "internalType": "uint256"
460
+ }
461
+ ],
462
+ "anonymous": false
463
+ },
464
+ {
465
+ "type": "event",
466
+ "name": "Unpaused",
467
+ "inputs": [
468
+ {
469
+ "name": "account",
470
+ "type": "address",
471
+ "indexed": false,
472
+ "internalType": "address"
473
+ }
474
+ ],
475
+ "anonymous": false
476
+ },
477
+ {
478
+ "type": "error",
479
+ "name": "ERC20InsufficientAllowance",
480
+ "inputs": [
481
+ {
482
+ "name": "spender",
483
+ "type": "address",
484
+ "internalType": "address"
485
+ },
486
+ {
487
+ "name": "allowance",
488
+ "type": "uint256",
489
+ "internalType": "uint256"
490
+ },
491
+ {
492
+ "name": "needed",
493
+ "type": "uint256",
494
+ "internalType": "uint256"
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "type": "error",
500
+ "name": "ERC20InsufficientBalance",
501
+ "inputs": [
502
+ {
503
+ "name": "sender",
504
+ "type": "address",
505
+ "internalType": "address"
506
+ },
507
+ {
508
+ "name": "balance",
509
+ "type": "uint256",
510
+ "internalType": "uint256"
511
+ },
512
+ {
513
+ "name": "needed",
514
+ "type": "uint256",
515
+ "internalType": "uint256"
516
+ }
517
+ ]
518
+ },
519
+ {
520
+ "type": "error",
521
+ "name": "ERC20InvalidApprover",
522
+ "inputs": [
523
+ {
524
+ "name": "approver",
525
+ "type": "address",
526
+ "internalType": "address"
527
+ }
528
+ ]
529
+ },
530
+ {
531
+ "type": "error",
532
+ "name": "ERC20InvalidReceiver",
533
+ "inputs": [
534
+ {
535
+ "name": "receiver",
536
+ "type": "address",
537
+ "internalType": "address"
538
+ }
539
+ ]
540
+ },
541
+ {
542
+ "type": "error",
543
+ "name": "ERC20InvalidSender",
544
+ "inputs": [
545
+ {
546
+ "name": "sender",
547
+ "type": "address",
548
+ "internalType": "address"
549
+ }
550
+ ]
551
+ },
552
+ {
553
+ "type": "error",
554
+ "name": "ERC20InvalidSpender",
555
+ "inputs": [
556
+ {
557
+ "name": "spender",
558
+ "type": "address",
559
+ "internalType": "address"
560
+ }
561
+ ]
562
+ },
563
+ {
564
+ "type": "error",
565
+ "name": "EnforcedPause",
566
+ "inputs": []
567
+ },
568
+ {
569
+ "type": "error",
570
+ "name": "ExpectedPause",
571
+ "inputs": []
572
+ },
573
+ {
574
+ "type": "error",
575
+ "name": "FieldLayout_Empty",
576
+ "inputs": []
577
+ },
578
+ {
579
+ "type": "error",
580
+ "name": "FieldLayout_InvalidStaticDataLength",
581
+ "inputs": [
582
+ {
583
+ "name": "staticDataLength",
584
+ "type": "uint256",
585
+ "internalType": "uint256"
586
+ },
587
+ {
588
+ "name": "computedStaticDataLength",
589
+ "type": "uint256",
590
+ "internalType": "uint256"
591
+ }
592
+ ]
593
+ },
594
+ {
595
+ "type": "error",
596
+ "name": "FieldLayout_StaticLengthDoesNotFitInAWord",
597
+ "inputs": [
598
+ {
599
+ "name": "index",
600
+ "type": "uint256",
601
+ "internalType": "uint256"
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "type": "error",
607
+ "name": "FieldLayout_StaticLengthIsNotZero",
608
+ "inputs": [
609
+ {
610
+ "name": "index",
611
+ "type": "uint256",
612
+ "internalType": "uint256"
613
+ }
614
+ ]
615
+ },
616
+ {
617
+ "type": "error",
618
+ "name": "FieldLayout_StaticLengthIsZero",
619
+ "inputs": [
620
+ {
621
+ "name": "index",
622
+ "type": "uint256",
623
+ "internalType": "uint256"
624
+ }
625
+ ]
626
+ },
627
+ {
628
+ "type": "error",
629
+ "name": "FieldLayout_TooManyDynamicFields",
630
+ "inputs": [
631
+ {
632
+ "name": "numFields",
633
+ "type": "uint256",
634
+ "internalType": "uint256"
635
+ },
636
+ {
637
+ "name": "maxFields",
638
+ "type": "uint256",
639
+ "internalType": "uint256"
640
+ }
641
+ ]
642
+ },
643
+ {
644
+ "type": "error",
645
+ "name": "FieldLayout_TooManyFields",
646
+ "inputs": [
647
+ {
648
+ "name": "numFields",
649
+ "type": "uint256",
650
+ "internalType": "uint256"
651
+ },
652
+ {
653
+ "name": "maxFields",
654
+ "type": "uint256",
655
+ "internalType": "uint256"
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ "type": "error",
661
+ "name": "OwnableInvalidOwner",
662
+ "inputs": [
663
+ {
664
+ "name": "owner",
665
+ "type": "address",
666
+ "internalType": "address"
667
+ }
668
+ ]
669
+ },
670
+ {
671
+ "type": "error",
672
+ "name": "OwnableUnauthorizedAccount",
673
+ "inputs": [
674
+ {
675
+ "name": "account",
676
+ "type": "address",
677
+ "internalType": "address"
678
+ }
679
+ ]
680
+ },
681
+ {
682
+ "type": "error",
683
+ "name": "Schema_InvalidLength",
684
+ "inputs": [
685
+ {
686
+ "name": "length",
687
+ "type": "uint256",
688
+ "internalType": "uint256"
689
+ }
690
+ ]
691
+ },
692
+ {
693
+ "type": "error",
694
+ "name": "Schema_StaticTypeAfterDynamicType",
695
+ "inputs": []
696
+ },
697
+ {
698
+ "type": "error",
699
+ "name": "Slice_OutOfBounds",
700
+ "inputs": [
701
+ {
702
+ "name": "data",
703
+ "type": "bytes",
704
+ "internalType": "bytes"
705
+ },
706
+ {
707
+ "name": "start",
708
+ "type": "uint256",
709
+ "internalType": "uint256"
710
+ },
711
+ {
712
+ "name": "end",
713
+ "type": "uint256",
714
+ "internalType": "uint256"
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "type": "error",
720
+ "name": "Store_InvalidFieldNamesLength",
721
+ "inputs": [
722
+ {
723
+ "name": "expected",
724
+ "type": "uint256",
725
+ "internalType": "uint256"
726
+ },
727
+ {
728
+ "name": "received",
729
+ "type": "uint256",
730
+ "internalType": "uint256"
731
+ }
732
+ ]
733
+ },
734
+ {
735
+ "type": "error",
736
+ "name": "Store_InvalidKeyNamesLength",
737
+ "inputs": [
738
+ {
739
+ "name": "expected",
740
+ "type": "uint256",
741
+ "internalType": "uint256"
742
+ },
743
+ {
744
+ "name": "received",
745
+ "type": "uint256",
746
+ "internalType": "uint256"
747
+ }
748
+ ]
749
+ },
750
+ {
751
+ "type": "error",
752
+ "name": "Store_InvalidResourceType",
753
+ "inputs": [
754
+ {
755
+ "name": "expected",
756
+ "type": "bytes2",
757
+ "internalType": "bytes2"
758
+ },
759
+ {
760
+ "name": "resourceId",
761
+ "type": "bytes32",
762
+ "internalType": "ResourceId"
763
+ },
764
+ {
765
+ "name": "resourceIdString",
766
+ "type": "string",
767
+ "internalType": "string"
768
+ }
769
+ ]
770
+ },
771
+ {
772
+ "type": "error",
773
+ "name": "Store_InvalidStaticDataLength",
774
+ "inputs": [
775
+ {
776
+ "name": "expected",
777
+ "type": "uint256",
778
+ "internalType": "uint256"
779
+ },
780
+ {
781
+ "name": "received",
782
+ "type": "uint256",
783
+ "internalType": "uint256"
784
+ }
785
+ ]
786
+ },
787
+ {
788
+ "type": "error",
789
+ "name": "Store_InvalidValueSchemaDynamicLength",
790
+ "inputs": [
791
+ {
792
+ "name": "expected",
793
+ "type": "uint256",
794
+ "internalType": "uint256"
795
+ },
796
+ {
797
+ "name": "received",
798
+ "type": "uint256",
799
+ "internalType": "uint256"
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "type": "error",
805
+ "name": "Store_InvalidValueSchemaLength",
806
+ "inputs": [
807
+ {
808
+ "name": "expected",
809
+ "type": "uint256",
810
+ "internalType": "uint256"
811
+ },
812
+ {
813
+ "name": "received",
814
+ "type": "uint256",
815
+ "internalType": "uint256"
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "type": "error",
821
+ "name": "Store_InvalidValueSchemaStaticLength",
822
+ "inputs": [
823
+ {
824
+ "name": "expected",
825
+ "type": "uint256",
826
+ "internalType": "uint256"
827
+ },
828
+ {
829
+ "name": "received",
830
+ "type": "uint256",
831
+ "internalType": "uint256"
832
+ }
833
+ ]
834
+ },
835
+ {
836
+ "type": "error",
837
+ "name": "Store_TableAlreadyExists",
838
+ "inputs": [
839
+ {
840
+ "name": "tableId",
841
+ "type": "bytes32",
842
+ "internalType": "ResourceId"
843
+ },
844
+ {
845
+ "name": "tableIdString",
846
+ "type": "string",
847
+ "internalType": "string"
848
+ }
849
+ ]
850
+ }
851
+ ];
852
+
853
+ export default abi;