@latticexyz/world-modules 2.0.4 → 2.0.5-main-e2e8ec8b

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 (132) hide show
  1. package/dist/mud.config.d.ts +7 -7
  2. package/dist/mud.config.js +1 -1
  3. package/dist/mud.config.js.map +1 -1
  4. package/out/AccessControlLib.sol/AccessControlLib.json +1 -1
  5. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  6. package/out/Allowances.sol/Allowances.json +1 -1
  7. package/out/ArrayLib.sol/ArrayLib.json +1 -1
  8. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  9. package/out/Balances.sol/Balances.json +1 -1
  10. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  11. package/out/CallWithSignatureModule.t.sol/Unstable_CallWithSignatureModuleTest.json +1 -0
  12. package/out/CallWithSignatureNonces.sol/CallWithSignatureNonces.json +1 -0
  13. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +1 -1
  14. package/out/CallboundDelegations.sol/CallboundDelegations.json +1 -1
  15. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
  16. package/out/ECDSA.sol/ECDSA.json +1 -1
  17. package/out/ERC20.t.sol/ERC20Test.json +1 -1
  18. package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
  19. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  20. package/out/ERC20Module.sol/ERC20ModuleRegistrationLibrary.json +1 -1
  21. package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
  22. package/out/ERC20System.sol/ERC20System.json +1 -1
  23. package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
  24. package/out/ERC721.t.sol/ERC721Test.json +1 -1
  25. package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
  26. package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
  27. package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
  28. package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
  29. package/out/ERC721Metadata.sol/ERC721Metadata.json +1 -1
  30. package/out/ERC721Module.sol/ERC721Module.json +1 -1
  31. package/out/ERC721Module.sol/ERC721ModuleRegistrationLibrary.json +1 -1
  32. package/out/ERC721Registry.sol/ERC721Registry.json +1 -1
  33. package/out/ERC721System.sol/ERC721System.json +1 -1
  34. package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -1
  35. package/out/GasReporter.sol/GasReporter.json +1 -1
  36. package/out/IERC20.sol/IERC20.json +1 -1
  37. package/out/IERC20Errors.sol/IERC20Errors.json +1 -1
  38. package/out/IERC20Events.sol/IERC20Events.json +1 -1
  39. package/out/IERC20Mintable.sol/IERC20Mintable.json +1 -1
  40. package/out/IERC721.sol/IERC721.json +1 -1
  41. package/out/IERC721Errors.sol/IERC721Errors.json +1 -1
  42. package/out/IERC721Events.sol/IERC721Events.json +1 -1
  43. package/out/IERC721Metadata.sol/IERC721Metadata.json +1 -1
  44. package/out/IERC721Mintable.sol/IERC721Mintable.json +1 -1
  45. package/out/IERC721Receiver.sol/IERC721Receiver.json +1 -1
  46. package/out/IERC721System.sol/IERC721System.abi.json +310 -0
  47. package/out/IERC721System.sol/IERC721System.abi.json.d.ts +310 -0
  48. package/out/IERC721System.sol/IERC721System.json +1 -0
  49. package/out/IPuppetFactorySystem.sol/IPuppetFactorySystem.json +1 -1
  50. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +15 -0
  51. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +15 -0
  52. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +1 -0
  53. package/out/{IUnstable_DelegationWithSignatureSystem.sol/IUnstable_DelegationWithSignatureSystem.abi.json → IUnstable_CallWithSignatureSystem.sol/IUnstable_CallWithSignatureSystem.abi.json} +12 -11
  54. package/out/{IUnstable_DelegationWithSignatureSystem.sol/IUnstable_DelegationWithSignatureSystem.abi.json.d.ts → IUnstable_CallWithSignatureSystem.sol/IUnstable_CallWithSignatureSystem.abi.json.d.ts} +12 -11
  55. package/out/IUnstable_CallWithSignatureSystem.sol/IUnstable_CallWithSignatureSystem.json +1 -0
  56. package/out/InitModule.sol/InitModule.json +1 -1
  57. package/out/KeysInTable.sol/KeysInTable.json +1 -1
  58. package/out/KeysInTableHook.sol/KeysInTableHook.json +1 -1
  59. package/out/KeysInTableModule.sol/KeysInTableModule.json +1 -1
  60. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
  61. package/out/KeysWithValue.sol/KeysWithValue.json +1 -1
  62. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1 -1
  63. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +1 -1
  64. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
  65. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  66. package/out/OperatorApproval.sol/OperatorApproval.json +1 -1
  67. package/out/Owners.sol/Owners.json +1 -1
  68. package/out/Puppet.sol/Puppet.json +1 -1
  69. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.json +1 -1
  70. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.json +1 -1
  71. package/out/PuppetMaster.sol/PuppetMaster.json +1 -1
  72. package/out/PuppetModule.sol/PuppetModule.json +1 -1
  73. package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
  74. package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
  75. package/out/PuppetRegistry.sol/PuppetRegistry.json +1 -1
  76. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  77. package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -1
  78. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +1 -1
  79. package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
  80. package/out/StdError.sol/stdError.json +1 -1
  81. package/out/StoreRead.sol/StoreRead.json +1 -1
  82. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  83. package/out/System.sol/System.json +1 -1
  84. package/out/SystemSwitch.sol/SystemSwitch.json +1 -1
  85. package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
  86. package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
  87. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.json +1 -1
  88. package/out/SystemboundDelegations.sol/SystemboundDelegations.json +1 -1
  89. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +1 -1
  90. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1 -1
  91. package/out/TokenApproval.sol/TokenApproval.json +1 -1
  92. package/out/TokenURI.sol/TokenURI.json +1 -1
  93. package/out/TotalSupply.sol/TotalSupply.json +1 -1
  94. package/out/UniqueEntity.sol/UniqueEntity.json +1 -1
  95. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +1 -1
  96. package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
  97. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
  98. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +1 -1
  99. package/out/Unstable_CallWithSignatureModule.sol/Unstable_CallWithSignatureModule.json +1 -0
  100. package/out/{Unstable_DelegationWithSignatureSystem.sol/Unstable_DelegationWithSignatureSystem.abi.json → Unstable_CallWithSignatureSystem.sol/Unstable_CallWithSignatureSystem.abi.json} +12 -27
  101. package/out/{Unstable_DelegationWithSignatureSystem.sol/Unstable_DelegationWithSignatureSystem.abi.json.d.ts → Unstable_CallWithSignatureSystem.sol/Unstable_CallWithSignatureSystem.abi.json.d.ts} +12 -27
  102. package/out/Unstable_CallWithSignatureSystem.sol/Unstable_CallWithSignatureSystem.json +1 -0
  103. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +1 -1
  104. package/out/World.sol/World.json +1 -1
  105. package/out/World.t.sol/EchoSystemHook.json +1 -1
  106. package/out/World.t.sol/PayableFallbackSystem.json +1 -1
  107. package/out/World.t.sol/RevertSystemHook.json +1 -1
  108. package/out/World.t.sol/WorldTest.json +1 -1
  109. package/out/World.t.sol/WorldTestSystem.json +1 -1
  110. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  111. package/out/query.t.sol/QueryTest.json +1 -1
  112. package/out/test.sol/DSTest.json +1 -1
  113. package/package.json +8 -8
  114. package/src/index.sol +1 -1
  115. package/src/interfaces/IERC721System.sol +43 -0
  116. package/src/interfaces/IUniqueEntitySystem.sol +13 -0
  117. package/src/interfaces/{IUnstable_DelegationWithSignatureSystem.sol → IUnstable_CallWithSignatureSystem.sol} +7 -8
  118. package/src/modules/delegation/{Unstable_DelegationWithSignatureModule.sol → Unstable_CallWithSignatureModule.sol} +8 -9
  119. package/src/modules/delegation/Unstable_CallWithSignatureSystem.sol +46 -0
  120. package/src/modules/delegation/getSignedMessageHash.sol +12 -18
  121. package/src/modules/delegation/tables/{UserDelegationNonces.sol → CallWithSignatureNonces.sol} +26 -26
  122. package/out/DelegationWithSignatureModule.t.sol/Unstable_DelegationWithSignatureModuleTest.json +0 -1
  123. package/out/IUnstable_DelegationWithSignatureSystem.sol/IUnstable_DelegationWithSignatureSystem.json +0 -1
  124. package/out/Unstable_DelegationWithSignatureModule.sol/Unstable_DelegationWithSignatureModule.json +0 -1
  125. package/out/Unstable_DelegationWithSignatureSystem.sol/Unstable_DelegationWithSignatureSystem.json +0 -1
  126. package/out/UserDelegationNonces.sol/UserDelegationNonces.json +0 -1
  127. package/src/modules/delegation/Unstable_DelegationWithSignatureSystem.sol +0 -47
  128. /package/out/{DelegationWithSignatureModule.t.sol/Unstable_DelegationWithSignatureModuleTest.abi.json → CallWithSignatureModule.t.sol/Unstable_CallWithSignatureModuleTest.abi.json} +0 -0
  129. /package/out/{DelegationWithSignatureModule.t.sol/Unstable_DelegationWithSignatureModuleTest.abi.json.d.ts → CallWithSignatureModule.t.sol/Unstable_CallWithSignatureModuleTest.abi.json.d.ts} +0 -0
  130. /package/out/{UserDelegationNonces.sol/UserDelegationNonces.abi.json → CallWithSignatureNonces.sol/CallWithSignatureNonces.abi.json} +0 -0
  131. /package/out/{Unstable_DelegationWithSignatureModule.sol/Unstable_DelegationWithSignatureModule.abi.json → Unstable_CallWithSignatureModule.sol/Unstable_CallWithSignatureModule.abi.json} +0 -0
  132. /package/out/{Unstable_DelegationWithSignatureModule.sol/Unstable_DelegationWithSignatureModule.abi.json.d.ts → Unstable_CallWithSignatureModule.sol/Unstable_CallWithSignatureModule.abi.json.d.ts} +0 -0
