@latticexyz/world-module-erc20 2.2.18-860224870f7eb070cccbb33b505ee42ba6e7092c → 2.2.18-88af9325733387259f29dfdafd2fdbc23f2ab499

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 (100) 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/Constants.sol/ERC20TableNames.json +1 -1
  7. package/out/Constants.sol/ModuleConstants.json +1 -1
  8. package/out/Constants.sol/OwnableTableNames.json +1 -1
  9. package/out/Constants.sol/PausableTableNames.json +1 -1
  10. package/out/Context.sol/Context.abi.json +15 -1
  11. package/out/Context.sol/Context.abi.json.d.ts +17 -0
  12. package/out/Context.sol/Context.json +1 -1
  13. package/out/Delegation.sol/Delegation.json +1 -1
  14. package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
  15. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreBehaviorTest.json +1 -1
  16. package/out/ERC20BaseTest.t.sol/ERC20WithInternalStoreTest.json +1 -1
  17. package/out/ERC20BaseTest.t.sol/ERC20WithWorldBehaviorTest.json +1 -1
  18. package/out/ERC20BaseTest.t.sol/ERC20WithWorldTest.json +1 -1
  19. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json +13 -0
  20. package/out/ERC20BaseTest.t.sol/MockERC20Base.abi.json.d.ts +13 -0
  21. package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
  22. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json +13 -0
  23. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.abi.json.d.ts +13 -0
  24. package/out/ERC20BaseTest.t.sol/MockERC20WithInternalStore.json +1 -1
  25. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json +95 -3
  26. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.abi.json.d.ts +95 -3
  27. package/out/ERC20BaseTest.t.sol/MockERC20WithWorld.json +1 -1
  28. package/out/ERC20BaseTest.t.sol/TestConstants.json +1 -1
  29. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json +13 -0
  30. package/out/ERC20Burnable.sol/ERC20Burnable.abi.json.d.ts +13 -0
  31. package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
  32. package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
  33. package/out/ERC20Burnable.t.sol/ERC20BurnableWithInternalStoreTest.json +1 -1
  34. package/out/ERC20Burnable.t.sol/ERC20BurnableWithWorldTest.json +1 -1
  35. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json +13 -0
  36. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.abi.json.d.ts +13 -0
  37. package/out/ERC20Burnable.t.sol/MockERC20WithInternalStoreBurnable.json +1 -1
  38. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json +95 -3
  39. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.abi.json.d.ts +95 -3
  40. package/out/ERC20Burnable.t.sol/MockERC20WithWorldBurnable.json +1 -1
  41. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  42. package/out/ERC20Module.sol/ERC20RegistryLib.json +1 -1
  43. package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
  44. package/out/ERC20Module.t.sol/TestConstants.json +1 -1
  45. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json +13 -0
  46. package/out/ERC20Pausable.sol/ERC20Pausable.abi.json.d.ts +13 -0
  47. package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
  48. package/out/ERC20Pausable.t.sol/ERC20PausableBehaviorTest.json +1 -1
  49. package/out/ERC20Pausable.t.sol/ERC20PausableWithInternalStoreTest.json +1 -1
  50. package/out/ERC20Pausable.t.sol/ERC20PausableWithWorldTest.json +1 -1
  51. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json +13 -0
  52. package/out/ERC20Pausable.t.sol/MockERC20Pausable.abi.json.d.ts +13 -0
  53. package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
  54. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json +13 -0
  55. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.abi.json.d.ts +13 -0
  56. package/out/ERC20Pausable.t.sol/MockERC20WithInternalStorePausable.json +1 -1
  57. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json +95 -3
  58. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.abi.json.d.ts +95 -3
  59. package/out/ERC20Pausable.t.sol/MockERC20WithWorldPausable.json +1 -1
  60. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json +13 -0
  61. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.abi.json.d.ts +13 -0
  62. package/out/ERC20WithInternalStore.sol/ERC20WithInternalStore.json +1 -1
  63. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json +95 -3
  64. package/out/ERC20WithWorld.sol/ERC20WithWorld.abi.json.d.ts +95 -3
  65. package/out/ERC20WithWorld.sol/ERC20WithWorld.json +1 -1
  66. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  67. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  68. package/out/InitModule.sol/InitModule.json +1 -1
  69. package/out/MUDERC20.sol/MUDERC20.abi.json +13 -0
  70. package/out/MUDERC20.sol/MUDERC20.abi.json.d.ts +13 -0
  71. package/out/MUDERC20.sol/MUDERC20.json +1 -1
  72. package/out/Module.sol/Module.json +1 -1
  73. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  74. package/out/Ownable.sol/Ownable.abi.json +13 -0
  75. package/out/Ownable.sol/Ownable.abi.json.d.ts +13 -0
  76. package/out/Ownable.sol/Ownable.json +1 -1
  77. package/out/Pausable.sol/Pausable.abi.json +13 -0
  78. package/out/Pausable.sol/Pausable.abi.json.d.ts +13 -0
  79. package/out/Pausable.sol/Pausable.json +1 -1
  80. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  81. package/out/StoreConsumer.sol/StoreConsumer.json +1 -1
  82. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  83. package/out/System.sol/System.json +1 -1
  84. package/out/SystemCall.sol/SystemCall.json +1 -1
  85. package/out/WithStore.sol/WithStore.abi.json +13 -0
  86. package/out/WithStore.sol/WithStore.abi.json.d.ts +13 -0
  87. package/out/WithStore.sol/WithStore.json +1 -1
  88. package/out/WithWorld.sol/WithWorld.abi.json +95 -3
  89. package/out/WithWorld.sol/WithWorld.abi.json.d.ts +95 -3
  90. package/out/WithWorld.sol/WithWorld.json +1 -1
  91. package/out/World.sol/World.json +1 -1
  92. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  93. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  94. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  95. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  96. package/out/build-info/{04cd01b00610d99132b6410373c2f462.json → 60c60a9593fdb00b3264c36836a28f39.json} +1 -1
  97. package/package.json +8 -8
  98. package/src/examples/ERC20WithWorld.sol +5 -0
  99. package/src/experimental/Constants.sol +7 -7
  100. package/src/experimental/ERC20Module.sol +9 -1
