@latticexyz/world-module-metadata 2.2.23-c9a7e15b89f6e4486abcb46c3a75c213741816a4 → 2.2.23-e76d72504e7ee51c76fa380bdc4a56f4815b7b59

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 (164) hide show
  1. package/out/AccessControl.sol/AccessControl.json +1 -1
  2. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  3. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  4. package/out/Balances.sol/Balances.json +1 -1
  5. package/out/Base.sol/CommonBase.json +1 -1
  6. package/out/Base.sol/ScriptBase.json +1 -1
  7. package/out/Base.sol/TestBase.json +1 -1
  8. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  9. package/out/Bytes.sol/Bytes.json +1 -1
  10. package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
  11. package/out/Delegation.sol/Delegation.json +1 -1
  12. package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
  13. package/out/EncodeArray.sol/EncodeArray.json +1 -1
  14. package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -1
  15. package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -1
  16. package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
  17. package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
  18. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
  19. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
  20. package/out/GasReporter.sol/GasReporter.abi.json +55 -5
  21. package/out/GasReporter.sol/GasReporter.abi.json.d.ts +55 -5
  22. package/out/GasReporter.sol/GasReporter.json +1 -1
  23. package/out/Hook.sol/HookInstance.json +1 -1
  24. package/out/Hook.sol/HookLib.json +1 -1
  25. package/out/Hooks.sol/Hooks.json +1 -1
  26. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
  27. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
  28. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  29. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
  30. package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
  31. package/out/IERC165.sol/IERC165.json +1 -1
  32. package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -1
  33. package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -1
  34. package/out/IMetadataSystem.sol/IMetadataSystem.json +1 -1
  35. package/out/IModule.sol/IModule.json +1 -1
  36. package/out/IModuleErrors.sol/IModuleErrors.json +1 -1
  37. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
  38. package/out/IMulticall3.sol/IMulticall3.json +1 -1
  39. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
  40. package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -1
  41. package/out/ISliceErrors.sol/ISliceErrors.json +1 -1
  42. package/out/IStore.sol/IStore.json +1 -1
  43. package/out/IStoreErrors.sol/IStoreErrors.json +1 -1
  44. package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
  45. package/out/IStoreHook.sol/IStoreHook.json +1 -1
  46. package/out/IStoreKernel.sol/IStoreKernel.json +1 -1
  47. package/out/IStoreRead.sol/IStoreRead.json +1 -1
  48. package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
  49. package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
  50. package/out/ISystemHook.sol/ISystemHook.json +1 -1
  51. package/out/IWorld.sol/IWorld.json +1 -1
  52. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
  53. package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
  54. package/out/IWorldEvents.sol/IWorldEvents.json +1 -1
  55. package/out/IWorldKernel.sol/IWorldCall.json +1 -1
  56. package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
  57. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
  58. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  59. package/out/InitModule.sol/InitModule.json +1 -1
  60. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
  61. package/out/InstalledModules.sol/InstalledModules.json +1 -1
  62. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
  63. package/out/Memory.sol/Memory.json +1 -1
  64. package/out/MetadataModule.sol/MetadataModule.json +1 -1
  65. package/out/MetadataModule.t.sol/MetadataModuleTest.abi.json +55 -5
  66. package/out/MetadataModule.t.sol/MetadataModuleTest.abi.json.d.ts +55 -5
  67. package/out/MetadataModule.t.sol/MetadataModuleTest.json +1 -1
  68. package/out/MetadataSystem.sol/MetadataSystem.json +1 -1
  69. package/out/MetadataSystemLib.sol/MetadataSystemLib.json +1 -1
  70. package/out/MetadataSystemLib.sol/_deleteResourceTag_ResourceId_bytes32.json +1 -1
  71. package/out/MetadataSystemLib.sol/_getResourceTag_ResourceId_bytes32.json +1 -1
  72. package/out/MetadataSystemLib.sol/_setResourceTag_ResourceId_bytes32_bytes.json +1 -1
  73. package/out/Module.sol/Module.json +1 -1
  74. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  75. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
  76. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
  77. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  78. package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
  79. package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
  80. package/out/ResourceId.sol/ResourceIdLib.json +1 -1
  81. package/out/ResourceIds.sol/ResourceIds.json +1 -1
  82. package/out/ResourceTag.sol/ResourceTag.json +1 -1
  83. package/out/Schema.sol/SchemaInstance.json +1 -1
  84. package/out/Schema.sol/SchemaLib.json +1 -1
  85. package/out/Slice.sol/SliceInstance.json +1 -1
  86. package/out/Slice.sol/SliceLib.json +1 -1
  87. package/out/StdAssertions.sol/StdAssertions.abi.json +1 -14
  88. package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +1 -14
  89. package/out/StdAssertions.sol/StdAssertions.json +1 -1
  90. package/out/StdChains.sol/StdChains.json +1 -1
  91. package/out/StdCheats.sol/StdCheats.json +1 -1
  92. package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
  93. package/out/StdConstants.sol/StdConstants.json +1 -0
  94. package/out/StdError.sol/stdError.json +1 -1
  95. package/out/StdInvariant.sol/StdInvariant.abi.json +54 -4
  96. package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +54 -4
  97. package/out/StdInvariant.sol/StdInvariant.json +1 -1
  98. package/out/StdJson.sol/stdJson.json +1 -1
  99. package/out/StdMath.sol/stdMath.json +1 -1
  100. package/out/StdStorage.sol/stdStorage.json +1 -1
  101. package/out/StdStorage.sol/stdStorageSafe.json +1 -1
  102. package/out/StdStyle.sol/StdStyle.json +1 -1
  103. package/out/StdToml.sol/stdToml.abi.json +1 -0
  104. package/out/StdToml.sol/stdToml.json +1 -0
  105. package/out/StdUtils.sol/StdUtils.json +1 -1
  106. package/out/Storage.sol/Storage.json +1 -1
  107. package/out/StoreCore.sol/StoreCore.json +1 -1
  108. package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
  109. package/out/StoreHooks.sol/StoreHooks.json +1 -1
  110. package/out/StoreKernel.sol/StoreKernel.json +1 -1
  111. package/out/StoreRead.sol/StoreRead.json +1 -1
  112. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  113. package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.json +1 -1
  114. package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.json +1 -1
  115. package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.json +1 -1
  116. package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.json +1 -1
  117. package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
  118. package/out/System.sol/System.json +1 -1
  119. package/out/SystemCall.sol/SystemCall.json +1 -1
  120. package/out/SystemHooks.sol/SystemHooks.json +1 -1
  121. package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
  122. package/out/Systems.sol/Systems.json +1 -1
  123. package/out/Tables.sol/Tables.json +1 -1
  124. package/out/Test.sol/Test.abi.json +55 -5
  125. package/out/Test.sol/Test.abi.json.d.ts +55 -5
  126. package/out/Test.sol/Test.json +1 -1
  127. package/out/TightCoder.sol/TightCoder.json +1 -1
  128. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
  129. package/out/Vm.sol/Vm.abi.json +9682 -1821
  130. package/out/Vm.sol/Vm.abi.json.d.ts +9682 -1821
  131. package/out/Vm.sol/Vm.json +1 -1
  132. package/out/Vm.sol/VmSafe.abi.json +8012 -1351
  133. package/out/Vm.sol/VmSafe.abi.json.d.ts +8012 -1351
  134. package/out/Vm.sol/VmSafe.json +1 -1
  135. package/out/World.sol/World.json +1 -1
  136. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  137. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  138. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  139. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  140. package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.json +1 -1
  141. package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.json +1 -1
  142. package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.json +1 -1
  143. package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.json +1 -1
  144. package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.json +1 -1
  145. package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.json +1 -1
  146. package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.json +1 -1
  147. package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.json +1 -1
  148. package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.json +1 -1
  149. package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.json +1 -1
  150. package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.json +1 -1
  151. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
  152. package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
  153. package/out/build-info/{c0f8cd5008b459e06fd3cea120871480.json → d9fabe258f26a97f4aca7003da0f59f4.json} +1 -1
  154. package/out/console.sol/console.json +1 -1
  155. package/out/constants.sol/LayoutOffsets.json +1 -1
  156. package/out/safeconsole.sol/safeconsole.json +1 -1
  157. package/out/src/IERC165.sol/IERC165.json +1 -1
  158. package/package.json +7 -8
  159. package/src/codegen/experimental/systems/MetadataSystemLib.sol +11 -5
  160. package/out/console2.sol/console2.json +0 -1
  161. package/out/test.sol/DSTest.abi.json +0 -296
  162. package/out/test.sol/DSTest.abi.json.d.ts +0 -298
  163. package/out/test.sol/DSTest.json +0 -1
  164. /package/out/{console2.sol/console2.abi.json → StdConstants.sol/StdConstants.abi.json} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/world-module-metadata",
