@latticexyz/world-module-erc20 2.2.20-306707570ec5fd27877d674502aa381d7fd89662 → 2.2.20-b774ab28b3de6cefcbfce5e1bb6fcb68b9374abf

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 +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/OwnableTableNames.json +1 -1
  21. package/out/Constants.sol/PausableTableNames.json +1 -1
  22. package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
  23. package/out/Delegation.sol/Delegation.json +1 -1
  24. package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
  25. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json +7 -0
  26. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json.d.ts +7 -0
  27. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
  28. package/out/ERC20BaseTest.t.sol/{ERC20WithWorldTest.json → ERC20Test.json} +1 -1
  29. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +160 -6
  30. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +160 -6
  31. package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
  32. package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
  33. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +155 -6
  34. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +155 -6
  35. package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
  36. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +7 -0
  37. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +7 -0
  38. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
  39. package/out/ERC20Burnable.t.sol/{MockERC20WithWorldBurnable.abi.json → MockERC20Burnable.abi.json} +53 -42
  40. package/out/ERC20Burnable.t.sol/{MockERC20WithWorldBurnable.abi.json.d.ts → MockERC20Burnable.abi.json.d.ts} +53 -42
  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 +1 -1
  44. package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +1 -1
  45. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  46. package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -1
  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 +155 -6
  50. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +155 -6
  51. package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
  52. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json +7 -0
  53. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json.d.ts +7 -0
  54. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
  55. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +191 -6
  56. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +191 -6
  57. package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
  58. package/out/{ERC20WithWorld.sol/ERC20WithWorld.abi.json → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json} +57 -46
  59. package/out/{ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json.d.ts} +57 -46
  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 +1 -1
  109. package/out/InitModule.sol/InitModule.abi.json.d.ts +1 -1
  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 +155 -6
  115. package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +155 -6
  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 +151 -2
  128. package/out/Pausable.sol/Pausable.abi.json.d.ts +151 -2
  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 +177 -0
  180. package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +179 -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/3a51d1e90905a7ef4d37017d85f9a6c1.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/{ERC20WithWorld.sol → ERC20PausableBurnable.sol} +4 -9
  202. package/src/experimental/ERC20Module.sol +2 -2
  203. package/src/experimental/MUDERC20.sol +8 -7
  204. package/src/experimental/Pausable.sol +5 -4
  205. package/out/Context.sol/Context.abi.json +0 -15
  206. package/out/Context.sol/Context.abi.json.d.ts +0 -17
  207. package/out/Context.sol/Context.json +0 -1
  208. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json +0 -949
  209. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json.d.ts +0 -951
  210. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +0 -1
  211. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json +0 -949
  212. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json.d.ts +0 -951
  213. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +0 -1
  214. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +0 -1
  215. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json +0 -956
  216. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json.d.ts +0 -958
  217. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json +0 -696
  218. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts +0 -698
  219. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +0 -1
  220. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +0 -839
  221. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +0 -841
  222. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +0 -1
  223. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json +0 -956
  224. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json.d.ts +0 -958
  225. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +0 -1
  226. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json +0 -963
  227. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json.d.ts +0 -965
  228. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +0 -1
  229. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +0 -727
  230. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +0 -729
  231. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +0 -1
  232. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +0 -1
  233. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json +0 -956
  234. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json.d.ts +0 -958
  235. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +0 -1
  236. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json +0 -963
  237. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json.d.ts +0 -965
  238. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +0 -1
  239. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +0 -759
  240. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +0 -761
  241. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +0 -1
  242. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +0 -897
  243. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +0 -899
  244. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +0 -1
  245. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +0 -851
  246. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +0 -853
  247. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +0 -1
  248. package/out/ERC20WithWorld.sol/ERC20WithWorld.json +0 -1
  249. package/out/Ownable.sol/Ownable.abi.json +0 -426
  250. package/out/Ownable.sol/Ownable.abi.json.d.ts +0 -428
  251. package/out/Ownable.sol/Ownable.json +0 -1
  252. package/out/Store.sol/Store.abi.json +0 -1261
  253. package/out/Store.sol/Store.abi.json.d.ts +0 -1263
  254. package/out/Store.sol/Store.json +0 -1
  255. package/out/StoreConsumer.sol/StoreConsumer.abi.json +0 -15
  256. package/out/StoreConsumer.sol/StoreConsumer.abi.json.d.ts +0 -17
  257. package/out/StoreConsumer.sol/StoreConsumer.json +0 -1
  258. package/out/WithStore.sol/WithStore.abi.json +0 -352
  259. package/out/WithStore.sol/WithStore.abi.json.d.ts +0 -354
  260. package/out/WithStore.sol/WithStore.json +0 -1
  261. package/out/WithWorld.sol/WithWorld.abi.json +0 -490
  262. package/out/WithWorld.sol/WithWorld.abi.json.d.ts +0 -492
  263. package/out/WithWorld.sol/WithWorld.json +0 -1
  264. package/out/build-info/175d99f81f5752e758f7c3af96b26ced.json +0 -1
  265. package/src/examples/ERC20WithInternalStore.sol +0 -32
  266. package/src/experimental/Ownable.sol +0 -110
  267. /package/out/ERC20BaseTest.t.sol/{ERC20WithWorldBehaviorTest.abi.json → ERC20Test.abi.json} +0 -0
  268. /package/out/ERC20BaseTest.t.sol/{ERC20WithWorldBehaviorTest.abi.json.d.ts → ERC20Test.abi.json.d.ts} +0 -0
