-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
80001 |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"address": "0x78aa7764A209f7994b917637F7623A7Ecb8B1119", | ||
"abi": [], | ||
"transactionHash": "0x23046814458fe335e89f1c0c1d6b5b1d7269b4f3c8e81d0b2d84f01407e4a6b0", | ||
"receipt": { | ||
"to": null, | ||
"from": "0x18930e8a66a1DbE21D00581216789AAB7460Afd0", | ||
"contractAddress": "0x78aa7764A209f7994b917637F7623A7Ecb8B1119", | ||
"transactionIndex": 4, | ||
"gasUsed": "72217", | ||
"logsBloom": "0x00000000000000020000000000000000000000000000000000000020000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000020000000000000000001000000000000000000000000004000000000000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000024000100000", | ||
"blockHash": "0x377c8314506dc225e87714a559c16cafb821d1b349393dafec7a84d525cedfa3", | ||
"transactionHash": "0x23046814458fe335e89f1c0c1d6b5b1d7269b4f3c8e81d0b2d84f01407e4a6b0", | ||
"logs": [ | ||
{ | ||
"transactionIndex": 4, | ||
"blockNumber": 25798457, | ||
"transactionHash": "0x23046814458fe335e89f1c0c1d6b5b1d7269b4f3c8e81d0b2d84f01407e4a6b0", | ||
"address": "0x0000000000000000000000000000000000001010", | ||
"topics": [ | ||
"0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63", | ||
"0x0000000000000000000000000000000000000000000000000000000000001010", | ||
"0x00000000000000000000000018930e8a66a1dbe21d00581216789aab7460afd0", | ||
"0x000000000000000000000000c26880a0af2ea0c7e8130e6ec47af756465452e8" | ||
], | ||
"data": "0x000000000000000000000000000000000000000000000000000290cf4e463f0600000000000000000000000000000000000000000000000003ba73a5bcd90f230000000000000000000000000000000000000000000009f823d3074355783f9100000000000000000000000000000000000000000000000003b7e2d66e92d01d0000000000000000000000000000000000000000000009f823d59812a3be7e97", | ||
"logIndex": 8, | ||
"blockHash": "0x377c8314506dc225e87714a559c16cafb821d1b349393dafec7a84d525cedfa3" | ||
} | ||
], | ||
"blockNumber": 25798457, | ||
"cumulativeGasUsed": "603479", | ||
"status": 1, | ||
"byzantium": true | ||
}, | ||
"args": [], | ||
"numDeployments": 2, | ||
"solcInputHash": "a2b3a8408e24625b8f869ed6c9ef20a3", | ||
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/libraries/LibOutput.sol\":\"LibOutput\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/libraries/LibOutput.sol\":{\"content\":\"// Copyright 2021 Cartesi Pte. Ltd.\\n\\n// SPDX-License-Identifier: Apache-2.0\\n// Licensed under the Apache License, Version 2.0 (the \\\"License\\\"); you may not use\\n// this file except in compliance with the License. You may obtain a copy of the\\n// License at http://www.apache.org/licenses/LICENSE-2.0\\n\\n// Unless required by applicable law or agreed to in writing, software distributed\\n// under the License is distributed on an \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR\\n// CONDITIONS OF ANY KIND, either express or implied. See the License for the\\n// specific language governing permissions and limitations under the License.\\n\\n/// @title Output library\\npragma solidity ^0.8.0;\\n\\nlibrary LibOutput {\\n bytes32 constant DIAMOND_STORAGE_POSITION =\\n keccak256(\\\"Output.diamond.storage\\\");\\n\\n struct DiamondStorage {\\n mapping(uint256 => uint256) voucherBitmask;\\n bytes32[] epochHashes;\\n bool lock; //reentrancy lock\\n }\\n\\n function diamondStorage()\\n internal\\n pure\\n returns (DiamondStorage storage ds)\\n {\\n bytes32 position = DIAMOND_STORAGE_POSITION;\\n assembly {\\n ds.slot := position\\n }\\n }\\n\\n /// @notice to be called when an epoch is finalized\\n /// @param ds diamond storage pointer\\n /// @param epochHash hash of finalized epoch\\n /// @dev an epoch being finalized means that its vouchers can be called\\n function onNewEpoch(DiamondStorage storage ds, bytes32 epochHash) internal {\\n ds.epochHashes.push(epochHash);\\n }\\n\\n /// @notice get number of finalized epochs\\n /// @param ds diamond storage pointer\\n function getNumberOfFinalizedEpochs(DiamondStorage storage ds)\\n internal\\n view\\n returns (uint256)\\n {\\n return ds.epochHashes.length;\\n }\\n}\\n\",\"keccak256\":\"0xd0f88e13210013e9d5bde03399bb76304d6ab4e1f06d01c7e3525adc87a2d65e\",\"license\":\"Apache-2.0\"}},\"version\":1}", | ||
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b9feb0adc702e3687bbb49b753bbb4f4a9adbe0e872b8403f87aa9130e9c38e764736f6c634300080d0033", | ||
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b9feb0adc702e3687bbb49b753bbb4f4a9adbe0e872b8403f87aa9130e9c38e764736f6c634300080d0033", | ||
"devdoc": { | ||
"kind": "dev", | ||
"methods": {}, | ||
"version": 1 | ||
}, | ||
"userdoc": { | ||
"kind": "user", | ||
"methods": {}, | ||
"version": 1 | ||
}, | ||
"storageLayout": { | ||
"storage": [], | ||
"types": null | ||
} | ||
} |
Large diffs are not rendered by default.
Large diffs are not rendered by default.