@latticexyz/world-module-erc20 2.2.18-4565714f5e9421cc7b2de56fe51db4434c55f5d1 → 2.2.18-5d6fb1b51da1545b911c55e0cd79bc16ed2cd8f5

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 (95) hide show
  1. package/dist/internal.js +1 -1
  2. package/dist/internal.js.map +1 -1
  3. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  4. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  5. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  6. package/out/Context.sol/Context.abi.json +15 -1
  7. package/out/Context.sol/Context.abi.json.d.ts +17 -0
  8. package/out/Context.sol/Context.json +1 -1
  9. package/out/Delegation.sol/Delegation.json +1 -1
  10. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
  11. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +1 -1
  12. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +1 -1
  13. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +1 -1
  14. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.json +1 -1
  15. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +13 -0
  16. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +13 -0
  17. package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
  18. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json +13 -0
  19. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts +13 -0
  20. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +1 -1
  21. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +95 -3
  22. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +95 -3
  23. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +1 -1
  24. package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
  25. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +13 -0
  26. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +13 -0
  27. package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
  28. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
  29. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -1
  30. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -1
  31. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +13 -0
  32. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +13 -0
  33. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -1
  34. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +95 -3
  35. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +95 -3
  36. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -1
  37. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  38. package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -1
  39. package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
  40. package/out/ERC20Module.t.sol/TestConstants.json +1 -1
  41. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +13 -0
  42. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +13 -0
  43. package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
  44. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
  45. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -1
  46. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -1
  47. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +13 -0
  48. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +13 -0
  49. package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
  50. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +13 -0
  51. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +13 -0
  52. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -1
  53. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +95 -3
  54. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +95 -3
  55. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -1
  56. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +13 -0
  57. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +13 -0
  58. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -1
  59. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +95 -3
  60. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +95 -3
  61. package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -1
  62. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  63. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  64. package/out/InitModule.sol/InitModule.json +1 -1
  65. package/out/MUDERC20.sol/MUDERC20.abi.json +13 -0
  66. package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +13 -0
  67. package/out/MUDERC20.sol/MUDERC20.json +1 -1
  68. package/out/Module.sol/Module.json +1 -1
  69. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  70. package/out/Ownable.sol/Ownable.abi.json +13 -0
  71. package/out/Ownable.sol/Ownable.abi.json.d.ts +13 -0
  72. package/out/Ownable.sol/Ownable.json +1 -1
  73. package/out/Pausable.sol/Pausable.abi.json +13 -0
  74. package/out/Pausable.sol/Pausable.abi.json.d.ts +13 -0
  75. package/out/Pausable.sol/Pausable.json +1 -1
  76. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  77. package/out/StoreConsumer.sol/StoreConsumer.json +1 -1
  78. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  79. package/out/System.sol/System.json +1 -1
  80. package/out/SystemCall.sol/SystemCall.json +1 -1
  81. package/out/WithStore.sol/WithStore.abi.json +13 -0
  82. package/out/WithStore.sol/WithStore.abi.json.d.ts +13 -0
  83. package/out/WithStore.sol/WithStore.json +1 -1
  84. package/out/WithWorld.sol/WithWorld.abi.json +95 -3
  85. package/out/WithWorld.sol/WithWorld.abi.json.d.ts +95 -3
  86. package/out/WithWorld.sol/WithWorld.json +1 -1
  87. package/out/World.sol/World.json +1 -1
  88. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  89. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  90. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  91. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  92. package/out/build-info/{04cd01b00610d99132b6410373c2f462.json → f54839cf2bf7879ae62345f5cd1a2871.json} +1 -1
  93. package/package.json +9 -10
  94. package/src/examples/ERC20WithWorld.sol +5 -0
  95. package/src/experimental/ERC20Module.sol +9 -1
@@ -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",
@@ -200,6 +239,25 @@
200
239
  ],
201
240
  "stateMutability": "view"
202
241
  },