3
- "version": "2.2.23-c9a7e15b89f6e4486abcb46c3a75c213741816a4",
3
+ "version": "2.2.23-e76d72504e7ee51c76fa380bdc4a56f4815b7b59",
4
4
  "description": "Metadata world module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,16 +26,15 @@
26
26
  "src"
27
27
  ],
28
28
  "dependencies": {
29
- "@latticexyz/schema-type": "2.2.23-c9a7e15b89f6e4486abcb46c3a75c213741816a4",
30
- "@latticexyz/store": "2.2.23-c9a7e15b89f6e4486abcb46c3a75c213741816a4",
31
- "@latticexyz/world": "2.2.23-c9a7e15b89f6e4486abcb46c3a75c213741816a4"
29
+ "@latticexyz/schema-type": "2.2.23-e76d72504e7ee51c76fa380bdc4a56f4815b7b59",
30
+ "@latticexyz/store": "2.2.23-e76d72504e7ee51c76fa380bdc4a56f4815b7b59",
31
+ "@latticexyz/world": "2.2.23-e76d72504e7ee51c76fa380bdc4a56f4815b7b59"
32
32
  },
33
33
  "devDependencies": {
34
- "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
35
- "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1",
34
+ "forge-std": "https://github.com/foundry-rs/forge-std.git#60acb7aaadcce2d68e52986a0a66fe79f07d138f",
36
35
  "solhint": "^3.3.7",
37
- "@latticexyz/abi-ts": "2.2.23-c9a7e15b89f6e4486abcb46c3a75c213741816a4",
38
- "@latticexyz/gas-report": "2.2.23-c9a7e15b89f6e4486abcb46c3a75c213741816a4"
36
+ "@latticexyz/abi-ts": "2.2.23-e76d72504e7ee51c76fa380bdc4a56f4815b7b59",
37
+ "@latticexyz/gas-report": "2.2.23-e76d72504e7ee51c76fa380bdc4a56f4815b7b59"
39
38
  },
