@latticexyz/world-module-erc20 2.2.20-b7901812d4035faa3ec9bb75f31ffe7af398bdf2 → 2.2.21-041031d271b62a7f41f7c6dc0098c1c0ae222bd5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -39
- package/out/AccessControl.sol/AccessControl.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/Allowances.sol/Allowances.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/Balances.sol/Balances.json +1 -1
- package/out/Base.sol/CommonBase.json +1 -1
- package/out/Base.sol/ScriptBase.json +1 -1
- package/out/Base.sol/TestBase.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/Bytes.sol/Bytes.json +1 -1
- package/out/Constants.sol/ERC20TableNames.json +1 -1
- package/out/Constants.sol/ModuleConstants.json +1 -1
- package/out/Constants.sol/PausableTableNames.json +1 -1
- package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json +331 -0
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json.d.ts +331 -0
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
- package/out/{ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json → ERC20BaseTest.t.sol/ERC20Test.abi.json} +324 -7
- package/out/{ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json.d.ts → ERC20BaseTest.t.sol/ERC20Test.abi.json.d.ts} +324 -7
- package/out/ERC20BaseTest.t.sol/ERC20Test.json +1 -0
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +93 -198
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +93 -198
- package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +75 -235
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +75 -235
- package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +331 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +331 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
- package/out/{ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json → ERC20Burnable.t.sol/MockERC20Burnable.abi.json} +124 -198
- package/out/{ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts → ERC20Burnable.t.sol/MockERC20Burnable.abi.json.d.ts} +124 -198
- package/out/ERC20Burnable.t.sol/MockERC20Burnable.json +1 -0
- package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
- package/out/ERC20Module.sol/ERC20Module.abi.json +3 -3
- package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +3 -3
- package/out/ERC20Module.sol/ERC20Module.json +1 -1
- package/out/ERC20Module.sol/ERC20ModuleLib.json +1 -0
- package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
- package/out/ERC20Module.t.sol/TestConstants.json +1 -1
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +76 -236
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +76 -236
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
- package/out/ERC20Pausable.t.sol/{ERC20PausableWithWorldTest.abi.json → ERC20PausableTest.abi.json} +324 -0
- package/out/ERC20Pausable.t.sol/{ERC20PausableWithWorldTest.abi.json.d.ts → ERC20PausableTest.abi.json.d.ts} +324 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableTest.json +1 -0
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +130 -199
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +130 -199
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
- package/out/{ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json} +163 -209
- package/out/{ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json.d.ts} +163 -209
- package/out/ERC20PausableBurnable.sol/ERC20PausableBurnable.json +1 -0
- package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
- package/out/EncodeArray.sol/EncodeArray.json +1 -1
- package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -1
- package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -1
- package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
- package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
- package/out/GasReporter.sol/GasReporter.json +1 -1
- package/out/Hook.sol/HookInstance.json +1 -1
- package/out/Hook.sol/HookLib.json +1 -1
- package/out/Hooks.sol/Hooks.json +1 -1
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
- package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
- package/out/IERC165.sol/IERC165.json +1 -1
- package/out/IERC20.sol/IERC20.json +1 -1
- package/out/IERC20Errors.sol/IERC20Errors.json +1 -1
- package/out/IERC20Events.sol/IERC20Events.json +1 -1
- package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -1
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -1
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -1
- package/out/IModule.sol/IModule.json +1 -1
- package/out/IModuleErrors.sol/IModuleErrors.json +1 -1
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
- package/out/IMulticall3.sol/IMulticall3.json +1 -1
- package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
- package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -1
- package/out/ISliceErrors.sol/ISliceErrors.json +1 -1
- package/out/IStore.sol/IStore.json +1 -1
- package/out/IStoreErrors.sol/IStoreErrors.json +1 -1
- package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
- package/out/IStoreHook.sol/IStoreHook.json +1 -1
- package/out/IStoreKernel.sol/IStoreKernel.json +1 -1
- package/out/IStoreRead.sol/IStoreRead.json +1 -1
- package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
- package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
- package/out/ISystemHook.sol/ISystemHook.json +1 -1
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
- package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
- package/out/IWorldEvents.sol/IWorldEvents.json +1 -1
- package/out/IWorldKernel.sol/IWorldCall.json +1 -1
- package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.abi.json +3 -3
- package/out/InitModule.sol/InitModule.abi.json.d.ts +3 -3
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
- package/out/InstalledModules.sol/InstalledModules.json +1 -1
- package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
- package/out/MUDERC20.sol/MUDERC20.abi.json +75 -235
- package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +75 -235
- package/out/MUDERC20.sol/MUDERC20.json +1 -1
- package/out/Memory.sol/Memory.json +1 -1
- package/out/Module.sol/Module.abi.json +1 -1
- package/out/Module.sol/Module.abi.json.d.ts +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
- package/out/Owner.sol/Owner.json +1 -1
- package/out/Pausable.sol/Pausable.abi.json +64 -276
- package/out/Pausable.sol/Pausable.abi.json.d.ts +64 -276
- package/out/Pausable.sol/Pausable.json +1 -1
- package/out/Paused.sol/Paused.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
- package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
- package/out/ResourceId.sol/ResourceIdLib.json +1 -1
- package/out/ResourceIds.sol/ResourceIds.json +1 -1
- package/out/Schema.sol/SchemaInstance.json +1 -1
- package/out/Schema.sol/SchemaLib.json +1 -1
- package/out/Slice.sol/SliceInstance.json +1 -1
- package/out/Slice.sol/SliceLib.json +1 -1
- package/out/StdAssertions.sol/StdAssertions.json +1 -1
- package/out/StdChains.sol/StdChains.json +1 -1
- package/out/StdCheats.sol/StdCheats.json +1 -1
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StdInvariant.sol/StdInvariant.json +1 -1
- package/out/StdJson.sol/stdJson.json +1 -1
- package/out/StdMath.sol/stdMath.json +1 -1
- package/out/StdStorage.sol/stdStorage.json +1 -1
- package/out/StdStorage.sol/stdStorageSafe.json +1 -1
- package/out/StdStyle.sol/StdStyle.json +1 -1
- package/out/StdUtils.sol/StdUtils.json +1 -1
- package/out/Storage.sol/Storage.json +1 -1
- package/out/StoreCore.sol/StoreCore.json +1 -1
- package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
- package/out/StoreHooks.sol/StoreHooks.json +1 -1
- package/out/StoreKernel.sol/StoreKernel.json +1 -1
- package/out/StoreRead.sol/StoreRead.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
- package/out/System.sol/System.abi.json +1 -1
- package/out/System.sol/System.abi.json.d.ts +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/SystemCall.sol/SystemCall.json +1 -1
- package/out/SystemHooks.sol/SystemHooks.json +1 -1
- package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
- package/out/Systems.sol/Systems.json +1 -1
- package/out/Tables.sol/Tables.json +1 -1
- package/out/Test.sol/Test.json +1 -1
- package/out/TightCoder.sol/TightCoder.json +1 -1
- package/out/TotalSupply.sol/TotalSupply.json +1 -1
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
- package/out/Vm.sol/Vm.json +1 -1
- package/out/Vm.sol/VmSafe.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/WorldConsumer.sol/WorldConsumer.abi.json +140 -0
- package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +142 -0
- package/out/WorldConsumer.sol/WorldConsumer.json +1 -0
- package/out/WorldContext.sol/WorldContextConsumer.abi.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
- package/out/build-info/5dec426f2d87057b9b49f18296a28057.json +1 -0
- package/out/console.sol/console.json +1 -1
- package/out/console2.sol/console2.json +1 -1
- package/out/constants.sol/LayoutOffsets.json +1 -1
- package/out/safeconsole.sol/safeconsole.json +1 -1
- package/out/src/IERC165.sol/IERC165.json +1 -1
- package/out/tables/Balances.sol/Balances.json +1 -1
- package/out/test.sol/DSTest.json +1 -1
- package/package.json +8 -8
- package/src/examples/ERC20PausableBurnable.sol +55 -0
- package/src/experimental/Constants.sol +0 -4
- package/src/experimental/ERC20Module.sol +47 -14
- package/src/experimental/ERC20Pausable.sol +3 -0
- package/src/experimental/MUDERC20.sol +28 -32
- package/src/experimental/Pausable.sol +18 -17
- package/out/Constants.sol/OwnableTableNames.abi.json +0 -1
- package/out/Constants.sol/OwnableTableNames.json +0 -1
- package/out/Context.sol/Context.abi.json +0 -15
- package/out/Context.sol/Context.abi.json.d.ts +0 -17
- package/out/Context.sol/Context.json +0 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json +0 -949
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.abi.json.d.ts +0 -951
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +0 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json +0 -949
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.abi.json.d.ts +0 -951
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +0 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.abi.json +0 -956
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.abi.json.d.ts +0 -958
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +0 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json +0 -956
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.abi.json.d.ts +0 -958
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.json +0 -1
- package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +0 -1
- package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +0 -839
- package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +0 -841
- package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +0 -1
- package/out/ERC20BaseTest.t.sol/TestConstants.abi.json +0 -1
- package/out/ERC20BaseTest.t.sol/TestConstants.json +0 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json +0 -956
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.abi.json.d.ts +0 -958
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +0 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +0 -1
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +0 -727
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +0 -729
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +0 -1
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +0 -865
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +0 -867
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +0 -1
- package/out/ERC20Module.sol/ERC20RegistryLib.json +0 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json +0 -956
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json.d.ts +0 -958
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +0 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json +0 -956
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.abi.json.d.ts +0 -958
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +0 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +0 -1
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +0 -1
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +0 -897
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +0 -899
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +0 -1
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +0 -851
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +0 -853
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +0 -1
- package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +0 -936
- package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +0 -938
- package/out/ERC20WithWorld.sol/ERC20WithWorld.json +0 -1
- package/out/Ownable.sol/Ownable.abi.json +0 -426
- package/out/Ownable.sol/Ownable.abi.json.d.ts +0 -428
- package/out/Ownable.sol/Ownable.json +0 -1
- package/out/Store.sol/Store.abi.json +0 -1261
- package/out/Store.sol/Store.abi.json.d.ts +0 -1263
- package/out/Store.sol/Store.json +0 -1
- package/out/StoreConsumer.sol/StoreConsumer.abi.json +0 -15
- package/out/StoreConsumer.sol/StoreConsumer.abi.json.d.ts +0 -17
- package/out/StoreConsumer.sol/StoreConsumer.json +0 -1
- package/out/WithStore.sol/WithStore.abi.json +0 -352
- package/out/WithStore.sol/WithStore.abi.json.d.ts +0 -354
- package/out/WithStore.sol/WithStore.json +0 -1
- package/out/WithWorld.sol/WithWorld.abi.json +0 -490
- package/out/WithWorld.sol/WithWorld.abi.json.d.ts +0 -492
- package/out/WithWorld.sol/WithWorld.json +0 -1
- package/out/build-info/60c60a9593fdb00b3264c36836a28f39.json +0 -1
- package/src/examples/ERC20WithInternalStore.sol +0 -32
- package/src/examples/ERC20WithWorld.sol +0 -47
- package/src/experimental/Ownable.sol +0 -110
- /package/out/ERC20Module.sol/{ERC20RegistryLib.abi.json → ERC20ModuleLib.abi.json} +0 -0
- /package/out/ERC20Module.sol/{ERC20RegistryLib.abi.json.d.ts → ERC20ModuleLib.abi.json.d.ts} +0 -0
|
@@ -3,6 +3,32 @@
|
|
|
3
3
|
"type": "function",
|
|
4
4
|
"name": "_msgSender",
|
|
5
5
|
"inputs": [],
|
|
6
|
+
"outputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "sender",
|
|
9
|
+
"type": "address",
|
|
10
|
+
"internalType": "address"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"stateMutability": "view"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "function",
|
|
17
|
+
"name": "_msgValue",
|
|
18
|
+
"inputs": [],
|
|
19
|
+
"outputs": [
|
|
20
|
+
{
|
|
21
|
+
"name": "value",
|
|
22
|
+
"type": "uint256",
|
|
23
|
+
"internalType": "uint256"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"stateMutability": "view"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "function",
|
|
30
|
+
"name": "_world",
|
|
31
|
+
"inputs": [],
|
|
6
32
|
"outputs": [
|
|
7
33
|
{
|
|
8
34
|
"name": "",
|
|
@@ -94,29 +120,35 @@
|
|
|
94
120
|
},
|
|
95
121
|
{
|
|
96
122
|
"type": "function",
|
|
97
|
-
"name": "
|
|
123
|
+
"name": "name",
|
|
98
124
|
"inputs": [],
|
|
99
125
|
"outputs": [
|
|
100
126
|
{
|
|
101
127
|
"name": "",
|
|
102
|
-
"type": "
|
|
103
|
-
"internalType": "
|
|
128
|
+
"type": "string",
|
|
129
|
+
"internalType": "string"
|
|
104
130
|
}
|
|
105
131
|
],
|
|
106
132
|
"stateMutability": "view"
|
|
107
133
|
},
|
|
108
134
|
{
|
|
109
135
|
"type": "function",
|
|
110
|
-
"name": "
|
|
111
|
-
"inputs": [
|
|
136
|
+
"name": "supportsInterface",
|
|
137
|
+
"inputs": [
|
|
138
|
+
{
|
|
139
|
+
"name": "interfaceId",
|
|
140
|
+
"type": "bytes4",
|
|
141
|
+
"internalType": "bytes4"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
112
144
|
"outputs": [
|
|
113
145
|
{
|
|
114
146
|
"name": "",
|
|
115
|
-
"type": "
|
|
116
|
-
"internalType": "
|
|
147
|
+
"type": "bool",
|
|
148
|
+
"internalType": "bool"
|
|
117
149
|
}
|
|
118
150
|
],
|
|
119
|
-
"stateMutability": "
|
|
151
|
+
"stateMutability": "pure"
|
|
120
152
|
},
|
|
121
153
|
{
|
|
122
154
|
"type": "function",
|
|
@@ -222,43 +254,6 @@
|
|
|
222
254
|
],
|
|
223
255
|
"anonymous": false
|
|
224
256
|
},
|
|
225
|
-
{
|
|
226
|
-
"type": "event",
|
|
227
|
-
"name": "Store_SetRecord",
|
|
228
|
-
"inputs": [
|
|
229
|
-
{
|
|
230
|
-
"name": "tableId",
|
|
231
|
-
"type": "bytes32",
|
|
232
|
-
"indexed": true,
|
|
233
|
-
"internalType": "ResourceId"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"name": "keyTuple",
|
|
237
|
-
"type": "bytes32[]",
|
|
238
|
-
"indexed": false,
|
|
239
|
-
"internalType": "bytes32[]"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "staticData",
|
|
243
|
-
"type": "bytes",
|
|
244
|
-
"indexed": false,
|
|
245
|
-
"internalType": "bytes"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"name": "encodedLengths",
|
|
249
|
-
"type": "bytes32",
|
|
250
|
-
"indexed": false,
|
|
251
|
-
"internalType": "EncodedLengths"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"name": "dynamicData",
|
|
255
|
-
"type": "bytes",
|
|
256
|
-
"indexed": false,
|
|
257
|
-
"internalType": "bytes"
|
|
258
|
-
}
|
|
259
|
-
],
|
|
260
|
-
"anonymous": false
|
|
261
|
-
},
|
|
262
257
|
{
|
|
263
258
|
"type": "event",
|
|
264
259
|
"name": "Store_SpliceStaticData",
|
|
@@ -401,108 +396,6 @@
|
|
|
401
396
|
}
|
|
402
397
|
]
|
|
403
398
|
},
|
|
404
|
-
{
|
|
405
|
-
"type": "error",
|
|
406
|
-
"name": "FieldLayout_Empty",
|
|
407
|
-
"inputs": []
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"type": "error",
|
|
411
|
-
"name": "FieldLayout_InvalidStaticDataLength",
|
|
412
|
-
"inputs": [
|
|
413
|
-
{
|
|
414
|
-
"name": "staticDataLength",
|
|
415
|
-
"type": "uint256",
|
|
416
|
-
"internalType": "uint256"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"name": "computedStaticDataLength",
|
|
420
|
-
"type": "uint256",
|
|
421
|
-
"internalType": "uint256"
|
|
422
|
-
}
|
|
423
|
-
]
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"type": "error",
|
|
427
|
-
"name": "FieldLayout_StaticLengthDoesNotFitInAWord",
|
|
428
|
-
"inputs": [
|
|
429
|
-
{
|
|
430
|
-
"name": "index",
|
|
431
|
-
"type": "uint256",
|
|
432
|
-
"internalType": "uint256"
|
|
433
|
-
}
|
|
434
|
-
]
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"type": "error",
|
|
438
|
-
"name": "FieldLayout_StaticLengthIsNotZero",
|
|
439
|
-
"inputs": [
|
|
440
|
-
{
|
|
441
|
-
"name": "index",
|
|
442
|
-
"type": "uint256",
|
|
443
|
-
"internalType": "uint256"
|
|
444
|
-
}
|
|
445
|
-
]
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"type": "error",
|
|
449
|
-
"name": "FieldLayout_StaticLengthIsZero",
|
|
450
|
-
"inputs": [
|
|
451
|
-
{
|
|
452
|
-
"name": "index",
|
|
453
|
-
"type": "uint256",
|
|
454
|
-
"internalType": "uint256"
|
|
455
|
-
}
|
|
456
|
-
]
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
"type": "error",
|
|
460
|
-
"name": "FieldLayout_TooManyDynamicFields",
|
|
461
|
-
"inputs": [
|
|
462
|
-
{
|
|
463
|
-
"name": "numFields",
|
|
464
|
-
"type": "uint256",
|
|
465
|
-
"internalType": "uint256"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"name": "maxFields",
|
|
469
|
-
"type": "uint256",
|
|
470
|
-
"internalType": "uint256"
|
|
471
|
-
}
|
|
472
|
-
]
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"type": "error",
|
|
476
|
-
"name": "FieldLayout_TooManyFields",
|
|
477
|
-
"inputs": [
|
|
478
|
-
{
|
|
479
|
-
"name": "numFields",
|
|
480
|
-
"type": "uint256",
|
|
481
|
-
"internalType": "uint256"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"name": "maxFields",
|
|
485
|
-
"type": "uint256",
|
|
486
|
-
"internalType": "uint256"
|
|
487
|
-
}
|
|
488
|
-
]
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"type": "error",
|
|
492
|
-
"name": "Schema_InvalidLength",
|
|
493
|
-
"inputs": [
|
|
494
|
-
{
|
|
495
|
-
"name": "length",
|
|
496
|
-
"type": "uint256",
|
|
497
|
-
"internalType": "uint256"
|
|
498
|
-
}
|
|
499
|
-
]
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"type": "error",
|
|
503
|
-
"name": "Schema_StaticTypeAfterDynamicType",
|
|
504
|
-
"inputs": []
|
|
505
|
-
},
|
|
506
399
|
{
|
|
507
400
|
"type": "error",
|
|
508
401
|
"name": "Slice_OutOfBounds",
|
|
@@ -526,134 +419,81 @@
|
|
|
526
419
|
},
|
|
527
420
|
{
|
|
528
421
|
"type": "error",
|
|
529
|
-
"name": "
|
|
422
|
+
"name": "WorldConsumer_CallerHasNoNamespaceAccess",
|
|
530
423
|
"inputs": [
|
|
531
424
|
{
|
|
532
|
-
"name": "
|
|
533
|
-
"type": "
|
|
534
|
-
"internalType": "
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"name": "received",
|
|
538
|
-
"type": "uint256",
|
|
539
|
-
"internalType": "uint256"
|
|
540
|
-
}
|
|
541
|
-
]
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"type": "error",
|
|
545
|
-
"name": "Store_InvalidKeyNamesLength",
|
|
546
|
-
"inputs": [
|
|
547
|
-
{
|
|
548
|
-
"name": "expected",
|
|
549
|
-
"type": "uint256",
|
|
550
|
-
"internalType": "uint256"
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"name": "received",
|
|
554
|
-
"type": "uint256",
|
|
555
|
-
"internalType": "uint256"
|
|
556
|
-
}
|
|
557
|
-
]
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
"type": "error",
|
|
561
|
-
"name": "Store_InvalidResourceType",
|
|
562
|
-
"inputs": [
|
|
563
|
-
{
|
|
564
|
-
"name": "expected",
|
|
565
|
-
"type": "bytes2",
|
|
566
|
-
"internalType": "bytes2"
|
|
425
|
+
"name": "worldAddress",
|
|
426
|
+
"type": "address",
|
|
427
|
+
"internalType": "address"
|
|
567
428
|
},
|
|
568
429
|
{
|
|
569
|
-
"name": "
|
|
570
|
-
"type": "
|
|
571
|
-
"internalType": "
|
|
430
|
+
"name": "namespace",
|
|
431
|
+
"type": "bytes14",
|
|
432
|
+
"internalType": "bytes14"
|
|
572
433
|
},
|
|
573
434
|
{
|
|
574
|
-
"name": "
|
|
575
|
-
"type": "
|
|
576
|
-
"internalType": "
|
|
435
|
+
"name": "caller",
|
|
436
|
+
"type": "address",
|
|
437
|
+
"internalType": "address"
|
|
577
438
|
}
|
|
578
439
|
]
|
|
579
440
|
},
|
|
580
441
|
{
|
|
581
442
|
"type": "error",
|
|
582
|
-
"name": "
|
|
443
|
+
"name": "WorldConsumer_CallerIsNotNamespaceOwner",
|
|
583
444
|
"inputs": [
|
|
584
445
|
{
|
|
585
|
-
"name": "
|
|
586
|
-
"type": "
|
|
587
|
-
"internalType": "
|
|
446
|
+
"name": "worldAddress",
|
|
447
|
+
"type": "address",
|
|
448
|
+
"internalType": "address"
|
|
588
449
|
},
|
|
589
450
|
{
|
|
590
|
-
"name": "
|
|
591
|
-
"type": "
|
|
592
|
-
"internalType": "
|
|
593
|
-
}
|
|
594
|
-
]
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"type": "error",
|
|
598
|
-
"name": "Store_InvalidValueSchemaDynamicLength",
|
|
599
|
-
"inputs": [
|
|
600
|
-
{
|
|
601
|
-
"name": "expected",
|
|
602
|
-
"type": "uint256",
|
|
603
|
-
"internalType": "uint256"
|
|
451
|
+
"name": "namespace",
|
|
452
|
+
"type": "bytes14",
|
|
453
|
+
"internalType": "bytes14"
|
|
604
454
|
},
|
|
605
455
|
{
|
|
606
|
-
"name": "
|
|
607
|
-
"type": "
|
|
608
|
-
"internalType": "
|
|
456
|
+
"name": "caller",
|
|
457
|
+
"type": "address",
|
|
458
|
+
"internalType": "address"
|
|
609
459
|
}
|
|
610
460
|
]
|
|
611
461
|
},
|
|
612
462
|
{
|
|
613
463
|
"type": "error",
|
|
614
|
-
"name": "
|
|
464
|
+
"name": "WorldConsumer_CallerIsNotWorld",
|
|
615
465
|
"inputs": [
|
|
616
466
|
{
|
|
617
|
-
"name": "
|
|
618
|
-
"type": "
|
|
619
|
-
"internalType": "
|
|
467
|
+
"name": "worldAddress",
|
|
468
|
+
"type": "address",
|
|
469
|
+
"internalType": "address"
|
|
620
470
|
},
|
|
621
471
|
{
|
|
622
|
-
"name": "
|
|
623
|
-
"type": "
|
|
624
|
-
"internalType": "
|
|
472
|
+
"name": "caller",
|
|
473
|
+
"type": "address",
|
|
474
|
+
"internalType": "address"
|
|
625
475
|
}
|
|
626
476
|
]
|
|
627
477
|
},
|
|
628
478
|
{
|
|
629
479
|
"type": "error",
|
|
630
|
-
"name": "
|
|
480
|
+
"name": "WorldConsumer_RootNamespaceNotAllowed",
|
|
631
481
|
"inputs": [
|
|
632
482
|
{
|
|
633
|
-
"name": "
|
|
634
|
-
"type": "
|
|
635
|
-
"internalType": "
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"name": "received",
|
|
639
|
-
"type": "uint256",
|
|
640
|
-
"internalType": "uint256"
|
|
483
|
+
"name": "worldAddress",
|
|
484
|
+
"type": "address",
|
|
485
|
+
"internalType": "address"
|
|
641
486
|
}
|
|
642
487
|
]
|
|
643
488
|
},
|
|
644
489
|
{
|
|
645
490
|
"type": "error",
|
|
646
|
-
"name": "
|
|
491
|
+
"name": "WorldConsumer_ValueNotAllowed",
|
|
647
492
|
"inputs": [
|
|
648
493
|
{
|
|
649
|
-
"name": "
|
|
650
|
-
"type": "
|
|
651
|
-
"internalType": "
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
"name": "tableIdString",
|
|
655
|
-
"type": "string",
|
|
656
|
-
"internalType": "string"
|
|
494
|
+
"name": "worldAddress",
|
|
495
|
+
"type": "address",
|
|
496
|
+
"internalType": "address"
|
|
657
497
|
}
|
|
658
498
|
]
|
|
659
499
|
}
|