242
+ {
243
+ "type": "function",
244
+ "name": "supportsInterface",
245
+ "inputs": [
246
+ {
247
+ "name": "interfaceId",
248
+ "type": "bytes4",
249
+ "internalType": "bytes4"
250
+ }
251
+ ],
252
+ "outputs": [
253
+ {
254
+ "name": "",
255
+ "type": "bool",
256
+ "internalType": "bool"
257
+ }
258
+ ],
259
+ "stateMutability": "pure"
260
+ },
203
261
  {
204
262
  "type": "function",
205
263
  "name": "symbol",
@@ -785,17 +843,51 @@
785
843
  {
786
844
  "type": "error",
787
845
  "name": "WithWorld_CallerHasNoNamespaceAccess",
788
- "inputs": []
846
+ "inputs": [
847
+ {
848
+ "name": "namespace",
849
+ "type": "bytes14",
850
+ "internalType": "bytes14"
851
+ },
852
+ {
853
+ "name": "caller",
854
+ "type": "address",
855
+ "internalType": "address"
856
+ }
857
+ ]
858
+ },
859
+ {
860
+ "type": "error",
861
+ "name": "WithWorld_CallerIsNotWorld",
862
+ "inputs": [
863
+ {
864
+ "name": "caller",
865
+ "type": "address",
866
+ "internalType": "address"
867
+ }
868
+ ]
789
869
  },
790
870
  {
791
871
  "type": "error",
792
872
  "name": "WithWorld_NamespaceAlreadyExists",
793
- "inputs": []
873
+ "inputs": [
874
+ {
875
+ "name": "namespace",
876
+ "type": "bytes14",
877
+ "internalType": "bytes14"
878
+ }
879
+ ]
794
880
  },
795
881
  {
796
882
  "type": "error",
797
883
  "name": "WithWorld_NamespaceDoesNotExists",
798
- "inputs": []
884
+ "inputs": [
885
+ {
886
+ "name": "namespace",
887
+ "type": "bytes14",
888
+ "internalType": "bytes14"
889
+ }
890
+ ]
799
891
  },
800
892
  {
801
893
  "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",
@@ -200,6 +239,25 @@ declare const abi: [
200
239
  ],
201
240
  "stateMutability": "view"
202
241
  },
242
+ {
243
+ "type": "function",
244
+ "name": "supportsInterface",
245
+ "inputs": [
246
+ {
247
+ "name": "interfaceId",
248
+ "type": "bytes4",
249
+ "internalType": "bytes4"
250
+ }
251
+ ],
252
+ "outputs": [
253
+ {
254
+ "name": "",
255
+ "type": "bool",
256
+ "internalType": "bool"
257
+ }
258
+ ],
259
+ "stateMutability": "pure"
260
+ },
203
261
  {
204
262
  "type": "function",
205
263
  "name": "symbol",
@@ -785,17 +843,51 @@ declare const abi: [
785
843
  {
786
844
  "type": "error",
787
845
  "name": "WithWorld_CallerHasNoNamespaceAccess",
788
- "inputs": []
846
+ "inputs": [
847
+ {
848
+ "name": "namespace",
849
+ "type": "bytes14",
850
+ "internalType": "bytes14"
851
+ },
852
+ {
853
+ "name": "caller",
854
+ "type": "address",
855
+ "internalType": "address"
856
+ }
857
+ ]
858
+ },
859
+ {
860
+ "type": "error",
861
+ "name": "WithWorld_CallerIsNotWorld",
862
+ "inputs": [
863
+ {
864
+ "name": "caller",
865
+ "type": "address",
866
+ "internalType": "address"
867
+ }
868
+ ]
789
869
  },
790
870
  {
791
871
  "type": "error",
792
872
  "name": "WithWorld_NamespaceAlreadyExists",
793
- "inputs": []
873
+ "inputs": [
874
+ {
875
+ "name": "namespace",
876
+ "type": "bytes14",
877
+ "internalType": "bytes14"
878
+ }
879
+ ]
794
880
  },
795
881
  {
796
882
  "type": "error",
797
883
  "name": "WithWorld_NamespaceDoesNotExists",
798
- "inputs": []
884
+ "inputs": [
885
+ {
886
+ "name": "namespace",
887
+ "type": "bytes14",
888
+ "internalType": "bytes14"
889
+ }
890
+ ]
799
891
  },
800
892
  {
801
893
  "type": "error",