@@ -1,729 +0,0 @@
1
- declare const abi: [
2
- {
3
- "type": "function",
4
- "name": "__burn",
5
- "inputs": [
6
- {
7
- "name": "from",
8
- "type": "address",
9
- "internalType": "address"
10
- },
11
- {
12
- "name": "amount",
13
- "type": "uint256",
14
- "internalType": "uint256"
15
- }
16
- ],
17
- "outputs": [],
18
- "stateMutability": "nonpayable"
19
- },
20
- {
21
- "type": "function",
22
- "name": "__mint",
23
- "inputs": [
24
- {
25
- "name": "to",
26
- "type": "address",
27
- "internalType": "address"
28
- },
29
- {
30
- "name": "amount",
31
- "type": "uint256",
32
- "internalType": "uint256"
33
- }
34
- ],
35
- "outputs": [],
36
- "stateMutability": "nonpayable"
37
- },
38
- {
39
- "type": "function",
40
- "name": "_msgSender",
41
- "inputs": [],
42
- "outputs": [
43
- {
44
- "name": "",
45
- "type": "address",
46
- "internalType": "address"
47
- }
48
- ],
49
- "stateMutability": "view"
50
- },
51
- {
52
- "type": "function",
53
- "name": "allowance",
54
- "inputs": [
55
- {
56
- "name": "owner",
57
- "type": "address",
58
- "internalType": "address"
59
- },
60
- {
61
- "name": "spender",
62
- "type": "address",
63
- "internalType": "address"
64
- }
65
- ],
66
- "outputs": [
67
- {
68
- "name": "",
69
- "type": "uint256",
70
- "internalType": "uint256"
71
- }
72
- ],
73
- "stateMutability": "view"
74
- },
75
- {
76
- "type": "function",
77
- "name": "approve",
78
- "inputs": [
79
- {
80
- "name": "spender",
81
- "type": "address",
82
- "internalType": "address"
83
- },
84
- {
85
- "name": "value",
86
- "type": "uint256",
87
- "internalType": "uint256"
88
- }
89
- ],
90
- "outputs": [
91
- {
92
- "name": "",
93
- "type": "bool",
94
- "internalType": "bool"
95
- }
96
- ],
97
- "stateMutability": "nonpayable"
98
- },
99
- {
100
- "type": "function",
101
- "name": "balanceOf",
102
- "inputs": [
103
- {
104
- "name": "account",
105
- "type": "address",
106
- "internalType": "address"
107
- }
108
- ],
109
- "outputs": [
110
- {
111
- "name": "",
112
- "type": "uint256",
113
- "internalType": "uint256"
114
- }
115
- ],
116
- "stateMutability": "view"
117
- },
118
- {
119
- "type": "function",
120
- "name": "burn",
121
- "inputs": [
122
- {
123
- "name": "value",
124
- "type": "uint256",
125
- "internalType": "uint256"
126
- }
127
- ],
128
- "outputs": [],
129
- "stateMutability": "nonpayable"
130
- },
131
- {
132
- "type": "function",
133
- "name": "burnFrom",
134
- "inputs": [
135
- {
136
- "name": "account",
137
- "type": "address",
138
- "internalType": "address"
139
- },
140
- {
141
- "name": "value",
142
- "type": "uint256",
143
- "internalType": "uint256"
144
- }
145
- ],
146
- "outputs": [],
147
- "stateMutability": "nonpayable"
148
- },
149
- {
150
- "type": "function",
151
- "name": "decimals",
152
- "inputs": [],
153
- "outputs": [
154
- {
155
- "name": "",
156
- "type": "uint8",
157
- "internalType": "uint8"
158
- }
159
- ],
160
- "stateMutability": "view"
161
- },
162
- {
163
- "type": "function",
164
- "name": "getStore",
165
- "inputs": [],
166
- "outputs": [
167
- {
168
- "name": "",
169
- "type": "address",
170
- "internalType": "address"
171
- }
172
- ],
173
- "stateMutability": "view"
174
- },
175
- {
176
- "type": "function",
177
- "name": "name",
178
- "inputs": [],
179
- "outputs": [
180
- {
181
- "name": "",
182
- "type": "string",
183
- "internalType": "string"
184
- }
185
- ],
186
- "stateMutability": "view"
187
- },
188
- {
189
- "type": "function",
190
- "name": "symbol",
191
- "inputs": [],
192
- "outputs": [
193
- {
194
- "name": "",
195
- "type": "string",
196
- "internalType": "string"
197
- }
198
- ],
199
- "stateMutability": "view"
200
- },
201
- {
202
- "type": "function",
203
- "name": "totalSupply",
204
- "inputs": [],
205
- "outputs": [
206
- {
207
- "name": "",
208
- "type": "uint256",
209
- "internalType": "uint256"
210
- }
211
- ],
212
- "stateMutability": "view"
213
- },
214
- {
215
- "type": "function",
216
- "name": "transfer",
217
- "inputs": [
218
- {
219
- "name": "to",
220
- "type": "address",
221
- "internalType": "address"
222
- },
223
- {
224
- "name": "value",
225
- "type": "uint256",
226
- "internalType": "uint256"
227
- }
228
- ],
229
- "outputs": [
230
- {
231
- "name": "",
232
- "type": "bool",
233
- "internalType": "bool"
234
- }
235
- ],
236
- "stateMutability": "nonpayable"
237
- },
238
- {
239
- "type": "function",
240
- "name": "transferFrom",
241
- "inputs": [
242
- {
243
- "name": "from",
244
- "type": "address",
245
- "internalType": "address"
246
- },
247
- {
248
- "name": "to",
249
- "type": "address",
250
- "internalType": "address"
251
- },
252
- {
253
- "name": "value",
254
- "type": "uint256",
255
- "internalType": "uint256"
256
- }
257
- ],
258
- "outputs": [
259
- {
260
- "name": "",
261
- "type": "bool",
262
- "internalType": "bool"
263
- }
264
- ],
265
- "stateMutability": "nonpayable"
266
- },
267
- {
268
- "type": "event",
269
- "name": "Approval",
270
- "inputs": [
271
- {
272
- "name": "owner",
273
- "type": "address",
274
- "indexed": true,
275
- "internalType": "address"
276
- },
277
- {
278
- "name": "spender",
279
- "type": "address",
280
- "indexed": true,
281
- "internalType": "address"
282
- },
283
- {
284
- "name": "value",
285
- "type": "uint256",
286
- "indexed": false,
287
- "internalType": "uint256"
288
- }
289
- ],
290
- "anonymous": false
291
- },
292
- {
293
- "type": "event",
294
- "name": "Store_SetRecord",
295
- "inputs": [
296
- {
297
- "name": "tableId",
298
- "type": "bytes32",
299
- "indexed": true,
300
- "internalType": "ResourceId"
301
- },
302
- {
303
- "name": "keyTuple",
304
- "type": "bytes32[]",
305
- "indexed": false,
306
- "internalType": "bytes32[]"
307
- },
308
- {
309
- "name": "staticData",
310
- "type": "bytes",
311
- "indexed": false,
312
- "internalType": "bytes"
313
- },
314
- {
315
- "name": "encodedLengths",
316
- "type": "bytes32",
317
- "indexed": false,
318
- "internalType": "EncodedLengths"
319
- },
320
- {
321
- "name": "dynamicData",
322
- "type": "bytes",
323
- "indexed": false,
324
- "internalType": "bytes"
325
- }
326
- ],
327
- "anonymous": false
328
- },
329
- {
330
- "type": "event",
331
- "name": "Store_SpliceStaticData",
332
- "inputs": [
333
- {
334
- "name": "tableId",
335
- "type": "bytes32",
336
- "indexed": true,
337
- "internalType": "ResourceId"
338
- },
339
- {
340
- "name": "keyTuple",
341
- "type": "bytes32[]",
342
- "indexed": false,
343
- "internalType": "bytes32[]"
344
- },
345
- {
346
- "name": "start",
347
- "type": "uint48",
348
- "indexed": false,
349
- "internalType": "uint48"
350
- },
351
- {
352
- "name": "data",
353
- "type": "bytes",
354
- "indexed": false,
355
- "internalType": "bytes"
356
- }
357
- ],
358
- "anonymous": false
359
- },
360
- {
361
- "type": "event",
362
- "name": "Transfer",
363
- "inputs": [
364
- {
365
- "name": "from",
366
- "type": "address",
367
- "indexed": true,
368
- "internalType": "address"
369
- },
370
- {
371
- "name": "to",
372
- "type": "address",
373
- "indexed": true,
374
- "internalType": "address"
375
- },
376
- {
377
- "name": "value",
378
- "type": "uint256",
379
- "indexed": false,
380
- "internalType": "uint256"
381
- }
382
- ],
383
- "anonymous": false
384
- },
385
- {
386
- "type": "error",
387
- "name": "ERC20InsufficientAllowance",
388
- "inputs": [
389
- {
390
- "name": "spender",
391
- "type": "address",
392
- "internalType": "address"
393
- },
394
- {
395
- "name": "allowance",
396
- "type": "uint256",
397
- "internalType": "uint256"
398
- },
399
- {
400
- "name": "needed",
401
- "type": "uint256",
402
- "internalType": "uint256"
403
- }
404
- ]
405
- },
406
- {
407
- "type": "error",
408
- "name": "ERC20InsufficientBalance",
409
- "inputs": [
410
- {
411
- "name": "sender",
412
- "type": "address",
413
- "internalType": "address"
414
- },
415
- {
416
- "name": "balance",
417
- "type": "uint256",
418
- "internalType": "uint256"
419
- },
420
- {
421
- "name": "needed",
422
- "type": "uint256",
423
- "internalType": "uint256"
424
- }
425
- ]
426
- },
427
- {
428
- "type": "error",
429
- "name": "ERC20InvalidApprover",
430
- "inputs": [
431
- {
432
- "name": "approver",
433
- "type": "address",
434
- "internalType": "address"
435
- }
436
- ]
437
- },
438
- {
439
- "type": "error",
440
- "name": "ERC20InvalidReceiver",
441
- "inputs": [
442
- {
443
- "name": "receiver",
444
- "type": "address",
445
- "internalType": "address"
446
- }
447
- ]
448
- },
449
- {
450
- "type": "error",
451
- "name": "ERC20InvalidSender",
452
- "inputs": [
453
- {
454
- "name": "sender",
455
- "type": "address",
456
- "internalType": "address"
457
- }
458
- ]
459
- },
460
- {
461
- "type": "error",
462
- "name": "ERC20InvalidSpender",
463
- "inputs": [
464
- {
465
- "name": "spender",
466
- "type": "address",
467
- "internalType": "address"
468
- }
469
- ]
470
- },
471
- {
472
- "type": "error",
473
- "name": "FieldLayout_Empty",
474
- "inputs": []
475
- },
476
- {
477
- "type": "error",
478
- "name": "FieldLayout_InvalidStaticDataLength",
479
- "inputs": [
480
- {
481
- "name": "staticDataLength",
482
- "type": "uint256",
483
- "internalType": "uint256"
484
- },
485
- {
486
- "name": "computedStaticDataLength",
487
- "type": "uint256",
488
- "internalType": "uint256"
489
- }
490
- ]
491
- },
492
- {
493
- "type": "error",
494
- "name": "FieldLayout_StaticLengthDoesNotFitInAWord",
495
- "inputs": [
496
- {
497
- "name": "index",
498
- "type": "uint256",
499
- "internalType": "uint256"
500
- }
501
- ]
502
- },
503
- {
504
- "type": "error",
505
- "name": "FieldLayout_StaticLengthIsNotZero",
506
- "inputs": [
507
- {
508
- "name": "index",
509
- "type": "uint256",
510
- "internalType": "uint256"
511
- }
512
- ]
513
- },
514
- {
515
- "type": "error",
516
- "name": "FieldLayout_StaticLengthIsZero",
517
- "inputs": [
518
- {
519
- "name": "index",
520
- "type": "uint256",
521
- "internalType": "uint256"
522
- }
523
- ]
524
- },
525
- {
526
- "type": "error",
527
- "name": "FieldLayout_TooManyDynamicFields",
528
- "inputs": [
529
- {
530
- "name": "numFields",
531
- "type": "uint256",
532
- "internalType": "uint256"
533
- },
534
- {
535
- "name": "maxFields",
536
- "type": "uint256",
537
- "internalType": "uint256"
538
- }
539
- ]
540
- },
541
- {
542
- "type": "error",
543
- "name": "FieldLayout_TooManyFields",
544
- "inputs": [
545
- {
546
- "name": "numFields",
547
- "type": "uint256",
548
- "internalType": "uint256"
549
- },
550
- {
551
- "name": "maxFields",
552
- "type": "uint256",
553
- "internalType": "uint256"
554
- }
555
- ]
556
- },
557
- {
558
- "type": "error",
559
- "name": "Schema_InvalidLength",
560
- "inputs": [
561
- {
562
- "name": "length",
563
- "type": "uint256",
564
- "internalType": "uint256"
565
- }
566
- ]
567
- },
568
- {
569
- "type": "error",
570
- "name": "Schema_StaticTypeAfterDynamicType",
571
- "inputs": []
572
- },
573
- {
574
- "type": "error",
575
- "name": "Slice_OutOfBounds",
576
- "inputs": [
577
- {
578
- "name": "data",
579
- "type": "bytes",
580
- "internalType": "bytes"
581
- },
582
- {
583
- "name": "start",
584
- "type": "uint256",
585
- "internalType": "uint256"
586
- },
587
- {
588
- "name": "end",
589
- "type": "uint256",
590
- "internalType": "uint256"
591
- }
592
- ]
593
- },
594
- {
595
- "type": "error",
596
- "name": "Store_InvalidFieldNamesLength",
597
- "inputs": [
598
- {
599
- "name": "expected",
600
- "type": "uint256",
601
- "internalType": "uint256"
602
- },
603
- {
604
- "name": "received",
605
- "type": "uint256",
606
- "internalType": "uint256"
607
- }
608
- ]
609
- },
610
- {
611
- "type": "error",
612
- "name": "Store_InvalidKeyNamesLength",
613
- "inputs": [
614
- {
615
- "name": "expected",
616
- "type": "uint256",
617
- "internalType": "uint256"
618
- },
619
- {
620
- "name": "received",
621
- "type": "uint256",
622
- "internalType": "uint256"
623
- }
624
- ]
625
- },
626
- {
627
- "type": "error",
628
- "name": "Store_InvalidResourceType",
629
- "inputs": [
630
- {
631
- "name": "expected",
632
- "type": "bytes2",
633
- "internalType": "bytes2"
634
- },
635
- {
636
- "name": "resourceId",
637
- "type": "bytes32",
638
- "internalType": "ResourceId"
639
- },
640
- {
641
- "name": "resourceIdString",
642
- "type": "string",
643
- "internalType": "string"
644
- }
645
- ]
646
- },
647
- {
648
- "type": "error",
649
- "name": "Store_InvalidStaticDataLength",
650
- "inputs": [
651
- {
652
- "name": "expected",
653
- "type": "uint256",
654
- "internalType": "uint256"
655
- },
656
- {
657
- "name": "received",
658
- "type": "uint256",
659
- "internalType": "uint256"
660
- }
661
- ]
662
- },
663
- {
664
- "type": "error",
665
- "name": "Store_InvalidValueSchemaDynamicLength",
666
- "inputs": [
667
- {
668
- "name": "expected",
669
- "type": "uint256",
670
- "internalType": "uint256"
671
- },
672
- {
673
- "name": "received",
674
- "type": "uint256",
675
- "internalType": "uint256"
676
- }
677
- ]
678
- },
679
- {
680
- "type": "error",
681
- "name": "Store_InvalidValueSchemaLength",
682
- "inputs": [
683
- {
684
- "name": "expected",
685
- "type": "uint256",
686
- "internalType": "uint256"
687
- },
688
- {
689
- "name": "received",
690
- "type": "uint256",
691
- "internalType": "uint256"
692
- }
693
- ]
694
- },
695
- {
696
- "type": "error",
697
- "name": "Store_InvalidValueSchemaStaticLength",
698
- "inputs": [
699
- {
700
- "name": "expected",
701
- "type": "uint256",
702
- "internalType": "uint256"
703
- },
704
- {
705
- "name": "received",
706
- "type": "uint256",
707
- "internalType": "uint256"
708
- }
709
- ]
710
- },
711
- {
712
- "type": "error",
713
- "name": "Store_TableAlreadyExists",
714
- "inputs": [
715
- {
716
- "name": "tableId",
717
- "type": "bytes32",
718
- "internalType": "ResourceId"
719
- },
720
- {
721
- "name": "tableIdString",
722
- "type": "string",
723
- "internalType": "string"
724
- }
725
- ]
726
- }
727
- ];
728
-
729
- export default abi;