Created
March 28, 2025 03:42
-
-
Save DNA-121102/eb5ab0b455d1d2cd7a904cb403361dbf to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.26+commit.8a97fa7a.js&optimize=false&runs=200&gist=
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "f248644ce958524140389d9229b2f0d9", | |
"_format": "hh-sol-build-info-1", | |
"solcVersion": "0.8.26", | |
"solcLongVersion": "0.8.26+commit.8a97fa7a", | |
"input": { | |
"language": "Solidity", | |
"sources": { | |
"SimpleStorage.sol": { | |
"content": "// SPDX-License-Identifier: MIT\r\npragma solidity ^0.8.19;//'^' mean that the solidity file only worked on 0.8.19 or higher.\r\n//pragma solidity >=0.8.19<0.9.0; //to specify the solidity version in the certain range.\r\n\r\ncontract SimpleStorage{\r\n \r\n}" | |
} | |
}, | |
"settings": { | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"outputSelection": { | |
"*": { | |
"": [ | |
"ast" | |
], | |
"*": [ | |
"abi", | |
"metadata", | |
"devdoc", | |
"userdoc", | |
"storageLayout", | |
"evm.legacyAssembly", | |
"evm.bytecode", | |
"evm.deployedBytecode", | |
"evm.methodIdentifiers", | |
"evm.gasEstimates", | |
"evm.assembly" | |
] | |
} | |
}, | |
"remappings": [] | |
} | |
}, | |
"output": { | |
"contracts": { | |
"SimpleStorage.sol": { | |
"SimpleStorage": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"evm": { | |
"assembly": " /* \"SimpleStorage.sol\":218:250 contract SimpleStorage{... */\n mstore(0x40, 0x80)\n callvalue\n dup1\n iszero\n tag_1\n jumpi\n 0x00\n dup1\n revert\ntag_1:\n pop\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x00\n codecopy\n 0x00\n return\nstop\n\nsub_0: assembly {\n /* \"SimpleStorage.sol\":218:250 contract SimpleStorage{... */\n mstore(0x40, 0x80)\n 0x00\n dup1\n revert\n\n auxdata: 0xa2646970667358221220a9e2e1cde4b311cec252a229d79db0909dc3a1138067a03b6af6bf334b94c47964736f6c634300081a0033\n}\n", | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "6080604052348015600e575f80fd5b50603e80601a5f395ff3fe60806040525f80fdfea2646970667358221220a9e2e1cde4b311cec252a229d79db0909dc3a1138067a03b6af6bf334b94c47964736f6c634300081a0033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xE JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x3E DUP1 PUSH1 0x1A PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA9 0xE2 0xE1 0xCD 0xE4 0xB3 GT 0xCE 0xC2 MSTORE LOG2 0x29 0xD7 SWAP14 0xB0 SWAP1 SWAP14 0xC3 LOG1 SGT DUP1 PUSH8 0xA03B6AF6BF334B94 0xC4 PUSH26 0x64736F6C634300081A0033000000000000000000000000000000 ", | |
"sourceMap": "218:32:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "60806040525f80fdfea2646970667358221220a9e2e1cde4b311cec252a229d79db0909dc3a1138067a03b6af6bf334b94c47964736f6c634300081a0033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA9 0xE2 0xE1 0xCD 0xE4 0xB3 GT 0xCE 0xC2 MSTORE LOG2 0x29 0xD7 SWAP14 0xB0 SWAP1 SWAP14 0xC3 LOG1 SGT DUP1 PUSH8 0xA03B6AF6BF334B94 0xC4 PUSH26 0x64736F6C634300081A0033000000000000000000000000000000 ", | |
"sourceMap": "218:32:0:-:0;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "12400", | |
"executionCost": "64", | |
"totalCost": "12464" | |
} | |
}, | |
"legacyAssembly": { | |
".code": [ | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "80" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "40" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "MSTORE", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "CALLVALUE", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "ISZERO", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH [tag]", | |
"source": 0, | |
"value": "1" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "JUMPI", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "REVERT", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "tag", | |
"source": 0, | |
"value": "1" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "JUMPDEST", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "POP", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH #[$]", | |
"source": 0, | |
"value": "0000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH [$]", | |
"source": 0, | |
"value": "0000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "CODECOPY", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "RETURN", | |
"source": 0 | |
} | |
], | |
".data": { | |
"0": { | |
".auxdata": "a2646970667358221220a9e2e1cde4b311cec252a229d79db0909dc3a1138067a03b6af6bf334b94c47964736f6c634300081a0033", | |
".code": [ | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "80" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "40" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "MSTORE", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 218, | |
"end": 250, | |
"name": "REVERT", | |
"source": 0 | |
} | |
] | |
} | |
}, | |
"sourceList": [ | |
"SimpleStorage.sol", | |
"#utility.yul" | |
] | |
}, | |
"methodIdentifiers": {} | |
}, | |
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"SimpleStorage.sol\":\"SimpleStorage\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"SimpleStorage.sol\":{\"keccak256\":\"0x36734e09d092aca6004e45085681b1b20daa675e5271db487d70512567b1cb74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b2d3fb653067cd98981d481a6568300302aca934a71b791498ff3950ffc8f64f\",\"dweb:/ipfs/QmTmnjxehjAuC6WvnWS6fh2LGQL7qriGue5DU7GJ2rLEac\"]}},\"version\":1}", | |
"storageLayout": { | |
"storage": [], | |
"types": null | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
} | |
} | |
}, | |
"sources": { | |
"SimpleStorage.sol": { | |
"ast": { | |
"absolutePath": "SimpleStorage.sol", | |
"exportedSymbols": { | |
"SimpleStorage": [ | |
2 | |
] | |
}, | |
"id": 3, | |
"license": "MIT", | |
"nodeType": "SourceUnit", | |
"nodes": [ | |
{ | |
"id": 1, | |
"literals": [ | |
"solidity", | |
"^", | |
"0.8", | |
".19" | |
], | |
"nodeType": "PragmaDirective", | |
"src": "33:24:0" | |
}, | |
{ | |
"abstract": false, | |
"baseContracts": [], | |
"canonicalName": "SimpleStorage", | |
"contractDependencies": [], | |
"contractKind": "contract", | |
"fullyImplemented": true, | |
"id": 2, | |
"linearizedBaseContracts": [ | |
2 | |
], | |
"name": "SimpleStorage", | |
"nameLocation": "227:13:0", | |
"nodeType": "ContractDefinition", | |
"nodes": [], | |
"scope": 3, | |
"src": "218:32:0", | |
"usedErrors": [], | |
"usedEvents": [] | |
} | |
], | |
"src": "33:217:0" | |
}, | |
"id": 0 | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"goerli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "6080604052348015600e575f80fd5b50603e80601a5f395ff3fe60806040525f80fdfea2646970667358221220a9e2e1cde4b311cec252a229d79db0909dc3a1138067a03b6af6bf334b94c47964736f6c634300081a0033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xE JUMPI PUSH0 DUP1 REVERT JUMPDEST POP PUSH1 0x3E DUP1 PUSH1 0x1A PUSH0 CODECOPY PUSH0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA9 0xE2 0xE1 0xCD 0xE4 0xB3 GT 0xCE 0xC2 MSTORE LOG2 0x29 0xD7 SWAP14 0xB0 SWAP1 SWAP14 0xC3 LOG1 SGT DUP1 PUSH8 0xA03B6AF6BF334B94 0xC4 PUSH26 0x64736F6C634300081A0033000000000000000000000000000000 ", | |
"sourceMap": "218:32:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "60806040525f80fdfea2646970667358221220a9e2e1cde4b311cec252a229d79db0909dc3a1138067a03b6af6bf334b94c47964736f6c634300081a0033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA9 0xE2 0xE1 0xCD 0xE4 0xB3 GT 0xCE 0xC2 MSTORE LOG2 0x29 0xD7 SWAP14 0xB0 SWAP1 SWAP14 0xC3 LOG1 SGT DUP1 PUSH8 0xA03B6AF6BF334B94 0xC4 PUSH26 0x64736F6C634300081A0033000000000000000000000000000000 ", | |
"sourceMap": "218:32:0:-:0;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "12400", | |
"executionCost": "64", | |
"totalCost": "12464" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compiler": { | |
"version": "0.8.26+commit.8a97fa7a" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"SimpleStorage.sol": "SimpleStorage" | |
}, | |
"evmVersion": "cancun", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"SimpleStorage.sol": { | |
"keccak256": "0x36734e09d092aca6004e45085681b1b20daa675e5271db487d70512567b1cb74", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://b2d3fb653067cd98981d481a6568300302aca934a71b791498ff3950ffc8f64f", | |
"dweb:/ipfs/QmTmnjxehjAuC6WvnWS6fh2LGQL7qriGue5DU7GJ2rLEac" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.19;//'^' mean that the solidity file only worked on 0.8.19 or higher. | |
//pragma solidity >=0.8.19<0.9.0; //to specify the solidity version in the certain range. | |
contract SimpleStorage{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment