@aave/governance-crosschain-bridges
Version:
Contracts of Aave Governance Crosschain Bridges
309 lines (308 loc) • 13.8 kB
JSON
{
"id": "718e5ab1e36af4e535bb1b6034ec0101",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.10",
"solcLongVersion": "0.8.10+commit.fc410830",
"input": {
"language": "Solidity",
"sources": {
"contracts/mocks/Selfdestructor.sol": {
"content": "//SPDX-License-Identifier: Unlicense\npragma solidity ^0.8.10;\n\ncontract Selfdestructor {\n function oops() external {\n selfdestruct(payable(msg.sender));\n }\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.gasEstimates"
],
"": [
"ast"
]
}
},
"metadata": {
"useLiteralContent": true
}
}
},
"output": {
"contracts": {
"contracts/mocks/Selfdestructor.sol": {
"Selfdestructor": {
"abi": [
{
"inputs": [],
"name": "oops",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b50606a80601d6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80638bcd805614602d575b600080fd5b603233ff5b00fea26469706673582212208428c015316ae4823c9ac27d10dc23e999b1ecb33e11f50c51edcd5f68ff357f64736f6c634300080a0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x6A DUP1 PUSH1 0x1D PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x28 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8BCD8056 EQ PUSH1 0x2D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x32 CALLER SELFDESTRUCT JUMPDEST STOP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP5 0x28 0xC0 ISZERO BALANCE PUSH11 0xE4823C9AC27D10DC23E999 0xB1 0xEC 0xB3 RETURNDATACOPY GT CREATE2 0xC MLOAD 0xED 0xCD 0x5F PUSH9 0xFF357F64736F6C6343 STOP ADDMOD EXP STOP CALLER ",
"sourceMap": "63:99:0:-:0;;;;;;;;;;;;;;;;;;;"
},
"deployedBytecode": {
"functionDebugData": {
"@oops_13": {
"entryPoint": null,
"id": 13,
"parameterSlots": 0,
"returnSlots": 0
}
},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "6080604052348015600f57600080fd5b506004361060285760003560e01c80638bcd805614602d575b600080fd5b603233ff5b00fea26469706673582212208428c015316ae4823c9ac27d10dc23e999b1ecb33e11f50c51edcd5f68ff357f64736f6c634300080a0033",
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH1 0xF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH1 0x28 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8BCD8056 EQ PUSH1 0x2D JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x32 CALLER SELFDESTRUCT JUMPDEST STOP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP5 0x28 0xC0 ISZERO BALANCE PUSH11 0xE4823C9AC27D10DC23E999 0xB1 0xEC 0xB3 RETURNDATACOPY GT CREATE2 0xC MLOAD 0xED 0xCD 0x5F PUSH9 0xFF357F64736F6C6343 STOP ADDMOD EXP STOP CALLER ",
"sourceMap": "63:99:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91:69;;143:10;122:33;91:69;"
},
"gasEstimates": {
"creation": {
"codeDepositCost": "21200",
"executionCost": "75",
"totalCost": "21275"
},
"external": {
"oops()": "27703"
}
},
"methodIdentifiers": {
"oops()": "8bcd8056"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.10+commit.fc410830\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"oops\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/mocks/Selfdestructor.sol\":\"Selfdestructor\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/mocks/Selfdestructor.sol\":{\"content\":\"//SPDX-License-Identifier: Unlicense\\npragma solidity ^0.8.10;\\n\\ncontract Selfdestructor {\\n function oops() external {\\n selfdestruct(payable(msg.sender));\\n }\\n}\\n\",\"keccak256\":\"0x4b722ea845198aea6f77e4bf01ff9400ab1ff79ec3ad98973b502c70b69bf2c5\",\"license\":\"Unlicense\"}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"contracts/mocks/Selfdestructor.sol": {
"ast": {
"absolutePath": "contracts/mocks/Selfdestructor.sol",
"exportedSymbols": {
"Selfdestructor": [
14
]
},
"id": 15,
"license": "Unlicense",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".10"
],
"nodeType": "PragmaDirective",
"src": "37:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "Selfdestructor",
"contractDependencies": [],
"contractKind": "contract",
"fullyImplemented": true,
"id": 14,
"linearizedBaseContracts": [
14
],
"name": "Selfdestructor",
"nameLocation": "72:14:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": {
"id": 12,
"nodeType": "Block",
"src": "116:44:0",
"statements": [
{
"expression": {
"arguments": [
{
"arguments": [
{
"expression": {
"id": 7,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": -15,
"src": "143:3:0",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 8,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "143:10:0",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address",
"typeString": "address"
}
],
"id": 6,
"isConstant": false,
"isLValue": false,
"isPure": true,
"lValueRequested": false,
"nodeType": "ElementaryTypeNameExpression",
"src": "135:8:0",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_address_payable_$",
"typeString": "type(address payable)"
},
"typeName": {
"id": 5,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "135:8:0",
"stateMutability": "payable",
"typeDescriptions": {}
}
},
"id": 9,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "typeConversion",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "135:19:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_address_payable",
"typeString": "address payable"
}
],
"id": 4,
"name": "selfdestruct",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": -21,
"src": "122:12:0",
"typeDescriptions": {
"typeIdentifier": "t_function_selfdestruct_nonpayable$_t_address_payable_$returns$__$",
"typeString": "function (address payable)"
}
},
"id": 10,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "122:33:0",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 11,
"nodeType": "ExpressionStatement",
"src": "122:33:0"
}
]
},
"functionSelector": "8bcd8056",
"id": 13,
"implemented": true,
"kind": "function",
"modifiers": [],
"name": "oops",
"nameLocation": "100:4:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2,
"nodeType": "ParameterList",
"parameters": [],
"src": "104:2:0"
},
"returnParameters": {
"id": 3,
"nodeType": "ParameterList",
"parameters": [],
"src": "116:0:0"
},
"scope": 14,
"src": "91:69:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 15,
"src": "63:99:0",
"usedErrors": []
}
],
"src": "37:126:0"
},
"id": 0
}
}
}
}