|
| 1 | +{ |
| 2 | + "abi": [ |
| 3 | + { |
| 4 | + "type": "function", |
| 5 | + "name": "grantAccess", |
| 6 | + "inputs": [ |
| 7 | + { "name": "user", "type": "address", "internalType": "address" } |
| 8 | + ], |
| 9 | + "outputs": [], |
| 10 | + "stateMutability": "nonpayable" |
| 11 | + }, |
| 12 | + { |
| 13 | + "type": "function", |
| 14 | + "name": "hasRevokedAccess", |
| 15 | + "inputs": [ |
| 16 | + { "name": "user", "type": "address", "internalType": "address" } |
| 17 | + ], |
| 18 | + "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], |
| 19 | + "stateMutability": "view" |
| 20 | + }, |
| 21 | + { |
| 22 | + "type": "function", |
| 23 | + "name": "revokeAccess", |
| 24 | + "inputs": [ |
| 25 | + { "name": "user", "type": "address", "internalType": "address" } |
| 26 | + ], |
| 27 | + "outputs": [], |
| 28 | + "stateMutability": "nonpayable" |
| 29 | + }, |
| 30 | + { |
| 31 | + "type": "function", |
| 32 | + "name": "revokedAccess", |
| 33 | + "inputs": [{ "name": "", "type": "address", "internalType": "address" }], |
| 34 | + "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], |
| 35 | + "stateMutability": "view" |
| 36 | + } |
| 37 | + ], |
| 38 | + "bytecode": { |
| 39 | + "object": "0x608060405234801561001057600080fd5b5061017d806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630ae5e7391461005157806333db35eb14610082578063479ceae4146100b957806385e68531146100e5575b600080fd5b61008061005f366004610117565b6001600160a01b03166000908152602081905260409020805460ff19169055565b005b6100a5610090366004610117565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b6100a56100c7366004610117565b6001600160a01b031660009081526020819052604090205460ff1690565b6100806100f3366004610117565b6001600160a01b03166000908152602081905260409020805460ff19166001179055565b60006020828403121561012957600080fd5b81356001600160a01b038116811461014057600080fd5b939250505056fea26469706673582212204aac2421257252aadb759db2113b18263d4f171961154f7a5886243ccb76d0dc64736f6c63430008180033", |
| 40 | + "sourceMap": "65:377:23:-:0;;;;;;;;;;;;;;;;;;;", |
| 41 | + "linkReferences": {} |
| 42 | + }, |
| 43 | + "deployedBytecode": { |
| 44 | + "object": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630ae5e7391461005157806333db35eb14610082578063479ceae4146100b957806385e68531146100e5575b600080fd5b61008061005f366004610117565b6001600160a01b03166000908152602081905260409020805460ff19169055565b005b6100a5610090366004610117565b60006020819052908152604090205460ff1681565b604051901515815260200160405180910390f35b6100a56100c7366004610117565b6001600160a01b031660009081526020819052604090205460ff1690565b6100806100f3366004610117565b6001600160a01b03166000908152602081905260409020805460ff19166001179055565b60006020828403121561012957600080fd5b81356001600160a01b038116811461014057600080fd5b939250505056fea26469706673582212204aac2421257252aadb759db2113b18263d4f171961154f7a5886243ccb76d0dc64736f6c63430008180033", |
| 45 | + "sourceMap": "65:377:23:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;146:86;;;;;;:::i;:::-;-1:-1:-1;;;;;198:19:23;220:5;198:19;;;;;;;;;;:27;;-1:-1:-1;;198:27:23;;;146:86;;;94:45;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;470:14:25;;463:22;445:41;;433:2;418:18;94:45:23;;;;;;;330:110;;;;;;:::i;:::-;-1:-1:-1;;;;;414:19:23;391:4;414:19;;;;;;;;;;;;;;330:110;238:86;;;;;;:::i;:::-;-1:-1:-1;;;;;291:19:23;:13;:19;;;;;;;;;;:26;;-1:-1:-1;;291:26:23;313:4;291:26;;;238:86;14:286:25;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:25;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:25:o", |
| 46 | + "linkReferences": {} |
| 47 | + }, |
| 48 | + "methodIdentifiers": { |
| 49 | + "grantAccess(address)": "0ae5e739", |
| 50 | + "hasRevokedAccess(address)": "479ceae4", |
| 51 | + "revokeAccess(address)": "85e68531", |
| 52 | + "revokedAccess(address)": "33db35eb" |
| 53 | + }, |
| 54 | + "rawMetadata": "{\"compiler\":{\"version\":\"0.8.24+commit.e11b9ed9\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"grantAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"hasRevokedAccess\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"revokeAccess\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"revokedAccess\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"src/AccessControl.sol\":{\"keccak256\":\"0x55fbfa938109b27bafe8180ddadd2bfa81e48a135bda357e7c34f01917081462\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://2c6988e051364f8dc1e72976f92b31cb8395be980b39dda7e0c6130b643808ca\",\"dweb:/ipfs/QmUAyEgakTh5QcXiMtAQ2LM1ZW27xJ58HnqBPM4GbdhVcX\"]}},\"version\":1}", |
| 55 | + "metadata": { |
| 56 | + "compiler": { "version": "0.8.24+commit.e11b9ed9" }, |
| 57 | + "language": "Solidity", |
| 58 | + "output": { |
| 59 | + "abi": [ |
| 60 | + { |
| 61 | + "inputs": [ |
| 62 | + { "internalType": "address", "name": "user", "type": "address" } |
| 63 | + ], |
| 64 | + "stateMutability": "nonpayable", |
| 65 | + "type": "function", |
| 66 | + "name": "grantAccess" |
| 67 | + }, |
| 68 | + { |
| 69 | + "inputs": [ |
| 70 | + { "internalType": "address", "name": "user", "type": "address" } |
| 71 | + ], |
| 72 | + "stateMutability": "view", |
| 73 | + "type": "function", |
| 74 | + "name": "hasRevokedAccess", |
| 75 | + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }] |
| 76 | + }, |
| 77 | + { |
| 78 | + "inputs": [ |
| 79 | + { "internalType": "address", "name": "user", "type": "address" } |
| 80 | + ], |
| 81 | + "stateMutability": "nonpayable", |
| 82 | + "type": "function", |
| 83 | + "name": "revokeAccess" |
| 84 | + }, |
| 85 | + { |
| 86 | + "inputs": [ |
| 87 | + { "internalType": "address", "name": "", "type": "address" } |
| 88 | + ], |
| 89 | + "stateMutability": "view", |
| 90 | + "type": "function", |
| 91 | + "name": "revokedAccess", |
| 92 | + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }] |
| 93 | + } |
| 94 | + ], |
| 95 | + "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, |
| 96 | + "userdoc": { "kind": "user", "methods": {}, "version": 1 } |
| 97 | + }, |
| 98 | + "settings": { |
| 99 | + "remappings": ["forge-std/=lib/forge-std/src/"], |
| 100 | + "optimizer": { "enabled": true, "runs": 200 }, |
| 101 | + "metadata": { "bytecodeHash": "ipfs" }, |
| 102 | + "compilationTarget": { "src/AccessControl.sol": "AccessControl" }, |
| 103 | + "evmVersion": "paris", |
| 104 | + "libraries": {} |
| 105 | + }, |
| 106 | + "sources": { |
| 107 | + "src/AccessControl.sol": { |
| 108 | + "keccak256": "0x55fbfa938109b27bafe8180ddadd2bfa81e48a135bda357e7c34f01917081462", |
| 109 | + "urls": [ |
| 110 | + "bzz-raw://2c6988e051364f8dc1e72976f92b31cb8395be980b39dda7e0c6130b643808ca", |
| 111 | + "dweb:/ipfs/QmUAyEgakTh5QcXiMtAQ2LM1ZW27xJ58HnqBPM4GbdhVcX" |
| 112 | + ], |
| 113 | + "license": "UNLICENSED" |
| 114 | + } |
| 115 | + }, |
| 116 | + "version": 1 |
| 117 | + }, |
| 118 | + "id": 23 |
| 119 | +} |
0 commit comments