{
  "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": "0x6060604052341561000f57600080fd5b6103c28061001e6000396000f3006060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461005b57806389eaee6a146100e1578063bcbbdf9814610153575b600080fd5b341561006657600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101af95505050505050565b604051901515815260200160405180910390f35b34156100ec57600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061022795505050505050565b341561015e57600080fd5b6100cd60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050508235151592602001351515915061029a9050565b600080826040518082805190602001908083835b602083106101e25780518252601f1990920191602091820191016101c3565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054610100900460ff16949350505050565b600080826040518082805190602001908083835b6020831061025a5780518252601f19909201916020918201910161023b565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040519081900390205460ff16949350505050565b6000826000856040518082805190602001908083835b602083106102cf5780518252601f1990920191602091820191016102b0565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805460ff1916911515919091179055816000856040518082805190602001908083835b602083106103455780518252601f199092019160209182019101610326565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902080549115156101000261ff001990921691909117905593925050505600a165627a7a7230582065f97aee1d7f61f4ce2832ca87fb941f6f04fd522361a6d21233af5039862f490029",
  "deployedBytecode": "0x6060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631ab9b33a811461005b57806389eaee6a146100e1578063bcbbdf9814610153575b600080fd5b341561006657600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101af95505050505050565b604051901515815260200160405180910390f35b34156100ec57600080fd5b6100cd6004803573ffffffffffffffffffffffffffffffffffffffff169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061022795505050505050565b341561015e57600080fd5b6100cd60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050508235151592602001351515915061029a9050565b600080826040518082805190602001908083835b602083106101e25780518252601f1990920191602091820191016101c3565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054610100900460ff16949350505050565b600080826040518082805190602001908083835b6020831061025a5780518252601f19909201916020918201910161023b565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040519081900390205460ff16949350505050565b6000826000856040518082805190602001908083835b602083106102cf5780518252601f1990920191602091820191016102b0565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805460ff1916911515919091179055816000856040518082805190602001908083835b602083106103455780518252601f199092019160209182019101610326565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902080549115156101000261ff001990921691909117905593925050505600a165627a7a7230582065f97aee1d7f61f4ce2832ca87fb941f6f04fd522361a6d21233af5039862f490029",
  "sourceMap": "28:560:16:-;;;;;;;;;;;;;;;;;",
  "deployedSourceMap": "28:560:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;466:120;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;466:120:16;;-1:-1:-1;466:120:16;;-1:-1:-1;;;;;;466:120:16;;;;;;;;;;;;;;;;;;343:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;343:117:16;;-1:-1:-1;343:117:16;;-1:-1:-1;;;;;;343:117:16;175:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;175:162:16;;-1:-1:-1;;;;175:162:16;;;;;;;;;;;-1:-1:-1;175:162:16;;-1:-1:-1;175:162:16;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:16;;;;;;;466:120;-1:-1:-1;;;;466:120:16: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:16;;;;343:117;-1:-1:-1;;;;343:117:16: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:16;;-1:-1:-1;;262:28:16;;;;;;;;;;326:4;-1:-1:-1;311:6:16;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:16;;;;;;;-1:-1:-1;;300:30:16;;;;;;;;;175:162;;-1:-1:-1;;;175:162:16: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": "/home/travis/build/dev-matan-tsuberi/daostack/contracts/test/GlobalConstraintMock.sol",
  "ast": {
    "attributes": {
      "absolutePath": "/home/travis/build/dev-matan-tsuberi/daostack/contracts/test/GlobalConstraintMock.sol",
      "exportedSymbols": {
        "GlobalConstraintMock": [
          6195
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.4",
            ".18"
          ]
        },
        "id": 6125,
        "name": "PragmaDirective",
        "src": "0:24:16"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "contract",
          "documentation": null,
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            6195
          ],
          "name": "GlobalConstraintMock",
          "scope": 6196
        },
        "children": [
          {
            "attributes": {
              "canonicalName": "GlobalConstraintMock.TestParam",
              "name": "TestParam",
              "scope": 6195,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "constant": false,
                  "name": "pre",
                  "scope": 6130,
                  "stateVariable": false,
                  "storageLocation": "default",
                  "type": "bool",
                  "value": null,
                  "visibility": "internal"
                },
                "children": [
                  {
                    "attributes": {
                      "name": "bool",
                      "type": "bool"
                    },
                    "id": 6126,
                    "name": "ElementaryTypeName",
                    "src": "92:4:16"
                  }
                ],
                "id": 6127,
                "name": "VariableDeclaration",
                "src": "92:8:16"
              },
              {
                "attributes": {
                  "constant": false,
                  "name": "post",
                  "scope": 6130,
                  "stateVariable": false,
                  "storageLocation": "default",
                  "type": "bool",
                  "value": null,
                  "visibility": "internal"
                },
                "children": [
                  {
                    "attributes": {
                      "name": "bool",
                      "type": "bool"
                    },
                    "id": 6128,
                    "name": "ElementaryTypeName",
                    "src": "110:4:16"
                  }
                ],
                "id": 6129,
                "name": "VariableDeclaration",
                "src": "110:9:16"
              }
            ],
            "id": 6130,
            "name": "StructDefinition",
            "src": "65:61:16"
          },
          {
            "attributes": {
              "constant": false,
              "name": "testParams",
              "scope": 6195,
              "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": 6131,
                    "name": "ElementaryTypeName",
                    "src": "140:5:16"
                  },
                  {
                    "attributes": {
                      "contractScope": null,
                      "name": "TestParam",
                      "referencedDeclaration": 6130,
                      "type": "struct GlobalConstraintMock.TestParam storage pointer"
                    },
                    "id": 6132,
                    "name": "UserDefinedTypeName",
                    "src": "147:9:16"
                  }
                ],
                "id": 6133,
                "name": "Mapping",
                "src": "131:26:16"
              }
            ],
            "id": 6134,
            "name": "VariableDeclaration",
            "src": "131:37:16"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "setConstraint",
              "payable": false,
              "scope": 6195,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "method",
                      "scope": 6160,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes memory",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes",
                          "type": "bytes storage pointer"
                        },
                        "id": 6135,
                        "name": "ElementaryTypeName",
                        "src": "198:5:16"
                      }
                    ],
                    "id": 6136,
                    "name": "VariableDeclaration",
                    "src": "198:12:16"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "pre",
                      "scope": 6160,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 6137,
                        "name": "ElementaryTypeName",
                        "src": "211:4:16"
                      }
                    ],
                    "id": 6138,
                    "name": "VariableDeclaration",
                    "src": "211:8:16"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "post",
                      "scope": 6160,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 6139,
                        "name": "ElementaryTypeName",
                        "src": "220:4:16"
                      }
                    ],
                    "id": 6140,
                    "name": "VariableDeclaration",
                    "src": "220:9:16"
                  }
                ],
                "id": 6141,
                "name": "ParameterList",
                "src": "197:33:16"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 6160,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 6142,
                        "name": "ElementaryTypeName",
                        "src": "246:4:16"
                      }
                    ],
                    "id": 6143,
                    "name": "VariableDeclaration",
                    "src": "246:4:16"
                  }
                ],
                "id": 6144,
                "name": "ParameterList",
                "src": "245:6:16"
              },
              {
                "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": 6127,
                              "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": 6134,
                                      "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                      "value": "testParams"
                                    },
                                    "id": 6145,
                                    "name": "Identifier",
                                    "src": "262:10:16"
                                  },
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 6136,
                                      "type": "bytes memory",
                                      "value": "method"
                                    },
                                    "id": 6146,
                                    "name": "Identifier",
                                    "src": "273:6:16"
                                  }
                                ],
                                "id": 6147,
                                "name": "IndexAccess",
                                "src": "262:18:16"
                              }
                            ],
                            "id": 6148,
                            "name": "MemberAccess",
                            "src": "262:22:16"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 6138,
                              "type": "bool",
                              "value": "pre"
                            },
                            "id": 6149,
                            "name": "Identifier",
                            "src": "287:3:16"
                          }
                        ],
                        "id": 6150,
                        "name": "Assignment",
                        "src": "262:28:16"
                      }
                    ],
                    "id": 6151,
                    "name": "ExpressionStatement",
                    "src": "262:28:16"
                  },
                  {
                    "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": 6129,
                              "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": 6134,
                                      "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                      "value": "testParams"
                                    },
                                    "id": 6152,
                                    "name": "Identifier",
                                    "src": "300:10:16"
                                  },
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 6136,
                                      "type": "bytes memory",
                                      "value": "method"
                                    },
                                    "id": 6153,
                                    "name": "Identifier",
                                    "src": "311:6:16"
                                  }
                                ],
                                "id": 6154,
                                "name": "IndexAccess",
                                "src": "300:18:16"
                              }
                            ],
                            "id": 6155,
                            "name": "MemberAccess",
                            "src": "300:23:16"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 6140,
                              "type": "bool",
                              "value": "post"
                            },
                            "id": 6156,
                            "name": "Identifier",
                            "src": "326:4:16"
                          }
                        ],
                        "id": 6157,
                        "name": "Assignment",
                        "src": "300:30:16"
                      }
                    ],
                    "id": 6158,
                    "name": "ExpressionStatement",
                    "src": "300:30:16"
                  }
                ],
                "id": 6159,
                "name": "Block",
                "src": "252:85:16"
              }
            ],
            "id": 6160,
            "name": "FunctionDefinition",
            "src": "175:162:16"
          },
          {
            "attributes": {
              "constant": true,
              "implemented": true,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "pre",
              "payable": false,
              "scope": 6195,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 6177,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 6161,
                        "name": "ElementaryTypeName",
                        "src": "356:7:16"
                      }
                    ],
                    "id": 6162,
                    "name": "VariableDeclaration",
                    "src": "356:7:16"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 6177,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes32",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes32",
                          "type": "bytes32"
                        },
                        "id": 6163,
                        "name": "ElementaryTypeName",
                        "src": "365:7:16"
                      }
                    ],
                    "id": 6164,
                    "name": "VariableDeclaration",
                    "src": "365:7:16"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "method",
                      "scope": 6177,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes memory",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes",
                          "type": "bytes storage pointer"
                        },
                        "id": 6165,
                        "name": "ElementaryTypeName",
                        "src": "374:5:16"
                      }
                    ],
                    "id": 6166,
                    "name": "VariableDeclaration",
                    "src": "374:12:16"
                  }
                ],
                "id": 6167,
                "name": "ParameterList",
                "src": "355:32:16"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 6177,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 6168,
                        "name": "ElementaryTypeName",
                        "src": "408:4:16"
                      }
                    ],
                    "id": 6169,
                    "name": "VariableDeclaration",
                    "src": "408:4:16"
                  }
                ],
                "id": 6170,
                "name": "ParameterList",
                "src": "407:6:16"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 6170
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "member_name": "pre",
                          "referencedDeclaration": 6127,
                          "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": 6134,
                                  "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                  "value": "testParams"
                                },
                                "id": 6171,
                                "name": "Identifier",
                                "src": "431:10:16"
                              },
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 6166,
                                  "type": "bytes memory",
                                  "value": "method"
                                },
                                "id": 6172,
                                "name": "Identifier",
                                "src": "442:6:16"
                              }
                            ],
                            "id": 6173,
                            "name": "IndexAccess",
                            "src": "431:18:16"
                          }
                        ],
                        "id": 6174,
                        "name": "MemberAccess",
                        "src": "431:22:16"
                      }
                    ],
                    "id": 6175,
                    "name": "Return",
                    "src": "424:29:16"
                  }
                ],
                "id": 6176,
                "name": "Block",
                "src": "414:46:16"
              }
            ],
            "id": 6177,
            "name": "FunctionDefinition",
            "src": "343:117:16"
          },
          {
            "attributes": {
              "constant": true,
              "implemented": true,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "post",
              "payable": false,
              "scope": 6195,
              "stateMutability": "view",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 6194,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 6178,
                        "name": "ElementaryTypeName",
                        "src": "480:7:16"
                      }
                    ],
                    "id": 6179,
                    "name": "VariableDeclaration",
                    "src": "480:7:16"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 6194,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes32",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes32",
                          "type": "bytes32"
                        },
                        "id": 6180,
                        "name": "ElementaryTypeName",
                        "src": "489:7:16"
                      }
                    ],
                    "id": 6181,
                    "name": "VariableDeclaration",
                    "src": "489:7:16"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "method",
                      "scope": 6194,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes memory",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes",
                          "type": "bytes storage pointer"
                        },
                        "id": 6182,
                        "name": "ElementaryTypeName",
                        "src": "499:5:16"
                      }
                    ],
                    "id": 6183,
                    "name": "VariableDeclaration",
                    "src": "499:12:16"
                  }
                ],
                "id": 6184,
                "name": "ParameterList",
                "src": "479:33:16"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 6194,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 6185,
                        "name": "ElementaryTypeName",
                        "src": "533:4:16"
                      }
                    ],
                    "id": 6186,
                    "name": "VariableDeclaration",
                    "src": "533:4:16"
                  }
                ],
                "id": 6187,
                "name": "ParameterList",
                "src": "532:6:16"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "functionReturnParameters": 6187
                    },
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": true,
                          "isPure": false,
                          "lValueRequested": false,
                          "member_name": "post",
                          "referencedDeclaration": 6129,
                          "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": 6134,
                                  "type": "mapping(bytes memory => struct GlobalConstraintMock.TestParam storage ref)",
                                  "value": "testParams"
                                },
                                "id": 6188,
                                "name": "Identifier",
                                "src": "556:10:16"
                              },
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 6183,
                                  "type": "bytes memory",
                                  "value": "method"
                                },
                                "id": 6189,
                                "name": "Identifier",
                                "src": "567:6:16"
                              }
                            ],
                            "id": 6190,
                            "name": "IndexAccess",
                            "src": "556:18:16"
                          }
                        ],
                        "id": 6191,
                        "name": "MemberAccess",
                        "src": "556:23:16"
                      }
                    ],
                    "id": 6192,
                    "name": "Return",
                    "src": "549:30:16"
                  }
                ],
                "id": 6193,
                "name": "Block",
                "src": "539:47:16"
              }
            ],
            "id": 6194,
            "name": "FunctionDefinition",
            "src": "466:120:16"
          }
        ],
        "id": 6195,
        "name": "ContractDefinition",
        "src": "28:560:16"
      }
    ],
    "id": 6196,
    "name": "SourceUnit",
    "src": "0:589:16"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.18+commit.9cf6e910.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "1.0.1",
  "updatedAt": "2018-01-25T13:14:57.916Z"
}