40
39
  "publishConfig": {
41
40
  "access": "public"
@@ -41,7 +41,7 @@ library MetadataSystemLib {
41
41
  MetadataSystemType self,
42
42
  ResourceId resource,
43
43
  bytes32 tag
44
- ) internal view returns (bytes memory) {
44
+ ) internal view returns (bytes memory __auxRet0) {
45
45
  return CallWrapper(self.toResourceId(), address(0)).getResourceTag(resource, tag);
46
46
  }
47
47
 
@@ -57,7 +57,7 @@ library MetadataSystemLib {
57
57
  CallWrapper memory self,
58
58
  ResourceId resource,
59
59
  bytes32 tag
60
- ) internal view returns (bytes memory) {
60
+ ) internal view returns (bytes memory __auxRet0) {
61
61
  // if the contract calling this function is a root system, it should use `callAsRoot`
62
62
  if (address(_world()) == address(this)) revert MetadataSystemLib_CallingFromRootSystem();
63
63
 
@@ -69,7 +69,10 @@ library MetadataSystemLib {
69
69
  if (!success) revertWithBytes(returnData);
70
70
 
71
71
  bytes memory result = abi.decode(returnData, (bytes));
72
- return abi.decode(result, (bytes));
72
+ // skip decoding an empty result, which can happen after expectRevert
73
+ if (result.length != 0) {
74
+ return abi.decode(result, (bytes));
75
+ }
73
76
  }
74
77
 
75
78
  function setResourceTag(CallWrapper memory self, ResourceId resource, bytes32 tag, bytes memory value) internal {
@@ -99,11 +102,14 @@ library MetadataSystemLib {
99
102
  RootCallWrapper memory self,
100
103
  ResourceId resource,
101
104
  bytes32 tag
102
- ) internal view returns (bytes memory) {
105
+ ) internal view returns (bytes memory __auxRet0) {
103
106
  bytes memory systemCall = abi.encodeCall(_getResourceTag_ResourceId_bytes32.getResourceTag, (resource, tag));
104
107
 
105
108
  bytes memory result = SystemCall.staticcallOrRevert(self.from, self.systemId, systemCall);
106
- return abi.decode(result, (bytes));
109
+ // skip decoding an empty result, which can happen after expectRevert
110
+ if (result.length != 0) {
111
+ return abi.decode(result, (bytes));
112
+ }
107
113
  }
108
114
 
109
115
  function setResourceTag(RootCallWrapper memory self, ResourceId resource, bytes32 tag, bytes memory value) internal {
@@ -1 +0,0 @@
1
- {"abi":[],"bytecode":{"object":"0x602c6032600b8282823980515f1a607314602657634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"525:69152:118:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;525:69152:118;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"0x730000000000000000000000000000000000000000301460806040525f80fdfea164736f6c6343000818000a","sourceMap":"525:69152:118:-:0;;;;;;;;","linkReferences":{}},"methodIdentifiers":{},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"The original console.sol uses `int` and `uint` for computing function selectors, but it should use `int256` and `uint256`. This modified version fixes that. This version is recommended over `console.sol` if you don't need compatibility with Hardhat as the logs will show up in forge stack traces. If you do need compatibility with Hardhat, you must use `console.sol`. Reference: https://github.com/NomicFoundation/hardhat/issues/2178\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"node_modules/forge-std/src/console2.sol\":\"console2\"},\"evmVersion\":\"cancun\",\"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/forge-std/src/console2.sol\":{\"keccak256\":\"0x954646445d1014c3cd85c7918f5e7adeeca5ee44b68c00bafa237e597a4e35ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://516fa3be52da4763147175bfba4be0aa011fadbb0c1afb01f97265bd4cee7973\",\"dweb:/ipfs/QmdixAyMJefx7qePChgdxcBH5MxhmN7vsqPuPLx3CgrVmF\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.24+commit.e11b9ed9"},"language":"Solidity","output":{"abi":[],"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":{"node_modules/forge-std/src/console2.sol":"console2"},"evmVersion":"cancun","libraries":{}},"sources":{"node_modules/forge-std/src/console2.sol":{"keccak256":"0x954646445d1014c3cd85c7918f5e7adeeca5ee44b68c00bafa237e597a4e35ea","urls":["bzz-raw://516fa3be52da4763147175bfba4be0aa011fadbb0c1afb01f97265bd4cee7973","dweb:/ipfs/QmdixAyMJefx7qePChgdxcBH5MxhmN7vsqPuPLx3CgrVmF"],"license":"MIT"}},"version":1},"id":118}
@@ -1,296 +0,0 @@
1
- [
2
- {
3
- "type": "function",
4
- "name": "IS_TEST",
5
- "inputs": [],
6
- "outputs": [
7
- {
8
- "name": "",
9
- "type": "bool",
10
- "internalType": "bool"
11
- }
12
- ],
13
- "stateMutability": "view"
14
- },
15
- {
16
- "type": "function",
17
- "name": "failed",
18
- "inputs": [],
19
- "outputs": [
20
- {
21
- "name": "",
22
- "type": "bool",
23
- "internalType": "bool"
24
- }
25
- ],
26
- "stateMutability": "nonpayable"
27
- },
28
- {
29
- "type": "event",
30
- "name": "log",
31
- "inputs": [
32
- {
33
- "name": "",
34
- "type": "string",
35
- "indexed": false,
36
- "internalType": "string"
37
- }
38
- ],
39
- "anonymous": false
40
- },
41
- {
42
- "type": "event",
43
- "name": "log_address",
44
- "inputs": [
45
- {
46
- "name": "",
47
- "type": "address",
48
- "indexed": false,
49
- "internalType": "address"
50
- }
51
- ],
52
- "anonymous": false
53
- },
54
- {
55
- "type": "event",
56
- "name": "log_bytes",
57
- "inputs": [
58
- {
59
- "name": "",
60
- "type": "bytes",
61
- "indexed": false,
62
- "internalType": "bytes"
63
- }
64
- ],
65
- "anonymous": false
66
- },
67
- {
68
- "type": "event",
69
- "name": "log_bytes32",
70
- "inputs": [
71
- {
72
- "name": "",
73
- "type": "bytes32",
74
- "indexed": false,
75
- "internalType": "bytes32"
76
- }
77
- ],
78
- "anonymous": false
79
- },
80
- {
81
- "type": "event",
82
- "name": "log_int",
83
- "inputs": [
84
- {
85
- "name": "",
86
- "type": "int256",
87
- "indexed": false,
88
- "internalType": "int256"
89
- }
90
- ],
91
- "anonymous": false
92
- },
93
- {
94
- "type": "event",
95
- "name": "log_named_address",
96
- "inputs": [
97
- {
98
- "name": "key",
99
- "type": "string",
100
- "indexed": false,
101
- "internalType": "string"
102
- },
103
- {
104
- "name": "val",
105
- "type": "address",
106
- "indexed": false,
107
- "internalType": "address"
108
- }
109
- ],
110
- "anonymous": false
111
- },
112
- {
113
- "type": "event",
114
- "name": "log_named_bytes",
115
- "inputs": [
116
- {
117
- "name": "key",
118
- "type": "string",
119
- "indexed": false,
120
- "internalType": "string"
121
- },
122
- {
123
- "name": "val",
124
- "type": "bytes",
125
- "indexed": false,
126
- "internalType": "bytes"
127
- }
128
- ],
129
- "anonymous": false
130
- },
131
- {
132
- "type": "event",
133
- "name": "log_named_bytes32",
134
- "inputs": [
135
- {
136
- "name": "key",
137
- "type": "string",
138
- "indexed": false,
139
- "internalType": "string"
140
- },
141
- {
142
- "name": "val",
143
- "type": "bytes32",
144
- "indexed": false,
145
- "internalType": "bytes32"
146
- }
147
- ],
148
- "anonymous": false
149
- },
150
- {
151
- "type": "event",
152
- "name": "log_named_decimal_int",
153
- "inputs": [
154
- {
155
- "name": "key",
156
- "type": "string",
157
- "indexed": false,
158
- "internalType": "string"
159
- },
160
- {
161
- "name": "val",
162
- "type": "int256",
163
- "indexed": false,
164
- "internalType": "int256"
165
- },
166
- {
167
- "name": "decimals",
168
- "type": "uint256",
169
- "indexed": false,
170
- "internalType": "uint256"
171
- }
172
- ],
173
- "anonymous": false
174
- },
175
- {
176
- "type": "event",
177
- "name": "log_named_decimal_uint",
178
- "inputs": [
179
- {
180
- "name": "key",
181
- "type": "string",
182
- "indexed": false,
183
- "internalType": "string"
184
- },
185
- {
186
- "name": "val",
187
- "type": "uint256",
188
- "indexed": false,
189
- "internalType": "uint256"
190
- },
191
- {
192
- "name": "decimals",
193
- "type": "uint256",
194
- "indexed": false,
195
- "internalType": "uint256"
196
- }
197
- ],
198
- "anonymous": false
199
- },
200
- {
201
- "type": "event",
202
- "name": "log_named_int",
203
- "inputs": [
204
- {
205
- "name": "key",
206
- "type": "string",
207
- "indexed": false,
208
- "internalType": "string"
209
- },
210
- {
211
- "name": "val",
212
- "type": "int256",
213
- "indexed": false,
214
- "internalType": "int256"
215
- }
216
- ],
217
- "anonymous": false
218
- },
219
- {
220
- "type": "event",
221
- "name": "log_named_string",
222
- "inputs": [
223
- {
224
- "name": "key",
225
- "type": "string",
226
- "indexed": false,
227
- "internalType": "string"
228
- },
229
- {
230
- "name": "val",
231
- "type": "string",
232
- "indexed": false,
233
- "internalType": "string"
234
- }
235
- ],
236
- "anonymous": false
237
- },
238
- {
239
- "type": "event",
240
- "name": "log_named_uint",
241
- "inputs": [
242
- {
243
- "name": "key",
244
- "type": "string",
245
- "indexed": false,
246
- "internalType": "string"
247
- },
248
- {
249
- "name": "val",
250
- "type": "uint256",
251
- "indexed": false,
252
- "internalType": "uint256"
253
- }
254
- ],
255
- "anonymous": false
256
- },
257
- {
258
- "type": "event",
259
- "name": "log_string",
260
- "inputs": [
261
- {
262
- "name": "",
263
- "type": "string",
264
- "indexed": false,
265
- "internalType": "string"
266
- }
267
- ],
268
- "anonymous": false
269
- },
270
- {
271
- "type": "event",
272
- "name": "log_uint",
273
- "inputs": [
274
- {
275
- "name": "",
276
- "type": "uint256",
277
- "indexed": false,
278
- "internalType": "uint256"
279
- }
280
- ],
281
- "anonymous": false
282
- },
283
- {
284
- "type": "event",
285
- "name": "logs",
286
- "inputs": [
287
- {
288
- "name": "",
289
- "type": "bytes",
290
- "indexed": false,
291
- "internalType": "bytes"
292
- }
293
- ],
294
- "anonymous": false
295
- }
296
- ]
@@ -1,298 +0,0 @@
1
- declare const abi: [
2
- {
3
- "type": "function",
4
- "name": "IS_TEST",
5
- "inputs": [],
6
- "outputs": [
7
- {
8
- "name": "",
9
- "type": "bool",
10
- "internalType": "bool"
11
- }
12
- ],
13
- "stateMutability": "view"
14
- },
15
- {
16
- "type": "function",
17
- "name": "failed",
18
- "inputs": [],
19
- "outputs": [
20
- {
21
- "name": "",
22
- "type": "bool",
23
- "internalType": "bool"
24
- }
25
- ],
26
- "stateMutability": "nonpayable"
27
- },
28
- {
29
- "type": "event",
30
- "name": "log",
31
- "inputs": [
32
- {
33
- "name": "",
34
- "type": "string",
35
- "indexed": false,
36
- "internalType": "string"
37
- }
38
- ],
39
- "anonymous": false
40
- },
41
- {
42
- "type": "event",
43
- "name": "log_address",
44
- "inputs": [
45
- {
46
- "name": "",
47
- "type": "address",
48
- "indexed": false,
49
- "internalType": "address"
50
- }
51
- ],
52
- "anonymous": false
53
- },
54
- {
55
- "type": "event",
56
- "name": "log_bytes",
57
- "inputs": [
58
- {
59
- "name": "",
60
- "type": "bytes",
61
- "indexed": false,
62
- "internalType": "bytes"
63
- }
64
- ],
65
- "anonymous": false
66
- },
67
- {
68
- "type": "event",
69
- "name": "log_bytes32",
70
- "inputs": [
71
- {
72
- "name": "",
73
- "type": "bytes32",
74
- "indexed": false,
75
- "internalType": "bytes32"
76
- }
77
- ],
78
- "anonymous": false
79
- },
80
- {
81
- "type": "event",
82
- "name": "log_int",
83
- "inputs": [
84
- {
85
- "name": "",
86
- "type": "int256",
87
- "indexed": false,
88
- "internalType": "int256"
89
- }
90
- ],
91
- "anonymous": false
92
- },
93
- {
94
- "type": "event",
95
- "name": "log_named_address",
96
- "inputs": [
97
- {
98
- "name": "key",
99
- "type": "string",
100
- "indexed": false,
101
- "internalType": "string"
102
- },
103
- {
104
- "name": "val",
105
- "type": "address",
106
- "indexed": false,
107
- "internalType": "address"
108
- }
109
- ],
110
- "anonymous": false
111
- },
112
- {
113
- "type": "event",
114
- "name": "log_named_bytes",
115
- "inputs": [
116
- {
117
- "name": "key",
118
- "type": "string",
119
- "indexed": false,
120
- "internalType": "string"
121
- },
122
- {
123
- "name": "val",
124
- "type": "bytes",
125
- "indexed": false,
126
- "internalType": "bytes"
127
- }
128
- ],
129
- "anonymous": false
130
- },
131
- {
132
- "type": "event",
133
- "name": "log_named_bytes32",
134
- "inputs": [
135
- {
136
- "name": "key",
137
- "type": "string",
138
- "indexed": false,
139
- "internalType": "string"
140
- },
141
- {
142
- "name": "val",
143
- "type": "bytes32",
144
- "indexed": false,
145
- "internalType": "bytes32"
146
- }
147
- ],
148
- "anonymous": false
149
- },
150
- {
151
- "type": "event",
152
- "name": "log_named_decimal_int",
153
- "inputs": [
154
- {
155
- "name": "key",
156
- "type": "string",
157
- "indexed": false,
158
- "internalType": "string"
159
- },
160
- {
161
- "name": "val",
162
- "type": "int256",
163
- "indexed": false,
164
- "internalType": "int256"
165
- },
166
- {
167
- "name": "decimals",
168
- "type": "uint256",
169
- "indexed": false,
170
- "internalType": "uint256"
171
- }
172
- ],
173
- "anonymous": false
174
- },
175
- {
176
- "type": "event",
177
- "name": "log_named_decimal_uint",
178
- "inputs": [
179
- {
180
- "name": "key",
181
- "type": "string",
182
- "indexed": false,
183
- "internalType": "string"
184
- },
185
- {
186
- "name": "val",
187
- "type": "uint256",
188
- "indexed": false,
189
- "internalType": "uint256"
190
- },
191
- {
192
- "name": "decimals",
193
- "type": "uint256",
194
- "indexed": false,
195
- "internalType": "uint256"
196
- }
197
- ],
198
- "anonymous": false
199
- },
200
- {
201
- "type": "event",
202
- "name": "log_named_int",
203
- "inputs": [
204
- {
205
- "name": "key",
206
- "type": "string",
207
- "indexed": false,
208
- "internalType": "string"
209
- },
210
- {
211
- "name": "val",
212
- "type": "int256",
213
- "indexed": false,
214
- "internalType": "int256"
215
- }
216
- ],
217
- "anonymous": false
218
- },
219
- {
220
- "type": "event",
221
- "name": "log_named_string",
222
- "inputs": [
223
- {
224
- "name": "key",
225
- "type": "string",
226
- "indexed": false,
227
- "internalType": "string"
228
- },
229
- {
230
- "name": "val",
231
- "type": "string",
232
- "indexed": false,
233
- "internalType": "string"
234
- }
235
- ],
236
- "anonymous": false
237
- },
238
- {
239
- "type": "event",
240
- "name": "log_named_uint",
241
- "inputs": [
242
- {
243
- "name": "key",
244
- "type": "string",
245
- "indexed": false,
246
- "internalType": "string"
247
- },
248
- {
249
- "name": "val",
250
- "type": "uint256",
251
- "indexed": false,
252
- "internalType": "uint256"
253
- }
254
- ],
255
- "anonymous": false
256
- },
257
- {
258
- "type": "event",
259
- "name": "log_string",
260
- "inputs": [
261
- {
262
- "name": "",
263
- "type": "string",
264
- "indexed": false,
265
- "internalType": "string"
266
- }
267
- ],
268
- "anonymous": false
269
- },
270
- {
271
- "type": "event",
272
- "name": "log_uint",
273
- "inputs": [
274
- {
275
- "name": "",
276
- "type": "uint256",
277
- "indexed": false,
278
- "internalType": "uint256"
279
- }
280
- ],
281
- "anonymous": false
282
- },
283
- {
284
- "type": "event",
285
- "name": "logs",
286
- "inputs": [
287
- {
288
- "name": "",
289
- "type": "bytes",
290
- "indexed": false,
291
- "internalType": "bytes"
292
- }
293
- ],
294
- "anonymous": false
295
- }
296
- ];
297
-
298
- export default abi;