{ "abi": [ { "inputs": [], "name": "IS_SCRIPT", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "run", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "setUp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "vm", "outputs": [ { "internalType": "contract Vm", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": { "object": "0x60806040526000805460ff1916600117905534801561001d57600080fd5b5061014c8061002d6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630a9254e4146100515780633a76846314610053578063c04062261461008b578063f8ccbf4714610093575b600080fd5b005b61006e737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b6100516100b0565b6000546100a09060ff1681565b6040519015158152602001610082565b604080516302bf260160e61b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d9163afc9804091600480830192600092919082900301818387803b1580156100fc57600080fd5b505af1158015610110573d6000803e3d6000fd5b5050505056fea26469706673582212203a39488c6d5e73072e1dd0c6593caff56e39d0849abc1557f1c6e25cf7dedc2e64736f6c63430008100033", "sourceMap": "97:126:6:-:0;;;165:28:1;;;-1:-1:-1;;165:28:1;189:4;165:28;;;97:126:6;;;;;;;;;;;;;;;;", "linkReferences": {} }, "deployedBytecode": { "object": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630a9254e4146100515780633a76846314610053578063c04062261461008b578063f8ccbf4714610093575b600080fd5b005b61006e737109709ecfa91a80626ff3989d68f67f5b1dd12d81565b6040516001600160a01b0390911681526020015b60405180910390f35b6100516100b0565b6000546100a09060ff1681565b6040519015158152602001610082565b604080516302bf260160e61b81529051737109709ecfa91a80626ff3989d68f67f5b1dd12d9163afc9804091600480830192600092919082900301818387803b1580156100fc57600080fd5b505af1158015610110573d6000803e3d6000fd5b5050505056fea26469706673582212203a39488c6d5e73072e1dd0c6593caff56e39d0849abc1557f1c6e25cf7dedc2e64736f6c63430008100033", "sourceMap": "97:126:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;136:26;;316:38:1;;245:64;316:38;;;;;-1:-1:-1;;;;;189:32:9;;;171:51;;159:2;144:18;316:38:1;;;;;;;;168:53:6;;;:::i;165:28:1:-;;;;;;;;;;;;398:14:9;;391:22;373:41;;361:2;346:18;165:28:1;233:187:9;168:53:6;200:14;;;-1:-1:-1;;;200:14:6;;;;245:64:1;;200:12:6;;:14;;;;;269:37:1;;200:14:6;;;;;;;269:37:1;245:64;200:14:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;168:53::o", "linkReferences": {} }, "methodIdentifiers": { "IS_SCRIPT()": "f8ccbf47", "run()": "c0406226", "setUp()": "0a9254e4", "vm()": "3a768463" }, "ast": { "absolutePath": "script/Counter.s.sol", "id": 21582, "exportedSymbols": { "CounterScript": [ 21581 ], "Script": [ 2022 ], "Vm": [ 5434 ], "console": [ 13498 ], "console2": [ 21562 ] }, "nodeType": "SourceUnit", "src": "39:185:6", "nodes": [ { "id": 21564, "nodeType": "PragmaDirective", "src": "39:24:6", "literals": [ "solidity", "^", "0.8", ".13" ] }, { "id": 21565, "nodeType": "ImportDirective", "src": "65:30:6", "absolutePath": "lib/forge-std/src/Script.sol", "file": "forge-std/Script.sol", "nameLocation": "-1:-1:-1", "scope": 21582, "sourceUnit": 2023, "symbolAliases": [], "unitAlias": "" }, { "id": 21581, "nodeType": "ContractDefinition", "src": "97:126:6", "nodes": [ { "id": 21571, "nodeType": "FunctionDefinition", "src": "136:26:6", "body": { "id": 21570, "nodeType": "Block", "src": "160:2:6", "statements": [] }, "functionSelector": "0a9254e4", "implemented": true, "kind": "function", "modifiers": [], "name": "setUp", "nameLocation": "145:5:6", "parameters": { "id": 21568, "nodeType": "ParameterList", "parameters": [], "src": "150:2:6" }, "returnParameters": { "id": 21569, "nodeType": "ParameterList", "parameters": [], "src": "160:0:6" }, "scope": 21581, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "id": 21580, "nodeType": "FunctionDefinition", "src": "168:53:6", "body": { "id": 21579, "nodeType": "Block", "src": "190:31:6", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { "id": 21574, "name": "vm", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 1817, "src": "200:2:6", "typeDescriptions": { "typeIdentifier": "t_contract$_Vm_$5434", "typeString": "contract Vm" } }, "id": 21576, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberLocation": "203:9:6", "memberName": "broadcast", "nodeType": "MemberAccess", "referencedDeclaration": 5173, "src": "200:12:6", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$__$returns$__$", "typeString": "function () external" } }, "id": 21577, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "nameLocations": [], "names": [], "nodeType": "FunctionCall", "src": "200:14:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 21578, "nodeType": "ExpressionStatement", "src": "200:14:6" } ] }, "functionSelector": "c0406226", "implemented": true, "kind": "function", "modifiers": [], "name": "run", "nameLocation": "177:3:6", "parameters": { "id": 21572, "nodeType": "ParameterList", "parameters": [], "src": "180:2:6" }, "returnParameters": { "id": 21573, "nodeType": "ParameterList", "parameters": [], "src": "190:0:6" }, "scope": 21581, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" } ], "abstract": false, "baseContracts": [ { "baseName": { "id": 21566, "name": "Script", "nameLocations": [ "123:6:6" ], "nodeType": "IdentifierPath", "referencedDeclaration": 2022, "src": "123:6:6" }, "id": 21567, "nodeType": "InheritanceSpecifier", "src": "123:6:6" } ], "canonicalName": "CounterScript", "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ 21581, 2022 ], "name": "CounterScript", "nameLocation": "106:13:6", "scope": 21582, "usedErrors": [] } ], "license": "UNLICENSED" }, "id": 6 }