@@ -1 +1 @@
1
- {"abi":[{"type":"function","name":"createPuppet","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"puppet","type":"address","internalType":"address"}],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"createPuppet(bytes32)":"b9eb8bfb"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"}],\"name\":\"createPuppet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"puppet\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IPuppetFactorySystem\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IPuppetFactorySystem.sol\":\"IPuppetFactorySystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x167af6321dc89c2e5850e31949b1d64ab70bb1cc809daa54a030e8ff30f35411\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e4b1a2d5da7e4f79349f5257a62b4c6ffe110d6e18fe407099aec71a2f3b2539\",\"dweb:/ipfs/QmQXqehp55UecYyuYTiPBKSnuedqYybXfCCjoPPrZ2hnRw\"]},\"src/interfaces/IPuppetFactorySystem.sol\":{\"keccak256\":\"0x1aaa76ec7cbbd94a1decefc88e45106342ba6d81dcf090de9d6af3bab022cc31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://269df0ce8fc91278f37891c6adc6ebf6431e7c9a2cd1a450679181a2fabf55c5\",\"dweb:/ipfs/QmVfYuXHTxLk2Gzbgmvwwc5vH79CykCkaMqaGVafw7GRaJ\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"createPuppet","outputs":[{"internalType":"address","name":"puppet","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/interfaces/IPuppetFactorySystem.sol":"IPuppetFactorySystem"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x167af6321dc89c2e5850e31949b1d64ab70bb1cc809daa54a030e8ff30f35411","urls":["bzz-raw://e4b1a2d5da7e4f79349f5257a62b4c6ffe110d6e18fe407099aec71a2f3b2539","dweb:/ipfs/QmQXqehp55UecYyuYTiPBKSnuedqYybXfCCjoPPrZ2hnRw"],"license":"MIT"},"src/interfaces/IPuppetFactorySystem.sol":{"keccak256":"0x1aaa76ec7cbbd94a1decefc88e45106342ba6d81dcf090de9d6af3bab022cc31","urls":["bzz-raw://269df0ce8fc91278f37891c6adc6ebf6431e7c9a2cd1a450679181a2fabf55c5","dweb:/ipfs/QmVfYuXHTxLk2Gzbgmvwwc5vH79CykCkaMqaGVafw7GRaJ"],"license":"MIT"}},"version":1},"id":135}
1
+ {"abi":[{"type":"function","name":"createPuppet","inputs":[{"name":"systemId","type":"bytes32","internalType":"ResourceId"}],"outputs":[{"name":"puppet","type":"address","internalType":"address"}],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"createPuppet(bytes32)":"b9eb8bfb"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"}],\"name\":\"createPuppet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"puppet\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IPuppetFactorySystem\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IPuppetFactorySystem.sol\":\"IPuppetFactorySystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x167af6321dc89c2e5850e31949b1d64ab70bb1cc809daa54a030e8ff30f35411\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e4b1a2d5da7e4f79349f5257a62b4c6ffe110d6e18fe407099aec71a2f3b2539\",\"dweb:/ipfs/QmQXqehp55UecYyuYTiPBKSnuedqYybXfCCjoPPrZ2hnRw\"]},\"src/interfaces/IPuppetFactorySystem.sol\":{\"keccak256\":\"0x1aaa76ec7cbbd94a1decefc88e45106342ba6d81dcf090de9d6af3bab022cc31\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://269df0ce8fc91278f37891c6adc6ebf6431e7c9a2cd1a450679181a2fabf55c5\",\"dweb:/ipfs/QmVfYuXHTxLk2Gzbgmvwwc5vH79CykCkaMqaGVafw7GRaJ\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"ResourceId","name":"systemId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function","name":"createPuppet","outputs":[{"internalType":"address","name":"puppet","type":"address"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/interfaces/IPuppetFactorySystem.sol":"IPuppetFactorySystem"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x167af6321dc89c2e5850e31949b1d64ab70bb1cc809daa54a030e8ff30f35411","urls":["bzz-raw://e4b1a2d5da7e4f79349f5257a62b4c6ffe110d6e18fe407099aec71a2f3b2539","dweb:/ipfs/QmQXqehp55UecYyuYTiPBKSnuedqYybXfCCjoPPrZ2hnRw"],"license":"MIT"},"src/interfaces/IPuppetFactorySystem.sol":{"keccak256":"0x1aaa76ec7cbbd94a1decefc88e45106342ba6d81dcf090de9d6af3bab022cc31","urls":["bzz-raw://269df0ce8fc91278f37891c6adc6ebf6431e7c9a2cd1a450679181a2fabf55c5","dweb:/ipfs/QmVfYuXHTxLk2Gzbgmvwwc5vH79CykCkaMqaGVafw7GRaJ"],"license":"MIT"}},"version":1},"id":136}
@@ -0,0 +1,15 @@
1
+ [
2
+ {
3
+ "type": "function",
4
+ "name": "getUniqueEntity",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "bytes32",
10
+ "internalType": "bytes32"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ }
15
+ ]
@@ -0,0 +1,15 @@
1
+ declare const abi: [
2
+ {
3
+ "type": "function",
4
+ "name": "getUniqueEntity",
5
+ "inputs": [],
6
+ "outputs": [
7
+ {
8
+ "name": "",
9
+ "type": "bytes32",
10
+ "internalType": "bytes32"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable"
14
+ }
15
+ ]; export default abi;
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"getUniqueEntity","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"nonpayable"}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"getUniqueEntity()":"490923cd"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"getUniqueEntity\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IUniqueEntitySystem\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IUniqueEntitySystem.sol\":\"IUniqueEntitySystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"src/interfaces/IUniqueEntitySystem.sol\":{\"keccak256\":\"0xd87a76b8968b778825475f596ddead43a38fd654d9165bf6ecf31ca8b80cb78d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7c7a73de343403f7ddc56ba350dea3beebb8bf587eec92bc8e60fb359c5706ba\",\"dweb:/ipfs/Qmd4ELgWhMDNi2sCfMBBnX6Yoki7hjbcEXmiiU5VDCUjhH\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"getUniqueEntity","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/interfaces/IUniqueEntitySystem.sol":"IUniqueEntitySystem"},"evmVersion":"paris","libraries":{}},"sources":{"src/interfaces/IUniqueEntitySystem.sol":{"keccak256":"0xd87a76b8968b778825475f596ddead43a38fd654d9165bf6ecf31ca8b80cb78d","urls":["bzz-raw://7c7a73de343403f7ddc56ba350dea3beebb8bf587eec92bc8e60fb359c5706ba","dweb:/ipfs/Qmd4ELgWhMDNi2sCfMBBnX6Yoki7hjbcEXmiiU5VDCUjhH"],"license":"MIT"}},"version":1},"id":137}
@@ -1,36 +1,37 @@
1
1
  [
2
2
  {
3
3
  "type": "function",
4
- "name": "registerDelegationWithSignature",
4
+ "name": "callWithSignature",
5
5
  "inputs": [
6
6
  {
7
- "name": "delegatee",
7
+ "name": "signer",
8
8
  "type": "address",
9
9
  "internalType": "address"
10
10
  },
11
11
  {
12
- "name": "delegationControlId",
12
+ "name": "systemId",
13
13
  "type": "bytes32",
14
14
  "internalType": "ResourceId"
15
15
  },
16
16
  {
17
- "name": "initCallData",
17
+ "name": "callData",
18
18
  "type": "bytes",
19
19
  "internalType": "bytes"
20
20
  },
21
- {
22
- "name": "delegator",
23
- "type": "address",
24
- "internalType": "address"
25
- },
26
21
  {
27
22
  "name": "signature",
28
23
  "type": "bytes",
29
24
  "internalType": "bytes"
30
25
  }
31
26
  ],
32
- "outputs": [],
33
- "stateMutability": "nonpayable"
27
+ "outputs": [
28
+ {
29
+ "name": "",
30
+ "type": "bytes",
31
+ "internalType": "bytes"
32
+ }
33
+ ],
34
+ "stateMutability": "payable"
34
35
  },
35
36
  {
36
37
  "type": "error",
@@ -1,36 +1,37 @@
1
1
  declare const abi: [
2
2
  {
3
3
  "type": "function",
4
- "name": "registerDelegationWithSignature",
4
+ "name": "callWithSignature",
5
5
  "inputs": [
6
6
  {
7
- "name": "delegatee",
7
+ "name": "signer",
8
8
  "type": "address",
9
9
  "internalType": "address"
10
10
  },
11
11
  {
12
- "name": "delegationControlId",
12
+ "name": "systemId",
13
13
  "type": "bytes32",
14
14
  "internalType": "ResourceId"
15
15
  },
16
16
  {
17
- "name": "initCallData",
17
+ "name": "callData",
18
18
  "type": "bytes",
19
19
  "internalType": "bytes"
20
20
  },
21
- {
22
- "name": "delegator",
23
- "type": "address",
24
- "internalType": "address"
25
- },
26
21
  {
27
22
  "name": "signature",
28
23
  "type": "bytes",
29
24
  "internalType": "bytes"
30
25
  }
31
26
  ],
32
- "outputs": [],
33
- "stateMutability": "nonpayable"
27
+ "outputs": [
28
+ {
29
+ "name": "",
30
+ "type": "bytes",
31
+ "internalType": "bytes"
32
+ }
33
+ ],
34
+ "stateMutability": "payable"
34
35
  },
35
36
  {
36
37
  "type": "error",
@@ -0,0 +1 @@
1
+ {"abi":[{"type":"function","name":"callWithSignature","inputs":[{"name":"signer","type":"address","internalType":"address"},{"name":"systemId","type":"bytes32","internalType":"ResourceId"},{"name":"callData","type":"bytes","internalType":"bytes"},{"name":"signature","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"payable"},{"type":"error","name":"InvalidSignature","inputs":[{"name":"signer","type":"address","internalType":"address"}]}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"callWithSignature(address,bytes32,bytes,bytes)":"1fae6308"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"}],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"ResourceId\",\"name\":\"systemId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"callWithSignature\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"MUD (https://mud.dev) by Lattice (https://lattice.xyz)\",\"details\":\"This interface is automatically generated from the corresponding system contract. Do not edit manually.\",\"kind\":\"dev\",\"methods\":{},\"title\":\"IUnstable_CallWithSignatureSystem\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/interfaces/IUnstable_CallWithSignatureSystem.sol\":\"IUnstable_CallWithSignatureSystem\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":3000},\"remappings\":[\":@latticexyz/=node_modules/@latticexyz/\",\":ds-test/=node_modules/ds-test/src/\",\":forge-std/=node_modules/forge-std/src/\"]},\"sources\":{\"node_modules/@latticexyz/store/src/ResourceId.sol\":{\"keccak256\":\"0x167af6321dc89c2e5850e31949b1d64ab70bb1cc809daa54a030e8ff30f35411\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e4b1a2d5da7e4f79349f5257a62b4c6ffe110d6e18fe407099aec71a2f3b2539\",\"dweb:/ipfs/QmQXqehp55UecYyuYTiPBKSnuedqYybXfCCjoPPrZ2hnRw\"]},\"src/interfaces/IUnstable_CallWithSignatureSystem.sol\":{\"keccak256\":\"0x7b319c979f935b2cab1f46b16c01f2d033e2817bd6cf5c514214f5f3380cdf98\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d26efe8776b57aa81ff3556fac32e91a013dddcbffca3fec7ff278482f3ac37b\",\"dweb:/ipfs/QmSesYAHG5Qes58YPegfWw9B1mx8mR9UyRTA7Pv9bjYUVx\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"type":"error","name":"InvalidSignature"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"ResourceId","name":"systemId","type":"bytes32"},{"internalType":"bytes","name":"callData","type":"bytes"},{"internalType":"bytes","name":"signature","type":"bytes"}],"stateMutability":"payable","type":"function","name":"callWithSignature","outputs":[{"internalType":"bytes","name":"","type":"bytes"}]}],"devdoc":{"kind":"dev","methods":{},"version":1},"userdoc":{"kind":"user","methods":{},"version":1}},"settings":{"remappings":["@latticexyz/=node_modules/@latticexyz/","ds-test/=node_modules/ds-test/src/","forge-std/=node_modules/forge-std/src/"],"optimizer":{"enabled":true,"runs":3000},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/interfaces/IUnstable_CallWithSignatureSystem.sol":"IUnstable_CallWithSignatureSystem"},"evmVersion":"paris","libraries":{}},"sources":{"node_modules/@latticexyz/store/src/ResourceId.sol":{"keccak256":"0x167af6321dc89c2e5850e31949b1d64ab70bb1cc809daa54a030e8ff30f35411","urls":["bzz-raw://e4b1a2d5da7e4f79349f5257a62b4c6ffe110d6e18fe407099aec71a2f3b2539","dweb:/ipfs/QmQXqehp55UecYyuYTiPBKSnuedqYybXfCCjoPPrZ2hnRw"],"license":"MIT"},"src/interfaces/IUnstable_CallWithSignatureSystem.sol":{"keccak256":"0x7b319c979f935b2cab1f46b16c01f2d033e2817bd6cf5c514214f5f3380cdf98","urls":["bzz-raw://d26efe8776b57aa81ff3556fac32e91a013dddcbffca3fec7ff278482f3ac37b","dweb:/ipfs/QmSesYAHG5Qes58YPegfWw9B1mx8mR9UyRTA7Pv9bjYUVx"],"license":"MIT"}},"version":1},"id":138}