{
  "contractName": "GlobalConstraintMock",
  "abi": [
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        },
        {
          "name": "method",
          "type": "bytes"
        }
      ],
      "name": "post",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [
        {
          "name": "",
          "type": "address"
        },
        {
          "name": "",
          "type": "bytes32"
        },
        {
          "name": "method",
          "type": "bytes"
        }
      ],
      "name": "pre",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "method",
          "type": "bytes"
        },
        {
          "name": "pre",
          "type": "bool"
        },
        {
          "name": "post",
          "type": "bool"
        }
      ],
      "name": "setConstraint",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x6060604052341561000f57600080fd5b6103c28061001e6000396000f3006060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461005b57806389eaee6a146100e1578063bcbbdf9814610153575b600080fd5b341561006657600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101af95505050505050565b604051901515815260200160405180910390f35b34156100ec57600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061022795505050505050565b341561015e57600080fd5b6100cd60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050508235151592602001351515915061029a9050565b600080826040518082805190602001908083835b602083106101e25780518252601f1990920191602091820191016101c3565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054610100900460ff16949350505050565b600080826040518082805190602001908083835b6020831061025a5780518252601f19909201916020918201910161023b565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040519081900390205460ff16949350505050565b6000826000856040518082805190602001908083835b602083106102cf5780518252601f1990920191602091820191016102b0565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805460ff1916911515919091179055816000856040518082805190602001908083835b602083106103455780518252601f199092019160209182019101610326565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902080549115156101000261ff001990921691909117905593925050505600a165627a7a72305820f98938c12c46ecaa6261be851f00a9762ccdd52840a3ecdc34a9dc7682629f6d0029",
  "deployedBytecode": "0x6060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461005b57806389eaee6a146100e1578063bcbbdf9814610153575b600080fd5b341561006657600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101af95505050505050565b604051901515815260200160405180910390f35b34156100ec57600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061022795505050505050565b341561015e57600080fd5b6100cd60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050508235151592602001351515915061029a9050565b600080826040518082805190602001908083835b602083106101e25780518252601f1990920191602091820191016101c3565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054610100900460ff16949350505050565b600080826040518082805190602001908083835b6020831061025a5780518252601f19909201916020918201910161023b565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040519081900390205460ff16949350505050565b6000826000856040518082805190602001908083835b602083106102cf5780518252601f1990920191602091820191016102b0565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805460ff1916911515919091179055816000856040518082805190602001908083835b602083106103455780518252601f199092019160209182019101610326565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902080549115156101000261ff001990921691909117905593925050505600a165627a7a72305820f98938c12c46ecaa6261be851f00a9762ccdd52840a3ecdc34a9dc7682629f6d0029",
  "sourceMap": "28:560:18:-;;;;;;;;;;;;;;;;;",
  "deployedSourceMap": "28:560:18:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;466:120;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;466:120:18;;-1:-1:-1;466:120:18;;-1:-1:-1;;;;;;466:120:18;;;;;;;;;;;;;;;;;;343:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;343:117:18;;-1:-1:-1;343:117:18;;-1:-1:-1;;;;;;343:117:18;175:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;175:162:18;;-1:-1:-1;;;;175:162:18;;;;;;;;;;;-1:-1:-1;175:162:18;;-1:-1:-1;175:162:18;466:120;533:4;556:10;567:6;556:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;556:23:18;;;;;;;466:120;-1:-1:-1;;;;466:120:18:o;343:117::-;408:4;431:10;442:6;431:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;431:22:18;;;;343:117;-1:-1:-1;;;;343:117:18:o;175:162::-;246:4;287:3;262:10;273:6;262:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;262:28:18;;-1:-1:-1;;262:28:18;;;;;;;;;;326:4;-1:-1:-1;311:6:18;300:18;;;;;;;;;;;;;36:153:-1;66:2;58;;36:153;;182:3;176:5;164:6;;-1:-1;;139:3;;;;98:2;89:3;;;;114;36:153;;;274:1;267:3;263:2;259:3;254;250;246;315:4;311:3;305;299:5;295:3;356:4;350:3;344:5;340:3;389:7;380;377:2;372:3;365:6;3:399;;;;;;;;;;;;;;;;;;;;;;;;;300:30:18;;;;;;;-1:-1:-1;;300:30:18;;;;;;;;;175:162;;-1:-1:-1;;;175:162:18:o",
  "source": "pragma solidity ^0.4.18;\n\n\n\ncontract GlobalConstraintMock {\n\n    struct TestParam {\n        bool pre;\n        bool post;\n    }\n    mapping (bytes=>TestParam) testParams;\n\n    function setConstraint(bytes method,bool pre,bool post) public returns(bool) {\n        testParams[method].pre = pre;\n        testParams[method].post = post;\n    }\n\n    function pre(address, bytes32, bytes method) public view returns(bool) {\n        return testParams[method].pre;\n    }\n\n    function post(address, bytes32 , bytes method) public view returns(bool) {\n        return testParams[method].post;\n    }\n}\n",
  "sourcePath": "/Users/oren/daostack/daostack2/daostack/contracts/test/GlobalConstraintMock.sol",
  "ast": {
    "attributes": {
      "absolutePath": "/Users/oren/daostack/daostack2/daostack/contracts/test/GlobalConstraintMock.sol",
      "exportedSymbols": {
        "GlobalConstraintMock": [
          7305
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.4",
            ".18"
          ]
        },
        "id": 7235,
        "name": "PragmaDirective",
        "src": "0:24:18"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "contract",
          "documentation": null,
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            7305
          ],
          "name": "GlobalConstraintMock",
          "scope": 7306
        },
        "children": [
          {
            "attributes": {
              "canonicalName": "GlobalConstraintMock.TestParam",
              "name": "TestParam",
              "scope": 7305,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "constant": false,
                  "name": "pre",
                  "scope": 7240,
                  "stateVariable": false,
                  "storageLocation": "default",
                  "type": "bool",
                  "value": null,
                  "visibility": "internal"
                },
                "children": [
                  {
                    "attributes": {
                      "name": "bool",
                      "type": "bool"
                    },
                    "id": 7236,
                    "name": "ElementaryTypeName",
                    "src": "92:4:18"
                  }
                ],
                "id": 7237,
                "name": "VariableDeclaration",
                "src": "92:8:18"
              },
              {
                "attributes": {
                  "constant": false,
                  "name": "post",
                  "scope": 7240,
                  "stateVariable": false,
                  "storageLocation": "default",
                  "type": "bool",
                  "value": null,
                  "visibility": "internal"
                },
                "children": [
                  {
                    "attributes": {
                      "name": "bool",
                      "type": "bool"
                    },
                    "id": 7238,
                    "name": "ElementaryTypeName",
                    "src": "110:4:18"
                  }
                ],
                "id": 7239,
                "name": "VariableDeclaration",
                "src": "110:9:18"
              }
            ],
            "id": 7240,
            "name": "StructDefinition",
            "src": "65:61:18"
          },
          {
            "attributes": {
              "constant": false,
              "name": "testParams",
              "scope": 7305,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
              "value": null,
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)"
                },
                "children": [
                  {
                    "attributes": {
                      "name": "bytes",
                      "type": "bytes storage pointer"
                    },
                    "id": 7241,
                    "name": "ElementaryTypeName",
                    "src": "140:5:18"
                  },
                  {
                    "attributes": {
                      "contractScope": null,
                      "name": "TestParam",
                      "referencedDeclaration": 7240,
                      "type": "struct GlobalConstraintMock.TestParam storage pointer"
                    },
                    "id": 7242,
                    "name": "UserDefinedTypeName",
                    "src": "147:9:18"
                  }
                ],
                "id": 7243,
                "name": "Mapping",
                "src": "131:26:18"
              }
            ],
            "id": 7244,
            "name": "VariableDeclaration",
            "src": "131:37:18"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "setConstraint",
              "payable": false,
              "scope": 7305,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "method",
                      "scope": 7270,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes memory",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes",
                          "type": "bytes storage pointer"
                        },
                        "id": 7245,
                        "name": "ElementaryTypeName",
                        "src": "198:5:18"
                      }
                    ],
                    "id": 7246,
                    "name": "VariableDeclaration",
                    "src": "198:12:18"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "pre",
                      "scope": 7270,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 7247,
                        "name": "ElementaryTypeName",
                        "src": "211:4:18"
                      }
                    ],
                    "id": 7248,
                    "name": "VariableDeclaration",
                    "src": "211:8:18"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "post",
                      "scope": 7270,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 7249,
                        "name": "ElementaryTypeName",
                        "src": "220:4:18"
                      }
                    ],
                    "id": 7250,
                    "name": "VariableDeclaration",
                    "src": "220:9:18"
                  }
                ],
                "id": 7251,
                "name": "ParameterList",
                "src": "197:33:18"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7270,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 7252,
                        "name": "ElementaryTypeName",
                        "src": "246:4:18"
                      }
                    ],
                    "id": 7253,
                    "name": "VariableDeclaration",
                    "src": "246:4:18"
                  }
                ],
                "id": 7254,
                "name": "ParameterList",
                "src": "245:6:18"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "bool"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": true,
                              "member_name": "pre",
                              "referencedDeclaration": 7237,
                              "type": "bool"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "type": "struct GlobalConstraintMock.TestParam storage ref"
                                },
                                "children": [
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 7244,
                                      "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                      "value": "testParams"
                                    },
                                    "id": 7255,
                                    "name": "Identifier",
                                    "src": "262:10:18"
                                  },
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 7246,
                                      "type": "bytes memory",
                                      "value": "method"
                                    },
                                    "id": 7256,
                                    "name": "Identifier",
                                    "src": "273:6:18"
                                  }
                                ],
                                "id": 7257,
                                "name": "IndexAccess",
                                "src": "262:18:18"
                              }
                            ],
                            "id": 7258,
                            "name": "MemberAccess",
                            "src": "262:22:18"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 7248,
                              "type": "bool",
                              "value": "pre"
                            },
                            "id": 7259,
                            "name": "Identifier",
                            "src": "287:3:18"
                          }
                        ],
                        "id": 7260,
                        "name": "Assignment",
                        "src": "262:28:18"
                      }
                    ],
                    "id": 7261,
                    "name": "ExpressionStatement",
                    "src": "262:28:18"
                  },
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "bool"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": true,
                              "member_name": "post",
                              "referencedDeclaration": 7239,
                              "type": "bool"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "isConstant": false,
                                  "isLValue": true,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "type": "struct GlobalConstraintMock.TestParam storage ref"
                                },
                                "children": [
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 7244,
                                      "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                      "value": "testParams"
                                    },
                                    "id": 7262,
                                    "name": "Identifier",
                                    "src": "300:10:18"
                                  },
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 7246,
                                      "type": "bytes memory",
                                      "value": "method"
                                    },
                                    "id": 7263,
                                    "name": "Identifier",
                                    "src": "311:6:18"
                                  }
                                ],
                                "id": 7264,
                                "name": "IndexAccess",
                                "src": "300:18:18"
                              }
                            ],
                            "id": 7265,
                            "name": "MemberAccess",
                            "src": "300:23:18"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 7250,
                              "type": "bool",
                              "value": "post"
                            },
                            "id": 7266,
                            "name": "Identifier",
                            "src": "326:4:18"
                          }
                        ],
                        "id": 7267,
                        "name": "Assignment",
                        "src": "300:30:18"
                      }
                    ],
                    "id": 7268,
                    "name": "ExpressionStatement",
                    "src": "300:30:18"
                  }
                ],
                "id": 7269,
                "name": "Block",
                "src": "252:85:18"
              }
            ],
            "id": 7270,
            "name": "FunctionDefinition",
            "src": "175:162:18"
          },
          {
            "attributes": {
              "constant": true,
              "implemented": true,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "pre",
              "payable": false,
              "scope": 7305,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7287,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 7271,
                        "name": "ElementaryTypeName",
                        "src": "356:7:18"
                      }
                    ],
                    "id": 7272,
                    "name": "VariableDeclaration",
                    "src": "356:7:18"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7287,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes32",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes32",
                          "type": "bytes32"
                        },
                        "id": 7273,
                        "name": "ElementaryTypeName",
                        "src": "365:7:18"
                      }
                    ],
                    "id": 7274,
                    "name": "VariableDeclaration",
                    "src": "365:7:18"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "method",
                      "scope": 7287,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes memory",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes",
                          "type": "bytes storage pointer"
                        },
                        "id": 7275,
                        "name": "ElementaryTypeName",
                        "src": "374:5:18"
                      }
                    ],
                    "id": 7276,
                    "name": "VariableDeclaration",
                    "src": "374:12:18"
                  }
                ],
                "id": 7277,
                "name": "ParameterList",
                "src": "355:32:18"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7287,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 7278,
                        "name": "ElementaryTypeName",
                        "src": "408:4:18"
                      }
                    ],
                    "id": 7279,
                    "name": "VariableDeclaration",
                    "src": "408:4:18"
                  }
                ],
                "id": 7280,
                "name": "ParameterList",
                "src": "407:6:18"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 7280
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "member_name": "pre",
                          "referencedDeclaration": 7237,
                          "type": "bool"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "type": "struct GlobalConstraintMock.TestParam storage ref"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 7244,
                                  "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                  "value": "testParams"
                                },
                                "id": 7281,
                                "name": "Identifier",
                                "src": "431:10:18"
                              },
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 7276,
                                  "type": "bytes memory",
                                  "value": "method"
                                },
                                "id": 7282,
                                "name": "Identifier",
                                "src": "442:6:18"
                              }
                            ],
                            "id": 7283,
                            "name": "IndexAccess",
                            "src": "431:18:18"
                          }
                        ],
                        "id": 7284,
                        "name": "MemberAccess",
                        "src": "431:22:18"
                      }
                    ],
                    "id": 7285,
                    "name": "Return",
                    "src": "424:29:18"
                  }
                ],
                "id": 7286,
                "name": "Block",
                "src": "414:46:18"
              }
            ],
            "id": 7287,
            "name": "FunctionDefinition",
            "src": "343:117:18"
          },
          {
            "attributes": {
              "constant": true,
              "implemented": true,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "post",
              "payable": false,
              "scope": 7305,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7304,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 7288,
                        "name": "ElementaryTypeName",
                        "src": "480:7:18"
                      }
                    ],
                    "id": 7289,
                    "name": "VariableDeclaration",
                    "src": "480:7:18"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7304,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes32",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes32",
                          "type": "bytes32"
                        },
                        "id": 7290,
                        "name": "ElementaryTypeName",
                        "src": "489:7:18"
                      }
                    ],
                    "id": 7291,
                    "name": "VariableDeclaration",
                    "src": "489:7:18"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "method",
                      "scope": 7304,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes memory",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes",
                          "type": "bytes storage pointer"
                        },
                        "id": 7292,
                        "name": "ElementaryTypeName",
                        "src": "499:5:18"
                      }
                    ],
                    "id": 7293,
                    "name": "VariableDeclaration",
                    "src": "499:12:18"
                  }
                ],
                "id": 7294,
                "name": "ParameterList",
                "src": "479:33:18"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 7304,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 7295,
                        "name": "ElementaryTypeName",
                        "src": "533:4:18"
                      }
                    ],
                    "id": 7296,
                    "name": "VariableDeclaration",
                    "src": "533:4:18"
                  }
                ],
                "id": 7297,
                "name": "ParameterList",
                "src": "532:6:18"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 7297
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "member_name": "post",
                          "referencedDeclaration": 7239,
                          "type": "bool"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "isConstant": false,
                              "isLValue": true,
                              "isPure": false,
                              "lValueRequested": false,
                              "type": "struct GlobalConstraintMock.TestParam storage ref"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 7244,
                                  "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                  "value": "testParams"
                                },
                                "id": 7298,
                                "name": "Identifier",
                                "src": "556:10:18"
                              },
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 7293,
                                  "type": "bytes memory",
                                  "value": "method"
                                },
                                "id": 7299,
                                "name": "Identifier",
                                "src": "567:6:18"
                              }
                            ],
                            "id": 7300,
                            "name": "IndexAccess",
                            "src": "556:18:18"
                          }
                        ],
                        "id": 7301,
                        "name": "MemberAccess",
                        "src": "556:23:18"
                      }
                    ],
                    "id": 7302,
                    "name": "Return",
                    "src": "549:30:18"
                  }
                ],
                "id": 7303,
                "name": "Block",
                "src": "539:47:18"
              }
            ],
            "id": 7304,
            "name": "FunctionDefinition",
            "src": "466:120:18"
          }
        ],
        "id": 7305,
        "name": "ContractDefinition",
        "src": "28:560:18"
      }
    ],
    "id": 7306,
    "name": "SourceUnit",
    "src": "0:589:18"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.18+commit.9cf6e910.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "1.0.1",
  "updatedAt": "2018-02-04T21:57:39.060Z"
}