@latticexyz/world-module-erc20 2.2.18-f0433092876e2ac9b5b12cd0ecae9c120a2d0368 → 2.2.18
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/_esm-H47RQ4ED.js +3915 -0
- package/dist/{_esm-BQNWKNND.js.map → _esm-H47RQ4ED.js.map} +1 -1
- package/dist/ccip-VJWDNI4X.js +15 -0
- package/dist/chunk-2VXHCW2O.js +132 -0
- package/dist/{chunk-TJJDXMQ6.js.map → chunk-2VXHCW2O.js.map} +1 -1
- package/dist/chunk-LIWKL347.js +3833 -0
- package/dist/{chunk-GSBUANUZ.js.map → chunk-LIWKL347.js.map} +1 -1
- package/dist/chunk-PR4QN5HX.js +43 -0
- package/dist/internal.js +27 -1
- package/dist/internal.js.map +1 -1
- package/dist/mud.config.js +83 -1
- package/dist/mud.config.js.map +1 -1
- package/dist/secp256k1-XVT662DN.js +2395 -0
- package/dist/{secp256k1-UMYSD4MC.js.map → secp256k1-XVT662DN.js.map} +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.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/Context.sol/Context.abi.json +15 -1
- package/out/Context.sol/Context.abi.json.d.ts +17 -0
- package/out/Context.sol/Context.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +13 -0
- package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +13 -0
- package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json +13 -0
- package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts +13 -0
- package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +95 -3
- package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +95 -3
- package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +1 -1
- package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +13 -0
- package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +13 -0
- package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -1
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +13 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +13 -0
- package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -1
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +95 -3
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +95 -3
- package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -1
- 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 +13 -0
- package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +13 -0
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +13 -0
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +13 -0
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +13 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +13 -0
- package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +95 -3
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +95 -3
- package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -1
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +13 -0
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +13 -0
- package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -1
- package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +95 -3
- package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +95 -3
- package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -1
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/MUDERC20.sol/MUDERC20.abi.json +13 -0
- package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +13 -0
- package/out/MUDERC20.sol/MUDERC20.json +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/Ownable.sol/Ownable.abi.json +13 -0
- package/out/Ownable.sol/Ownable.abi.json.d.ts +13 -0
- package/out/Ownable.sol/Ownable.json +1 -1
- package/out/Pausable.sol/Pausable.abi.json +13 -0
- package/out/Pausable.sol/Pausable.abi.json.d.ts +13 -0
- package/out/Pausable.sol/Pausable.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/StoreConsumer.sol/StoreConsumer.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/SystemCall.sol/SystemCall.json +1 -1
- package/out/WithStore.sol/WithStore.abi.json +13 -0
- package/out/WithStore.sol/WithStore.abi.json.d.ts +13 -0
- package/out/WithStore.sol/WithStore.json +1 -1
- package/out/WithWorld.sol/WithWorld.abi.json +95 -3
- package/out/WithWorld.sol/WithWorld.abi.json.d.ts +95 -3
- package/out/WithWorld.sol/WithWorld.json +1 -1
- package/out/World.sol/World.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/{04cd01b00610d99132b6410373c2f462.json → 60c60a9593fdb00b3264c36836a28f39.json} +1 -1
- package/package.json +8 -8
- package/src/examples/ERC20WithWorld.sol +5 -0
- package/src/experimental/Constants.sol +7 -7
- package/src/experimental/ERC20Module.sol +9 -1
- package/dist/_esm-BQNWKNND.js +0 -10
- package/dist/ccip-YAWUVTAX.js +0 -2
- package/dist/chunk-GSBUANUZ.js +0 -30
- package/dist/chunk-LURIOADG.js +0 -2
- package/dist/chunk-TJJDXMQ6.js +0 -7
- package/dist/secp256k1-UMYSD4MC.js +0 -22
- /package/dist/{ccip-YAWUVTAX.js.map → ccip-VJWDNI4X.js.map} +0 -0
- /package/dist/{chunk-LURIOADG.js.map → chunk-PR4QN5HX.js.map} +0 -0
|
@@ -35,6 +35,45 @@
|
|
|
35
35
|
"outputs": [],
|
|
36
36
|
"stateMutability": "nonpayable"
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"type": "function",
|
|
40
|
+
"name": "_msgSender",
|
|
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": "pure"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "function",
|
|
66
|
+
"name": "_world",
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"outputs": [
|
|
69
|
+
{
|
|
70
|
+
"name": "",
|
|
71
|
+
"type": "address",
|
|
72
|
+
"internalType": "address"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"stateMutability": "view"
|
|
76
|
+
},
|
|
38
77
|
{
|
|
39
78
|
"type": "function",
|
|
40
79
|
"name": "allowance",
|
|
@@ -211,6 +250,25 @@
|
|
|
211
250
|
],
|
|
212
251
|
"stateMutability": "view"
|
|
213
252
|
},
|
|
253
|
+
{
|
|
254
|
+
"type": "function",
|
|
255
|
+
"name": "supportsInterface",
|
|
256
|
+
"inputs": [
|
|
257
|
+
{
|
|
258
|
+
"name": "interfaceId",
|
|
259
|
+
"type": "bytes4",
|
|
260
|
+
"internalType": "bytes4"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"outputs": [
|
|
264
|
+
{
|
|
265
|
+
"name": "",
|
|
266
|
+
"type": "bool",
|
|
267
|
+
"internalType": "bool"
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"stateMutability": "pure"
|
|
271
|
+
},
|
|
214
272
|
{
|
|
215
273
|
"type": "function",
|
|
216
274
|
"name": "symbol",
|
|
@@ -753,17 +811,51 @@
|
|
|
753
811
|
{
|
|
754
812
|
"type": "error",
|
|
755
813
|
"name": "WithWorld_CallerHasNoNamespaceAccess",
|
|
756
|
-
"inputs": [
|
|
814
|
+
"inputs": [
|
|
815
|
+
{
|
|
816
|
+
"name": "namespace",
|
|
817
|
+
"type": "bytes14",
|
|
818
|
+
"internalType": "bytes14"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "caller",
|
|
822
|
+
"type": "address",
|
|
823
|
+
"internalType": "address"
|
|
824
|
+
}
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"type": "error",
|
|
829
|
+
"name": "WithWorld_CallerIsNotWorld",
|
|
830
|
+
"inputs": [
|
|
831
|
+
{
|
|
832
|
+
"name": "caller",
|
|
833
|
+
"type": "address",
|
|
834
|
+
"internalType": "address"
|
|
835
|
+
}
|
|
836
|
+
]
|
|
757
837
|
},
|
|
758
838
|
{
|
|
759
839
|
"type": "error",
|
|
760
840
|
"name": "WithWorld_NamespaceAlreadyExists",
|
|
761
|
-
"inputs": [
|
|
841
|
+
"inputs": [
|
|
842
|
+
{
|
|
843
|
+
"name": "namespace",
|
|
844
|
+
"type": "bytes14",
|
|
845
|
+
"internalType": "bytes14"
|
|
846
|
+
}
|
|
847
|
+
]
|
|
762
848
|
},
|
|
763
849
|
{
|
|
764
850
|
"type": "error",
|
|
765
851
|
"name": "WithWorld_NamespaceDoesNotExists",
|
|
766
|
-
"inputs": [
|
|
852
|
+
"inputs": [
|
|
853
|
+
{
|
|
854
|
+
"name": "namespace",
|
|
855
|
+
"type": "bytes14",
|
|
856
|
+
"internalType": "bytes14"
|
|
857
|
+
}
|
|
858
|
+
]
|
|
767
859
|
},
|
|
768
860
|
{
|
|
769
861
|
"type": "error",
|
|
@@ -35,6 +35,45 @@ declare const abi: [
|
|
|
35
35
|
"outputs": [],
|
|
36
36
|
"stateMutability": "nonpayable"
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
"type": "function",
|
|
40
|
+
"name": "_msgSender",
|
|
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": "pure"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "function",
|
|
66
|
+
"name": "_world",
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"outputs": [
|
|
69
|
+
{
|
|
70
|
+
"name": "",
|
|
71
|
+
"type": "address",
|
|
72
|
+
"internalType": "address"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"stateMutability": "view"
|
|
76
|
+
},
|
|
38
77
|
{
|
|
39
78
|
"type": "function",
|
|
40
79
|
"name": "allowance",
|
|
@@ -211,6 +250,25 @@ declare const abi: [
|
|
|
211
250
|
],
|
|
212
251
|
"stateMutability": "view"
|
|
213
252
|
},
|
|
253
|
+
{
|
|
254
|
+
"type": "function",
|
|
255
|
+
"name": "supportsInterface",
|
|
256
|
+
"inputs": [
|
|
257
|
+
{
|
|
258
|
+
"name": "interfaceId",
|
|
259
|
+
"type": "bytes4",
|
|
260
|
+
"internalType": "bytes4"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"outputs": [
|
|
264
|
+
{
|
|
265
|
+
"name": "",
|
|
266
|
+
"type": "bool",
|
|
267
|
+
"internalType": "bool"
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"stateMutability": "pure"
|
|
271
|
+
},
|
|
214
272
|
{
|
|
215
273
|
"type": "function",
|
|
216
274
|
"name": "symbol",
|
|
@@ -753,17 +811,51 @@ declare const abi: [
|
|
|
753
811
|
{
|
|
754
812
|
"type": "error",
|
|
755
813
|
"name": "WithWorld_CallerHasNoNamespaceAccess",
|
|
756
|
-
"inputs": [
|
|
814
|
+
"inputs": [
|
|
815
|
+
{
|
|
816
|
+
"name": "namespace",
|
|
817
|
+
"type": "bytes14",
|
|
818
|
+
"internalType": "bytes14"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "caller",
|
|
822
|
+
"type": "address",
|
|
823
|
+
"internalType": "address"
|
|
824
|
+
}
|
|
825
|
+
]
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"type": "error",
|
|
829
|
+
"name": "WithWorld_CallerIsNotWorld",
|
|
830
|
+
"inputs": [
|
|
831
|
+
{
|
|
832
|
+
"name": "caller",
|
|
833
|
+
"type": "address",
|
|
834
|
+
"internalType": "address"
|
|
835
|
+
}
|
|
836
|
+
]
|
|
757
837
|
},
|
|
758
838
|
{
|
|
759
839
|
"type": "error",
|
|
760
840
|
"name": "WithWorld_NamespaceAlreadyExists",
|
|
761
|
-
"inputs": [
|
|
841
|
+
"inputs": [
|
|
842
|
+
{
|
|
843
|
+
"name": "namespace",
|
|
844
|
+
"type": "bytes14",
|
|
845
|
+
"internalType": "bytes14"
|
|
846
|
+
}
|
|
847
|
+
]
|
|
762
848
|
},
|
|
763
849
|
{
|
|
764
850
|
"type": "error",
|
|
765
851
|
"name": "WithWorld_NamespaceDoesNotExists",
|
|
766
|
-
"inputs": [
|
|
852
|
+
"inputs": [
|
|
853
|
+
{
|
|
854
|
+
"name": "namespace",
|
|
855
|
+
"type": "bytes14",
|
|
856
|
+
"internalType": "bytes14"
|
|
857
|
+
}
|
|
858
|
+
]
|
|
767
859
|
},
|
|
768
860
|
{
|
|
769
861
|
"type": "error",
|