Fields used:
- name: VariableDeclaration
- attributes.name: states
- attributes.visibility: public
- attributes.type: bytes32[]
| { | |
| "type": "VariableDeclaration", | |
| "typeName": { | |
| "type": "ArrayTypeName", | |
| "baseTypeName": { | |
| "type": "ElementaryTypeName", | |
| "name": "bytes32", | |
| "loc": { | |
| "start": { | |
| "line": 4, | |
| "column": 4 | |
| }, | |
| "end": { | |
| "line": 4, | |
| "column": 4 | |
| } | |
| }, | |
| "range": [ | |
| 60, | |
| 66 | |
| ] | |
| }, | |
| "length": null, | |
| "loc": { | |
| "start": { | |
| "line": 4, | |
| "column": 4 | |
| }, | |
| "end": { | |
| "line": 4, | |
| "column": 12 | |
| } | |
| }, | |
| "range": [ | |
| 60, | |
| 68 | |
| ] | |
| } | |
| } |
| pragma solidity ^0.4.22; | |
| contract PublicStorageArray { | |
| bytes32[] public states = [bytes32(0)]; | |
| } |
| { | |
| "attributes" : { | |
| "constant" : false, | |
| "name" : "states", | |
| "scope" : 9, | |
| "stateVariable" : true, | |
| "storageLocation" : "default", | |
| "type" : "bytes32[]", | |
| "visibility" : "public" | |
| }, | |
| "id" : 8, | |
| "name" : "VariableDeclaration", | |
| "src" : "60:38:0" | |
| } |
Fields used: