@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.
Files changed (120) hide show
  1. package/dist/_esm-H47RQ4ED.js +3915 -0
  2. package/dist/{_esm-BQNWKNND.js.map → _esm-H47RQ4ED.js.map} +1 -1
  3. package/dist/ccip-VJWDNI4X.js +15 -0
  4. package/dist/chunk-2VXHCW2O.js +132 -0
  5. package/dist/{chunk-TJJDXMQ6.js.map → chunk-2VXHCW2O.js.map} +1 -1
  6. package/dist/chunk-LIWKL347.js +3833 -0
  7. package/dist/{chunk-GSBUANUZ.js.map → chunk-LIWKL347.js.map} +1 -1
  8. package/dist/chunk-PR4QN5HX.js +43 -0
  9. package/dist/internal.js +27 -1
  10. package/dist/internal.js.map +1 -1
  11. package/dist/mud.config.js +83 -1
  12. package/dist/mud.config.js.map +1 -1
  13. package/dist/secp256k1-XVT662DN.js +2395 -0
  14. package/dist/{secp256k1-UMYSD4MC.js.map → secp256k1-XVT662DN.js.map} +1 -1
  15. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  16. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  17. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  18. package/out/Constants.sol/ERC20TableNames.json +1 -1
  19. package/out/Constants.sol/ModuleConstants.json +1 -1
  20. package/out/Constants.sol/OwnableTableNames.json +1 -1
  21. package/out/Constants.sol/PausableTableNames.json +1 -1
  22. package/out/Context.sol/Context.abi.json +15 -1
  23. package/out/Context.sol/Context.abi.json.d.ts +17 -0
  24. package/out/Context.sol/Context.json +1 -1
  25. package/out/Delegation.sol/Delegation.json +1 -1
  26. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
  27. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +1 -1
  28. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +1 -1
  29. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +1 -1
  30. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.json +1 -1
  31. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +13 -0
  32. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +13 -0
  33. package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
  34. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json +13 -0
  35. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts +13 -0
  36. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +1 -1
  37. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +95 -3
  38. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +95 -3
  39. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +1 -1
  40. package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
  41. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +13 -0
  42. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +13 -0
  43. package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
  44. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
  45. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -1
  46. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -1
  47. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +13 -0
  48. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +13 -0
  49. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -1
  50. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +95 -3
  51. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +95 -3
  52. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -1
  53. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  54. package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -1
  55. package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
  56. package/out/ERC20Module.t.sol/TestConstants.json +1 -1
  57. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +13 -0
  58. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +13 -0
  59. package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
  60. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
  61. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -1
  62. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -1
  63. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +13 -0
  64. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +13 -0
  65. package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
  66. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +13 -0
  67. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +13 -0
  68. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -1
  69. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +95 -3
  70. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +95 -3
  71. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -1
  72. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +13 -0
  73. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +13 -0
  74. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -1
  75. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +95 -3
  76. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +95 -3
  77. package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -1
  78. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  79. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  80. package/out/InitModule.sol/InitModule.json +1 -1
  81. package/out/MUDERC20.sol/MUDERC20.abi.json +13 -0
  82. package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +13 -0
  83. package/out/MUDERC20.sol/MUDERC20.json +1 -1
  84. package/out/Module.sol/Module.json +1 -1
  85. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  86. package/out/Ownable.sol/Ownable.abi.json +13 -0
  87. package/out/Ownable.sol/Ownable.abi.json.d.ts +13 -0
  88. package/out/Ownable.sol/Ownable.json +1 -1
  89. package/out/Pausable.sol/Pausable.abi.json +13 -0
  90. package/out/Pausable.sol/Pausable.abi.json.d.ts +13 -0
  91. package/out/Pausable.sol/Pausable.json +1 -1
  92. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  93. package/out/StoreConsumer.sol/StoreConsumer.json +1 -1
  94. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  95. package/out/System.sol/System.json +1 -1
  96. package/out/SystemCall.sol/SystemCall.json +1 -1
  97. package/out/WithStore.sol/WithStore.abi.json +13 -0
  98. package/out/WithStore.sol/WithStore.abi.json.d.ts +13 -0
  99. package/out/WithStore.sol/WithStore.json +1 -1
  100. package/out/WithWorld.sol/WithWorld.abi.json +95 -3
  101. package/out/WithWorld.sol/WithWorld.abi.json.d.ts +95 -3
  102. package/out/WithWorld.sol/WithWorld.json +1 -1
  103. package/out/World.sol/World.json +1 -1
  104. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  105. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  106. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  107. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  108. package/out/build-info/{04cd01b00610d99132b6410373c2f462.json → 60c60a9593fdb00b3264c36836a28f39.json} +1 -1
  109. package/package.json +8 -8
  110. package/src/examples/ERC20WithWorld.sol +5 -0
  111. package/src/experimental/Constants.sol +7 -7
  112. package/src/experimental/ERC20Module.sol +9 -1
  113. package/dist/_esm-BQNWKNND.js +0 -10
  114. package/dist/ccip-YAWUVTAX.js +0 -2
  115. package/dist/chunk-GSBUANUZ.js +0 -30
  116. package/dist/chunk-LURIOADG.js +0 -2
  117. package/dist/chunk-TJJDXMQ6.js +0 -7
  118. package/dist/secp256k1-UMYSD4MC.js +0 -22
  119. /package/dist/{ccip-YAWUVTAX.js.map → ccip-VJWDNI4X.js.map} +0 -0
  120. /package/dist/{chunk-LURIOADG.js.map → chunk-PR4QN5HX.js.map} +0 -0
@@ -25,6 +25,45 @@
25
25
  ],
26
26
  "stateMutability": "nonpayable"
27
27
  },
28
+ {
29
+ "type": "function",
30
+ "name": "_msgSender",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "sender",
35
+ "type": "address",
36
+ "internalType": "address"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "_msgValue",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "value",
48
+ "type": "uint256",
49
+ "internalType": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "pure"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "_world",
57
+ "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "address",
62
+ "internalType": "address"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
28
67
  {
29
68
  "type": "function",
30
69
  "name": "allowance",
@@ -239,6 +278,25 @@
239
278
  ],
240
279
  "stateMutability": "view"
241
280
  },
281
+ {
282
+ "type": "function",
283
+ "name": "supportsInterface",
284
+ "inputs": [
285
+ {
286
+ "name": "interfaceId",
287
+ "type": "bytes4",
288
+ "internalType": "bytes4"
289
+ }
290
+ ],
291
+ "outputs": [
292
+ {
293
+ "name": "",
294
+ "type": "bool",
295
+ "internalType": "bool"
296
+ }
297
+ ],
298
+ "stateMutability": "pure"
299
+ },
242
300
  {
243
301
  "type": "function",
244
302
  "name": "symbol",
@@ -824,17 +882,51 @@
824
882
  {
825
883
  "type": "error",
826
884
  "name": "WithWorld_CallerHasNoNamespaceAccess",
827
- "inputs": []
885
+ "inputs": [
886
+ {
887
+ "name": "namespace",
888
+ "type": "bytes14",
889
+ "internalType": "bytes14"
890
+ },
891
+ {
892
+ "name": "caller",
893
+ "type": "address",
894
+ "internalType": "address"
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ "type": "error",
900
+ "name": "WithWorld_CallerIsNotWorld",
901
+ "inputs": [
902
+ {
903
+ "name": "caller",
904
+ "type": "address",
905
+ "internalType": "address"
906
+ }
907
+ ]
828
908
  },
829
909
  {
830
910
  "type": "error",
831
911
  "name": "WithWorld_NamespaceAlreadyExists",
832
- "inputs": []
912
+ "inputs": [
913
+ {
914
+ "name": "namespace",
915
+ "type": "bytes14",
916
+ "internalType": "bytes14"
917
+ }
918
+ ]
833
919
  },
834
920
  {
835
921
  "type": "error",
836
922
  "name": "WithWorld_NamespaceDoesNotExists",
837
- "inputs": []
923
+ "inputs": [
924
+ {
925
+ "name": "namespace",
926
+ "type": "bytes14",
927
+ "internalType": "bytes14"
928
+ }
929
+ ]
838
930
  },
839
931
  {
840
932
  "type": "error",
@@ -25,6 +25,45 @@ declare const abi: [
25
25
  ],
26
26
  "stateMutability": "nonpayable"
27
27
  },
28
+ {
29
+ "type": "function",
30
+ "name": "_msgSender",
31
+ "inputs": [],
32
+ "outputs": [
33
+ {
34
+ "name": "sender",
35
+ "type": "address",
36
+ "internalType": "address"
37
+ }
38
+ ],
39
+ "stateMutability": "view"
40
+ },
41
+ {
42
+ "type": "function",
43
+ "name": "_msgValue",
44
+ "inputs": [],
45
+ "outputs": [
46
+ {
47
+ "name": "value",
48
+ "type": "uint256",
49
+ "internalType": "uint256"
50
+ }
51
+ ],
52
+ "stateMutability": "pure"
53
+ },
54
+ {
55
+ "type": "function",
56
+ "name": "_world",
57
+ "inputs": [],
58
+ "outputs": [
59
+ {
60
+ "name": "",
61
+ "type": "address",
62
+ "internalType": "address"
63
+ }
64
+ ],
65
+ "stateMutability": "view"
66
+ },
28
67
  {
29
68
  "type": "function",
30
69
  "name": "allowance",
@@ -239,6 +278,25 @@ declare const abi: [
239
278
  ],
240
279
  "stateMutability": "view"
241
280
  },
281
+ {
282
+ "type": "function",
283
+ "name": "supportsInterface",
284
+ "inputs": [
285
+ {
286
+ "name": "interfaceId",
287
+ "type": "bytes4",
288
+ "internalType": "bytes4"
289
+ }
290
+ ],
291
+ "outputs": [
292
+ {
293
+ "name": "",
294
+ "type": "bool",
295
+ "internalType": "bool"
296
+ }
297
+ ],
298
+ "stateMutability": "pure"
299
+ },
242
300
  {
243
301
  "type": "function",
244
302
  "name": "symbol",
@@ -824,17 +882,51 @@ declare const abi: [
824
882
  {
825
883
  "type": "error",
826
884
  "name": "WithWorld_CallerHasNoNamespaceAccess",
827
- "inputs": []
885
+ "inputs": [
886
+ {
887
+ "name": "namespace",
888
+ "type": "bytes14",
889
+ "internalType": "bytes14"
890
+ },
891
+ {
892
+ "name": "caller",
893
+ "type": "address",
894
+ "internalType": "address"
895
+ }
896
+ ]
897
+ },
898
+ {
899
+ "type": "error",
900
+ "name": "WithWorld_CallerIsNotWorld",
901
+ "inputs": [
902
+ {
903
+ "name": "caller",
904
+ "type": "address",
905
+ "internalType": "address"
906
+ }
907
+ ]
828
908
  },
829
909
  {
830
910
  "type": "error",
831
911
  "name": "WithWorld_NamespaceAlreadyExists",
832
- "inputs": []
912
+ "inputs": [
913
+ {
914
+ "name": "namespace",
915
+ "type": "bytes14",
916
+ "internalType": "bytes14"
917
+ }
918
+ ]
833
919
  },
834
920
  {
835
921
  "type": "error",
836
922
  "name": "WithWorld_NamespaceDoesNotExists",
837
- "inputs": []
923
+ "inputs": [
924
+ {
925
+ "name": "namespace",
926
+ "type": "bytes14",
927
+ "internalType": "bytes14"
928
+ }
929
+ ]
838
930
  },
839
931
  {
840
932
  "type": "error",