Created
December 18, 2022 09:15
-
-
Save Navidiuming/cf70f9fd4f05da8e3e19eaa1025b20d4 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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
This file contains 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
[core] | |
repositoryformatversion = 0 | |
filemode = false | |
bare = false | |
logallrefupdates = true | |
symlinks = false | |
ignorecase = true | |
[http] | |
corsProxy = https://corsproxy.remixproject.org/ | |
[remote "soliditytest"] | |
fetch = +refs/heads/*:refs/remotes/solidityTest/* | |
url = https://github.com/Navidiuming/solidity_test.git |
This file contains 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
ref: refs/heads/master |
This file contains 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
x���An� E����a` KQ��30��D.���� | |
]~�����k-꯱���h0'�Lb/<��Z����M���Y;��]� �B��uD41 | |
)�źY2Oɑ9��cl}�=K.G-m�K��3q�/4�r]+��9����Eg''m�V�/t�?j}?}�|����o���Q |
This file contains 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
x�+)JMU0` | |
, |
This file contains 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
x���A | |
� @Ѯ=��B��(�'��F��/�����coM�6/�`�H�.):����/H�'�Z�31� | |
��9J?�+�%��d��}����F��ւ�)�����X0�� | |
�*�ƃ� T�Z�� �#<� |
This file contains 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
0d2a88e280ce9e29f22f95c3f53e7927826e016b |
This file contains 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": "469c88576e95fcd0dfaebad2748a5208", | |
"_format": "hh-sol-build-info-1", | |
"solcVersion": "0.8.7", | |
"solcLongVersion": "0.8.7+commit.e28d00a7", | |
"input": { | |
"language": "Solidity", | |
"sources": { | |
".git/scripts/Main.sol": { | |
"content": "\r\ncontract Main {\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" | |
] | |
} | |
} | |
} | |
}, | |
"output": { | |
"contracts": { | |
".git/scripts/Main.sol": { | |
"Main": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"evm": { | |
"assembly": " /* \".git/scripts/Main.sol\":2:26 contract Main {\r... */\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 /* \".git/scripts/Main.sol\":2:26 contract Main {\r... */\n mstore(0x40, 0x80)\n 0x00\n dup1\n revert\n\n auxdata: 0xa2646970667358221220be4b49c54e55cc83b335b07e921e9f5ab31dae25ffc9aedc3fb92bd087131f0864736f6c63430008070033\n}\n", | |
"bytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220be4b49c54e55cc83b335b07e921e9f5ab31dae25ffc9aedc3fb92bd087131f0864736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3F DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0x4B 0x49 0xC5 0x4E SSTORE 0xCC DUP4 0xB3 CALLDATALOAD 0xB0 PUSH31 0x921E9F5AB31DAE25FFC9AEDC3FB92BD087131F0864736F6C63430008070033 ", | |
"sourceMap": "2:24:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "6080604052600080fdfea2646970667358221220be4b49c54e55cc83b335b07e921e9f5ab31dae25ffc9aedc3fb92bd087131f0864736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0x4B 0x49 0xC5 0x4E SSTORE 0xCC DUP4 0xB3 CALLDATALOAD 0xB0 PUSH31 0x921E9F5AB31DAE25FFC9AEDC3FB92BD087131F0864736F6C63430008070033 ", | |
"sourceMap": "2:24:0:-:0;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "12600", | |
"executionCost": "66", | |
"totalCost": "12666" | |
} | |
}, | |
"legacyAssembly": { | |
".code": [ | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "80" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "40" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "MSTORE", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "CALLVALUE", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "ISZERO", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH [tag]", | |
"source": 0, | |
"value": "1" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "JUMPI", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "REVERT", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "tag", | |
"source": 0, | |
"value": "1" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "JUMPDEST", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "POP", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH #[$]", | |
"source": 0, | |
"value": "0000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH [$]", | |
"source": 0, | |
"value": "0000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "CODECOPY", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "RETURN", | |
"source": 0 | |
} | |
], | |
".data": { | |
"0": { | |
".auxdata": "a2646970667358221220be4b49c54e55cc83b335b07e921e9f5ab31dae25ffc9aedc3fb92bd087131f0864736f6c63430008070033", | |
".code": [ | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "80" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "40" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "MSTORE", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "PUSH", | |
"source": 0, | |
"value": "0" | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "DUP1", | |
"source": 0 | |
}, | |
{ | |
"begin": 2, | |
"end": 26, | |
"name": "REVERT", | |
"source": 0 | |
} | |
] | |
} | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"metadata": "{\"compiler\":{\"version\":\"0.8.7+commit.e28d00a7\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\".git/scripts/Main.sol\":\"Main\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\".git/scripts/Main.sol\":{\"keccak256\":\"0x05650b882427b0b2b17b6118c7dc91f4d3def4f11334d7d5cef19278b7095b1f\",\"urls\":[\"bzz-raw://a32a060408fa48f1a843e50391ed9f63c7d492112d1a16e04b1fd26398961c72\",\"dweb:/ipfs/QmTcdyrCnNPgtED41PhoordGM9CGXXJnvnq8bFUyzv9r95\"]}},\"version\":1}", | |
"storageLayout": { | |
"storage": [], | |
"types": null | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
} | |
} | |
}, | |
"errors": [ | |
{ | |
"component": "general", | |
"errorCode": "1878", | |
"formattedMessage": "Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.\n--> .git/scripts/Main.sol\n\n", | |
"message": "SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.", | |
"severity": "warning", | |
"sourceLocation": { | |
"end": -1, | |
"file": ".git/scripts/Main.sol", | |
"start": -1 | |
}, | |
"type": "Warning" | |
}, | |
{ | |
"component": "general", | |
"errorCode": "3420", | |
"formattedMessage": "Warning: Source file does not specify required compiler version! Consider adding \"pragma solidity ^0.8.7;\"\n--> .git/scripts/Main.sol\n\n", | |
"message": "Source file does not specify required compiler version! Consider adding \"pragma solidity ^0.8.7;\"", | |
"severity": "warning", | |
"sourceLocation": { | |
"end": -1, | |
"file": ".git/scripts/Main.sol", | |
"start": -1 | |
}, | |
"type": "Warning" | |
} | |
], | |
"sources": { | |
".git/scripts/Main.sol": { | |
"ast": { | |
"absolutePath": ".git/scripts/Main.sol", | |
"exportedSymbols": { | |
"Main": [ | |
1 | |
] | |
}, | |
"id": 2, | |
"nodeType": "SourceUnit", | |
"nodes": [ | |
{ | |
"abstract": false, | |
"baseContracts": [], | |
"contractDependencies": [], | |
"contractKind": "contract", | |
"fullyImplemented": true, | |
"id": 1, | |
"linearizedBaseContracts": [ | |
1 | |
], | |
"name": "Main", | |
"nameLocation": "11:4:0", | |
"nodeType": "ContractDefinition", | |
"nodes": [], | |
"scope": 2, | |
"src": "2:24:0", | |
"usedErrors": [] | |
} | |
], | |
"src": "2:24:0" | |
}, | |
"id": 0 | |
} | |
} | |
} | |
} |
This file contains 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": "6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea2646970667358221220be4b49c54e55cc83b335b07e921e9f5ab31dae25ffc9aedc3fb92bd087131f0864736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x3F DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0x4B 0x49 0xC5 0x4E SSTORE 0xCC DUP4 0xB3 CALLDATALOAD 0xB0 PUSH31 0x921E9F5AB31DAE25FFC9AEDC3FB92BD087131F0864736F6C63430008070033 ", | |
"sourceMap": "2:24:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"functionDebugData": {}, | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "6080604052600080fdfea2646970667358221220be4b49c54e55cc83b335b07e921e9f5ab31dae25ffc9aedc3fb92bd087131f0864736f6c63430008070033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0x4B 0x49 0xC5 0x4E SSTORE 0xCC DUP4 0xB3 CALLDATALOAD 0xB0 PUSH31 0x921E9F5AB31DAE25FFC9AEDC3FB92BD087131F0864736F6C63430008070033 ", | |
"sourceMap": "2:24:0:-:0;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "12600", | |
"executionCost": "66", | |
"totalCost": "12666" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
This file contains 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.7+commit.e28d00a7" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
".git/scripts/Main.sol": "Main" | |
}, | |
"evmVersion": "london", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
".git/scripts/Main.sol": { | |
"keccak256": "0x05650b882427b0b2b17b6118c7dc91f4d3def4f11334d7d5cef19278b7095b1f", | |
"urls": [ | |
"bzz-raw://a32a060408fa48f1a843e50391ed9f63c7d492112d1a16e04b1fd26398961c72", | |
"dweb:/ipfs/QmTcdyrCnNPgtED41PhoordGM9CGXXJnvnq8bFUyzv9r95" | |
] | |
} | |
}, | |
"version": 1 | |
} |
This file contains 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
contract Main { | |
int navid; | |
navid = 10; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just as a test