@latticexyz/world-module-erc20 2.2.20-b7901812d4035faa3ec9bb75f31ffe7af398bdf2 → 2.2.20
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/OwnableTableNames.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 +7 -0
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json.d.ts +7 -0
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/{ERC20WithWorldTest.json → ERC20Test.json} +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +160 -6
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +160 -6
- package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
- package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +155 -6
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +155 -6
- package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +7 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +7 -0
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
- package/out/ERC20Burnable.t.sol/{MockERC20WithWorldBurnable.abi.json → MockERC20Burnable.abi.json} +53 -42
- package/out/ERC20Burnable.t.sol/{MockERC20WithWorldBurnable.abi.json.d.ts → MockERC20Burnable.abi.json.d.ts} +53 -42
- 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/ERC20RegistryLib.json +1 -1
- 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 +155 -6
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +155 -6
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json +7 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.abi.json.d.ts +7 -0
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +191 -6
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +191 -6
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
- package/out/{ERC20WithWorld.sol/ERC20WithWorld.abi.json → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json} +57 -46
- package/out/{ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts → ERC20PausableBurnable.sol/ERC20PausableBurnable.abi.json.d.ts} +57 -46
- 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 +155 -6
- package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +155 -6
- 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 +151 -2
- package/out/Pausable.sol/Pausable.abi.json.d.ts +151 -2
- 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 +177 -0
- package/out/WorldConsumer.sol/WorldConsumer.abi.json.d.ts +179 -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/575e1001b22e51590748b4ce55e7c596.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/{ERC20WithWorld.sol → ERC20PausableBurnable.sol} +4 -9
- package/src/experimental/ERC20Module.sol +3 -7
- package/src/experimental/MUDERC20.sol +8 -7
- package/src/experimental/Pausable.sol +5 -4
- 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.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/MockERC20WithInternalStore.abi.json +0 -696
- package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts +0 -698
- 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/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.abi.json +0 -963
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.abi.json.d.ts +0 -965
- 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.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.abi.json +0 -963
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.abi.json.d.ts +0 -965
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +0 -1
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +0 -759
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +0 -761
- 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.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/experimental/Ownable.sol +0 -110
- /package/out/ERC20BaseTest.t.sol/{ERC20WithWorldBehaviorTest.abi.json → ERC20Test.abi.json} +0 -0
- /package/out/ERC20BaseTest.t.sol/{ERC20WithWorldBehaviorTest.abi.json.d.ts → ERC20Test.abi.json.d.ts} +0 -0
|
@@ -1,8 +1,70 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "__burn",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "from",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "amount",
|
|
13
|
+
"type": "uint256",
|
|
14
|
+
"internalType": "uint256"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "function",
|
|
22
|
+
"name": "__mint",
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"name": "to",
|
|
26
|
+
"type": "address",
|
|
27
|
+
"internalType": "address"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "amount",
|
|
31
|
+
"type": "uint256",
|
|
32
|
+
"internalType": "uint256"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"outputs": [],
|
|
36
|
+
"stateMutability": "nonpayable"
|
|
37
|
+
},
|
|
2
38
|
{
|
|
3
39
|
"type": "function",
|
|
4
40
|
"name": "_msgSender",
|
|
5
41
|
"inputs": [],
|
|
42
|
+
"outputs": [
|
|
43
|
+
{
|
|
44
|
+
"name": "sender",
|
|
45
|
+
"type": "address",
|
|
46
|
+
"internalType": "address"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"stateMutability": "view"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "function",
|
|
53
|
+
"name": "_msgValue",
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"outputs": [
|
|
56
|
+
{
|
|
57
|
+
"name": "value",
|
|
58
|
+
"type": "uint256",
|
|
59
|
+
"internalType": "uint256"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"stateMutability": "view"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "function",
|
|
66
|
+
"name": "_world",
|
|
67
|
+
"inputs": [],
|
|
6
68
|
"outputs": [
|
|
7
69
|
{
|
|
8
70
|
"name": "",
|
|
@@ -94,26 +156,39 @@
|
|
|
94
156
|
},
|
|
95
157
|
{
|
|
96
158
|
"type": "function",
|
|
97
|
-
"name": "
|
|
159
|
+
"name": "name",
|
|
98
160
|
"inputs": [],
|
|
99
161
|
"outputs": [
|
|
100
162
|
{
|
|
101
163
|
"name": "",
|
|
102
|
-
"type": "
|
|
103
|
-
"internalType": "
|
|
164
|
+
"type": "string",
|
|
165
|
+
"internalType": "string"
|
|
104
166
|
}
|
|
105
167
|
],
|
|
106
168
|
"stateMutability": "view"
|
|
107
169
|
},
|
|
108
170
|
{
|
|
109
171
|
"type": "function",
|
|
110
|
-
"name": "
|
|
172
|
+
"name": "namespace",
|
|
111
173
|
"inputs": [],
|
|
112
174
|
"outputs": [
|
|
113
175
|
{
|
|
114
176
|
"name": "",
|
|
115
|
-
"type": "
|
|
116
|
-
"internalType": "
|
|
177
|
+
"type": "bytes14",
|
|
178
|
+
"internalType": "bytes14"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"stateMutability": "view"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "function",
|
|
185
|
+
"name": "namespaceId",
|
|
186
|
+
"inputs": [],
|
|
187
|
+
"outputs": [
|
|
188
|
+
{
|
|
189
|
+
"name": "",
|
|
190
|
+
"type": "bytes32",
|
|
191
|
+
"internalType": "ResourceId"
|
|
117
192
|
}
|
|
118
193
|
],
|
|
119
194
|
"stateMutability": "view"
|
|
@@ -138,6 +213,25 @@
|
|
|
138
213
|
],
|
|
139
214
|
"stateMutability": "view"
|
|
140
215
|
},
|
|
216
|
+
{
|
|
217
|
+
"type": "function",
|
|
218
|
+
"name": "supportsInterface",
|
|
219
|
+
"inputs": [
|
|
220
|
+
{
|
|
221
|
+
"name": "interfaceId",
|
|
222
|
+
"type": "bytes4",
|
|
223
|
+
"internalType": "bytes4"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"outputs": [
|
|
227
|
+
{
|
|
228
|
+
"name": "",
|
|
229
|
+
"type": "bool",
|
|
230
|
+
"internalType": "bool"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"stateMutability": "pure"
|
|
234
|
+
},
|
|
141
235
|
{
|
|
142
236
|
"type": "function",
|
|
143
237
|
"name": "symbol",
|
|
@@ -719,5 +813,96 @@
|
|
|
719
813
|
"internalType": "string"
|
|
720
814
|
}
|
|
721
815
|
]
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"type": "error",
|
|
819
|
+
"name": "WorldConsumer_CallerHasNoNamespaceAccess",
|
|
820
|
+
"inputs": [
|
|
821
|
+
{
|
|
822
|
+
"name": "worldAddress",
|
|
823
|
+
"type": "address",
|
|
824
|
+
"internalType": "address"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "namespace",
|
|
828
|
+
"type": "bytes14",
|
|
829
|
+
"internalType": "bytes14"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "caller",
|
|
833
|
+
"type": "address",
|
|
834
|
+
"internalType": "address"
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"type": "error",
|
|
840
|
+
"name": "WorldConsumer_CallerIsNotWorld",
|
|
841
|
+
"inputs": [
|
|
842
|
+
{
|
|
843
|
+
"name": "worldAddress",
|
|
844
|
+
"type": "address",
|
|
845
|
+
"internalType": "address"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "caller",
|
|
849
|
+
"type": "address",
|
|
850
|
+
"internalType": "address"
|
|
851
|
+
}
|
|
852
|
+
]
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"type": "error",
|
|
856
|
+
"name": "WorldConsumer_NamespaceAlreadyExists",
|
|
857
|
+
"inputs": [
|
|
858
|
+
{
|
|
859
|
+
"name": "worldAddress",
|
|
860
|
+
"type": "address",
|
|
861
|
+
"internalType": "address"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "namespace",
|
|
865
|
+
"type": "bytes14",
|
|
866
|
+
"internalType": "bytes14"
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"type": "error",
|
|
872
|
+
"name": "WorldConsumer_NamespaceDoesNotExists",
|
|
873
|
+
"inputs": [
|
|
874
|
+
{
|
|
875
|
+
"name": "worldAddress",
|
|
876
|
+
"type": "address",
|
|
877
|
+
"internalType": "address"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "namespace",
|
|
881
|
+
"type": "bytes14",
|
|
882
|
+
"internalType": "bytes14"
|
|
883
|
+
}
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"type": "error",
|
|
888
|
+
"name": "WorldConsumer_RootNamespaceNotAllowed",
|
|
889
|
+
"inputs": [
|
|
890
|
+
{
|
|
891
|
+
"name": "worldAddress",
|
|
892
|
+
"type": "address",
|
|
893
|
+
"internalType": "address"
|
|
894
|
+
}
|
|
895
|
+
]
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"type": "error",
|
|
899
|
+
"name": "WorldConsumer_ValueNotAllowed",
|
|
900
|
+
"inputs": [
|
|
901
|
+
{
|
|
902
|
+
"name": "worldAddress",
|
|
903
|
+
"type": "address",
|
|
904
|
+
"internalType": "address"
|
|
905
|
+
}
|
|
906
|
+
]
|
|
722
907
|
}
|
|
723
908
|
]
|
|
@@ -1,8 +1,70 @@
|
|
|
1
1
|
declare const abi: [
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "__burn",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "from",
|
|
8
|
+
"type": "address",
|
|
9
|
+
"internalType": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "amount",
|
|
13
|
+
"type": "uint256",
|
|
14
|
+
"internalType": "uint256"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"outputs": [],
|
|
18
|
+
"stateMutability": "nonpayable"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "function",
|
|
22
|
+
"name": "__mint",
|
|
23
|
+
"inputs": [
|
|
24
|
+
{
|
|
25
|
+
"name": "to",
|
|
26
|
+
"type": "address",
|
|
27
|
+
"internalType": "address"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "amount",
|
|
31
|
+
"type": "uint256",
|
|
32
|
+
"internalType": "uint256"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"outputs": [],
|
|
36
|
+
"stateMutability": "nonpayable"
|
|
37
|
+
},
|
|
2
38
|
{
|
|
3
39
|
"type": "function",
|
|
4
40
|
"name": "_msgSender",
|
|
5
41
|
"inputs": [],
|
|
42
|
+
"outputs": [
|
|
43
|
+
{
|
|
44
|
+
"name": "sender",
|
|
45
|
+
"type": "address",
|
|
46
|
+
"internalType": "address"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"stateMutability": "view"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "function",
|
|
53
|
+
"name": "_msgValue",
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"outputs": [
|
|
56
|
+
{
|
|
57
|
+
"name": "value",
|
|
58
|
+
"type": "uint256",
|
|
59
|
+
"internalType": "uint256"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"stateMutability": "view"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "function",
|
|
66
|
+
"name": "_world",
|
|
67
|
+
"inputs": [],
|
|
6
68
|
"outputs": [
|
|
7
69
|
{
|
|
8
70
|
"name": "",
|
|
@@ -94,26 +156,39 @@ declare const abi: [
|
|
|
94
156
|
},
|
|
95
157
|
{
|
|
96
158
|
"type": "function",
|
|
97
|
-
"name": "
|
|
159
|
+
"name": "name",
|
|
98
160
|
"inputs": [],
|
|
99
161
|
"outputs": [
|
|
100
162
|
{
|
|
101
163
|
"name": "",
|
|
102
|
-
"type": "
|
|
103
|
-
"internalType": "
|
|
164
|
+
"type": "string",
|
|
165
|
+
"internalType": "string"
|
|
104
166
|
}
|
|
105
167
|
],
|
|
106
168
|
"stateMutability": "view"
|
|
107
169
|
},
|
|
108
170
|
{
|
|
109
171
|
"type": "function",
|
|
110
|
-
"name": "
|
|
172
|
+
"name": "namespace",
|
|
111
173
|
"inputs": [],
|
|
112
174
|
"outputs": [
|
|
113
175
|
{
|
|
114
176
|
"name": "",
|
|
115
|
-
"type": "
|
|
116
|
-
"internalType": "
|
|
177
|
+
"type": "bytes14",
|
|
178
|
+
"internalType": "bytes14"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"stateMutability": "view"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "function",
|
|
185
|
+
"name": "namespaceId",
|
|
186
|
+
"inputs": [],
|
|
187
|
+
"outputs": [
|
|
188
|
+
{
|
|
189
|
+
"name": "",
|
|
190
|
+
"type": "bytes32",
|
|
191
|
+
"internalType": "ResourceId"
|
|
117
192
|
}
|
|
118
193
|
],
|
|
119
194
|
"stateMutability": "view"
|
|
@@ -138,6 +213,25 @@ declare const abi: [
|
|
|
138
213
|
],
|
|
139
214
|
"stateMutability": "view"
|
|
140
215
|
},
|
|
216
|
+
{
|
|
217
|
+
"type": "function",
|
|
218
|
+
"name": "supportsInterface",
|
|
219
|
+
"inputs": [
|
|
220
|
+
{
|
|
221
|
+
"name": "interfaceId",
|
|
222
|
+
"type": "bytes4",
|
|
223
|
+
"internalType": "bytes4"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"outputs": [
|
|
227
|
+
{
|
|
228
|
+
"name": "",
|
|
229
|
+
"type": "bool",
|
|
230
|
+
"internalType": "bool"
|
|
231
|
+
}
|
|
232
|
+
],
|
|
233
|
+
"stateMutability": "pure"
|
|
234
|
+
},
|
|
141
235
|
{
|
|
142
236
|
"type": "function",
|
|
143
237
|
"name": "symbol",
|
|
@@ -719,6 +813,97 @@ declare const abi: [
|
|
|
719
813
|
"internalType": "string"
|
|
720
814
|
}
|
|
721
815
|
]
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"type": "error",
|
|
819
|
+
"name": "WorldConsumer_CallerHasNoNamespaceAccess",
|
|
820
|
+
"inputs": [
|
|
821
|
+
{
|
|
822
|
+
"name": "worldAddress",
|
|
823
|
+
"type": "address",
|
|
824
|
+
"internalType": "address"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "namespace",
|
|
828
|
+
"type": "bytes14",
|
|
829
|
+
"internalType": "bytes14"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "caller",
|
|
833
|
+
"type": "address",
|
|
834
|
+
"internalType": "address"
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"type": "error",
|
|
840
|
+
"name": "WorldConsumer_CallerIsNotWorld",
|
|
841
|
+
"inputs": [
|
|
842
|
+
{
|
|
843
|
+
"name": "worldAddress",
|
|
844
|
+
"type": "address",
|
|
845
|
+
"internalType": "address"
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "caller",
|
|
849
|
+
"type": "address",
|
|
850
|
+
"internalType": "address"
|
|
851
|
+
}
|
|
852
|
+
]
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"type": "error",
|
|
856
|
+
"name": "WorldConsumer_NamespaceAlreadyExists",
|
|
857
|
+
"inputs": [
|
|
858
|
+
{
|
|
859
|
+
"name": "worldAddress",
|
|
860
|
+
"type": "address",
|
|
861
|
+
"internalType": "address"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "namespace",
|
|
865
|
+
"type": "bytes14",
|
|
866
|
+
"internalType": "bytes14"
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"type": "error",
|
|
872
|
+
"name": "WorldConsumer_NamespaceDoesNotExists",
|
|
873
|
+
"inputs": [
|
|
874
|
+
{
|
|
875
|
+
"name": "worldAddress",
|
|
876
|
+
"type": "address",
|
|
877
|
+
"internalType": "address"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "namespace",
|
|
881
|
+
"type": "bytes14",
|
|
882
|
+
"internalType": "bytes14"
|
|
883
|
+
}
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"type": "error",
|
|
888
|
+
"name": "WorldConsumer_RootNamespaceNotAllowed",
|
|
889
|
+
"inputs": [
|
|
890
|
+
{
|
|
891
|
+
"name": "worldAddress",
|
|
892
|
+
"type": "address",
|
|
893
|
+
"internalType": "address"
|
|
894
|
+
}
|
|
895
|
+
]
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"type": "error",
|
|
899
|
+
"name": "WorldConsumer_ValueNotAllowed",
|
|
900
|
+
"inputs": [
|
|
901
|
+
{
|
|
902
|
+
"name": "worldAddress",
|
|
903
|
+
"type": "address",
|
|
904
|
+
"internalType": "address"
|
|
905
|
+
}
|
|
906
|
+
]
|
|
722
907
|
}
|
|
723
908
|
];
|
|
724
909
|
|