@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.
- package/out/AccessControl.sol/AccessControl.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/Balances.sol/Balances.json +1 -1
- package/out/Base.sol/CommonBase.json +1 -1
- package/out/Base.sol/ScriptBase.json +1 -1
- package/out/Base.sol/TestBase.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/Bytes.sol/Bytes.json +1 -1
- package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
- package/out/EncodeArray.sol/EncodeArray.json +1 -1
- package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -1
- package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -1
- package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
- package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
- package/out/GasReporter.sol/GasReporter.abi.json +55 -5
- package/out/GasReporter.sol/GasReporter.abi.json.d.ts +55 -5
- package/out/GasReporter.sol/GasReporter.json +1 -1
- package/out/Hook.sol/HookInstance.json +1 -1
- package/out/Hook.sol/HookLib.json +1 -1
- package/out/Hooks.sol/Hooks.json +1 -1
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
- package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
- package/out/IERC165.sol/IERC165.json +1 -1
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -1
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -1
- package/out/IMetadataSystem.sol/IMetadataSystem.json +1 -1
- package/out/IModule.sol/IModule.json +1 -1
- package/out/IModuleErrors.sol/IModuleErrors.json +1 -1
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
- package/out/IMulticall3.sol/IMulticall3.json +1 -1
- package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
- package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -1
- package/out/ISliceErrors.sol/ISliceErrors.json +1 -1
- package/out/IStore.sol/IStore.json +1 -1
- package/out/IStoreErrors.sol/IStoreErrors.json +1 -1
- package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
- package/out/IStoreHook.sol/IStoreHook.json +1 -1
- package/out/IStoreKernel.sol/IStoreKernel.json +1 -1
- package/out/IStoreRead.sol/IStoreRead.json +1 -1
- package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
- package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
- package/out/ISystemHook.sol/ISystemHook.json +1 -1
- package/out/IWorld.sol/IWorld.json +1 -1
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
- package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
- package/out/IWorldEvents.sol/IWorldEvents.json +1 -1
- package/out/IWorldKernel.sol/IWorldCall.json +1 -1
- package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
- package/out/InstalledModules.sol/InstalledModules.json +1 -1
- package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
- package/out/Memory.sol/Memory.json +1 -1
- package/out/MetadataModule.sol/MetadataModule.json +1 -1
- package/out/MetadataModule.t.sol/MetadataModuleTest.abi.json +55 -5
- package/out/MetadataModule.t.sol/MetadataModuleTest.abi.json.d.ts +55 -5
- package/out/MetadataModule.t.sol/MetadataModuleTest.json +1 -1
- package/out/MetadataSystem.sol/MetadataSystem.json +1 -1
- package/out/MetadataSystemLib.sol/MetadataSystemLib.json +1 -1
- package/out/MetadataSystemLib.sol/_deleteResourceTag_ResourceId_bytes32.json +1 -1
- package/out/MetadataSystemLib.sol/_getResourceTag_ResourceId_bytes32.json +1 -1
- package/out/MetadataSystemLib.sol/_setResourceTag_ResourceId_bytes32_bytes.json +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
- package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
- package/out/ResourceId.sol/ResourceIdLib.json +1 -1
- package/out/ResourceIds.sol/ResourceIds.json +1 -1
- package/out/ResourceTag.sol/ResourceTag.json +1 -1
- package/out/Schema.sol/SchemaInstance.json +1 -1
- package/out/Schema.sol/SchemaLib.json +1 -1
- package/out/Slice.sol/SliceInstance.json +1 -1
- package/out/Slice.sol/SliceLib.json +1 -1
- package/out/StdAssertions.sol/StdAssertions.abi.json +1 -14
- package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +1 -14
- package/out/StdAssertions.sol/StdAssertions.json +1 -1
- package/out/StdChains.sol/StdChains.json +1 -1
- package/out/StdCheats.sol/StdCheats.json +1 -1
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
- package/out/StdConstants.sol/StdConstants.json +1 -0
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StdInvariant.sol/StdInvariant.abi.json +54 -4
- package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +54 -4
- package/out/StdInvariant.sol/StdInvariant.json +1 -1
- package/out/StdJson.sol/stdJson.json +1 -1
- package/out/StdMath.sol/stdMath.json +1 -1
- package/out/StdStorage.sol/stdStorage.json +1 -1
- package/out/StdStorage.sol/stdStorageSafe.json +1 -1
- package/out/StdStyle.sol/StdStyle.json +1 -1
- package/out/StdToml.sol/stdToml.abi.json +1 -0
- package/out/StdToml.sol/stdToml.json +1 -0
- package/out/StdUtils.sol/StdUtils.json +1 -1
- package/out/Storage.sol/Storage.json +1 -1
- package/out/StoreCore.sol/StoreCore.json +1 -1
- package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
- package/out/StoreHooks.sol/StoreHooks.json +1 -1
- package/out/StoreKernel.sol/StoreKernel.json +1 -1
- package/out/StoreRead.sol/StoreRead.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.json +1 -1
- package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.json +1 -1
- package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.json +1 -1
- package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.json +1 -1
- package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/SystemCall.sol/SystemCall.json +1 -1
- package/out/SystemHooks.sol/SystemHooks.json +1 -1
- package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
- package/out/Systems.sol/Systems.json +1 -1
- package/out/Tables.sol/Tables.json +1 -1
- package/out/Test.sol/Test.abi.json +55 -5
- package/out/Test.sol/Test.abi.json.d.ts +55 -5
- package/out/Test.sol/Test.json +1 -1
- package/out/TightCoder.sol/TightCoder.json +1 -1
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
- package/out/Vm.sol/Vm.abi.json +9682 -1821
- package/out/Vm.sol/Vm.abi.json.d.ts +9682 -1821
- package/out/Vm.sol/Vm.json +1 -1
- package/out/Vm.sol/VmSafe.abi.json +8012 -1351
- package/out/Vm.sol/VmSafe.abi.json.d.ts +8012 -1351
- package/out/Vm.sol/VmSafe.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.json +1 -1
- package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.json +1 -1
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
- package/out/build-info/{c0f8cd5008b459e06fd3cea120871480.json → d9fabe258f26a97f4aca7003da0f59f4.json} +1 -1
- package/out/console.sol/console.json +1 -1
- package/out/constants.sol/LayoutOffsets.json +1 -1
- package/out/safeconsole.sol/safeconsole.json +1 -1
- package/out/src/IERC165.sol/IERC165.json +1 -1
- package/package.json +7 -8
- package/src/codegen/experimental/systems/MetadataSystemLib.sol +11 -5
- package/out/console2.sol/console2.json +0 -1
- package/out/test.sol/DSTest.abi.json +0 -296
- package/out/test.sol/DSTest.abi.json.d.ts +0 -298
- package/out/test.sol/DSTest.json +0 -1
- /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-
|
|
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-
|
|
30
|
-
"@latticexyz/store": "2.2.23-
|
|
31
|
-
"@latticexyz/world": "2.2.23-
|
|
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
|
-
"
|
|
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-
|
|
38
|
-
"@latticexyz/gas-report": "2.2.23-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|