@latticexyz/world-modules 2.0.13-main-609de113f → 2.1.0-main-b3f8dd516f25466ccdcae4b3a409dd4a6f8b965e
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/dist/mud.config.d.ts +754 -162
- package/out/AccessControl.sol/AccessControl.json +1 -1
- package/out/AccessControlLib.sol/AccessControlLib.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/AddressArray.sol/AddressArray.json +1 -1
- package/out/Allowances.sol/Allowances.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/Balances.sol/Balances.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/Bool.sol/Bool.json +1 -1
- package/out/CallWithSignatureModule.t.sol/Unstable_CallWithSignatureModuleTest.json +1 -1
- package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.json +1 -1
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +1 -1
- package/out/CallboundDelegations.sol/CallboundDelegations.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/DelegationControl.sol/DelegationControl.json +1 -1
- package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
- package/out/ERC20.t.sol/ERC20Test.json +1 -1
- package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
- package/out/ERC20Module.sol/ERC20Module.json +1 -1
- package/out/ERC20Module.sol/ERC20ModuleRegistrationLibrary.json +1 -1
- package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
- package/out/ERC20System.sol/ERC20System.json +1 -1
- package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
- package/out/ERC721.t.sol/ERC721Test.json +1 -1
- package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
- package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
- package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
- package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
- package/out/ERC721Metadata.sol/ERC721Metadata.json +1 -1
- package/out/ERC721Module.sol/ERC721Module.json +1 -1
- package/out/ERC721Module.sol/ERC721ModuleRegistrationLibrary.json +1 -1
- package/out/ERC721Registry.sol/ERC721Registry.json +1 -1
- package/out/ERC721System.sol/ERC721System.json +1 -1
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
- package/out/FunctionSignatures.sol/FunctionSignatures.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/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
- package/out/IWorld.sol/IWorld.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- 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/KeysInTable.sol/KeysInTable.json +1 -1
- package/out/KeysInTableHook.sol/KeysInTableHook.json +1 -1
- package/out/KeysInTableModule.sol/KeysInTableModule.json +1 -1
- package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
- package/out/KeysWithValue.sol/KeysWithValue.json +1 -1
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1 -1
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +1 -1
- package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
- package/out/Module.sol/Module.json +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/OperatorApproval.sol/OperatorApproval.json +1 -1
- package/out/Owners.sol/Owners.json +1 -1
- package/out/Puppet.sol/Puppet.json +1 -1
- package/out/PuppetDelegationControl.sol/PuppetDelegationControl.json +1 -1
- package/out/PuppetFactorySystem.sol/PuppetFactorySystem.json +1 -1
- package/out/PuppetMaster.sol/PuppetMaster.json +1 -1
- package/out/PuppetModule.sol/PuppetModule.json +1 -1
- package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
- package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
- package/out/PuppetRegistry.sol/PuppetRegistry.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
- package/out/ResourceIds.sol/ResourceIds.json +1 -1
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +1 -1
- package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.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.json +1 -1
- package/out/StoreSwitch.sol/StoreSwitch.json +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/SystemSwitch.sol/SystemSwitch.json +1 -1
- package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
- package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
- package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.json +1 -1
- package/out/SystemboundDelegations.sol/SystemboundDelegations.json +1 -1
- package/out/Systems.sol/Systems.json +1 -1
- package/out/Tables.sol/Tables.json +1 -1
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +1 -1
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1 -1
- package/out/TokenApproval.sol/TokenApproval.json +1 -1
- package/out/TokenURI.sol/TokenURI.json +1 -1
- package/out/TotalSupply.sol/TotalSupply.json +1 -1
- package/out/TwoFields.sol/TwoFields.json +1 -1
- package/out/UniqueEntity.sol/UniqueEntity.json +1 -1
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
- package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +1 -1
- package/out/Unstable_CallWithSignatureModule.sol/Unstable_CallWithSignatureModule.json +1 -1
- package/out/Unstable_CallWithSignatureSystem.sol/Unstable_CallWithSignatureSystem.json +1 -1
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +1 -1
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/World.t.sol/EchoSystemHook.json +1 -1
- package/out/World.t.sol/IWorldTestSystem.json +1 -1
- package/out/World.t.sol/PayableFallbackSystem.json +1 -1
- package/out/World.t.sol/RevertSystemHook.json +1 -1
- package/out/World.t.sol/WorldTest.json +1 -1
- package/out/World.t.sol/WorldTestSystem.json +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.json +1 -1
- package/out/build-info/{d124ec78488e616c9174ecbe10ecd017.json → aa2a91059cf995afdf8cc5f112a6b246.json} +1 -1
- package/out/query.t.sol/QueryTest.json +1 -1
- package/out/tables/Balances.sol/Balances.json +1 -1
- package/package.json +9 -9
- package/src/codegen/index.sol +20 -20
package/dist/mud.config.d.ts
CHANGED
@@ -1,12 +1,107 @@
|
|
1
|
+
import { show } from '@arktype/util';
|
2
|
+
import * as _latticexyz_store_config_v2 from '@latticexyz/store/config/v2';
|
3
|
+
import { Scope, AbiTypeScope, mergeIfUndefined, resolveNamespace as resolveNamespace$1, NamespaceInput as NamespaceInput$1 } from '@latticexyz/store/config/v2';
|
4
|
+
import { Hex } from 'viem';
|
5
|
+
|
6
|
+
type SystemInput = {
|
7
|
+
/**
|
8
|
+
* Human-readable system label. Used as config keys, interface names, and filenames.
|
9
|
+
* Labels are not length constrained like resource names, but special characters should be avoided to be compatible with the filesystem, Solidity compiler, etc.
|
10
|
+
*/
|
11
|
+
readonly label: string;
|
12
|
+
/**
|
13
|
+
* System namespace used in systems's resource ID and determines access control.
|
14
|
+
* Defaults to the nearest namespace in the config or root namespace if not set.
|
15
|
+
*/
|
16
|
+
readonly namespace?: string;
|
17
|
+
/**
|
18
|
+
* System name used in systems's resource ID.
|
19
|
+
* Defaults to the first 16 characters of `label` if not set.
|
20
|
+
*/
|
21
|
+
readonly name?: string;
|
22
|
+
/**
|
23
|
+
* Register function selectors for the system in the World.
|
24
|
+
* Defaults to true.
|
25
|
+
* Note:
|
26
|
+
* - For root systems all World function selectors will correspond to the system's function selectors.
|
27
|
+
* - For non-root systems, the World function selectors will be <namespace>__<function>.
|
28
|
+
*/
|
29
|
+
readonly registerFunctionSelectors?: boolean;
|
30
|
+
/** If openAccess is true, any address can call the system */
|
31
|
+
readonly openAccess?: boolean;
|
32
|
+
/** An array of addresses or system names that can access the system */
|
33
|
+
readonly accessList?: readonly string[];
|
34
|
+
};
|
35
|
+
type SystemsInput = {
|
36
|
+
readonly [label: string]: Omit<SystemInput, "label" | "namespace">;
|
37
|
+
};
|
38
|
+
type NamespaceInput = NamespaceInput$1 & {
|
39
|
+
readonly systems?: SystemsInput;
|
40
|
+
};
|
41
|
+
type NamespacesInput = {
|
42
|
+
readonly [label: string]: Omit<NamespaceInput, "label">;
|
43
|
+
};
|
44
|
+
|
45
|
+
declare const SYSTEM_DEFAULTS: {
|
46
|
+
readonly namespace: "";
|
47
|
+
readonly registerFunctionSelectors: true;
|
48
|
+
readonly openAccess: true;
|
49
|
+
readonly accessList: readonly [];
|
50
|
+
};
|
51
|
+
type SYSTEM_DEFAULTS = typeof SYSTEM_DEFAULTS;
|
52
|
+
type resolveSystem<input> = input extends SystemInput ? {
|
53
|
+
readonly label: input["label"];
|
54
|
+
readonly namespace: undefined extends input["namespace"] ? SYSTEM_DEFAULTS["namespace"] : input["namespace"];
|
55
|
+
readonly name: string;
|
56
|
+
readonly systemId: Hex;
|
57
|
+
readonly registerFunctionSelectors: undefined extends input["registerFunctionSelectors"] ? SYSTEM_DEFAULTS["registerFunctionSelectors"] : input["registerFunctionSelectors"];
|
58
|
+
readonly openAccess: undefined extends input["openAccess"] ? SYSTEM_DEFAULTS["openAccess"] : input["openAccess"];
|
59
|
+
readonly accessList: undefined extends input["accessList"] ? SYSTEM_DEFAULTS["accessList"] : input["accessList"];
|
60
|
+
} : never;
|
61
|
+
declare function resolveSystem<input extends SystemInput>(input: input): resolveSystem<input>;
|
62
|
+
type resolveSystems<systems extends SystemsInput, namespace extends string> = {
|
63
|
+
[label in keyof systems]: resolveSystem<systems[label] & {
|
64
|
+
label: label;
|
65
|
+
namespace: namespace;
|
66
|
+
}>;
|
67
|
+
};
|
68
|
+
declare function resolveSystems<systems extends SystemsInput, namespace extends string>(systems: systems, namespace: namespace): resolveSystems<systems, namespace>;
|
69
|
+
type resolveNamespace<input, scope extends Scope = AbiTypeScope> = input extends NamespaceInput ? resolveNamespace$1<input, scope> & {
|
70
|
+
readonly systems: input["systems"] extends SystemsInput ? resolveSystems<input["systems"], resolveNamespace$1<input, scope>["namespace"]> : {};
|
71
|
+
} : never;
|
72
|
+
declare function resolveNamespace<const input extends NamespaceInput, scope extends Scope = AbiTypeScope>(input: input, scope?: scope): resolveNamespace<input, scope>;
|
73
|
+
type resolveNamespaces<namespaces, scope extends Scope = AbiTypeScope> = {
|
74
|
+
readonly [label in keyof namespaces]: resolveNamespace<mergeIfUndefined<namespaces[label], {
|
75
|
+
label: label;
|
76
|
+
}>, scope>;
|
77
|
+
};
|
78
|
+
declare function resolveNamespaces<input extends NamespacesInput, scope extends Scope = AbiTypeScope>(input: input, scope: scope): show<resolveNamespaces<input, scope>>;
|
79
|
+
|
1
80
|
declare const _default: {
|
2
|
-
readonly
|
81
|
+
readonly userTypes: {
|
82
|
+
readonly ResourceId: {
|
83
|
+
readonly filePath: "@latticexyz/store/src/ResourceId.sol";
|
84
|
+
readonly type: "bytes32";
|
85
|
+
};
|
86
|
+
};
|
87
|
+
readonly codegen: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
88
|
+
readonly storeImportPath: "@latticexyz/store/src";
|
89
|
+
readonly userTypesFilename: "common.sol";
|
90
|
+
readonly outputDirectory: "codegen";
|
91
|
+
readonly indexFilename: "index.sol";
|
92
|
+
}> & _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
93
|
+
readonly worldInterfaceName: "IWorld";
|
94
|
+
readonly worldgenDirectory: "world";
|
95
|
+
readonly worldImportPath: "@latticexyz/world/src";
|
96
|
+
}>;
|
97
|
+
readonly namespace: string;
|
3
98
|
readonly tables: {
|
4
99
|
readonly KeysWithValue: {
|
5
|
-
readonly
|
6
|
-
readonly name: "KeysWithValue";
|
7
|
-
readonly namespace: "";
|
100
|
+
readonly label: "KeysWithValue";
|
8
101
|
readonly type: "table";
|
9
|
-
readonly
|
102
|
+
readonly namespace: string;
|
103
|
+
readonly name: string;
|
104
|
+
readonly tableId: `0x${string}`;
|
10
105
|
readonly schema: {
|
11
106
|
readonly valueHash: {
|
12
107
|
readonly type: "bytes32";
|
@@ -17,22 +112,23 @@ declare const _default: {
|
|
17
112
|
readonly internalType: "bytes32[]";
|
18
113
|
};
|
19
114
|
};
|
115
|
+
readonly key: readonly ["valueHash"];
|
20
116
|
readonly codegen: {
|
21
|
-
readonly outputDirectory:
|
117
|
+
readonly outputDirectory: "../modules/keyswithvalue/tables";
|
22
118
|
readonly tableIdArgument: true;
|
23
119
|
readonly storeArgument: true;
|
24
120
|
readonly dataStruct: boolean;
|
25
121
|
};
|
26
|
-
readonly deploy: {
|
122
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
27
123
|
readonly disabled: false;
|
28
|
-
}
|
124
|
+
}>;
|
29
125
|
};
|
30
126
|
readonly KeysInTable: {
|
31
|
-
readonly
|
32
|
-
readonly name: "KeysInTable";
|
33
|
-
readonly namespace: "";
|
127
|
+
readonly label: "KeysInTable";
|
34
128
|
readonly type: "table";
|
35
|
-
readonly
|
129
|
+
readonly namespace: string;
|
130
|
+
readonly name: string;
|
131
|
+
readonly tableId: `0x${string}`;
|
36
132
|
readonly schema: {
|
37
133
|
readonly sourceTableId: {
|
38
134
|
readonly type: "bytes32";
|
@@ -59,22 +155,23 @@ declare const _default: {
|
|
59
155
|
readonly internalType: "bytes32[]";
|
60
156
|
};
|
61
157
|
};
|
158
|
+
readonly key: readonly ["sourceTableId"];
|
62
159
|
readonly codegen: {
|
63
|
-
readonly outputDirectory:
|
160
|
+
readonly outputDirectory: "../modules/keysintable/tables";
|
64
161
|
readonly tableIdArgument: false;
|
65
162
|
readonly storeArgument: true;
|
66
163
|
readonly dataStruct: boolean;
|
67
164
|
};
|
68
|
-
readonly deploy: {
|
165
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
69
166
|
readonly disabled: false;
|
70
|
-
}
|
167
|
+
}>;
|
71
168
|
};
|
72
169
|
readonly UsedKeysIndex: {
|
73
|
-
readonly
|
74
|
-
readonly name: "UsedKeysIndex";
|
75
|
-
readonly namespace: "";
|
170
|
+
readonly label: "UsedKeysIndex";
|
76
171
|
readonly type: "table";
|
77
|
-
readonly
|
172
|
+
readonly namespace: string;
|
173
|
+
readonly name: string;
|
174
|
+
readonly tableId: `0x${string}`;
|
78
175
|
readonly schema: {
|
79
176
|
readonly sourceTableId: {
|
80
177
|
readonly type: "bytes32";
|
@@ -93,44 +190,46 @@ declare const _default: {
|
|
93
190
|
readonly internalType: "uint40";
|
94
191
|
};
|
95
192
|
};
|
193
|
+
readonly key: readonly ["sourceTableId", "keysHash"];
|
96
194
|
readonly codegen: {
|
97
|
-
readonly outputDirectory:
|
195
|
+
readonly outputDirectory: "../modules/keysintable/tables";
|
98
196
|
readonly tableIdArgument: false;
|
99
197
|
readonly storeArgument: true;
|
100
198
|
readonly dataStruct: false;
|
101
199
|
};
|
102
|
-
readonly deploy: {
|
200
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
103
201
|
readonly disabled: false;
|
104
|
-
}
|
202
|
+
}>;
|
105
203
|
};
|
106
204
|
readonly UniqueEntity: {
|
107
|
-
readonly
|
108
|
-
readonly name: "UniqueEntity";
|
109
|
-
readonly namespace: "";
|
205
|
+
readonly label: "UniqueEntity";
|
110
206
|
readonly type: "table";
|
111
|
-
readonly
|
207
|
+
readonly namespace: string;
|
208
|
+
readonly name: string;
|
209
|
+
readonly tableId: `0x${string}`;
|
112
210
|
readonly schema: {
|
113
211
|
readonly value: {
|
114
212
|
readonly type: "uint256";
|
115
213
|
readonly internalType: "uint256";
|
116
214
|
};
|
117
215
|
};
|
216
|
+
readonly key: readonly [];
|
118
217
|
readonly codegen: {
|
119
|
-
readonly outputDirectory:
|
218
|
+
readonly outputDirectory: "../modules/uniqueentity/tables";
|
120
219
|
readonly tableIdArgument: true;
|
121
220
|
readonly storeArgument: true;
|
122
221
|
readonly dataStruct: boolean;
|
123
222
|
};
|
124
|
-
readonly deploy: {
|
223
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
125
224
|
readonly disabled: false;
|
126
|
-
}
|
225
|
+
}>;
|
127
226
|
};
|
128
227
|
readonly CallboundDelegations: {
|
129
|
-
readonly
|
130
|
-
readonly name: "CallboundDelegations";
|
131
|
-
readonly namespace: "";
|
228
|
+
readonly label: "CallboundDelegations";
|
132
229
|
readonly type: "table";
|
133
|
-
readonly
|
230
|
+
readonly namespace: string;
|
231
|
+
readonly name: string;
|
232
|
+
readonly tableId: `0x${string}`;
|
134
233
|
readonly schema: {
|
135
234
|
readonly delegator: {
|
136
235
|
readonly type: "address";
|
@@ -153,22 +252,23 @@ declare const _default: {
|
|
153
252
|
readonly internalType: "uint256";
|
154
253
|
};
|
155
254
|
};
|
255
|
+
readonly key: readonly ["delegator", "delegatee", "systemId", "callDataHash"];
|
156
256
|
readonly codegen: {
|
157
|
-
readonly outputDirectory:
|
257
|
+
readonly outputDirectory: "../modules/std-delegations/tables";
|
158
258
|
readonly tableIdArgument: false;
|
159
259
|
readonly storeArgument: false;
|
160
260
|
readonly dataStruct: boolean;
|
161
261
|
};
|
162
|
-
readonly deploy: {
|
262
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
163
263
|
readonly disabled: false;
|
164
|
-
}
|
264
|
+
}>;
|
165
265
|
};
|
166
266
|
readonly SystemboundDelegations: {
|
167
|
-
readonly
|
168
|
-
readonly name: "SystemboundDelegations";
|
169
|
-
readonly namespace: "";
|
267
|
+
readonly label: "SystemboundDelegations";
|
170
268
|
readonly type: "table";
|
171
|
-
readonly
|
269
|
+
readonly namespace: string;
|
270
|
+
readonly name: string;
|
271
|
+
readonly tableId: `0x${string}`;
|
172
272
|
readonly schema: {
|
173
273
|
readonly delegator: {
|
174
274
|
readonly type: "address";
|
@@ -187,22 +287,23 @@ declare const _default: {
|
|
187
287
|
readonly internalType: "uint256";
|
188
288
|
};
|
189
289
|
};
|
290
|
+
readonly key: readonly ["delegator", "delegatee", "systemId"];
|
190
291
|
readonly codegen: {
|
191
|
-
readonly outputDirectory:
|
292
|
+
readonly outputDirectory: "../modules/std-delegations/tables";
|
192
293
|
readonly tableIdArgument: false;
|
193
294
|
readonly storeArgument: false;
|
194
295
|
readonly dataStruct: boolean;
|
195
296
|
};
|
196
|
-
readonly deploy: {
|
297
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
197
298
|
readonly disabled: false;
|
198
|
-
}
|
299
|
+
}>;
|
199
300
|
};
|
200
301
|
readonly TimeboundDelegations: {
|
201
|
-
readonly
|
202
|
-
readonly name: "TimeboundDelegations";
|
203
|
-
readonly namespace: "";
|
302
|
+
readonly label: "TimeboundDelegations";
|
204
303
|
readonly type: "table";
|
205
|
-
readonly
|
304
|
+
readonly namespace: string;
|
305
|
+
readonly name: string;
|
306
|
+
readonly tableId: `0x${string}`;
|
206
307
|
readonly schema: {
|
207
308
|
readonly delegator: {
|
208
309
|
readonly type: "address";
|
@@ -217,22 +318,23 @@ declare const _default: {
|
|
217
318
|
readonly internalType: "uint256";
|
218
319
|
};
|
219
320
|
};
|
321
|
+
readonly key: readonly ["delegator", "delegatee"];
|
220
322
|
readonly codegen: {
|
221
|
-
readonly outputDirectory:
|
323
|
+
readonly outputDirectory: "../modules/std-delegations/tables";
|
222
324
|
readonly tableIdArgument: false;
|
223
325
|
readonly storeArgument: false;
|
224
326
|
readonly dataStruct: boolean;
|
225
327
|
};
|
226
|
-
readonly deploy: {
|
328
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
227
329
|
readonly disabled: false;
|
228
|
-
}
|
330
|
+
}>;
|
229
331
|
};
|
230
332
|
readonly PuppetRegistry: {
|
231
|
-
readonly
|
232
|
-
readonly name: "PuppetRegistry";
|
233
|
-
readonly namespace: "";
|
333
|
+
readonly label: "PuppetRegistry";
|
234
334
|
readonly type: "table";
|
235
|
-
readonly
|
335
|
+
readonly namespace: string;
|
336
|
+
readonly name: string;
|
337
|
+
readonly tableId: `0x${string}`;
|
236
338
|
readonly schema: {
|
237
339
|
readonly systemId: {
|
238
340
|
readonly type: "bytes32";
|
@@ -243,22 +345,23 @@ declare const _default: {
|
|
243
345
|
readonly internalType: "address";
|
244
346
|
};
|
245
347
|
};
|
348
|
+
readonly key: readonly ["systemId"];
|
246
349
|
readonly codegen: {
|
247
|
-
readonly outputDirectory:
|
350
|
+
readonly outputDirectory: "../modules/puppet/tables";
|
248
351
|
readonly tableIdArgument: true;
|
249
352
|
readonly storeArgument: false;
|
250
353
|
readonly dataStruct: boolean;
|
251
354
|
};
|
252
|
-
readonly deploy: {
|
355
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
253
356
|
readonly disabled: false;
|
254
|
-
}
|
357
|
+
}>;
|
255
358
|
};
|
256
359
|
readonly Balances: {
|
257
|
-
readonly
|
258
|
-
readonly name: "Balances";
|
259
|
-
readonly namespace: "";
|
360
|
+
readonly label: "Balances";
|
260
361
|
readonly type: "table";
|
261
|
-
readonly
|
362
|
+
readonly namespace: string;
|
363
|
+
readonly name: string;
|
364
|
+
readonly tableId: `0x${string}`;
|
262
365
|
readonly schema: {
|
263
366
|
readonly account: {
|
264
367
|
readonly type: "address";
|
@@ -269,22 +372,23 @@ declare const _default: {
|
|
269
372
|
readonly internalType: "uint256";
|
270
373
|
};
|
271
374
|
};
|
375
|
+
readonly key: readonly ["account"];
|
272
376
|
readonly codegen: {
|
273
|
-
readonly outputDirectory:
|
377
|
+
readonly outputDirectory: "../modules/tokens/tables";
|
274
378
|
readonly tableIdArgument: true;
|
275
379
|
readonly storeArgument: false;
|
276
380
|
readonly dataStruct: boolean;
|
277
381
|
};
|
278
|
-
readonly deploy: {
|
382
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
279
383
|
readonly disabled: false;
|
280
|
-
}
|
384
|
+
}>;
|
281
385
|
};
|
282
386
|
readonly ERC20Metadata: {
|
283
|
-
readonly
|
284
|
-
readonly name: "ERC20Metadata";
|
285
|
-
readonly namespace: "";
|
387
|
+
readonly label: "ERC20Metadata";
|
286
388
|
readonly type: "table";
|
287
|
-
readonly
|
389
|
+
readonly namespace: string;
|
390
|
+
readonly name: string;
|
391
|
+
readonly tableId: `0x${string}`;
|
288
392
|
readonly schema: {
|
289
393
|
readonly decimals: {
|
290
394
|
readonly type: "uint8";
|
@@ -299,22 +403,23 @@ declare const _default: {
|
|
299
403
|
readonly internalType: "string";
|
300
404
|
};
|
301
405
|
};
|
406
|
+
readonly key: readonly [];
|
302
407
|
readonly codegen: {
|
303
|
-
readonly outputDirectory:
|
408
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
304
409
|
readonly tableIdArgument: true;
|
305
410
|
readonly storeArgument: false;
|
306
411
|
readonly dataStruct: boolean;
|
307
412
|
};
|
308
|
-
readonly deploy: {
|
413
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
309
414
|
readonly disabled: false;
|
310
|
-
}
|
415
|
+
}>;
|
311
416
|
};
|
312
417
|
readonly Allowances: {
|
313
|
-
readonly
|
314
|
-
readonly name: "Allowances";
|
315
|
-
readonly namespace: "";
|
418
|
+
readonly label: "Allowances";
|
316
419
|
readonly type: "table";
|
317
|
-
readonly
|
420
|
+
readonly namespace: string;
|
421
|
+
readonly name: string;
|
422
|
+
readonly tableId: `0x${string}`;
|
318
423
|
readonly schema: {
|
319
424
|
readonly account: {
|
320
425
|
readonly type: "address";
|
@@ -329,44 +434,46 @@ declare const _default: {
|
|
329
434
|
readonly internalType: "uint256";
|
330
435
|
};
|
331
436
|
};
|
437
|
+
readonly key: readonly ["account", "spender"];
|
332
438
|
readonly codegen: {
|
333
|
-
readonly outputDirectory:
|
439
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
334
440
|
readonly tableIdArgument: true;
|
335
441
|
readonly storeArgument: false;
|
336
442
|
readonly dataStruct: boolean;
|
337
443
|
};
|
338
|
-
readonly deploy: {
|
444
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
339
445
|
readonly disabled: false;
|
340
|
-
}
|
446
|
+
}>;
|
341
447
|
};
|
342
448
|
readonly TotalSupply: {
|
343
|
-
readonly
|
344
|
-
readonly name: "TotalSupply";
|
345
|
-
readonly namespace: "";
|
449
|
+
readonly label: "TotalSupply";
|
346
450
|
readonly type: "table";
|
347
|
-
readonly
|
451
|
+
readonly namespace: string;
|
452
|
+
readonly name: string;
|
453
|
+
readonly tableId: `0x${string}`;
|
348
454
|
readonly schema: {
|
349
455
|
readonly totalSupply: {
|
350
456
|
readonly type: "uint256";
|
351
457
|
readonly internalType: "uint256";
|
352
458
|
};
|
353
459
|
};
|
460
|
+
readonly key: readonly [];
|
354
461
|
readonly codegen: {
|
355
|
-
readonly outputDirectory:
|
462
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
356
463
|
readonly tableIdArgument: true;
|
357
464
|
readonly storeArgument: false;
|
358
465
|
readonly dataStruct: boolean;
|
359
466
|
};
|
360
|
-
readonly deploy: {
|
467
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
361
468
|
readonly disabled: false;
|
362
|
-
}
|
469
|
+
}>;
|
363
470
|
};
|
364
471
|
readonly ERC20Registry: {
|
365
|
-
readonly
|
366
|
-
readonly name: "ERC20Registry";
|
367
|
-
readonly namespace: "";
|
472
|
+
readonly label: "ERC20Registry";
|
368
473
|
readonly type: "table";
|
369
|
-
readonly
|
474
|
+
readonly namespace: string;
|
475
|
+
readonly name: string;
|
476
|
+
readonly tableId: `0x${string}`;
|
370
477
|
readonly schema: {
|
371
478
|
readonly namespaceId: {
|
372
479
|
readonly type: "bytes32";
|
@@ -377,22 +484,23 @@ declare const _default: {
|
|
377
484
|
readonly internalType: "address";
|
378
485
|
};
|
379
486
|
};
|
487
|
+
readonly key: readonly ["namespaceId"];
|
380
488
|
readonly codegen: {
|
381
|
-
readonly outputDirectory:
|
489
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
382
490
|
readonly tableIdArgument: true;
|
383
491
|
readonly storeArgument: false;
|
384
492
|
readonly dataStruct: boolean;
|
385
493
|
};
|
386
|
-
readonly deploy: {
|
494
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
387
495
|
readonly disabled: false;
|
388
|
-
}
|
496
|
+
}>;
|
389
497
|
};
|
390
498
|
readonly ERC721Metadata: {
|
391
|
-
readonly
|
392
|
-
readonly name: "ERC721Metadata";
|
393
|
-
readonly namespace: "";
|
499
|
+
readonly label: "ERC721Metadata";
|
394
500
|
readonly type: "table";
|
395
|
-
readonly
|
501
|
+
readonly namespace: string;
|
502
|
+
readonly name: string;
|
503
|
+
readonly tableId: `0x${string}`;
|
396
504
|
readonly schema: {
|
397
505
|
readonly name: {
|
398
506
|
readonly type: "string";
|
@@ -407,22 +515,23 @@ declare const _default: {
|
|
407
515
|
readonly internalType: "string";
|
408
516
|
};
|
409
517
|
};
|
518
|
+
readonly key: readonly [];
|
410
519
|
readonly codegen: {
|
411
|
-
readonly outputDirectory:
|
520
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
412
521
|
readonly tableIdArgument: true;
|
413
522
|
readonly storeArgument: false;
|
414
523
|
readonly dataStruct: boolean;
|
415
524
|
};
|
416
|
-
readonly deploy: {
|
525
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
417
526
|
readonly disabled: false;
|
418
|
-
}
|
527
|
+
}>;
|
419
528
|
};
|
420
529
|
readonly TokenURI: {
|
421
|
-
readonly
|
422
|
-
readonly name: "TokenURI";
|
423
|
-
readonly namespace: "";
|
530
|
+
readonly label: "TokenURI";
|
424
531
|
readonly type: "table";
|
425
|
-
readonly
|
532
|
+
readonly namespace: string;
|
533
|
+
readonly name: string;
|
534
|
+
readonly tableId: `0x${string}`;
|
426
535
|
readonly schema: {
|
427
536
|
readonly tokenId: {
|
428
537
|
readonly type: "uint256";
|
@@ -433,22 +542,23 @@ declare const _default: {
|
|
433
542
|
readonly internalType: "string";
|
434
543
|
};
|
435
544
|
};
|
545
|
+
readonly key: readonly ["tokenId"];
|
436
546
|
readonly codegen: {
|
437
|
-
readonly outputDirectory:
|
547
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
438
548
|
readonly tableIdArgument: true;
|
439
549
|
readonly storeArgument: false;
|
440
550
|
readonly dataStruct: boolean;
|
441
551
|
};
|
442
|
-
readonly deploy: {
|
552
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
443
553
|
readonly disabled: false;
|
444
|
-
}
|
554
|
+
}>;
|
445
555
|
};
|
446
556
|
readonly Owners: {
|
447
|
-
readonly
|
448
|
-
readonly name: "Owners";
|
449
|
-
readonly namespace: "";
|
557
|
+
readonly label: "Owners";
|
450
558
|
readonly type: "table";
|
451
|
-
readonly
|
559
|
+
readonly namespace: string;
|
560
|
+
readonly name: string;
|
561
|
+
readonly tableId: `0x${string}`;
|
452
562
|
readonly schema: {
|
453
563
|
readonly tokenId: {
|
454
564
|
readonly type: "uint256";
|
@@ -459,22 +569,23 @@ declare const _default: {
|
|
459
569
|
readonly internalType: "address";
|
460
570
|
};
|
461
571
|
};
|
572
|
+
readonly key: readonly ["tokenId"];
|
462
573
|
readonly codegen: {
|
463
|
-
readonly outputDirectory:
|
574
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
464
575
|
readonly tableIdArgument: true;
|
465
576
|
readonly storeArgument: false;
|
466
577
|
readonly dataStruct: boolean;
|
467
578
|
};
|
468
|
-
readonly deploy: {
|
579
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
469
580
|
readonly disabled: false;
|
470
|
-
}
|
581
|
+
}>;
|
471
582
|
};
|
472
583
|
readonly TokenApproval: {
|
473
|
-
readonly
|
474
|
-
readonly name: "TokenApproval";
|
475
|
-
readonly namespace: "";
|
584
|
+
readonly label: "TokenApproval";
|
476
585
|
readonly type: "table";
|
477
|
-
readonly
|
586
|
+
readonly namespace: string;
|
587
|
+
readonly name: string;
|
588
|
+
readonly tableId: `0x${string}`;
|
478
589
|
readonly schema: {
|
479
590
|
readonly tokenId: {
|
480
591
|
readonly type: "uint256";
|
@@ -485,22 +596,23 @@ declare const _default: {
|
|
485
596
|
readonly internalType: "address";
|
486
597
|
};
|
487
598
|
};
|
599
|
+
readonly key: readonly ["tokenId"];
|
488
600
|
readonly codegen: {
|
489
|
-
readonly outputDirectory:
|
601
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
490
602
|
readonly tableIdArgument: true;
|
491
603
|
readonly storeArgument: false;
|
492
604
|
readonly dataStruct: boolean;
|
493
605
|
};
|
494
|
-
readonly deploy: {
|
606
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
495
607
|
readonly disabled: false;
|
496
|
-
}
|
608
|
+
}>;
|
497
609
|
};
|
498
610
|
readonly OperatorApproval: {
|
499
|
-
readonly
|
500
|
-
readonly name: "OperatorApproval";
|
501
|
-
readonly namespace: "";
|
611
|
+
readonly label: "OperatorApproval";
|
502
612
|
readonly type: "table";
|
503
|
-
readonly
|
613
|
+
readonly namespace: string;
|
614
|
+
readonly name: string;
|
615
|
+
readonly tableId: `0x${string}`;
|
504
616
|
readonly schema: {
|
505
617
|
readonly owner: {
|
506
618
|
readonly type: "address";
|
@@ -515,22 +627,23 @@ declare const _default: {
|
|
515
627
|
readonly internalType: "bool";
|
516
628
|
};
|
517
629
|
};
|
630
|
+
readonly key: readonly ["owner", "operator"];
|
518
631
|
readonly codegen: {
|
519
|
-
readonly outputDirectory:
|
632
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
520
633
|
readonly tableIdArgument: true;
|
521
634
|
readonly storeArgument: false;
|
522
635
|
readonly dataStruct: boolean;
|
523
636
|
};
|
524
|
-
readonly deploy: {
|
637
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
525
638
|
readonly disabled: false;
|
526
|
-
}
|
639
|
+
}>;
|
527
640
|
};
|
528
641
|
readonly ERC721Registry: {
|
529
|
-
readonly
|
530
|
-
readonly name: "ERC721Registry";
|
531
|
-
readonly namespace: "";
|
642
|
+
readonly label: "ERC721Registry";
|
532
643
|
readonly type: "table";
|
533
|
-
readonly
|
644
|
+
readonly namespace: string;
|
645
|
+
readonly name: string;
|
646
|
+
readonly tableId: `0x${string}`;
|
534
647
|
readonly schema: {
|
535
648
|
readonly namespaceId: {
|
536
649
|
readonly type: "bytes32";
|
@@ -541,22 +654,23 @@ declare const _default: {
|
|
541
654
|
readonly internalType: "address";
|
542
655
|
};
|
543
656
|
};
|
657
|
+
readonly key: readonly ["namespaceId"];
|
544
658
|
readonly codegen: {
|
545
|
-
readonly outputDirectory:
|
659
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
546
660
|
readonly tableIdArgument: true;
|
547
661
|
readonly storeArgument: false;
|
548
662
|
readonly dataStruct: boolean;
|
549
663
|
};
|
550
|
-
readonly deploy: {
|
664
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
551
665
|
readonly disabled: false;
|
552
|
-
}
|
666
|
+
}>;
|
553
667
|
};
|
554
668
|
readonly CallWithSignatureNonces: {
|
555
|
-
readonly
|
556
|
-
readonly name: "CallWithSignatureNonces";
|
557
|
-
readonly namespace: "";
|
669
|
+
readonly label: "CallWithSignatureNonces";
|
558
670
|
readonly type: "table";
|
559
|
-
readonly
|
671
|
+
readonly namespace: string;
|
672
|
+
readonly name: string;
|
673
|
+
readonly tableId: `0x${string}`;
|
560
674
|
readonly schema: {
|
561
675
|
readonly signer: {
|
562
676
|
readonly type: "address";
|
@@ -567,47 +681,525 @@ declare const _default: {
|
|
567
681
|
readonly internalType: "uint256";
|
568
682
|
};
|
569
683
|
};
|
684
|
+
readonly key: readonly ["signer"];
|
570
685
|
readonly codegen: {
|
571
|
-
readonly outputDirectory:
|
686
|
+
readonly outputDirectory: "../modules/callwithsignature/tables";
|
572
687
|
readonly tableIdArgument: false;
|
573
688
|
readonly storeArgument: false;
|
574
689
|
readonly dataStruct: boolean;
|
575
690
|
};
|
576
|
-
readonly deploy: {
|
691
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
577
692
|
readonly disabled: false;
|
578
|
-
}
|
579
|
-
};
|
580
|
-
};
|
581
|
-
readonly userTypes: {
|
582
|
-
ResourceId: {
|
583
|
-
filePath: string;
|
584
|
-
type: "bytes32";
|
693
|
+
}>;
|
585
694
|
};
|
586
695
|
};
|
696
|
+
readonly sourceDirectory: "src";
|
587
697
|
readonly enums: {};
|
698
|
+
readonly multipleNamespaces: false;
|
588
699
|
readonly enumValues: {};
|
589
|
-
readonly
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
700
|
+
readonly namespaces: resolveNamespaces<{
|
701
|
+
readonly "": {
|
702
|
+
userTypes: {
|
703
|
+
readonly ResourceId: {
|
704
|
+
readonly filePath: "@latticexyz/store/src/ResourceId.sol";
|
705
|
+
readonly type: "bytes32";
|
706
|
+
};
|
707
|
+
};
|
708
|
+
tables: {
|
709
|
+
/************************************************************************
|
710
|
+
*
|
711
|
+
* KEYS WITH VALUE MODULE
|
712
|
+
*
|
713
|
+
************************************************************************/
|
714
|
+
readonly KeysWithValue: {
|
715
|
+
readonly schema: {
|
716
|
+
readonly valueHash: "bytes32";
|
717
|
+
readonly keysWithValue: "bytes32[]";
|
718
|
+
};
|
719
|
+
readonly key: readonly ["valueHash"];
|
720
|
+
readonly codegen: {
|
721
|
+
readonly outputDirectory: "../modules/keyswithvalue/tables";
|
722
|
+
readonly tableIdArgument: true;
|
723
|
+
readonly storeArgument: true;
|
724
|
+
};
|
725
|
+
};
|
726
|
+
/************************************************************************
|
727
|
+
*
|
728
|
+
* KEYS IN TABLE MODULE
|
729
|
+
*
|
730
|
+
************************************************************************/
|
731
|
+
readonly KeysInTable: {
|
732
|
+
readonly schema: {
|
733
|
+
readonly sourceTableId: "ResourceId";
|
734
|
+
readonly keys0: "bytes32[]";
|
735
|
+
readonly keys1: "bytes32[]";
|
736
|
+
readonly keys2: "bytes32[]";
|
737
|
+
readonly keys3: "bytes32[]";
|
738
|
+
readonly keys4: "bytes32[]";
|
739
|
+
};
|
740
|
+
readonly key: readonly ["sourceTableId"];
|
741
|
+
readonly codegen: {
|
742
|
+
readonly outputDirectory: "../modules/keysintable/tables";
|
743
|
+
readonly storeArgument: true;
|
744
|
+
};
|
745
|
+
};
|
746
|
+
readonly UsedKeysIndex: {
|
747
|
+
readonly schema: {
|
748
|
+
readonly sourceTableId: "ResourceId";
|
749
|
+
readonly keysHash: "bytes32";
|
750
|
+
readonly has: "bool";
|
751
|
+
readonly index: "uint40";
|
752
|
+
};
|
753
|
+
readonly key: readonly ["sourceTableId", "keysHash"];
|
754
|
+
readonly codegen: {
|
755
|
+
readonly outputDirectory: "../modules/keysintable/tables";
|
756
|
+
readonly dataStruct: false;
|
757
|
+
readonly storeArgument: true;
|
758
|
+
};
|
759
|
+
};
|
760
|
+
/************************************************************************
|
761
|
+
*
|
762
|
+
* UNIQUE ENTITY MODULE
|
763
|
+
*
|
764
|
+
************************************************************************/
|
765
|
+
readonly UniqueEntity: {
|
766
|
+
readonly schema: {
|
767
|
+
readonly value: "uint256";
|
768
|
+
};
|
769
|
+
readonly key: readonly [];
|
770
|
+
readonly codegen: {
|
771
|
+
readonly outputDirectory: "../modules/uniqueentity/tables";
|
772
|
+
readonly tableIdArgument: true;
|
773
|
+
readonly storeArgument: true;
|
774
|
+
};
|
775
|
+
};
|
776
|
+
/************************************************************************
|
777
|
+
*
|
778
|
+
* STD DELEGATIONS MODULE
|
779
|
+
*
|
780
|
+
************************************************************************/
|
781
|
+
readonly CallboundDelegations: {
|
782
|
+
readonly schema: {
|
783
|
+
readonly delegator: "address";
|
784
|
+
readonly delegatee: "address";
|
785
|
+
readonly systemId: "ResourceId";
|
786
|
+
readonly callDataHash: "bytes32";
|
787
|
+
readonly availableCalls: "uint256";
|
788
|
+
};
|
789
|
+
readonly key: readonly ["delegator", "delegatee", "systemId", "callDataHash"];
|
790
|
+
readonly codegen: {
|
791
|
+
readonly outputDirectory: "../modules/std-delegations/tables";
|
792
|
+
};
|
793
|
+
};
|
794
|
+
readonly SystemboundDelegations: {
|
795
|
+
readonly schema: {
|
796
|
+
readonly delegator: "address";
|
797
|
+
readonly delegatee: "address";
|
798
|
+
readonly systemId: "ResourceId";
|
799
|
+
readonly availableCalls: "uint256";
|
800
|
+
};
|
801
|
+
readonly key: readonly ["delegator", "delegatee", "systemId"];
|
802
|
+
readonly codegen: {
|
803
|
+
readonly outputDirectory: "../modules/std-delegations/tables";
|
804
|
+
};
|
805
|
+
};
|
806
|
+
readonly TimeboundDelegations: {
|
807
|
+
readonly schema: {
|
808
|
+
readonly delegator: "address";
|
809
|
+
readonly delegatee: "address";
|
810
|
+
readonly maxTimestamp: "uint256";
|
811
|
+
};
|
812
|
+
readonly key: readonly ["delegator", "delegatee"];
|
813
|
+
readonly codegen: {
|
814
|
+
readonly outputDirectory: "../modules/std-delegations/tables";
|
815
|
+
};
|
816
|
+
};
|
817
|
+
/************************************************************************
|
818
|
+
*
|
819
|
+
* PUPPET MODULE
|
820
|
+
*
|
821
|
+
************************************************************************/
|
822
|
+
readonly PuppetRegistry: {
|
823
|
+
readonly schema: {
|
824
|
+
readonly systemId: "ResourceId";
|
825
|
+
readonly puppet: "address";
|
826
|
+
};
|
827
|
+
readonly key: readonly ["systemId"];
|
828
|
+
readonly codegen: {
|
829
|
+
readonly outputDirectory: "../modules/puppet/tables";
|
830
|
+
readonly tableIdArgument: true;
|
831
|
+
};
|
832
|
+
};
|
833
|
+
/************************************************************************
|
834
|
+
*
|
835
|
+
* TOKEN TABLES (SHARED BY ERC20, ERC721)
|
836
|
+
*
|
837
|
+
************************************************************************/
|
838
|
+
readonly Balances: {
|
839
|
+
readonly schema: {
|
840
|
+
readonly account: "address";
|
841
|
+
readonly value: "uint256";
|
842
|
+
};
|
843
|
+
readonly key: readonly ["account"];
|
844
|
+
readonly codegen: {
|
845
|
+
readonly outputDirectory: "../modules/tokens/tables";
|
846
|
+
readonly tableIdArgument: true;
|
847
|
+
};
|
848
|
+
};
|
849
|
+
/************************************************************************
|
850
|
+
*
|
851
|
+
* ERC20 MODULE
|
852
|
+
*
|
853
|
+
************************************************************************/
|
854
|
+
readonly ERC20Metadata: {
|
855
|
+
readonly schema: {
|
856
|
+
readonly decimals: "uint8";
|
857
|
+
readonly name: "string";
|
858
|
+
readonly symbol: "string";
|
859
|
+
};
|
860
|
+
readonly key: readonly [];
|
861
|
+
readonly codegen: {
|
862
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
863
|
+
readonly tableIdArgument: true;
|
864
|
+
};
|
865
|
+
};
|
866
|
+
readonly Allowances: {
|
867
|
+
readonly schema: {
|
868
|
+
readonly account: "address";
|
869
|
+
readonly spender: "address";
|
870
|
+
readonly value: "uint256";
|
871
|
+
};
|
872
|
+
readonly key: readonly ["account", "spender"];
|
873
|
+
readonly codegen: {
|
874
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
875
|
+
readonly tableIdArgument: true;
|
876
|
+
};
|
877
|
+
};
|
878
|
+
readonly TotalSupply: {
|
879
|
+
readonly schema: {
|
880
|
+
readonly totalSupply: "uint256";
|
881
|
+
};
|
882
|
+
readonly key: readonly [];
|
883
|
+
readonly codegen: {
|
884
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
885
|
+
readonly tableIdArgument: true;
|
886
|
+
};
|
887
|
+
};
|
888
|
+
readonly ERC20Registry: {
|
889
|
+
readonly schema: {
|
890
|
+
readonly namespaceId: "ResourceId";
|
891
|
+
readonly tokenAddress: "address";
|
892
|
+
};
|
893
|
+
readonly key: readonly ["namespaceId"];
|
894
|
+
readonly codegen: {
|
895
|
+
readonly outputDirectory: "../modules/erc20-puppet/tables";
|
896
|
+
readonly tableIdArgument: true;
|
897
|
+
};
|
898
|
+
};
|
899
|
+
/************************************************************************
|
900
|
+
*
|
901
|
+
* ERC721 MODULE
|
902
|
+
*
|
903
|
+
************************************************************************/
|
904
|
+
readonly ERC721Metadata: {
|
905
|
+
readonly schema: {
|
906
|
+
readonly name: "string";
|
907
|
+
readonly symbol: "string";
|
908
|
+
readonly baseURI: "string";
|
909
|
+
};
|
910
|
+
readonly key: readonly [];
|
911
|
+
readonly codegen: {
|
912
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
913
|
+
readonly tableIdArgument: true;
|
914
|
+
};
|
915
|
+
};
|
916
|
+
readonly TokenURI: {
|
917
|
+
readonly schema: {
|
918
|
+
readonly tokenId: "uint256";
|
919
|
+
readonly tokenURI: "string";
|
920
|
+
};
|
921
|
+
readonly key: readonly ["tokenId"];
|
922
|
+
readonly codegen: {
|
923
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
924
|
+
readonly tableIdArgument: true;
|
925
|
+
};
|
926
|
+
};
|
927
|
+
readonly Owners: {
|
928
|
+
readonly schema: {
|
929
|
+
readonly tokenId: "uint256";
|
930
|
+
readonly owner: "address";
|
931
|
+
};
|
932
|
+
readonly key: readonly ["tokenId"];
|
933
|
+
readonly codegen: {
|
934
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
935
|
+
readonly tableIdArgument: true;
|
936
|
+
};
|
937
|
+
};
|
938
|
+
readonly TokenApproval: {
|
939
|
+
readonly schema: {
|
940
|
+
readonly tokenId: "uint256";
|
941
|
+
readonly account: "address";
|
942
|
+
};
|
943
|
+
readonly key: readonly ["tokenId"];
|
944
|
+
readonly codegen: {
|
945
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
946
|
+
readonly tableIdArgument: true;
|
947
|
+
};
|
948
|
+
};
|
949
|
+
readonly OperatorApproval: {
|
950
|
+
readonly schema: {
|
951
|
+
readonly owner: "address";
|
952
|
+
readonly operator: "address";
|
953
|
+
readonly approved: "bool";
|
954
|
+
};
|
955
|
+
readonly key: readonly ["owner", "operator"];
|
956
|
+
readonly codegen: {
|
957
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
958
|
+
readonly tableIdArgument: true;
|
959
|
+
};
|
960
|
+
};
|
961
|
+
readonly ERC721Registry: {
|
962
|
+
readonly schema: {
|
963
|
+
readonly namespaceId: "ResourceId";
|
964
|
+
readonly tokenAddress: "address";
|
965
|
+
};
|
966
|
+
readonly key: readonly ["namespaceId"];
|
967
|
+
readonly codegen: {
|
968
|
+
readonly outputDirectory: "../modules/erc721-puppet/tables";
|
969
|
+
readonly tableIdArgument: true;
|
970
|
+
};
|
971
|
+
};
|
972
|
+
/************************************************************************
|
973
|
+
*
|
974
|
+
* REGISTER DELEGATION WITH SIGNATURE MODULE
|
975
|
+
*
|
976
|
+
************************************************************************/
|
977
|
+
readonly CallWithSignatureNonces: {
|
978
|
+
readonly schema: {
|
979
|
+
readonly signer: "address";
|
980
|
+
readonly nonce: "uint256";
|
981
|
+
};
|
982
|
+
readonly key: readonly ["signer"];
|
983
|
+
readonly codegen: {
|
984
|
+
readonly outputDirectory: "../modules/callwithsignature/tables";
|
985
|
+
};
|
986
|
+
};
|
987
|
+
};
|
988
|
+
excludeSystems: readonly ["UniqueEntitySystem", "PuppetFactorySystem", "ERC20System", "ERC721System", "Unstable_CallWithSignatureSystem"];
|
989
|
+
};
|
990
|
+
}, {
|
991
|
+
types: {
|
992
|
+
string: "string";
|
993
|
+
bytes32: "bytes32";
|
994
|
+
uint8: "uint8";
|
995
|
+
uint16: "uint16";
|
996
|
+
uint24: "uint24";
|
997
|
+
uint32: "uint32";
|
998
|
+
uint40: "uint40";
|
999
|
+
uint48: "uint48";
|
1000
|
+
uint56: "uint56";
|
1001
|
+
uint64: "uint64";
|
1002
|
+
uint72: "uint72";
|
1003
|
+
uint80: "uint80";
|
1004
|
+
uint88: "uint88";
|
1005
|
+
uint96: "uint96";
|
1006
|
+
uint104: "uint104";
|
1007
|
+
uint112: "uint112";
|
1008
|
+
uint120: "uint120";
|
1009
|
+
uint128: "uint128";
|
1010
|
+
uint136: "uint136";
|
1011
|
+
uint144: "uint144";
|
1012
|
+
uint152: "uint152";
|
1013
|
+
uint160: "uint160";
|
1014
|
+
uint168: "uint168";
|
1015
|
+
uint176: "uint176";
|
1016
|
+
uint184: "uint184";
|
1017
|
+
uint192: "uint192";
|
1018
|
+
uint200: "uint200";
|
1019
|
+
uint208: "uint208";
|
1020
|
+
uint216: "uint216";
|
1021
|
+
uint224: "uint224";
|
1022
|
+
uint232: "uint232";
|
1023
|
+
uint240: "uint240";
|
1024
|
+
uint248: "uint248";
|
1025
|
+
uint256: "uint256";
|
1026
|
+
int8: "int8";
|
1027
|
+
int16: "int16";
|
1028
|
+
int24: "int24";
|
1029
|
+
int32: "int32";
|
1030
|
+
int40: "int40";
|
1031
|
+
int48: "int48";
|
1032
|
+
int56: "int56";
|
1033
|
+
int64: "int64";
|
1034
|
+
int72: "int72";
|
1035
|
+
int80: "int80";
|
1036
|
+
int88: "int88";
|
1037
|
+
int96: "int96";
|
1038
|
+
int104: "int104";
|
1039
|
+
int112: "int112";
|
1040
|
+
int120: "int120";
|
1041
|
+
int128: "int128";
|
1042
|
+
int136: "int136";
|
1043
|
+
int144: "int144";
|
1044
|
+
int152: "int152";
|
1045
|
+
int160: "int160";
|
1046
|
+
int168: "int168";
|
1047
|
+
int176: "int176";
|
1048
|
+
int184: "int184";
|
1049
|
+
int192: "int192";
|
1050
|
+
int200: "int200";
|
1051
|
+
int208: "int208";
|
1052
|
+
int216: "int216";
|
1053
|
+
int224: "int224";
|
1054
|
+
int232: "int232";
|
1055
|
+
int240: "int240";
|
1056
|
+
int248: "int248";
|
1057
|
+
int256: "int256";
|
1058
|
+
bytes1: "bytes1";
|
1059
|
+
bytes2: "bytes2";
|
1060
|
+
bytes3: "bytes3";
|
1061
|
+
bytes4: "bytes4";
|
1062
|
+
bytes5: "bytes5";
|
1063
|
+
bytes6: "bytes6";
|
1064
|
+
bytes7: "bytes7";
|
1065
|
+
bytes8: "bytes8";
|
1066
|
+
bytes9: "bytes9";
|
1067
|
+
bytes10: "bytes10";
|
1068
|
+
bytes11: "bytes11";
|
1069
|
+
bytes12: "bytes12";
|
1070
|
+
bytes13: "bytes13";
|
1071
|
+
bytes14: "bytes14";
|
1072
|
+
bytes15: "bytes15";
|
1073
|
+
bytes16: "bytes16";
|
1074
|
+
bytes17: "bytes17";
|
1075
|
+
bytes18: "bytes18";
|
1076
|
+
bytes19: "bytes19";
|
1077
|
+
bytes20: "bytes20";
|
1078
|
+
bytes21: "bytes21";
|
1079
|
+
bytes22: "bytes22";
|
1080
|
+
bytes23: "bytes23";
|
1081
|
+
bytes24: "bytes24";
|
1082
|
+
bytes25: "bytes25";
|
1083
|
+
bytes26: "bytes26";
|
1084
|
+
bytes27: "bytes27";
|
1085
|
+
bytes28: "bytes28";
|
1086
|
+
bytes29: "bytes29";
|
1087
|
+
bytes30: "bytes30";
|
1088
|
+
bytes31: "bytes31";
|
1089
|
+
bool: "bool";
|
1090
|
+
address: "address";
|
1091
|
+
"uint8[]": "uint8[]";
|
1092
|
+
"uint16[]": "uint16[]";
|
1093
|
+
"uint24[]": "uint24[]";
|
1094
|
+
"uint32[]": "uint32[]";
|
1095
|
+
"uint40[]": "uint40[]";
|
1096
|
+
"uint48[]": "uint48[]";
|
1097
|
+
"uint56[]": "uint56[]";
|
1098
|
+
"uint64[]": "uint64[]";
|
1099
|
+
"uint72[]": "uint72[]";
|
1100
|
+
"uint80[]": "uint80[]";
|
1101
|
+
"uint88[]": "uint88[]";
|
1102
|
+
"uint96[]": "uint96[]";
|
1103
|
+
"uint104[]": "uint104[]";
|
1104
|
+
"uint112[]": "uint112[]";
|
1105
|
+
"uint120[]": "uint120[]";
|
1106
|
+
"uint128[]": "uint128[]";
|
1107
|
+
"uint136[]": "uint136[]";
|
1108
|
+
"uint144[]": "uint144[]";
|
1109
|
+
"uint152[]": "uint152[]";
|
1110
|
+
"uint160[]": "uint160[]";
|
1111
|
+
"uint168[]": "uint168[]";
|
1112
|
+
"uint176[]": "uint176[]";
|
1113
|
+
"uint184[]": "uint184[]";
|
1114
|
+
"uint192[]": "uint192[]";
|
1115
|
+
"uint200[]": "uint200[]";
|
1116
|
+
"uint208[]": "uint208[]";
|
1117
|
+
"uint216[]": "uint216[]";
|
1118
|
+
"uint224[]": "uint224[]";
|
1119
|
+
"uint232[]": "uint232[]";
|
1120
|
+
"uint240[]": "uint240[]";
|
1121
|
+
"uint248[]": "uint248[]";
|
1122
|
+
"uint256[]": "uint256[]";
|
1123
|
+
"int8[]": "int8[]";
|
1124
|
+
"int16[]": "int16[]";
|
1125
|
+
"int24[]": "int24[]";
|
1126
|
+
"int32[]": "int32[]";
|
1127
|
+
"int40[]": "int40[]";
|
1128
|
+
"int48[]": "int48[]";
|
1129
|
+
"int56[]": "int56[]";
|
1130
|
+
"int64[]": "int64[]";
|
1131
|
+
"int72[]": "int72[]";
|
1132
|
+
"int80[]": "int80[]";
|
1133
|
+
"int88[]": "int88[]";
|
1134
|
+
"int96[]": "int96[]";
|
1135
|
+
"int104[]": "int104[]";
|
1136
|
+
"int112[]": "int112[]";
|
1137
|
+
"int120[]": "int120[]";
|
1138
|
+
"int128[]": "int128[]";
|
1139
|
+
"int136[]": "int136[]";
|
1140
|
+
"int144[]": "int144[]";
|
1141
|
+
"int152[]": "int152[]";
|
1142
|
+
"int160[]": "int160[]";
|
1143
|
+
"int168[]": "int168[]";
|
1144
|
+
"int176[]": "int176[]";
|
1145
|
+
"int184[]": "int184[]";
|
1146
|
+
"int192[]": "int192[]";
|
1147
|
+
"int200[]": "int200[]";
|
1148
|
+
"int208[]": "int208[]";
|
1149
|
+
"int216[]": "int216[]";
|
1150
|
+
"int224[]": "int224[]";
|
1151
|
+
"int232[]": "int232[]";
|
1152
|
+
"int240[]": "int240[]";
|
1153
|
+
"int248[]": "int248[]";
|
1154
|
+
"int256[]": "int256[]";
|
1155
|
+
"bytes1[]": "bytes1[]";
|
1156
|
+
"bytes2[]": "bytes2[]";
|
1157
|
+
"bytes3[]": "bytes3[]";
|
1158
|
+
"bytes4[]": "bytes4[]";
|
1159
|
+
"bytes5[]": "bytes5[]";
|
1160
|
+
"bytes6[]": "bytes6[]";
|
1161
|
+
"bytes7[]": "bytes7[]";
|
1162
|
+
"bytes8[]": "bytes8[]";
|
1163
|
+
"bytes9[]": "bytes9[]";
|
1164
|
+
"bytes10[]": "bytes10[]";
|
1165
|
+
"bytes11[]": "bytes11[]";
|
1166
|
+
"bytes12[]": "bytes12[]";
|
1167
|
+
"bytes13[]": "bytes13[]";
|
1168
|
+
"bytes14[]": "bytes14[]";
|
1169
|
+
"bytes15[]": "bytes15[]";
|
1170
|
+
"bytes16[]": "bytes16[]";
|
1171
|
+
"bytes17[]": "bytes17[]";
|
1172
|
+
"bytes18[]": "bytes18[]";
|
1173
|
+
"bytes19[]": "bytes19[]";
|
1174
|
+
"bytes20[]": "bytes20[]";
|
1175
|
+
"bytes21[]": "bytes21[]";
|
1176
|
+
"bytes22[]": "bytes22[]";
|
1177
|
+
"bytes23[]": "bytes23[]";
|
1178
|
+
"bytes24[]": "bytes24[]";
|
1179
|
+
"bytes25[]": "bytes25[]";
|
1180
|
+
"bytes26[]": "bytes26[]";
|
1181
|
+
"bytes27[]": "bytes27[]";
|
1182
|
+
"bytes28[]": "bytes28[]";
|
1183
|
+
"bytes29[]": "bytes29[]";
|
1184
|
+
"bytes30[]": "bytes30[]";
|
1185
|
+
"bytes31[]": "bytes31[]";
|
1186
|
+
"bytes32[]": "bytes32[]";
|
1187
|
+
"bool[]": "bool[]";
|
1188
|
+
"address[]": "address[]";
|
1189
|
+
bytes: "bytes";
|
1190
|
+
readonly ResourceId: "bytes32";
|
1191
|
+
};
|
1192
|
+
}>;
|
601
1193
|
readonly systems: {};
|
602
|
-
readonly excludeSystems:
|
1194
|
+
readonly excludeSystems: readonly ["UniqueEntitySystem", "PuppetFactorySystem", "ERC20System", "ERC721System", "Unstable_CallWithSignatureSystem"];
|
603
1195
|
readonly modules: readonly [];
|
604
|
-
readonly deploy: {
|
1196
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
605
1197
|
readonly customWorldContract: undefined;
|
606
1198
|
readonly postDeployScript: "PostDeploy";
|
607
1199
|
readonly deploysDirectory: "./deploys";
|
608
1200
|
readonly worldsFile: "./worlds.json";
|
609
1201
|
readonly upgradeableWorldImplementation: false;
|
610
|
-
}
|
1202
|
+
}>;
|
611
1203
|
};
|
612
1204
|
|
613
1205
|
export { _default as default };
|