Skip to content

Instantly share code, notes, and snippets.

@Charlie-pang-sys
Created January 8, 2025 13:39
Show Gist options
  • Select an option

  • Save Charlie-pang-sys/45731e0481d46c741dba16839d030fc4 to your computer and use it in GitHub Desktop.

Select an option

Save Charlie-pang-sys/45731e0481d46c741dba16839d030fc4 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=
{
"id": "76906350ac82e826dc8f0bb57bb9e5c3",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.26",
"solcLongVersion": "0.8.26+commit.8a97fa7a",
"input": {
"language": "Solidity",
"sources": {
"test/FundMe.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\ncontract FundMe{\n \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": {
"test/FundMe.sol": {
"FundMe": {
"abi": [],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": " /* \"test/FundMe.sol\":58:81 contract FundMe{... */\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 /* \"test/FundMe.sol\":58:81 contract FundMe{... */\n mstore(0x40, 0x80)\n 0x00\n dup1\n revert\n\n auxdata: 0xa2646970667358221220785d33f72c163a997325cfc6cccc9549af9562857e38389d464bd994fffafb8264736f6c634300081a0033\n}\n",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "6080604052348015600e575f80fd5b50603e80601a5f395ff3fe60806040525f80fdfea2646970667358221220785d33f72c163a997325cfc6cccc9549af9562857e38389d464bd994fffafb8264736f6c634300081a0033",
"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 PUSH25 0x5D33F72C163A997325CFC6CCCC9549AF9562857E38389D464B 0xD9 SWAP5 SELFDESTRUCT STATICCALL 0xFB DUP3 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP CALLER ",
"sourceMap": "58:23:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "60806040525f80fdfea2646970667358221220785d33f72c163a997325cfc6cccc9549af9562857e38389d464bd994fffafb8264736f6c634300081a0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH25 0x5D33F72C163A997325CFC6CCCC9549AF9562857E38389D464B 0xD9 SWAP5 SELFDESTRUCT STATICCALL 0xFB DUP3 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP CALLER ",
"sourceMap": "58:23:0:-:0;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "12400",
"executionCost": "64",
"totalCost": "12464"
}
},
"legacyAssembly": {
".code": [
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 58,
"end": 81,
"name": "MSTORE",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "CALLVALUE",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "ISZERO",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "PUSH [tag]",
"source": 0,
"value": "1"
},
{
"begin": 58,
"end": 81,
"name": "JUMPI",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 81,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "REVERT",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "tag",
"source": 0,
"value": "1"
},
{
"begin": 58,
"end": 81,
"name": "JUMPDEST",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "POP",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "PUSH #[$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 58,
"end": 81,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "PUSH [$]",
"source": 0,
"value": "0000000000000000000000000000000000000000000000000000000000000000"
},
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 81,
"name": "CODECOPY",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 81,
"name": "RETURN",
"source": 0
}
],
".data": {
"0": {
".auxdata": "a2646970667358221220785d33f72c163a997325cfc6cccc9549af9562857e38389d464bd994fffafb8264736f6c634300081a0033",
".code": [
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "80"
},
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "40"
},
{
"begin": 58,
"end": 81,
"name": "MSTORE",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "PUSH",
"source": 0,
"value": "0"
},
{
"begin": 58,
"end": 81,
"name": "DUP1",
"source": 0
},
{
"begin": 58,
"end": 81,
"name": "REVERT",
"source": 0
}
]
}
},
"sourceList": [
"test/FundMe.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\":{\"test/FundMe.sol\":\"FundMe\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"test/FundMe.sol\":{\"keccak256\":\"0x8973ac98e00710e70687c3b24e2218191c36e3fc2cfb0e27c406975853dafd1f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cf12ae50aa7e5292da732255358e11ade9f4de8b23e57e4dd53a6fd7efa05d4\",\"dweb:/ipfs/QmbrXpUFzgPvSs353s5akUGZwupGB2kgCuYVGaub7vgvKL\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"test/FundMe.sol": {
"ast": {
"absolutePath": "test/FundMe.sol",
"exportedSymbols": {
"FundMe": [
2
]
},
"id": 3,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".20"
],
"nodeType": "PragmaDirective",
"src": "32:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "FundMe",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 2,
"linearizedBaseContracts": [
2
],
"name": "FundMe",
"nameLocation": "67:6:0",
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3,
"src": "58:23:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "32:49:0"
},
"id": 0
}
}
}
}
{
"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": "6080604052348015600e575f80fd5b50603e80601a5f395ff3fe60806040525f80fdfea2646970667358221220785d33f72c163a997325cfc6cccc9549af9562857e38389d464bd994fffafb8264736f6c634300081a0033",
"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 PUSH25 0x5D33F72C163A997325CFC6CCCC9549AF9562857E38389D464B 0xD9 SWAP5 SELFDESTRUCT STATICCALL 0xFB DUP3 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP CALLER ",
"sourceMap": "58:23:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "60806040525f80fdfea2646970667358221220785d33f72c163a997325cfc6cccc9549af9562857e38389d464bd994fffafb8264736f6c634300081a0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH25 0x5D33F72C163A997325CFC6CCCC9549AF9562857E38389D464B 0xD9 SWAP5 SELFDESTRUCT STATICCALL 0xFB DUP3 PUSH5 0x736F6C6343 STOP ADDMOD BYTE STOP CALLER ",
"sourceMap": "58:23:0:-:0;;;;;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "12400",
"executionCost": "64",
"totalCost": "12464"
}
},
"methodIdentifiers": {}
},
"abi": []
}
{
"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": {
"test/FundMe.sol": "FundMe"
},
"evmVersion": "cancun",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"test/FundMe.sol": {
"keccak256": "0x8973ac98e00710e70687c3b24e2218191c36e3fc2cfb0e27c406975853dafd1f",
"license": "MIT",
"urls": [
"bzz-raw://3cf12ae50aa7e5292da732255358e11ade9f4de8b23e57e4dd53a6fd7efa05d4",
"dweb:/ipfs/QmbrXpUFzgPvSs353s5akUGZwupGB2kgCuYVGaub7vgvKL"
]
}
},
"version": 1
}
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract FundMe{
}
@Charlie-pang-sys
Copy link
Author

append file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment