@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,963 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "IS_TEST",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "bool",
10
+ "internalType": "bool"
11
+ }
12
+ ],
13
+ "stateMutability": "view"
14
+ },
15
+ {
16
+ "type": "function",
17
+ "name": "excludeArtifacts",
18
+ "inputs": [],
19
+ "outputs": [
20
+ {
21
+ "name": "excludedArtifacts_",
22
+ "type": "string[]",
23
+ "internalType": "string[]"
24
+ }
25
+ ],
26
+ "stateMutability": "view"
27
+ },
28
+ {
29
+ "type": "function",
30
+ "name": "excludeContracts",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "excludedContracts_",
35
+ "type": "address[]",
36
+ "internalType": "address[]"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "excludeSenders",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "excludedSenders_",
48
+ "type": "address[]",
49
+ "internalType": "address[]"
50
+ }
51
+ ],
52
+ "stateMutability": "view"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "failed",
57
+ "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "bool",
62
+ "internalType": "bool"
63
+ }
64
+ ],
65
+ "stateMutability": "nonpayable"
66
+ },
67
+ {
68
+ "type": "function",
69
+ "name": "setUp",
70
+ "inputs": [],
71
+ "outputs": [],
72
+ "stateMutability": "nonpayable"
73
+ },
74
+ {
75
+ "type": "function",
76
+ "name": "targetArtifactSelectors",
77
+ "inputs": [],
78
+ "outputs": [
79
+ {
80
+ "name": "targetedArtifactSelectors_",
81
+ "type": "tuple[]",
82
+ "internalType": "struct StdInvariant.FuzzSelector[]",
83
+ "components": [
84
+ {
85
+ "name": "addr",
86
+ "type": "address",
87
+ "internalType": "address"
88
+ },
89
+ {
90
+ "name": "selectors",
91
+ "type": "bytes4[]",
92
+ "internalType": "bytes4[]"
93
+ }
94
+ ]
95
+ }
96
+ ],
97
+ "stateMutability": "view"
98
+ },
99
+ {
100
+ "type": "function",
101
+ "name": "targetArtifacts",
102
+ "inputs": [],
103
+ "outputs": [
104
+ {
105
+ "name": "targetedArtifacts_",
106
+ "type": "string[]",
107
+ "internalType": "string[]"
108
+ }
109
+ ],
110
+ "stateMutability": "view"
111
+ },
112
+ {
113
+ "type": "function",
114
+ "name": "targetContracts",
115
+ "inputs": [],
116
+ "outputs": [
117
+ {
118
+ "name": "targetedContracts_",
119
+ "type": "address[]",
120
+ "internalType": "address[]"
121
+ }
122
+ ],
123
+ "stateMutability": "view"
124
+ },
125
+ {
126
+ "type": "function",
127
+ "name": "targetSelectors",
128
+ "inputs": [],
129
+ "outputs": [
130
+ {
131
+ "name": "targetedSelectors_",
132
+ "type": "tuple[]",
133
+ "internalType": "struct StdInvariant.FuzzSelector[]",
134
+ "components": [
135
+ {
136
+ "name": "addr",
137
+ "type": "address",
138
+ "internalType": "address"
139
+ },
140
+ {
141
+ "name": "selectors",
142
+ "type": "bytes4[]",
143
+ "internalType": "bytes4[]"
144
+ }
145
+ ]
146
+ }
147
+ ],
148
+ "stateMutability": "view"
149
+ },
150
+ {
151
+ "type": "function",
152
+ "name": "targetSenders",
153
+ "inputs": [],
154
+ "outputs": [
155
+ {
156
+ "name": "targetedSenders_",
157
+ "type": "address[]",
158
+ "internalType": "address[]"
159
+ }
160
+ ],
161
+ "stateMutability": "view"
162
+ },
163
+ {
164
+ "type": "function",
165
+ "name": "testApprove",
166
+ "inputs": [],
167
+ "outputs": [],
168
+ "stateMutability": "nonpayable"
169
+ },
170
+ {
171
+ "type": "function",
172
+ "name": "testApprove",
173
+ "inputs": [
174
+ {
175
+ "name": "to",
176
+ "type": "address",
177
+ "internalType": "address"
178
+ },
179
+ {
180
+ "name": "amount",
181
+ "type": "uint256",
182
+ "internalType": "uint256"
183
+ }
184
+ ],
185
+ "outputs": [],
186
+ "stateMutability": "nonpayable"
187
+ },
188
+ {
189
+ "type": "function",
190
+ "name": "testBurn",
191
+ "inputs": [
192
+ {
193
+ "name": "from",
194
+ "type": "address",
195
+ "internalType": "address"
196
+ },
197
+ {
198
+ "name": "mintAmount",
199
+ "type": "uint256",
200
+ "internalType": "uint256"
201
+ },
202
+ {
203
+ "name": "burnAmount",
204
+ "type": "uint256",
205
+ "internalType": "uint256"
206
+ }
207
+ ],
208
+ "outputs": [],
209
+ "stateMutability": "nonpayable"
210
+ },
211
+ {
212
+ "type": "function",
213
+ "name": "testBurn",
214
+ "inputs": [],
215
+ "outputs": [],
216
+ "stateMutability": "nonpayable"
217
+ },
218
+ {
219
+ "type": "function",
220
+ "name": "testBurnInsufficientBalanceReverts",
221
+ "inputs": [
222
+ {
223
+ "name": "to",
224
+ "type": "address",
225
+ "internalType": "address"
226
+ },
227
+ {
228
+ "name": "mintAmount",
229
+ "type": "uint256",
230
+ "internalType": "uint256"
231
+ },
232
+ {
233
+ "name": "burnAmount",
234
+ "type": "uint256",
235
+ "internalType": "uint256"
236
+ }
237
+ ],
238
+ "outputs": [],
239
+ "stateMutability": "nonpayable"
240
+ },
241
+ {
242
+ "type": "function",
243
+ "name": "testInfiniteApproveTransferFrom",
244
+ "inputs": [],
245
+ "outputs": [],
246
+ "stateMutability": "nonpayable"
247
+ },
248
+ {
249
+ "type": "function",
250
+ "name": "testMetadata",
251
+ "inputs": [],
252
+ "outputs": [],
253
+ "stateMutability": "nonpayable"
254
+ },
255
+ {
256
+ "type": "function",
257
+ "name": "testMint",
258
+ "inputs": [],
259
+ "outputs": [],
260
+ "stateMutability": "nonpayable"
261
+ },
262
+ {
263
+ "type": "function",
264
+ "name": "testMint",
265
+ "inputs": [
266
+ {
267
+ "name": "to",
268
+ "type": "address",
269
+ "internalType": "address"
270
+ },
271
+ {
272
+ "name": "amount",
273
+ "type": "uint256",
274
+ "internalType": "uint256"
275
+ }
276
+ ],
277
+ "outputs": [],
278
+ "stateMutability": "nonpayable"
279
+ },
280
+ {
281
+ "type": "function",
282
+ "name": "testMintOverMaxUintReverts",
283
+ "inputs": [],
284
+ "outputs": [],
285
+ "stateMutability": "nonpayable"
286
+ },
287
+ {
288
+ "type": "function",
289
+ "name": "testNamespaceAccess",
290
+ "inputs": [],
291
+ "outputs": [],
292
+ "stateMutability": "nonpayable"
293
+ },
294
+ {
295
+ "type": "function",
296
+ "name": "testPause",
297
+ "inputs": [],
298
+ "outputs": [],
299
+ "stateMutability": "nonpayable"
300
+ },
301
+ {
302
+ "type": "function",
303
+ "name": "testSetUp",
304
+ "inputs": [],
305
+ "outputs": [],
306
+ "stateMutability": "nonpayable"
307
+ },
308
+ {
309
+ "type": "function",
310
+ "name": "testTransfer",
311
+ "inputs": [
312
+ {
313
+ "name": "to",
314
+ "type": "address",
315
+ "internalType": "address"
316
+ },
317
+ {
318
+ "name": "amount",
319
+ "type": "uint256",
320
+ "internalType": "uint256"
321
+ }
322
+ ],
323
+ "outputs": [],
324
+ "stateMutability": "nonpayable"
325
+ },
326
+ {
327
+ "type": "function",
328
+ "name": "testTransfer",
329
+ "inputs": [],
330
+ "outputs": [],
331
+ "stateMutability": "nonpayable"
332
+ },
333
+ {
334
+ "type": "function",
335
+ "name": "testTransferFrom",
336
+ "inputs": [
337
+ {
338
+ "name": "spender",
339
+ "type": "address",
340
+ "internalType": "address"
341
+ },
342
+ {
343
+ "name": "from",
344
+ "type": "address",
345
+ "internalType": "address"
346
+ },
347
+ {
348
+ "name": "to",
349
+ "type": "address",
350
+ "internalType": "address"
351
+ },
352
+ {
353
+ "name": "approval",
354
+ "type": "uint256",
355
+ "internalType": "uint256"
356
+ },
357
+ {
358
+ "name": "amount",
359
+ "type": "uint256",
360
+ "internalType": "uint256"
361
+ }
362
+ ],
363
+ "outputs": [],
364
+ "stateMutability": "nonpayable"
365
+ },
366
+ {
367
+ "type": "function",
368
+ "name": "testTransferFrom",
369
+ "inputs": [],
370
+ "outputs": [],
371
+ "stateMutability": "nonpayable"
372
+ },
373
+ {
374
+ "type": "function",
375
+ "name": "testTransferFromInsufficientAllowanceReverts",
376
+ "inputs": [
377
+ {
378
+ "name": "to",
379
+ "type": "address",
380
+ "internalType": "address"
381
+ },
382
+ {
383
+ "name": "approval",
384
+ "type": "uint256",
385
+ "internalType": "uint256"
386
+ },
387
+ {
388
+ "name": "amount",
389
+ "type": "uint256",
390
+ "internalType": "uint256"
391
+ }
392
+ ],
393
+ "outputs": [],
394
+ "stateMutability": "nonpayable"
395
+ },
396
+ {
397
+ "type": "function",
398
+ "name": "testTransferFromInsufficientAllowanceReverts",
399
+ "inputs": [],
400
+ "outputs": [],
401
+ "stateMutability": "nonpayable"
402
+ },
403
+ {
404
+ "type": "function",
405
+ "name": "testTransferFromInsufficientBalanceReverts",
406
+ "inputs": [],
407
+ "outputs": [],
408
+ "stateMutability": "nonpayable"
409
+ },
410
+ {
411
+ "type": "function",
412
+ "name": "testTransferFromInsufficientBalanceReverts",
413
+ "inputs": [
414
+ {
415
+ "name": "to",
416
+ "type": "address",
417
+ "internalType": "address"
418
+ },
419
+ {
420
+ "name": "mintAmount",
421
+ "type": "uint256",
422
+ "internalType": "uint256"
423
+ },
424
+ {
425
+ "name": "sendAmount",
426
+ "type": "uint256",
427
+ "internalType": "uint256"
428
+ }
429
+ ],
430
+ "outputs": [],
431
+ "stateMutability": "nonpayable"
432
+ },
433
+ {
434
+ "type": "function",
435
+ "name": "testTransferInsufficientBalanceReverts",
436
+ "inputs": [],
437
+ "outputs": [],
438
+ "stateMutability": "nonpayable"
439
+ },
440
+ {
441
+ "type": "function",
442
+ "name": "testTransferInsufficientBalanceReverts",
443
+ "inputs": [
444
+ {
445
+ "name": "to",
446
+ "type": "address",
447
+ "internalType": "address"
448
+ },
449
+ {
450
+ "name": "mintAmount",
451
+ "type": "uint256",
452
+ "internalType": "uint256"
453
+ },
454
+ {
455
+ "name": "sendAmount",
456
+ "type": "uint256",
457
+ "internalType": "uint256"
458
+ }
459
+ ],
460
+ "outputs": [],
461
+ "stateMutability": "nonpayable"
462
+ },
463
+ {
464
+ "type": "event",
465
+ "name": "Approval",
466
+ "inputs": [
467
+ {
468
+ "name": "owner",
469
+ "type": "address",
470
+ "indexed": true,
471
+ "internalType": "address"
472
+ },
473
+ {
474
+ "name": "spender",
475
+ "type": "address",
476
+ "indexed": true,
477
+ "internalType": "address"
478
+ },
479
+ {
480
+ "name": "value",
481
+ "type": "uint256",
482
+ "indexed": false,
483
+ "internalType": "uint256"
484
+ }
485
+ ],
486
+ "anonymous": false
487
+ },
488
+ {
489
+ "type": "event",
490
+ "name": "Transfer",
491
+ "inputs": [
492
+ {
493
+ "name": "from",
494
+ "type": "address",
495
+ "indexed": true,
496
+ "internalType": "address"
497
+ },
498
+ {
499
+ "name": "to",
500
+ "type": "address",
501
+ "indexed": true,
502
+ "internalType": "address"
503
+ },
504
+ {
505
+ "name": "value",
506
+ "type": "uint256",
507
+ "indexed": false,
508
+ "internalType": "uint256"
509
+ }
510
+ ],
511
+ "anonymous": false
512
+ },
513
+ {
514
+ "type": "event",
515
+ "name": "log",
516
+ "inputs": [
517
+ {
518
+ "name": "",
519
+ "type": "string",
520
+ "indexed": false,
521
+ "internalType": "string"
522
+ }
523
+ ],
524
+ "anonymous": false
525
+ },
526
+ {
527
+ "type": "event",
528
+ "name": "log_address",
529
+ "inputs": [
530
+ {
531
+ "name": "",
532
+ "type": "address",
533
+ "indexed": false,
534
+ "internalType": "address"
535
+ }
536
+ ],
537
+ "anonymous": false
538
+ },
539
+ {
540
+ "type": "event",
541
+ "name": "log_array",
542
+ "inputs": [
543
+ {
544
+ "name": "val",
545
+ "type": "uint256[]",
546
+ "indexed": false,
547
+ "internalType": "uint256[]"
548
+ }
549
+ ],
550
+ "anonymous": false
551
+ },
552
+ {
553
+ "type": "event",
554
+ "name": "log_array",
555
+ "inputs": [
556
+ {
557
+ "name": "val",
558
+ "type": "int256[]",
559
+ "indexed": false,
560
+ "internalType": "int256[]"
561
+ }
562
+ ],
563
+ "anonymous": false
564
+ },
565
+ {
566
+ "type": "event",
567
+ "name": "log_array",
568
+ "inputs": [
569
+ {
570
+ "name": "val",
571
+ "type": "address[]",
572
+ "indexed": false,
573
+ "internalType": "address[]"
574
+ }
575
+ ],
576
+ "anonymous": false
577
+ },
578
+ {
579
+ "type": "event",
580
+ "name": "log_bytes",
581
+ "inputs": [
582
+ {
583
+ "name": "",
584
+ "type": "bytes",
585
+ "indexed": false,
586
+ "internalType": "bytes"
587
+ }
588
+ ],
589
+ "anonymous": false
590
+ },
591
+ {
592
+ "type": "event",
593
+ "name": "log_bytes32",
594
+ "inputs": [
595
+ {
596
+ "name": "",
597
+ "type": "bytes32",
598
+ "indexed": false,
599
+ "internalType": "bytes32"
600
+ }
601
+ ],
602
+ "anonymous": false
603
+ },
604
+ {
605
+ "type": "event",
606
+ "name": "log_int",
607
+ "inputs": [
608
+ {
609
+ "name": "",
610
+ "type": "int256",
611
+ "indexed": false,
612
+ "internalType": "int256"
613
+ }
614
+ ],
615
+ "anonymous": false
616
+ },
617
+ {
618
+ "type": "event",
619
+ "name": "log_named_address",
620
+ "inputs": [
621
+ {
622
+ "name": "key",
623
+ "type": "string",
624
+ "indexed": false,
625
+ "internalType": "string"
626
+ },
627
+ {
628
+ "name": "val",
629
+ "type": "address",
630
+ "indexed": false,
631
+ "internalType": "address"
632
+ }
633
+ ],
634
+ "anonymous": false
635
+ },
636
+ {
637
+ "type": "event",
638
+ "name": "log_named_array",
639
+ "inputs": [
640
+ {
641
+ "name": "key",
642
+ "type": "string",
643
+ "indexed": false,
644
+ "internalType": "string"
645
+ },
646
+ {
647
+ "name": "val",
648
+ "type": "uint256[]",
649
+ "indexed": false,
650
+ "internalType": "uint256[]"
651
+ }
652
+ ],
653
+ "anonymous": false
654
+ },
655
+ {
656
+ "type": "event",
657
+ "name": "log_named_array",
658
+ "inputs": [
659
+ {
660
+ "name": "key",
661
+ "type": "string",
662
+ "indexed": false,
663
+ "internalType": "string"
664
+ },
665
+ {
666
+ "name": "val",
667
+ "type": "int256[]",
668
+ "indexed": false,
669
+ "internalType": "int256[]"
670
+ }
671
+ ],
672
+ "anonymous": false
673
+ },
674
+ {
675
+ "type": "event",
676
+ "name": "log_named_array",
677
+ "inputs": [
678
+ {
679
+ "name": "key",
680
+ "type": "string",
681
+ "indexed": false,
682
+ "internalType": "string"
683
+ },
684
+ {
685
+ "name": "val",
686
+ "type": "address[]",
687
+ "indexed": false,
688
+ "internalType": "address[]"
689
+ }
690
+ ],
691
+ "anonymous": false
692
+ },
693
+ {
694
+ "type": "event",
695
+ "name": "log_named_bytes",
696
+ "inputs": [
697
+ {
698
+ "name": "key",
699
+ "type": "string",
700
+ "indexed": false,
701
+ "internalType": "string"
702
+ },
703
+ {
704
+ "name": "val",
705
+ "type": "bytes",
706
+ "indexed": false,
707
+ "internalType": "bytes"
708
+ }
709
+ ],
710
+ "anonymous": false
711
+ },
712
+ {
713
+ "type": "event",
714
+ "name": "log_named_bytes32",
715
+ "inputs": [
716
+ {
717
+ "name": "key",
718
+ "type": "string",
719
+ "indexed": false,
720
+ "internalType": "string"
721
+ },
722
+ {
723
+ "name": "val",
724
+ "type": "bytes32",
725
+ "indexed": false,
726
+ "internalType": "bytes32"
727
+ }
728
+ ],
729
+ "anonymous": false
730
+ },
731
+ {
732
+ "type": "event",
733
+ "name": "log_named_decimal_int",
734
+ "inputs": [
735
+ {
736
+ "name": "key",
737
+ "type": "string",
738
+ "indexed": false,
739
+ "internalType": "string"
740
+ },
741
+ {
742
+ "name": "val",
743
+ "type": "int256",
744
+ "indexed": false,
745
+ "internalType": "int256"
746
+ },
747
+ {
748
+ "name": "decimals",
749
+ "type": "uint256",
750
+ "indexed": false,
751
+ "internalType": "uint256"
752
+ }
753
+ ],
754
+ "anonymous": false
755
+ },
756
+ {
757
+ "type": "event",
758
+ "name": "log_named_decimal_uint",
759
+ "inputs": [
760
+ {
761
+ "name": "key",
762
+ "type": "string",
763
+ "indexed": false,
764
+ "internalType": "string"
765
+ },
766
+ {
767
+ "name": "val",
768
+ "type": "uint256",
769
+ "indexed": false,
770
+ "internalType": "uint256"
771
+ },
772
+ {
773
+ "name": "decimals",
774
+ "type": "uint256",
775
+ "indexed": false,
776
+ "internalType": "uint256"
777
+ }
778
+ ],
779
+ "anonymous": false
780
+ },
781
+ {
782
+ "type": "event",
783
+ "name": "log_named_int",
784
+ "inputs": [
785
+ {
786
+ "name": "key",
787
+ "type": "string",
788
+ "indexed": false,
789
+ "internalType": "string"
790
+ },
791
+ {
792
+ "name": "val",
793
+ "type": "int256",
794
+ "indexed": false,
795
+ "internalType": "int256"
796
+ }
797
+ ],
798
+ "anonymous": false
799
+ },
800
+ {
801
+ "type": "event",
802
+ "name": "log_named_string",
803
+ "inputs": [
804
+ {
805
+ "name": "key",
806
+ "type": "string",
807
+ "indexed": false,
808
+ "internalType": "string"
809
+ },
810
+ {
811
+ "name": "val",
812
+ "type": "string",
813
+ "indexed": false,
814
+ "internalType": "string"
815
+ }
816
+ ],
817
+ "anonymous": false
818
+ },
819
+ {
820
+ "type": "event",
821
+ "name": "log_named_uint",
822
+ "inputs": [
823
+ {
824
+ "name": "key",
825
+ "type": "string",
826
+ "indexed": false,
827
+ "internalType": "string"
828
+ },
829
+ {
830
+ "name": "val",
831
+ "type": "uint256",
832
+ "indexed": false,
833
+ "internalType": "uint256"
834
+ }
835
+ ],
836
+ "anonymous": false
837
+ },
838
+ {
839
+ "type": "event",
840
+ "name": "log_string",
841
+ "inputs": [
842
+ {
843
+ "name": "",
844
+ "type": "string",
845
+ "indexed": false,
846
+ "internalType": "string"
847
+ }
848
+ ],
849
+ "anonymous": false
850
+ },
851
+ {
852
+ "type": "event",
853
+ "name": "log_uint",
854
+ "inputs": [
855
+ {
856
+ "name": "",
857
+ "type": "uint256",
858
+ "indexed": false,
859
+ "internalType": "uint256"
860
+ }
861
+ ],
862
+ "anonymous": false
863
+ },
864
+ {
865
+ "type": "event",
866
+ "name": "logs",
867
+ "inputs": [
868
+ {
869
+ "name": "",
870
+ "type": "bytes",
871
+ "indexed": false,
872
+ "internalType": "bytes"
873
+ }
874
+ ],
875
+ "anonymous": false
876
+ },
877
+ {
878
+ "type": "error",
879
+ "name": "ERC20InsufficientAllowance",
880
+ "inputs": [
881
+ {
882
+ "name": "spender",
883
+ "type": "address",
884
+ "internalType": "address"
885
+ },
886
+ {
887
+ "name": "allowance",
888
+ "type": "uint256",
889
+ "internalType": "uint256"
890
+ },
891
+ {
892
+ "name": "needed",
893
+ "type": "uint256",
894
+ "internalType": "uint256"
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ "type": "error",
900
+ "name": "ERC20InsufficientBalance",
901
+ "inputs": [
902
+ {
903
+ "name": "sender",
904
+ "type": "address",
905
+ "internalType": "address"
906
+ },
907
+ {
908
+ "name": "balance",
909
+ "type": "uint256",
910
+ "internalType": "uint256"
911
+ },
912
+ {
913
+ "name": "needed",
914
+ "type": "uint256",
915
+ "internalType": "uint256"
916
+ }
917
+ ]
918
+ },
919
+ {
920
+ "type": "error",
921
+ "name": "ERC20InvalidApprover",
922
+ "inputs": [
923
+ {
924
+ "name": "approver",
925
+ "type": "address",
926
+ "internalType": "address"
927
+ }
928
+ ]
929
+ },
930
+ {
931
+ "type": "error",
932
+ "name": "ERC20InvalidReceiver",
933
+ "inputs": [
934
+ {
935
+ "name": "receiver",
936
+ "type": "address",
937
+ "internalType": "address"
938
+ }
939
+ ]
940
+ },
941
+ {
942
+ "type": "error",
943
+ "name": "ERC20InvalidSender",
944
+ "inputs": [
945
+ {
946
+ "name": "sender",
947
+ "type": "address",
948
+ "internalType": "address"
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "type": "error",
954
+ "name": "ERC20InvalidSpender",
955
+ "inputs": [
956
+ {
957
+ "name": "spender",
958
+ "type": "address",
959
+ "internalType": "address"
960
+ }
961
+ ]
962
+ }
963
+ ]