@@ -40,6 +40,45 @@
40
40
  "outputs": [],
41
41
  "stateMutability": "nonpayable"
42
42
  },
43
+ {
44
+ "type": "function",
45
+ "name": "_msgSender",
46
+ "inputs": [],
47
+ "outputs": [
48
+ {
49
+ "name": "sender",
50
+ "type": "address",
51
+ "internalType": "address"
52
+ }
53
+ ],
54
+ "stateMutability": "view"
55
+ },
56
+ {
57
+ "type": "function",
58
+ "name": "_msgValue",
59
+ "inputs": [],
60
+ "outputs": [
61
+ {
62
+ "name": "value",
63
+ "type": "uint256",
64
+ "internalType": "uint256"
65
+ }
66
+ ],
67
+ "stateMutability": "pure"
68
+ },
69
+ {
70
+ "type": "function",
71
+ "name": "_world",
72
+ "inputs": [],
73
+ "outputs": [
74
+ {
75
+ "name": "",
76
+ "type": "address",
77
+ "internalType": "address"
78
+ }
79
+ ],
80
+ "stateMutability": "view"
81
+ },
43
82
  {
44
83
  "type": "function",
45
84
  "name": "allowance",
@@ -185,6 +224,25 @@
185
224
  ],
186
225
  "stateMutability": "view"
187
226
  },
