@latticexyz/world-module-erc20 2.2.13-entrykit-0124fe749bead05228687a1b929463b7da909d59
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.
- package/LICENSE +21 -0
- package/README.md +131 -0
- package/dist/_esm-DCAC27XZ.js +10 -0
- package/dist/_esm-DCAC27XZ.js.map +1 -0
- package/dist/ccip-GJX6Z7AD.js +2 -0
- package/dist/ccip-GJX6Z7AD.js.map +1 -0
- package/dist/chunk-AU25RBDM.js +30 -0
- package/dist/chunk-AU25RBDM.js.map +1 -0
- package/dist/chunk-QBDELX7C.js +7 -0
- package/dist/chunk-QBDELX7C.js.map +1 -0
- package/dist/chunk-SYRP7SJ5.js +2 -0
- package/dist/chunk-SYRP7SJ5.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/mud.config.d.ts +415 -0
- package/dist/mud.config.js +2 -0
- package/dist/mud.config.js.map +1 -0
- package/dist/secp256k1-QYN2SJD6.js +22 -0
- package/dist/secp256k1-QYN2SJD6.js.map +1 -0
- package/out/AccessControl.sol/AccessControl.abi.json +1 -0
- package/out/AccessControl.sol/AccessControl.json +1 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +256 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +258 -0
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -0
- package/out/Allowances.sol/Allowances.abi.json +1 -0
- package/out/Allowances.sol/Allowances.json +1 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +361 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +363 -0
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -0
- package/out/Balances.sol/Balances.abi.json +1 -0
- package/out/Balances.sol/Balances.json +1 -0
- package/out/Base.sol/CommonBase.abi.json +1 -0
- package/out/Base.sol/CommonBase.json +1 -0
- package/out/Base.sol/ScriptBase.abi.json +1 -0
- package/out/Base.sol/ScriptBase.json +1 -0
- package/out/Base.sol/TestBase.abi.json +1 -0
- package/out/Base.sol/TestBase.json +1 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +132 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +134 -0
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -0
- package/out/Bytes.sol/Bytes.abi.json +1 -0
- package/out/Bytes.sol/Bytes.json +1 -0
- package/out/Constants.sol/ERC20TableNames.abi.json +1 -0
- package/out/Constants.sol/ERC20TableNames.json +1 -0
- package/out/Constants.sol/ModuleConstants.abi.json +1 -0
- package/out/Constants.sol/ModuleConstants.json +1 -0
- package/out/Constants.sol/OwnableTableNames.abi.json +1 -0
- package/out/Constants.sol/OwnableTableNames.json +1 -0
- package/out/Constants.sol/PausableTableNames.abi.json +1 -0
- package/out/Constants.sol/PausableTableNames.json +1 -0
- package/out/Context.sol/Context.abi.json +1 -0
- package/out/Context.sol/Context.json +1 -0
- package/out/DecodeSlice.sol/DecodeSlice.abi.json +1 -0
- package/out/DecodeSlice.sol/DecodeSlice.json +1 -0
- package/out/Delegation.sol/Delegation.abi.json +1 -0
- package/out/Delegation.sol/Delegation.json +1 -0
- package/out/ERC165Checker.sol/ERC165Checker.abi.json +1 -0
- package/out/ERC165Checker.sol/ERC165Checker.json +1 -0
- package/out/ERC20BaseTest.sol/ERC20BehaviorTest.abi.json +949 -0
- package/out/ERC20BaseTest.sol/ERC20BehaviorTest.abi.json.d.ts +951 -0
- package/out/ERC20BaseTest.sol/ERC20BehaviorTest.json +1 -0
- package/out/ERC20BaseTest.sol/ERC20WithInternalStoreBehaviorTest.abi.json +949 -0
- package/out/ERC20BaseTest.sol/ERC20WithInternalStoreBehaviorTest.abi.json.d.ts +951 -0
- package/out/ERC20BaseTest.sol/ERC20WithInternalStoreBehaviorTest.json +1 -0
- package/out/ERC20BaseTest.sol/ERC20WithInternalStoreTest.abi.json +949 -0
- package/out/ERC20BaseTest.sol/ERC20WithInternalStoreTest.abi.json.d.ts +951 -0
- package/out/ERC20BaseTest.sol/ERC20WithInternalStoreTest.json +1 -0
- package/out/ERC20BaseTest.sol/ERC20WithWorldBehaviorTest.abi.json +956 -0
- package/out/ERC20BaseTest.sol/ERC20WithWorldBehaviorTest.abi.json.d.ts +958 -0
- package/out/ERC20BaseTest.sol/ERC20WithWorldBehaviorTest.json +1 -0
- package/out/ERC20BaseTest.sol/ERC20WithWorldTest.abi.json +956 -0
- package/out/ERC20BaseTest.sol/ERC20WithWorldTest.abi.json.d.ts +958 -0
- package/out/ERC20BaseTest.sol/ERC20WithWorldTest.json +1 -0
- package/out/ERC20BaseTest.sol/MockERC20Base.abi.json +683 -0
- package/out/ERC20BaseTest.sol/MockERC20Base.abi.json.d.ts +685 -0
- package/out/ERC20BaseTest.sol/MockERC20Base.json +1 -0
- package/out/ERC20BaseTest.sol/MockERC20WithInternalStore.abi.json +683 -0
- package/out/ERC20BaseTest.sol/MockERC20WithInternalStore.abi.json.d.ts +685 -0
- package/out/ERC20BaseTest.sol/MockERC20WithInternalStore.json +1 -0
- package/out/ERC20BaseTest.sol/MockERC20WithWorld.abi.json +719 -0
- package/out/ERC20BaseTest.sol/MockERC20WithWorld.abi.json.d.ts +721 -0
- package/out/ERC20BaseTest.sol/MockERC20WithWorld.json +1 -0
- package/out/ERC20BaseTest.sol/TestConstants.abi.json +1 -0
- package/out/ERC20BaseTest.sol/TestConstants.json +1 -0
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +678 -0
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +680 -0
- package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +956 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +958 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json +956 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json.d.ts +958 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json +963 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json.d.ts +965 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +714 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +716 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +745 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +747 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -0
- package/out/ERC20Metadata.sol/ERC20Metadata.abi.json +1 -0
- package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -0
- package/out/ERC20Module.sol/ERC20Module.abi.json +147 -0
- package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +149 -0
- package/out/ERC20Module.sol/ERC20Module.json +1 -0
- package/out/ERC20Module.sol/ERC20RegistryLib.abi.json +349 -0
- package/out/ERC20Module.sol/ERC20RegistryLib.abi.json.d.ts +351 -0
- package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -0
- package/out/ERC20Module.t.sol/ERC20ModuleTest.abi.json +541 -0
- package/out/ERC20Module.t.sol/ERC20ModuleTest.abi.json.d.ts +543 -0
- package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -0
- package/out/ERC20Module.t.sol/TestConstants.abi.json +1 -0
- package/out/ERC20Module.t.sol/TestConstants.json +1 -0
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +696 -0
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +698 -0
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json +956 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json.d.ts +958 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json +956 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json.d.ts +958 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json +963 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json.d.ts +965 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -0
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +710 -0
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +712 -0
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +746 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +748 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +777 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +779 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -0
- package/out/ERC20Registry.sol/ERC20Registry.abi.json +1 -0
- package/out/ERC20Registry.sol/ERC20Registry.json +1 -0
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +838 -0
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +840 -0
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -0
- package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +816 -0
- package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +818 -0
- package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -0
- package/out/EncodeArray.sol/EncodeArray.abi.json +1 -0
- package/out/EncodeArray.sol/EncodeArray.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsInstance.abi.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsLib.abi.json +1 -0
- package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutInstance.abi.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutLib.abi.json +1 -0
- package/out/FieldLayout.sol/FieldLayoutLib.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.abi.json +1 -0
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -0
- package/out/FunctionSignatures.sol/FunctionSignatures.abi.json +1 -0
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -0
- package/out/GasReporter.sol/GasReporter.abi.json +520 -0
- package/out/GasReporter.sol/GasReporter.abi.json.d.ts +522 -0
- package/out/GasReporter.sol/GasReporter.json +1 -0
- package/out/Hook.sol/HookInstance.abi.json +1 -0
- package/out/Hook.sol/HookInstance.json +1 -0
- package/out/Hook.sol/HookLib.abi.json +1 -0
- package/out/Hook.sol/HookLib.json +1 -0
- package/out/Hooks.sol/Hooks.abi.json +1 -0
- package/out/Hooks.sol/Hooks.json +1 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json +69 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.abi.json.d.ts +71 -0
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json +48 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.abi.json.d.ts +50 -0
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -0
- package/out/IBaseWorld.sol/IBaseWorld.abi.json +2008 -0
- package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +2010 -0
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +71 -0
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -0
- package/out/IDelegationControl.sol/IDelegationControl.abi.json +89 -0
- package/out/IDelegationControl.sol/IDelegationControl.abi.json.d.ts +91 -0
- package/out/IDelegationControl.sol/IDelegationControl.json +1 -0
- package/out/IERC165.sol/IERC165.abi.json +21 -0
- package/out/IERC165.sol/IERC165.abi.json.d.ts +23 -0
- package/out/IERC165.sol/IERC165.json +1 -0
- package/out/IERC20.sol/IERC20.abi.json +185 -0
- package/out/IERC20.sol/IERC20.abi.json.d.ts +187 -0
- package/out/IERC20.sol/IERC20.json +1 -0
- package/out/IERC20Errors.sol/IERC20Errors.abi.json +88 -0
- package/out/IERC20Errors.sol/IERC20Errors.abi.json.d.ts +90 -0
- package/out/IERC20Errors.sol/IERC20Errors.json +1 -0
- package/out/IERC20Events.sol/IERC20Events.abi.json +52 -0
- package/out/IERC20Events.sol/IERC20Events.abi.json.d.ts +54 -0
- package/out/IERC20Events.sol/IERC20Events.json +1 -0
- package/out/IERC20Metadata.sol/IERC20Metadata.abi.json +224 -0
- package/out/IERC20Metadata.sol/IERC20Metadata.abi.json.d.ts +226 -0
- package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json +13 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.abi.json.d.ts +15 -0
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json +88 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.abi.json.d.ts +90 -0
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -0
- package/out/IModule.sol/IModule.abi.json +73 -0
- package/out/IModule.sol/IModule.abi.json.d.ts +75 -0
- package/out/IModule.sol/IModule.json +1 -0
- package/out/IModuleErrors.sol/IModuleErrors.abi.json +28 -0
- package/out/IModuleErrors.sol/IModuleErrors.abi.json.d.ts +30 -0
- package/out/IModuleErrors.sol/IModuleErrors.json +1 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json +20 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.abi.json.d.ts +22 -0
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -0
- package/out/IMulticall3.sol/IMulticall3.abi.json +440 -0
- package/out/IMulticall3.sol/IMulticall3.abi.json.d.ts +442 -0
- package/out/IMulticall3.sol/IMulticall3.json +1 -0
- package/out/IRegistrationSystem.sol/IRegistrationSystem.abi.json +1 -0
- package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.abi.json +18 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.abi.json.d.ts +20 -0
- package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -0
- package/out/ISliceErrors.sol/ISliceErrors.abi.json +23 -0
- package/out/ISliceErrors.sol/ISliceErrors.abi.json.d.ts +25 -0
- package/out/ISliceErrors.sol/ISliceErrors.json +1 -0
- package/out/IStore.sol/IStore.abi.json +1261 -0
- package/out/IStore.sol/IStore.abi.json.d.ts +1263 -0
- package/out/IStore.sol/IStore.json +1 -0
- package/out/IStoreErrors.sol/IStoreErrors.abi.json +204 -0
- package/out/IStoreErrors.sol/IStoreErrors.abi.json.d.ts +206 -0
- package/out/IStoreErrors.sol/IStoreErrors.json +1 -0
- package/out/IStoreEvents.sol/IStoreEvents.abi.json +151 -0
- package/out/IStoreEvents.sol/IStoreEvents.abi.json.d.ts +153 -0
- package/out/IStoreEvents.sol/IStoreEvents.json +1 -0
- package/out/IStoreHook.sol/IStoreHook.abi.json +290 -0
- package/out/IStoreHook.sol/IStoreHook.abi.json.d.ts +292 -0
- package/out/IStoreHook.sol/IStoreHook.json +1 -0
- package/out/IStoreKernel.sol/IStoreKernel.abi.json +1182 -0
- package/out/IStoreKernel.sol/IStoreKernel.abi.json.d.ts +1184 -0
- package/out/IStoreKernel.sol/IStoreKernel.json +1 -0
- package/out/IStoreRead.sol/IStoreRead.abi.json +389 -0
- package/out/IStoreRead.sol/IStoreRead.abi.json.d.ts +391 -0
- package/out/IStoreRead.sol/IStoreRead.json +1 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.abi.json +81 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.abi.json.d.ts +83 -0
- package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -0
- package/out/IStoreWrite.sol/IStoreWrite.abi.json +446 -0
- package/out/IStoreWrite.sol/IStoreWrite.abi.json.d.ts +448 -0
- package/out/IStoreWrite.sol/IStoreWrite.json +1 -0
- package/out/ISystemHook.sol/ISystemHook.abi.json +67 -0
- package/out/ISystemHook.sol/ISystemHook.abi.json.d.ts +69 -0
- package/out/ISystemHook.sol/ISystemHook.json +1 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json +60 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.abi.json.d.ts +62 -0
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -0
- package/out/IWorldErrors.sol/IWorldErrors.abi.json +200 -0
- package/out/IWorldErrors.sol/IWorldErrors.abi.json.d.ts +202 -0
- package/out/IWorldErrors.sol/IWorldErrors.json +1 -0
- package/out/IWorldEvents.sol/IWorldEvents.abi.json +15 -0
- package/out/IWorldEvents.sol/IWorldEvents.abi.json.d.ts +17 -0
- package/out/IWorldEvents.sol/IWorldEvents.json +1 -0
- package/out/IWorldKernel.sol/IWorldCall.abi.json +55 -0
- package/out/IWorldKernel.sol/IWorldCall.abi.json.d.ts +57 -0
- package/out/IWorldKernel.sol/IWorldCall.json +1 -0
- package/out/IWorldKernel.sol/IWorldKernel.abi.json +349 -0
- package/out/IWorldKernel.sol/IWorldKernel.abi.json.d.ts +351 -0
- package/out/IWorldKernel.sol/IWorldKernel.json +1 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json +20 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.abi.json.d.ts +22 -0
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json +204 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.abi.json.d.ts +206 -0
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -0
- package/out/InitModule.sol/InitModule.abi.json +462 -0
- package/out/InitModule.sol/InitModule.abi.json.d.ts +464 -0
- package/out/InitModule.sol/InitModule.json +1 -0
- package/out/InitModuleAddress.sol/InitModuleAddress.abi.json +1 -0
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -0
- package/out/InstalledModules.sol/InstalledModules.abi.json +1 -0
- package/out/InstalledModules.sol/InstalledModules.json +1 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.abi.json +7 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.abi.json.d.ts +9 -0
- package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -0
- package/out/MUDERC20.sol/MUDERC20.abi.json +647 -0
- package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +649 -0
- package/out/MUDERC20.sol/MUDERC20.json +1 -0
- package/out/Memory.sol/Memory.abi.json +1 -0
- package/out/Memory.sol/Memory.json +1 -0
- package/out/Module.sol/Module.abi.json +112 -0
- package/out/Module.sol/Module.abi.json.d.ts +114 -0
- package/out/Module.sol/Module.json +1 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +151 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +153 -0
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -0
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.abi.json +1 -0
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.abi.json +1 -0
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -0
- package/out/Ownable.sol/Ownable.abi.json +413 -0
- package/out/Ownable.sol/Ownable.abi.json.d.ts +415 -0
- package/out/Ownable.sol/Ownable.json +1 -0
- package/out/Owner.sol/Owner.abi.json +1 -0
- package/out/Owner.sol/Owner.json +1 -0
- package/out/Pausable.sol/Pausable.abi.json +388 -0
- package/out/Pausable.sol/Pausable.abi.json.d.ts +390 -0
- package/out/Pausable.sol/Pausable.json +1 -0
- package/out/Paused.sol/Paused.abi.json +1 -0
- package/out/Paused.sol/Paused.json +1 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1018 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1020 -0
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.abi.json +1 -0
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -0
- package/out/ResourceId.sol/ResourceIdInstance.abi.json +1 -0
- package/out/ResourceId.sol/ResourceIdInstance.json +1 -0
- package/out/ResourceId.sol/ResourceIdLib.abi.json +1 -0
- package/out/ResourceId.sol/ResourceIdLib.json +1 -0
- package/out/ResourceIds.sol/ResourceIds.abi.json +1 -0
- package/out/ResourceIds.sol/ResourceIds.json +1 -0
- package/out/Schema.sol/SchemaInstance.abi.json +1 -0
- package/out/Schema.sol/SchemaInstance.json +1 -0
- package/out/Schema.sol/SchemaLib.abi.json +1 -0
- package/out/Schema.sol/SchemaLib.json +1 -0
- package/out/Slice.sol/SliceInstance.abi.json +1 -0
- package/out/Slice.sol/SliceInstance.json +1 -0
- package/out/Slice.sol/SliceLib.abi.json +1 -0
- package/out/Slice.sol/SliceLib.json +1 -0
- package/out/StdAssertions.sol/StdAssertions.abi.json +392 -0
- package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +394 -0
- package/out/StdAssertions.sol/StdAssertions.json +1 -0
- package/out/StdChains.sol/StdChains.abi.json +1 -0
- package/out/StdChains.sol/StdChains.json +1 -0
- package/out/StdCheats.sol/StdCheats.abi.json +1 -0
- package/out/StdCheats.sol/StdCheats.json +1 -0
- package/out/StdCheats.sol/StdCheatsSafe.abi.json +1 -0
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -0
- package/out/StdError.sol/stdError.abi.json +119 -0
- package/out/StdError.sol/stdError.abi.json.d.ts +121 -0
- package/out/StdError.sol/stdError.json +1 -0
- package/out/StdInvariant.sol/StdInvariant.abi.json +130 -0
- package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +132 -0
- package/out/StdInvariant.sol/StdInvariant.json +1 -0
- package/out/StdJson.sol/stdJson.abi.json +1 -0
- package/out/StdJson.sol/stdJson.json +1 -0
- package/out/StdMath.sol/stdMath.abi.json +1 -0
- package/out/StdMath.sol/stdMath.json +1 -0
- package/out/StdStorage.sol/stdStorage.abi.json +1 -0
- package/out/StdStorage.sol/stdStorage.json +1 -0
- package/out/StdStorage.sol/stdStorageSafe.abi.json +52 -0
- package/out/StdStorage.sol/stdStorageSafe.abi.json.d.ts +54 -0
- package/out/StdStorage.sol/stdStorageSafe.json +1 -0
- package/out/StdStyle.sol/StdStyle.abi.json +1 -0
- package/out/StdStyle.sol/StdStyle.json +1 -0
- package/out/StdUtils.sol/StdUtils.abi.json +1 -0
- package/out/StdUtils.sol/StdUtils.json +1 -0
- package/out/Storage.sol/Storage.abi.json +1 -0
- package/out/Storage.sol/Storage.json +1 -0
- package/out/Store.sol/Store.abi.json +1261 -0
- package/out/Store.sol/Store.abi.json.d.ts +1263 -0
- package/out/Store.sol/Store.json +1 -0
- package/out/StoreConsumer.sol/StoreConsumer.abi.json +15 -0
- package/out/StoreConsumer.sol/StoreConsumer.abi.json.d.ts +17 -0
- package/out/StoreConsumer.sol/StoreConsumer.json +1 -0
- package/out/StoreConsumer.t.sol/MockStoreConsumer.abi.json +52 -0
- package/out/StoreConsumer.t.sol/MockStoreConsumer.abi.json.d.ts +54 -0
- package/out/StoreConsumer.t.sol/MockStoreConsumer.json +1 -0
- package/out/StoreConsumer.t.sol/MockWithInternalStore.abi.json +376 -0
- package/out/StoreConsumer.t.sol/MockWithInternalStore.abi.json.d.ts +378 -0
- package/out/StoreConsumer.t.sol/MockWithInternalStore.json +1 -0
- package/out/StoreConsumer.t.sol/MockWithStore.abi.json +387 -0
- package/out/StoreConsumer.t.sol/MockWithStore.abi.json.d.ts +389 -0
- package/out/StoreConsumer.t.sol/MockWithStore.json +1 -0
- package/out/StoreConsumer.t.sol/MockWithWorld.abi.json +430 -0
- package/out/StoreConsumer.t.sol/MockWithWorld.abi.json.d.ts +432 -0
- package/out/StoreConsumer.t.sol/MockWithWorld.json +1 -0
- package/out/StoreConsumer.t.sol/StoreConsumerTest.abi.json +548 -0
- package/out/StoreConsumer.t.sol/StoreConsumerTest.abi.json.d.ts +550 -0
- package/out/StoreConsumer.t.sol/StoreConsumerTest.json +1 -0
- package/out/StoreCore.sol/StoreCore.abi.json +1 -0
- package/out/StoreCore.sol/StoreCore.json +1 -0
- package/out/StoreCore.sol/StoreCoreInternal.abi.json +1 -0
- package/out/StoreCore.sol/StoreCoreInternal.json +1 -0
- package/out/StoreHooks.sol/StoreHooks.abi.json +1 -0
- package/out/StoreHooks.sol/StoreHooks.json +1 -0
- package/out/StoreKernel.sol/StoreKernel.abi.json +1182 -0
- package/out/StoreKernel.sol/StoreKernel.abi.json.d.ts +1184 -0
- package/out/StoreKernel.sol/StoreKernel.json +1 -0
- package/out/StoreRead.sol/StoreRead.abi.json +437 -0
- package/out/StoreRead.sol/StoreRead.abi.json.d.ts +439 -0
- package/out/StoreRead.sol/StoreRead.json +1 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +779 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +781 -0
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -0
- package/out/StoreSwitch.sol/StoreSwitch.abi.json +1 -0
- package/out/StoreSwitch.sol/StoreSwitch.json +1 -0
- package/out/System.sol/System.abi.json +60 -0
- package/out/System.sol/System.abi.json.d.ts +62 -0
- package/out/System.sol/System.json +1 -0
- package/out/SystemCall.sol/SystemCall.abi.json +1 -0
- package/out/SystemCall.sol/SystemCall.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.abi.json +1 -0
- package/out/SystemHooks.sol/SystemHooks.json +1 -0
- package/out/SystemRegistry.sol/SystemRegistry.abi.json +1 -0
- package/out/SystemRegistry.sol/SystemRegistry.json +1 -0
- package/out/Systems.sol/Systems.abi.json +1 -0
- package/out/Systems.sol/Systems.json +1 -0
- package/out/Tables.sol/Tables.abi.json +1 -0
- package/out/Tables.sol/Tables.json +1 -0
- package/out/Test.sol/Test.abi.json +520 -0
- package/out/Test.sol/Test.abi.json.d.ts +522 -0
- package/out/Test.sol/Test.json +1 -0
- package/out/TightCoder.sol/TightCoder.abi.json +1 -0
- package/out/TightCoder.sol/TightCoder.json +1 -0
- package/out/TotalSupply.sol/TotalSupply.abi.json +1 -0
- package/out/TotalSupply.sol/TotalSupply.json +1 -0
- package/out/UserDelegationControl.sol/UserDelegationControl.abi.json +1 -0
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -0
- package/out/Vm.sol/Vm.abi.json +3878 -0
- package/out/Vm.sol/Vm.abi.json.d.ts +3880 -0
- package/out/Vm.sol/Vm.json +1 -0
- package/out/Vm.sol/VmSafe.abi.json +2678 -0
- package/out/Vm.sol/VmSafe.abi.json.d.ts +2680 -0
- package/out/Vm.sol/VmSafe.json +1 -0
- package/out/WithStore.sol/WithStore.abi.json +339 -0
- package/out/WithStore.sol/WithStore.abi.json.d.ts +341 -0
- package/out/WithStore.sol/WithStore.json +1 -0
- package/out/WithWorld.sol/WithWorld.abi.json +370 -0
- package/out/WithWorld.sol/WithWorld.abi.json.d.ts +372 -0
- package/out/WithWorld.sol/WithWorld.json +1 -0
- package/out/World.sol/World.abi.json +1542 -0
- package/out/World.sol/World.abi.json.d.ts +1544 -0
- package/out/World.sol/World.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumer.abi.json +60 -0
- package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +62 -0
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -0
- package/out/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +691 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +693 -0
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.abi.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdLib.abi.json +1 -0
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -0
- package/out/build-info/bc3a1525415111591c1321f8462fa438.json +1 -0
- package/out/console.sol/console.abi.json +1 -0
- package/out/console.sol/console.json +1 -0
- package/out/console2.sol/console2.abi.json +1 -0
- package/out/console2.sol/console2.json +1 -0
- package/out/constants.sol/LayoutOffsets.abi.json +1 -0
- package/out/constants.sol/LayoutOffsets.json +1 -0
- package/out/safeconsole.sol/safeconsole.abi.json +1 -0
- package/out/safeconsole.sol/safeconsole.json +1 -0
- package/out/src/IERC165.sol/IERC165.abi.json +21 -0
- package/out/src/IERC165.sol/IERC165.abi.json.d.ts +23 -0
- package/out/src/IERC165.sol/IERC165.json +1 -0
- package/out/tables/Balances.sol/Balances.abi.json +1 -0
- package/out/tables/Balances.sol/Balances.json +1 -0
- package/out/test.sol/DSTest.abi.json +296 -0
- package/out/test.sol/DSTest.abi.json.d.ts +298 -0
- package/out/test.sol/DSTest.json +1 -0
- package/package.json +67 -0
- package/src/Constants.sol +36 -0
- package/src/Context.sol +10 -0
- package/src/ERC20Burnable.sol +16 -0
- package/src/ERC20Module.sol +74 -0
- package/src/ERC20Pausable.sol +12 -0
- package/src/MUDERC20.sol +326 -0
- package/src/Ownable.sol +110 -0
- package/src/Pausable.sol +125 -0
- package/src/StoreConsumer.sol +24 -0
- package/src/WithStore.sol +22 -0
- package/src/WithWorld.sol +40 -0
- package/src/codegen/index.sol +12 -0
- package/src/codegen/tables/Allowances.sol +208 -0
- package/src/codegen/tables/Balances.sol +196 -0
- package/src/codegen/tables/ERC20Metadata.sol +604 -0
- package/src/codegen/tables/ERC20Registry.sol +199 -0
- package/src/codegen/tables/Owner.sol +184 -0
- package/src/codegen/tables/Paused.sol +196 -0
- package/src/codegen/tables/TotalSupply.sol +184 -0
- package/src/examples/ERC20WithInternalStore.sol +32 -0
- package/src/examples/ERC20WithWorld.sol +40 -0
- package/src/interfaces/IERC20.sol +67 -0
- package/src/interfaces/IERC20Errors.sol +49 -0
- package/src/interfaces/IERC20Events.sol +18 -0
- package/src/interfaces/IERC20Metadata.sol +26 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "allowance",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "owner",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "spender",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"internalType": "address"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"name": "",
|
|
20
|
+
"type": "uint256",
|
|
21
|
+
"internalType": "uint256"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"stateMutability": "view"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "function",
|
|
28
|
+
"name": "approve",
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"name": "spender",
|
|
32
|
+
"type": "address",
|
|
33
|
+
"internalType": "address"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "value",
|
|
37
|
+
"type": "uint256",
|
|
38
|
+
"internalType": "uint256"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"outputs": [
|
|
42
|
+
{
|
|
43
|
+
"name": "",
|
|
44
|
+
"type": "bool",
|
|
45
|
+
"internalType": "bool"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"stateMutability": "nonpayable"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "function",
|
|
52
|
+
"name": "balanceOf",
|
|
53
|
+
"inputs": [
|
|
54
|
+
{
|
|
55
|
+
"name": "account",
|
|
56
|
+
"type": "address",
|
|
57
|
+
"internalType": "address"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"outputs": [
|
|
61
|
+
{
|
|
62
|
+
"name": "",
|
|
63
|
+
"type": "uint256",
|
|
64
|
+
"internalType": "uint256"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"stateMutability": "view"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "function",
|
|
71
|
+
"name": "decimals",
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"outputs": [
|
|
74
|
+
{
|
|
75
|
+
"name": "",
|
|
76
|
+
"type": "uint8",
|
|
77
|
+
"internalType": "uint8"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"stateMutability": "view"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "function",
|
|
84
|
+
"name": "name",
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"outputs": [
|
|
87
|
+
{
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "string",
|
|
90
|
+
"internalType": "string"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"stateMutability": "view"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "function",
|
|
97
|
+
"name": "symbol",
|
|
98
|
+
"inputs": [],
|
|
99
|
+
"outputs": [
|
|
100
|
+
{
|
|
101
|
+
"name": "",
|
|
102
|
+
"type": "string",
|
|
103
|
+
"internalType": "string"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"stateMutability": "view"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "function",
|
|
110
|
+
"name": "totalSupply",
|
|
111
|
+
"inputs": [],
|
|
112
|
+
"outputs": [
|
|
113
|
+
{
|
|
114
|
+
"name": "",
|
|
115
|
+
"type": "uint256",
|
|
116
|
+
"internalType": "uint256"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"stateMutability": "view"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "function",
|
|
123
|
+
"name": "transfer",
|
|
124
|
+
"inputs": [
|
|
125
|
+
{
|
|
126
|
+
"name": "to",
|
|
127
|
+
"type": "address",
|
|
128
|
+
"internalType": "address"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "value",
|
|
132
|
+
"type": "uint256",
|
|
133
|
+
"internalType": "uint256"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"outputs": [
|
|
137
|
+
{
|
|
138
|
+
"name": "",
|
|
139
|
+
"type": "bool",
|
|
140
|
+
"internalType": "bool"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"stateMutability": "nonpayable"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "function",
|
|
147
|
+
"name": "transferFrom",
|
|
148
|
+
"inputs": [
|
|
149
|
+
{
|
|
150
|
+
"name": "from",
|
|
151
|
+
"type": "address",
|
|
152
|
+
"internalType": "address"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "to",
|
|
156
|
+
"type": "address",
|
|
157
|
+
"internalType": "address"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "value",
|
|
161
|
+
"type": "uint256",
|
|
162
|
+
"internalType": "uint256"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"outputs": [
|
|
166
|
+
{
|
|
167
|
+
"name": "",
|
|
168
|
+
"type": "bool",
|
|
169
|
+
"internalType": "bool"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"stateMutability": "nonpayable"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"type": "event",
|
|
176
|
+
"name": "Approval",
|
|
177
|
+
"inputs": [
|
|
178
|
+
{
|
|
179
|
+
"name": "owner",
|
|
180
|
+
"type": "address",
|
|
181
|
+
"indexed": true,
|
|
182
|
+
"internalType": "address"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "spender",
|
|
186
|
+
"type": "address",
|
|
187
|
+
"indexed": true,
|
|
188
|
+
"internalType": "address"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "value",
|
|
192
|
+
"type": "uint256",
|
|
193
|
+
"indexed": false,
|
|
194
|
+
"internalType": "uint256"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"anonymous": false
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "event",
|
|
201
|
+
"name": "Transfer",
|
|
202
|
+
"inputs": [
|
|
203
|
+
{
|
|
204
|
+
"name": "from",
|
|
205
|
+
"type": "address",
|
|
206
|
+
"indexed": true,
|
|
207
|
+
"internalType": "address"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "to",
|
|
211
|
+
"type": "address",
|
|
212
|
+
"indexed": true,
|
|
213
|
+
"internalType": "address"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "value",
|
|
217
|
+
"type": "uint256",
|
|
218
|
+
"indexed": false,
|
|
219
|
+
"internalType": "uint256"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"anonymous": false
|
|
223
|
+
}
|
|
224
|
+
]
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
declare const abi: [
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "allowance",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "owner",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "spender",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"internalType": "address"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"name": "",
|
|
20
|
+
"type": "uint256",
|
|
21
|
+
"internalType": "uint256"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"stateMutability": "view"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "function",
|
|
28
|
+
"name": "approve",
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"name": "spender",
|
|
32
|
+
"type": "address",
|
|
33
|
+
"internalType": "address"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "value",
|
|
37
|
+
"type": "uint256",
|
|
38
|
+
"internalType": "uint256"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"outputs": [
|
|
42
|
+
{
|
|
43
|
+
"name": "",
|
|
44
|
+
"type": "bool",
|
|
45
|
+
"internalType": "bool"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"stateMutability": "nonpayable"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "function",
|
|
52
|
+
"name": "balanceOf",
|
|
53
|
+
"inputs": [
|
|
54
|
+
{
|
|
55
|
+
"name": "account",
|
|
56
|
+
"type": "address",
|
|
57
|
+
"internalType": "address"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"outputs": [
|
|
61
|
+
{
|
|
62
|
+
"name": "",
|
|
63
|
+
"type": "uint256",
|
|
64
|
+
"internalType": "uint256"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"stateMutability": "view"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "function",
|
|
71
|
+
"name": "decimals",
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"outputs": [
|
|
74
|
+
{
|
|
75
|
+
"name": "",
|
|
76
|
+
"type": "uint8",
|
|
77
|
+
"internalType": "uint8"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"stateMutability": "view"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "function",
|
|
84
|
+
"name": "name",
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"outputs": [
|
|
87
|
+
{
|
|
88
|
+
"name": "",
|
|
89
|
+
"type": "string",
|
|
90
|
+
"internalType": "string"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"stateMutability": "view"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "function",
|
|
97
|
+
"name": "symbol",
|
|
98
|
+
"inputs": [],
|
|
99
|
+
"outputs": [
|
|
100
|
+
{
|
|
101
|
+
"name": "",
|
|
102
|
+
"type": "string",
|
|
103
|
+
"internalType": "string"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"stateMutability": "view"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "function",
|
|
110
|
+
"name": "totalSupply",
|
|
111
|
+
"inputs": [],
|
|
112
|
+
"outputs": [
|
|
113
|
+
{
|
|
114
|
+
"name": "",
|
|
115
|
+
"type": "uint256",
|
|
116
|
+
"internalType": "uint256"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"stateMutability": "view"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "function",
|
|
123
|
+
"name": "transfer",
|
|
124
|
+
"inputs": [
|
|
125
|
+
{
|
|
126
|
+
"name": "to",
|
|
127
|
+
"type": "address",
|
|
128
|
+
"internalType": "address"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "value",
|
|
132
|
+
"type": "uint256",
|
|
133
|
+
"internalType": "uint256"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"outputs": [
|
|
137
|
+
{
|
|
138
|
+
"name": "",
|
|
139
|
+
"type": "bool",
|
|
140
|
+
"internalType": "bool"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"stateMutability": "nonpayable"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"type": "function",
|
|
147
|
+
"name": "transferFrom",
|
|
148
|
+
"inputs": [
|
|
149
|
+
{
|
|
150
|
+
"name": "from",
|
|
151
|
+
"type": "address",
|
|
152
|
+
"internalType": "address"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "to",
|
|
156
|
+
"type": "address",
|
|
157
|
+
"internalType": "address"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "value",
|
|
161
|
+
"type": "uint256",
|
|
162
|
+
"internalType": "uint256"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"outputs": [
|
|
166
|
+
{
|
|
167
|
+
"name": "",
|
|
168
|
+
"type": "bool",
|
|
169
|
+
"internalType": "bool"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"stateMutability": "nonpayable"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"type": "event",
|
|
176
|
+
"name": "Approval",
|
|
177
|
+
"inputs": [
|
|
178
|
+
{
|
|
179
|
+
"name": "owner",
|
|
180
|
+
"type": "address",
|
|
181
|
+
"indexed": true,
|
|
182
|
+
"internalType": "address"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "spender",
|
|
186
|
+
"type": "address",
|
|
187
|
+
"indexed": true,
|
|
188
|
+
"internalType": "address"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "value",
|
|
192
|
+
"type": "uint256",
|
|
193
|
+
"indexed": false,
|
|
194
|
+
"internalType": "uint256"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"anonymous": false
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "event",
|
|
201
|
+
"name": "Transfer",
|
|
202
|
+
"inputs": [
|
|
203
|
+
{
|
|
204
|
+
"name": "from",
|
|
205
|
+
"type": "address",
|
|
206
|
+
"indexed": true,
|
|
207
|
+
"internalType": "address"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "to",
|
|
211
|
+
"type": "address",
|
|
212
|
+
"indexed": true,
|
|
213
|
+
"internalType": "address"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "value",
|
|
217
|
+
"type": "uint256",
|
|
218
|
+
"indexed": false,
|
|
219
|
+
"internalType": "uint256"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"anonymous": false
|
|
223
|
+
}
|
|
224
|
+
];
|
|
225
|
+
|
|
226
|
+
export default abi;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"allowance","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"approve","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"transfer","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"transferFrom","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for the optional metadata functions from the ERC-20 standard.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"decimals()\":{\"details\":\"Returns the decimals places of the token.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IERC20Metadata.sol\":\"IERC20Metadata\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"src/interfaces/IERC20.sol\":{\"keccak256\":\"0x9801fd978d8e6975ee67acb04fdee0aa5c18bf47d87ca2793f333a17a6b73607\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fe4f5fb71afd859c3d0e88a8c0619ca52f5c20c2d37cb8a1bcc71576e6ce08db\",\"dweb:/ipfs/QmQNvL3G6JX71y9f7wt94Pc2RqJCEAcv54yYDJ8hi9oxs1\"]},\"src/interfaces/IERC20Events.sol\":{\"keccak256\":\"0xee632339ff14c1e5e6994ce3c605799761f24f40093cabf3b091f6dcbd9ef8ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a0c7a33110c14cfc32011bda15c4330d8f193d133c1f34448f1566f44a0663bd\",\"dweb:/ipfs/QmadwRXGu4H2H3WxgEchXTyLx5PKSLZd7VHvRPEZ5zAgaZ\"]},\"src/interfaces/IERC20Metadata.sol\":{\"keccak256\":\"0xc26cdadf0232c5b579132de5dce1909c59e93c82b4a8f13802d1aa295b96d5f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ffc3d4d1328d66c454ddf2530894ad572fc69d220a3da0d0d4f3e1b7c8b1938\",\"dweb:/ipfs/QmapyHXE8KWktGksfNsQxUbhoCjobGTGEzmjY2yBAXvbzD\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"owner","type":"address","indexed":true},{"internalType":"address","name":"spender","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Approval","anonymous":false},{"inputs":[{"internalType":"address","name":"from","type":"address","indexed":true},{"internalType":"address","name":"to","type":"address","indexed":true},{"internalType":"uint256","name":"value","type":"uint256","indexed":false}],"type":"event","name":"Transfer","anonymous":false},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"stateMutability":"view","type":"function","name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"stateMutability":"view","type":"function","name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"name","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}]}],"devdoc":{"kind":"dev","methods":{"allowance(address,address)":{"details":"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called."},"approve(address,uint256)":{"details":"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event."},"balanceOf(address)":{"details":"Returns the value of tokens owned by `account`."},"decimals()":{"details":"Returns the decimals places of the token."},"name()":{"details":"Returns the name of the token."},"symbol()":{"details":"Returns the symbol of the token."},"totalSupply()":{"details":"Returns the value of tokens in existence."},"transfer(address,uint256)":{"details":"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."},"transferFrom(address,address,uint256)":{"details":"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."}},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/interfaces/IERC20Metadata.sol":"IERC20Metadata"},"evmVersion":"paris","libraries":{}},"sources":{"src/interfaces/IERC20.sol":{"keccak256":"0x9801fd978d8e6975ee67acb04fdee0aa5c18bf47d87ca2793f333a17a6b73607","urls":["bzz-raw://fe4f5fb71afd859c3d0e88a8c0619ca52f5c20c2d37cb8a1bcc71576e6ce08db","dweb:/ipfs/QmQNvL3G6JX71y9f7wt94Pc2RqJCEAcv54yYDJ8hi9oxs1"],"license":"MIT"},"src/interfaces/IERC20Events.sol":{"keccak256":"0xee632339ff14c1e5e6994ce3c605799761f24f40093cabf3b091f6dcbd9ef8ff","urls":["bzz-raw://a0c7a33110c14cfc32011bda15c4330d8f193d133c1f34448f1566f44a0663bd","dweb:/ipfs/QmadwRXGu4H2H3WxgEchXTyLx5PKSLZd7VHvRPEZ5zAgaZ"],"license":"MIT"},"src/interfaces/IERC20Metadata.sol":{"keccak256":"0xc26cdadf0232c5b579132de5dce1909c59e93c82b4a8f13802d1aa295b96d5f6","urls":["bzz-raw://0ffc3d4d1328d66c454ddf2530894ad572fc69d220a3da0d0d4f3e1b7c8b1938","dweb:/ipfs/QmapyHXE8KWktGksfNsQxUbhoCjobGTGEzmjY2yBAXvbzD"],"license":"MIT"}},"version":1},"id":144}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"error","name":"EncodedLengths_InvalidLength","inputs":[{"name":"length","type":"uint256","internalType":"uint256"}]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"EncodedLengths_InvalidLength\",\"type\":\"error\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"We bundle these errors in an interface (instead of at the file-level or in their corresponding libraries) so they can be inherited by IStore. This ensures that all possible errors are included in the IStore ABI for proper decoding in the frontend.\",\"errors\":{\"EncodedLengths_InvalidLength(uint256)\":[{\"params\":{\"length\":\"The length of the encoded lengths.\"}}]},\"kind\":\"dev\",\"methods\":{},\"title\":\"IEncodedLengthsErrors\",\"version\":1},\"userdoc\":{\"errors\":{\"EncodedLengths_InvalidLength(uint256)\":[{\"notice\":\"Error raised when the provided encoded lengths has an invalid length.\"}]},\"kind\":\"user\",\"methods\":{},\"notice\":\"This interface includes errors for the EncodedLengths library.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol\":\"IEncodedLengthsErrors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol\":{\"keccak256\":\"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba\",\"dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"type":"error","name":"EncodedLengths_InvalidLength"}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol":"IEncodedLengthsErrors"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/IEncodedLengthsErrors.sol":{"keccak256":"0x06bb49164f44acc8d51df7b75ecf2f7aeb9281f7a3b357cae7d8d58bd1700dfa","urls":["bzz-raw://719027f4cc60fea30ce01cd4f672462f41fac750ae802e91a1a6d37c929e11ba","dweb:/ipfs/QmWi5DM2jT5V5SGP1afRmFyRgFvuZiGDX2PWHwP19HssF1"],"license":"MIT"}},"version":1},"id":7}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "error",
|
|
4
|
+
"name": "FieldLayout_Empty",
|
|
5
|
+
"inputs": []
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "error",
|
|
9
|
+
"name": "FieldLayout_InvalidStaticDataLength",
|
|
10
|
+
"inputs": [
|
|
11
|
+
{
|
|
12
|
+
"name": "staticDataLength",
|
|
13
|
+
"type": "uint256",
|
|
14
|
+
"internalType": "uint256"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "computedStaticDataLength",
|
|
18
|
+
"type": "uint256",
|
|
19
|
+
"internalType": "uint256"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "error",
|
|
25
|
+
"name": "FieldLayout_StaticLengthDoesNotFitInAWord",
|
|
26
|
+
"inputs": [
|
|
27
|
+
{
|
|
28
|
+
"name": "index",
|
|
29
|
+
"type": "uint256",
|
|
30
|
+
"internalType": "uint256"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "error",
|
|
36
|
+
"name": "FieldLayout_StaticLengthIsNotZero",
|
|
37
|
+
"inputs": [
|
|
38
|
+
{
|
|
39
|
+
"name": "index",
|
|
40
|
+
"type": "uint256",
|
|
41
|
+
"internalType": "uint256"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "error",
|
|
47
|
+
"name": "FieldLayout_StaticLengthIsZero",
|
|
48
|
+
"inputs": [
|
|
49
|
+
{
|
|
50
|
+
"name": "index",
|
|
51
|
+
"type": "uint256",
|
|
52
|
+
"internalType": "uint256"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "error",
|
|
58
|
+
"name": "FieldLayout_TooManyDynamicFields",
|
|
59
|
+
"inputs": [
|
|
60
|
+
{
|
|
61
|
+
"name": "numFields",
|
|
62
|
+
"type": "uint256",
|
|
63
|
+
"internalType": "uint256"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "maxFields",
|
|
67
|
+
"type": "uint256",
|
|
68
|
+
"internalType": "uint256"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "error",
|
|
74
|
+
"name": "FieldLayout_TooManyFields",
|
|
75
|
+
"inputs": [
|
|
76
|
+
{
|
|
77
|
+
"name": "numFields",
|
|
78
|
+
"type": "uint256",
|
|
79
|
+
"internalType": "uint256"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "maxFields",
|
|
83
|
+
"type": "uint256",
|
|
84
|
+
"internalType": "uint256"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
]
|