parent
69ce2d2cc5
commit
d20b3ea5e0
@ -1,398 +0,0 @@ |
||||
{ |
||||
"_format": "ethers-rs-sol-cache-3", |
||||
"paths": { |
||||
"artifacts": "out", |
||||
"build_infos": "out/build-info", |
||||
"sources": "src", |
||||
"tests": "test", |
||||
"scripts": "script", |
||||
"libraries": [ |
||||
"lib" |
||||
] |
||||
}, |
||||
"files": { |
||||
"lib/forge-std/lib/ds-test/src/test.sol": { |
||||
"lastModificationDate": 1661541843388, |
||||
"contentHash": "962996f0e05d5218857a538a62d7c47e", |
||||
"sourceName": "lib/forge-std/lib/ds-test/src/test.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [], |
||||
"versionRequirement": ">=0.5.0", |
||||
"artifacts": { |
||||
"DSTest": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "test.sol/DSTest.json" |
||||
} |
||||
} |
||||
}, |
||||
"lib/forge-std/src/Script.sol": { |
||||
"lastModificationDate": 1661541842048, |
||||
"contentHash": "b313d0193442f5a12848be9c422a0064", |
||||
"sourceName": "lib/forge-std/src/Script.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [ |
||||
"lib/forge-std/src/Vm.sol", |
||||
"lib/forge-std/src/console.sol", |
||||
"lib/forge-std/src/console2.sol" |
||||
], |
||||
"versionRequirement": ">=0.6.0, <0.9.0", |
||||
"artifacts": { |
||||
"Script": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Script.sol/Script.json" |
||||
} |
||||
} |
||||
}, |
||||
"lib/forge-std/src/Test.sol": { |
||||
"lastModificationDate": 1661541842048, |
||||
"contentHash": "8e1ae731c7bb8023f36077d86d18693f", |
||||
"sourceName": "lib/forge-std/src/Test.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [ |
||||
"lib/forge-std/lib/ds-test/src/test.sol", |
||||
"lib/forge-std/src/Script.sol", |
||||
"lib/forge-std/src/Vm.sol", |
||||
"lib/forge-std/src/console.sol", |
||||
"lib/forge-std/src/console2.sol" |
||||
], |
||||
"versionRequirement": ">=0.6.0, <0.9.0", |
||||
"artifacts": { |
||||
"Test": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/Test.json" |
||||
}, |
||||
"stdError": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/stdError.json" |
||||
}, |
||||
"stdMath": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/stdMath.json" |
||||
}, |
||||
"stdStorage": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Test.sol/stdStorage.json" |
||||
} |
||||
} |
||||
}, |
||||
"lib/forge-std/src/Vm.sol": { |
||||
"lastModificationDate": 1661541842048, |
||||
"contentHash": "225040109969e43ff90255e34aaecc99", |
||||
"sourceName": "lib/forge-std/src/Vm.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [], |
||||
"versionRequirement": ">=0.6.0, <0.9.0", |
||||
"artifacts": { |
||||
"Vm": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Vm.sol/Vm.json" |
||||
} |
||||
} |
||||
}, |
||||
"lib/forge-std/src/console.sol": { |
||||
"lastModificationDate": 1663196945880, |
||||
"contentHash": "100b8a33b917da1147740d7ab8b0ded3", |
||||
"sourceName": "lib/forge-std/src/console.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [], |
||||
"versionRequirement": ">=0.4.22, <0.9.0", |
||||
"artifacts": { |
||||
"console": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "console.sol/console.json" |
||||
} |
||||
} |
||||
}, |
||||
"lib/forge-std/src/console2.sol": { |
||||
"lastModificationDate": 1661541842052, |
||||
"contentHash": "5df91f8e93efbfcccf68973dc1b74a70", |
||||
"sourceName": "lib/forge-std/src/console2.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [], |
||||
"versionRequirement": ">=0.4.22, <0.9.0", |
||||
"artifacts": { |
||||
"console2": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "console2.sol/console2.json" |
||||
} |
||||
} |
||||
}, |
||||
"script/Counter.s.sol": { |
||||
"lastModificationDate": 1661541840908, |
||||
"contentHash": "0705c52104730a78aef4aa6694175c81", |
||||
"sourceName": "script/Counter.s.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [ |
||||
"lib/forge-std/src/Script.sol", |
||||
"lib/forge-std/src/Vm.sol", |
||||
"lib/forge-std/src/console.sol", |
||||
"lib/forge-std/src/console2.sol" |
||||
], |
||||
"versionRequirement": "^0.8.13", |
||||
"artifacts": { |
||||
"CounterScript": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Counter.s.sol/CounterScript.json" |
||||
} |
||||
} |
||||
}, |
||||
"src/Counter.sol": { |
||||
"lastModificationDate": 1664875932853, |
||||
"contentHash": "ae6c800a2b4c57768024d6e9423d39e8", |
||||
"sourceName": "src/Counter.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [], |
||||
"versionRequirement": "^0.8.13", |
||||
"artifacts": { |
||||
"Counter": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Counter.sol/Counter.json" |
||||
} |
||||
} |
||||
}, |
||||
"test/Counter.t.sol": { |
||||
"lastModificationDate": 1661541840908, |
||||
"contentHash": "5122f4f87ee8fbf9a2468a4c9c780b6a", |
||||
"sourceName": "test/Counter.t.sol", |
||||
"solcConfig": { |
||||
"settings": { |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"outputSelection": { |
||||
"*": { |
||||
"": [ |
||||
"ast" |
||||
], |
||||
"*": [ |
||||
"abi", |
||||
"evm.bytecode", |
||||
"evm.deployedBytecode", |
||||
"evm.methodIdentifiers", |
||||
"metadata" |
||||
] |
||||
} |
||||
}, |
||||
"evmVersion": "london", |
||||
"libraries": {} |
||||
} |
||||
}, |
||||
"imports": [ |
||||
"lib/forge-std/lib/ds-test/src/test.sol", |
||||
"lib/forge-std/src/Script.sol", |
||||
"lib/forge-std/src/Test.sol", |
||||
"lib/forge-std/src/Vm.sol", |
||||
"lib/forge-std/src/console.sol", |
||||
"lib/forge-std/src/console2.sol", |
||||
"src/Counter.sol" |
||||
], |
||||
"versionRequirement": "^0.8.13", |
||||
"artifacts": { |
||||
"CounterTest": { |
||||
"0.8.16+commit.07a7930e.Linux.gcc": "Counter.t.sol/CounterTest.json" |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
@ -1,6 +0,0 @@ |
||||
[profile.default] |
||||
src = 'src' |
||||
out = 'out' |
||||
libs = ['lib'] |
||||
|
||||
# See more config options https://github.com/foundry-rs/foundry/tree/master/config |
@ -1,385 +0,0 @@ |
||||
{ |
||||
"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" |
||||
}, |
||||
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"script/Counter.s.sol\":\"CounterScript\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/Script.sol\":{\"keccak256\":\"0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a\",\"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z\"]},\"lib/forge-std/src/Vm.sol\":{\"keccak256\":\"0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f\",\"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp\"]},\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"lib/forge-std/src/console2.sol\":{\"keccak256\":\"0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f\",\"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW\"]},\"script/Counter.s.sol\":{\"keccak256\":\"0x01edaa1835b1a5bd3f4f66f73451488b8441d30642d3bf1f5fa2c5bf7c005bee\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://3c6a0f19216ceeebf4ec16f8f2662a3bebbe18d4037d1399adf2e3e4ccbb57a2\",\"dweb:/ipfs/Qmc8NknjPkSgbXLg6zZQ8uKT6kAWBvBXz5JrDvZfa88UNT\"]}},\"version\":1}", |
||||
"metadata": { |
||||
"compiler": { |
||||
"version": "0.8.16+commit.07a7930e" |
||||
}, |
||||
"language": "Solidity", |
||||
"output": { |
||||
"abi": [ |
||||
{ |
||||
"inputs": [], |
||||
"stateMutability": "view", |
||||
"type": "function", |
||||
"name": "IS_SCRIPT", |
||||
"outputs": [ |
||||
{ |
||||
"internalType": "bool", |
||||
"name": "", |
||||
"type": "bool" |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
"inputs": [], |
||||
"stateMutability": "nonpayable", |
||||
"type": "function", |
||||
"name": "run" |
||||
}, |
||||
{ |
||||
"inputs": [], |
||||
"stateMutability": "nonpayable", |
||||
"type": "function", |
||||
"name": "setUp" |
||||
}, |
||||
{ |
||||
"inputs": [], |
||||
"stateMutability": "view", |
||||
"type": "function", |
||||
"name": "vm", |
||||
"outputs": [ |
||||
{ |
||||
"internalType": "contract Vm", |
||||
"name": "", |
||||
"type": "address" |
||||
} |
||||
] |
||||
} |
||||
], |
||||
"devdoc": { |
||||
"kind": "dev", |
||||
"methods": {}, |
||||
"version": 1 |
||||
}, |
||||
"userdoc": { |
||||
"kind": "user", |
||||
"methods": {}, |
||||
"version": 1 |
||||
} |
||||
}, |
||||
"settings": { |
||||
"remappings": [ |
||||
":ds-test/=lib/forge-std/lib/ds-test/src/", |
||||
":forge-std/=lib/forge-std/src/" |
||||
], |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"compilationTarget": { |
||||
"script/Counter.s.sol": "CounterScript" |
||||
}, |
||||
"libraries": {} |
||||
}, |
||||
"sources": { |
||||
"lib/forge-std/src/Script.sol": { |
||||
"keccak256": "0x4424dbcb8f5b741475445726f87408fcd89951fad973bec2ca442ee157f910e7", |
||||
"urls": [ |
||||
"bzz-raw://5b0b9f6dfb69245d8f888558ae82bf1d2cdeace46201444fe4b2e6a5283f944a", |
||||
"dweb:/ipfs/QmWFSKeFEZngNcwNn7A84EF7pASo5qe6r5oK24r9Kwca7Z" |
||||
], |
||||
"license": "MIT" |
||||
}, |
||||
"lib/forge-std/src/Vm.sol": { |
||||
"keccak256": "0xa0ede8e0d3dc3246912530aed6cacbc4703e4430c4b4acd91963ccea709755ea", |
||||
"urls": [ |
||||
"bzz-raw://a28e7d00aab57ad5159247b0f0f268eda4c6980b29eee7f903578254a2be677f", |
||||
"dweb:/ipfs/QmZrM8gY5BpW8o1QckmPNCYbBP5Q7k5DkcHdaVULKVntxp" |
||||
], |
||||
"license": "MIT" |
||||
}, |
||||
"lib/forge-std/src/console.sol": { |
||||
"keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba", |
||||
"urls": [ |
||||
"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70", |
||||
"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec" |
||||
], |
||||
"license": "MIT" |
||||
}, |
||||
"lib/forge-std/src/console2.sol": { |
||||
"keccak256": "0xbeb823fcdb356244a83aaccdf828ad019ecc1ffaa3dff18e624fc6d5714ea671", |
||||
"urls": [ |
||||
"bzz-raw://4cbe9400340e5f9ec55e2aff3bad1c15fa3afbbe37e80800e6f3fed2ad26854f", |
||||
"dweb:/ipfs/QmdJBABsuXkvWxVzEyGXsTE3vyfBPXDdw5xvvtUz3JeoYW" |
||||
], |
||||
"license": "MIT" |
||||
}, |
||||
"script/Counter.s.sol": { |
||||
"keccak256": "0x01edaa1835b1a5bd3f4f66f73451488b8441d30642d3bf1f5fa2c5bf7c005bee", |
||||
"urls": [ |
||||
"bzz-raw://3c6a0f19216ceeebf4ec16f8f2662a3bebbe18d4037d1399adf2e3e4ccbb57a2", |
||||
"dweb:/ipfs/Qmc8NknjPkSgbXLg6zZQ8uKT6kAWBvBXz5JrDvZfa88UNT" |
||||
], |
||||
"license": "UNLICENSED" |
||||
} |
||||
}, |
||||
"version": 1 |
||||
}, |
||||
"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 |
||||
} |
@ -1,377 +0,0 @@ |
||||
{ |
||||
"abi": [ |
||||
{ |
||||
"inputs": [], |
||||
"name": "increment", |
||||
"outputs": [], |
||||
"stateMutability": "nonpayable", |
||||
"type": "function" |
||||
}, |
||||
{ |
||||
"inputs": [], |
||||
"name": "number", |
||||
"outputs": [ |
||||
{ |
||||
"internalType": "uint256", |
||||
"name": "", |
||||
"type": "uint256" |
||||
} |
||||
], |
||||
"stateMutability": "view", |
||||
"type": "function" |
||||
}, |
||||
{ |
||||
"inputs": [ |
||||
{ |
||||
"internalType": "uint256", |
||||
"name": "newNumber", |
||||
"type": "uint256" |
||||
} |
||||
], |
||||
"name": "setNumber", |
||||
"outputs": [], |
||||
"stateMutability": "nonpayable", |
||||
"type": "function" |
||||
} |
||||
], |
||||
"bytecode": { |
||||
"object": "0x608060405234801561001057600080fd5b5060f78061001f6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146053578063d09de08a14606d575b600080fd5b6051604c3660046083565b600055565b005b605b60005481565b60405190815260200160405180910390f35b6051600080549080607c83609b565b9190505550565b600060208284031215609457600080fd5b5035919050565b60006001820160ba57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220f4a9b22e7a2d64c24355b4e7a6f8c62115ca728f26fc2a1e98e364ee91f794fa64736f6c63430008100033", |
||||
"sourceMap": "65:192:7:-:0;;;;;;;;;;;;;;;;;;;", |
||||
"linkReferences": {} |
||||
}, |
||||
"deployedBytecode": { |
||||
"object": "0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c80633fb5c1cb1460415780638381f58a146053578063d09de08a14606d575b600080fd5b6051604c3660046083565b600055565b005b605b60005481565b60405190815260200160405180910390f35b6051600080549080607c83609b565b9190505550565b600060208284031215609457600080fd5b5035919050565b60006001820160ba57634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220f4a9b22e7a2d64c24355b4e7a6f8c62115ca728f26fc2a1e98e364ee91f794fa64736f6c63430008100033", |
||||
"sourceMap": "65:192:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116:80;;;;;;:::i;:::-;171:6;:18;116:80;;;88:21;;;;;;;;;345:25:9;;;333:2;318:18;88:21:7;;;;;;;202:53;;240:6;:8;;;:6;:8;;;:::i;:::-;;;;;;202:53::o;14:180:9:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:9;;14:180;-1:-1:-1;14:180:9:o;381:232::-;420:3;441:17;;;438:140;;500:10;495:3;491:20;488:1;481:31;535:4;532:1;525:15;563:4;560:1;553:15;438:140;-1:-1:-1;605:1:9;594:13;;381:232::o", |
||||
"linkReferences": {} |
||||
}, |
||||
"methodIdentifiers": { |
||||
"increment()": "d09de08a", |
||||
"number()": "8381f58a", |
||||
"setNumber(uint256)": "3fb5c1cb" |
||||
}, |
||||
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.16+commit.07a7930e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"increment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"number\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newNumber\",\"type\":\"uint256\"}],\"name\":\"setNumber\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/Counter.sol\":\"Counter\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"src/Counter.sol\":{\"keccak256\":\"0x09277f949d59a9521708c870dc39c2c434ad8f86a5472efda6a732ef728c0053\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://94cd5258357da018bf911aeda60ed9f5b130dce27445669ee200313cd3389200\",\"dweb:/ipfs/QmNbEfWAqXCtfQpk6u7TpGa8sTHXFLpUz7uebz2FVbchSC\"]}},\"version\":1}", |
||||
"metadata": { |
||||
"compiler": { |
||||
"version": "0.8.16+commit.07a7930e" |
||||
}, |
||||
"language": "Solidity", |
||||
"output": { |
||||
"abi": [ |
||||
{ |
||||
"inputs": [], |
||||
"stateMutability": "nonpayable", |
||||
"type": "function", |
||||
"name": "increment" |
||||
}, |
||||
{ |
||||
"inputs": [], |
||||
"stateMutability": "view", |
||||
"type": "function", |
||||
"name": "number", |
||||
"outputs": [ |
||||
{ |
||||
"internalType": "uint256", |
||||
"name": "", |
||||
"type": "uint256" |
||||
} |
||||
] |
||||
}, |
||||
{ |
||||
"inputs": [ |
||||
{ |
||||
"internalType": "uint256", |
||||
"name": "newNumber", |
||||
"type": "uint256" |
||||
} |
||||
], |
||||
"stateMutability": "nonpayable", |
||||
"type": "function", |
||||
"name": "setNumber" |
||||
} |
||||
], |
||||
"devdoc": { |
||||
"kind": "dev", |
||||
"methods": {}, |
||||
"version": 1 |
||||
}, |
||||
"userdoc": { |
||||
"kind": "user", |
||||
"methods": {}, |
||||
"version": 1 |
||||
} |
||||
}, |
||||
"settings": { |
||||
"remappings": [ |
||||
":ds-test/=lib/forge-std/lib/ds-test/src/", |
||||
":forge-std/=lib/forge-std/src/" |
||||
], |
||||
"optimizer": { |
||||
"enabled": true, |
||||
"runs": 200 |
||||
}, |
||||
"metadata": { |
||||
"bytecodeHash": "ipfs" |
||||
}, |
||||
"compilationTarget": { |
||||
"src/Counter.sol": "Counter" |
||||
}, |
||||
"libraries": {} |
||||
}, |
||||
"sources": { |
||||
"src/Counter.sol": { |
||||
"keccak256": "0x09277f949d59a9521708c870dc39c2c434ad8f86a5472efda6a732ef728c0053", |
||||
"urls": [ |
||||
"bzz-raw://94cd5258357da018bf911aeda60ed9f5b130dce27445669ee200313cd3389200", |
||||
"dweb:/ipfs/QmNbEfWAqXCtfQpk6u7TpGa8sTHXFLpUz7uebz2FVbchSC" |
||||
], |
||||
"license": "UNLICENSED" |
||||
} |
||||
}, |
||||
"version": 1 |
||||
}, |
||||
"ast": { |
||||
"absolutePath": "src/Counter.sol", |
||||
"id": 21604, |
||||
"exportedSymbols": { |
||||
"Counter": [ |
||||
21603 |
||||
] |
||||
}, |
||||
"nodeType": "SourceUnit", |
||||
"src": "39:219:7", |
||||
"nodes": [ |
||||
{ |
||||
"id": 21583, |
||||
"nodeType": "PragmaDirective", |
||||
"src": "39:24:7", |
||||
"literals": [ |
||||
"solidity", |
||||
"^", |
||||
"0.8", |
||||
".13" |
||||
] |
||||
}, |
||||
{ |
||||
"id": 21603, |
||||
"nodeType": "ContractDefinition", |
||||
"src": "65:192:7", |
||||
"nodes": [ |
||||
{ |
||||
"id": 21585, |
||||
"nodeType": "VariableDeclaration", |
||||
"src": "88:21:7", |
||||
"constant": false, |
||||
"functionSelector": "8381f58a", |
||||
"mutability": "mutable", |
||||
"name": "number", |
||||
"nameLocation": "103:6:7", |
||||
"scope": 21603, |
||||
"stateVariable": true, |
||||
"storageLocation": "default", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
}, |
||||
"typeName": { |
||||
"id": 21584, |
||||
"name": "uint256", |
||||
"nodeType": "ElementaryTypeName", |
||||
"src": "88:7:7", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
} |
||||
}, |
||||
"visibility": "public" |
||||
}, |
||||
{ |
||||
"id": 21595, |
||||
"nodeType": "FunctionDefinition", |
||||
"src": "116:80:7", |
||||
"body": { |
||||
"id": 21594, |
||||
"nodeType": "Block", |
||||
"src": "161:35:7", |
||||
"statements": [ |
||||
{ |
||||
"expression": { |
||||
"id": 21592, |
||||
"isConstant": false, |
||||
"isLValue": false, |
||||
"isPure": false, |
||||
"lValueRequested": false, |
||||
"leftHandSide": { |
||||
"id": 21590, |
||||
"name": "number", |
||||
"nodeType": "Identifier", |
||||
"overloadedDeclarations": [], |
||||
"referencedDeclaration": 21585, |
||||
"src": "171:6:7", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
} |
||||
}, |
||||
"nodeType": "Assignment", |
||||
"operator": "=", |
||||
"rightHandSide": { |
||||
"id": 21591, |
||||
"name": "newNumber", |
||||
"nodeType": "Identifier", |
||||
"overloadedDeclarations": [], |
||||
"referencedDeclaration": 21587, |
||||
"src": "180:9:7", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
} |
||||
}, |
||||
"src": "171:18:7", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
} |
||||
}, |
||||
"id": 21593, |
||||
"nodeType": "ExpressionStatement", |
||||
"src": "171:18:7" |
||||
} |
||||
] |
||||
}, |
||||
"functionSelector": "3fb5c1cb", |
||||
"implemented": true, |
||||
"kind": "function", |
||||
"modifiers": [], |
||||
"name": "setNumber", |
||||
"nameLocation": "125:9:7", |
||||
"parameters": { |
||||
"id": 21588, |
||||
"nodeType": "ParameterList", |
||||
"parameters": [ |
||||
{ |
||||
"constant": false, |
||||
"id": 21587, |
||||
"mutability": "mutable", |
||||
"name": "newNumber", |
||||
"nameLocation": "143:9:7", |
||||
"nodeType": "VariableDeclaration", |
||||
"scope": 21595, |
||||
"src": "135:17:7", |
||||
"stateVariable": false, |
||||
"storageLocation": "default", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
}, |
||||
"typeName": { |
||||
"id": 21586, |
||||
"name": "uint256", |
||||
"nodeType": "ElementaryTypeName", |
||||
"src": "135:7:7", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
} |
||||
}, |
||||
"visibility": "internal" |
||||
} |
||||
], |
||||
"src": "134:19:7" |
||||
}, |
||||
"returnParameters": { |
||||
"id": 21589, |
||||
"nodeType": "ParameterList", |
||||
"parameters": [], |
||||
"src": "161:0:7" |
||||
}, |
||||
"scope": 21603, |
||||
"stateMutability": "nonpayable", |
||||
"virtual": false, |
||||
"visibility": "public" |
||||
}, |
||||
{ |
||||
"id": 21602, |
||||
"nodeType": "FunctionDefinition", |
||||
"src": "202:53:7", |
||||
"body": { |
||||
"id": 21601, |
||||
"nodeType": "Block", |
||||
"src": "230:25:7", |
||||
"statements": [ |
||||
{ |
||||
"expression": { |
||||
"id": 21599, |
||||
"isConstant": false, |
||||
"isLValue": false, |
||||
"isPure": false, |
||||
"lValueRequested": false, |
||||
"nodeType": "UnaryOperation", |
||||
"operator": "++", |
||||
"prefix": false, |
||||
"src": "240:8:7", |
||||
"subExpression": { |
||||
"id": 21598, |
||||
"name": "number", |
||||
"nodeType": "Identifier", |
||||
"overloadedDeclarations": [], |
||||
"referencedDeclaration": 21585, |
||||
"src": "240:6:7", |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
} |
||||
}, |
||||
"typeDescriptions": { |
||||
"typeIdentifier": "t_uint256", |
||||
"typeString": "uint256" |
||||
} |
||||
}, |
||||
"id": 21600, |
||||
"nodeType": "ExpressionStatement", |
||||
"src": "240:8:7" |
||||
} |
||||
] |
||||
}, |
||||
"functionSelector": "d09de08a", |
||||
"implemented": true, |
||||
"kind": "function", |
||||
"modifiers": [], |
||||
"name": "increment", |
||||
"nameLocation": "211:9:7", |
||||
"parameters": { |
||||
"id": 21596, |
||||
"nodeType": "ParameterList", |
||||
"parameters": [], |
||||
"src": "220:2:7" |
||||
}, |
||||
"returnParameters": { |
||||
"id": 21597, |
||||
"nodeType": "ParameterList", |
||||
"parameters": [], |
||||
"src": "230:0:7" |
||||
}, |
||||
"scope": 21603, |
||||
"stateMutability": "nonpayable", |
||||
"virtual": false, |
||||
"visibility": "public" |
||||
} |
||||
], |
||||
"abstract": false, |
||||
"baseContracts": [], |
||||
"canonicalName": "Counter", |
||||
"contractDependencies": [], |
||||
"contractKind": "contract", |
||||
"fullyImplemented": true, |
||||
"linearizedBaseContracts": [ |
||||
21603 |
||||
], |
||||
"name": "Counter", |
||||
"nameLocation": "74:7:7", |
||||
"scope": 21604, |
||||
"usedErrors": [] |
||||
} |
||||
], |
||||
"license": "UNLICENSED" |
||||
}, |
||||
"id": 7 |
||||
} |
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,14 +0,0 @@ |
||||
// SPDX-License-Identifier: UNLICENSED |
||||
pragma solidity ^0.8.13; |
||||
|
||||
contract Counter { |
||||
uint256 public number; |
||||
|
||||
function setNumber(uint256 newNumber) public { |
||||
number = newNumber; |
||||
} |
||||
|
||||
function increment() public { |
||||
number++; |
||||
} |
||||
} |
Loading…
Reference in new issue