227
+ {
228
+ "type": "function",
229
+ "name": "supportsInterface",
230
+ "inputs": [
231
+ {
232
+ "name": "interfaceId",
233
+ "type": "bytes4",
234
+ "internalType": "bytes4"
235
+ }
236
+ ],
237
+ "outputs": [
238
+ {
239
+ "name": "",
240
+ "type": "bool",
241
+ "internalType": "bool"
242
+ }
243
+ ],
244
+ "stateMutability": "pure"
245
+ },
188
246
  {
189
247
  "type": "function",
190
248
  "name": "symbol",
@@ -727,17 +785,51 @@
727
785
  {
728
786
  "type": "error",
729
787
  "name": "WithWorld_CallerHasNoNamespaceAccess",
730
- "inputs": []
788
+ "inputs": [
789
+ {
790
+ "name": "namespace",
791
+ "type": "bytes14",
792
+ "internalType": "bytes14"
793
+ },
794
+ {
795
+ "name": "caller",
796
+ "type": "address",
797
+ "internalType": "address"
798
+ }
799
+ ]
800
+ },
801
+ {
802
+ "type": "error",
803
+ "name": "WithWorld_CallerIsNotWorld",
804
+ "inputs": [
805
+ {
806
+ "name": "caller",
807
+ "type": "address",
808
+ "internalType": "address"
809
+ }
810
+ ]
731
811
  },
732
812
  {
733
813
  "type": "error",
734
814
  "name": "WithWorld_NamespaceAlreadyExists",
735
- "inputs": []
815
+ "inputs": [
816
+ {
817
+ "name": "namespace",
818
+ "type": "bytes14",
819
+ "internalType": "bytes14"
820
+ }
821
+ ]
736
822
  },
737
823
  {
738
824
  "type": "error",
739
825
  "name": "WithWorld_NamespaceDoesNotExists",
740
- "inputs": []
826
+ "inputs": [
827
+ {
828
+ "name": "namespace",
829
+ "type": "bytes14",
830
+ "internalType": "bytes14"
831
+ }
832
+ ]
741
833
  },
742
834
  {
743
835
  "type": "error",
@@ -40,6 +40,45 @@ declare const abi: [
40
40
  "outputs": [],
41
41
  "stateMutability": "nonpayable"
42
42
  },
43
+ {
44
+ "type": "function",
45
+ "name": "_msgSender",
46
+ "inputs": [],
47
+ "outputs": [
48
+ {
49
+ "name": "sender",
50
+ "type": "address",
51
+ "internalType": "address"
52
+ }
53
+ ],
54
+ "stateMutability": "view"
55
+ },
56
+ {
57
+ "type": "function",
58
+ "name": "_msgValue",
59
+ "inputs": [],
60
+ "outputs": [
61
+ {
62
+ "name": "value",
63
+ "type": "uint256",
64
+ "internalType": "uint256"
65
+ }
66
+ ],
67
+ "stateMutability": "pure"
68
+ },
69
+ {
70
+ "type": "function",
71
+ "name": "_world",
72
+ "inputs": [],
73
+ "outputs": [
74
+ {
75
+ "name": "",
76
+ "type": "address",
77
+ "internalType": "address"
78
+ }
79
+ ],
80
+ "stateMutability": "view"
81
+ },
43
82
  {
44
83
  "type": "function",
45
84
  "name": "allowance",
@@ -185,6 +224,25 @@ declare const abi: [
185
224
  ],
186
225
  "stateMutability": "view"
187
226
  },
227
+ {
228
+ "type": "function",
229
+ "name": "supportsInterface",
230
+ "inputs": [
231
+ {
232
+ "name": "interfaceId",
233
+ "type": "bytes4",
234
+ "internalType": "bytes4"
235
+ }
236
+ ],
237
+ "outputs": [
238
+ {
239
+ "name": "",
240
+ "type": "bool",
241
+ "internalType": "bool"
242
+ }
243
+ ],
244
+ "stateMutability": "pure"
245
+ },
188
246
  {
189
247
  "type": "function",
190
248
  "name": "symbol",
@@ -727,17 +785,51 @@ declare const abi: [
727
785
  {
728
786
  "type": "error",
729
787
  "name": "WithWorld_CallerHasNoNamespaceAccess",
730
- "inputs": []
788
+ "inputs": [
789
+ {
790
+ "name": "namespace",
791
+ "type": "bytes14",
792
+ "internalType": "bytes14"
793
+ },
794
+ {
795
+ "name": "caller",
796
+ "type": "address",
797
+ "internalType": "address"
798
+ }
799
+ ]
800
+ },
801
+ {
802
+ "type": "error",
803
+ "name": "WithWorld_CallerIsNotWorld",
804
+ "inputs": [
805
+ {
806
+ "name": "caller",
807
+ "type": "address",
808
+ "internalType": "address"
809
+ }
810
+ ]
731
811
  },
732
812
  {
733
813
  "type": "error",
734
814
  "name": "WithWorld_NamespaceAlreadyExists",
735
- "inputs": []
815
+ "inputs": [
816
+ {
817
+ "name": "namespace",
818
+ "type": "bytes14",
819
+ "internalType": "bytes14"
820
+ }
821
+ ]
736
822
  },
737
823
  {
738
824
  "type": "error",
739
825
  "name": "WithWorld_NamespaceDoesNotExists",
740
- "inputs": []
826
+ "inputs": [
827
+ {
828
+ "name": "namespace",
829
+ "type": "bytes14",
830
+ "internalType": "bytes14"
831
+ }
832
+ ]
741
833
  },
742
834
  {
743
835
  "type": "error",