{
  "contractName": "NotaryStore",
  "abi": [
    {
      "constant": false,
      "inputs": [
        {
          "name": "newOwner",
          "type": "address"
        }
      ],
      "name": "setOwner",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "cost",
      "outputs": [
        {
          "name": "",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [],
      "name": "withdraw",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "newCost",
          "type": "uint256"
        }
      ],
      "name": "setCost",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "documentHash",
          "type": "bytes32"
        }
      ],
      "name": "create",
      "outputs": [],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "owner",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "name": "signer",
          "type": "address"
        },
        {
          "indexed": true,
          "name": "documentHash",
          "type": "bytes32"
        }
      ],
      "name": "Entry",
      "type": "event"
    }
  ],
  "bytecode": "0x6060604052341561000f57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555066038d7ea4c680006001819055506103f28061006c6000396000f300606060405260043610610078576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806313af40351461007d57806313faede6146100b65780633ccfd60b146100df57806344a0d68a146100f45780637368a8ce146101175780638da5cb5b14610133575b600080fd5b341561008857600080fd5b6100b4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610188565b005b34156100c157600080fd5b6100c9610226565b6040518082815260200191505060405180910390f35b34156100ea57600080fd5b6100f261022c565b005b34156100ff57600080fd5b61011560048080359060200190919050506102e0565b005b610131600480803560001916906020019091905050610345565b005b341561013e57600080fd5b6101466103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156101e357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561028757600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156102de57600080fd5b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561033b57600080fd5b8060018190555050565b600154341015151561035657600080fd5b80600019163373ffffffffffffffffffffffffffffffffffffffff167f5e963567d1b0ba9c0ef0500d079a18c4efdc8b6673bbf5645ff9e63eb914d00660405160405180910390a350565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820bdba1c30b2d7e168903899932888893c99ef5c84bcef4915337fc5ba5413be590029",
  "deployedBytecode": "0x606060405260043610610078576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806313af40351461007d57806313faede6146100b65780633ccfd60b146100df57806344a0d68a146100f45780637368a8ce146101175780638da5cb5b14610133575b600080fd5b341561008857600080fd5b6100b4600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610188565b005b34156100c157600080fd5b6100c9610226565b6040518082815260200191505060405180910390f35b34156100ea57600080fd5b6100f261022c565b005b34156100ff57600080fd5b61011560048080359060200190919050506102e0565b005b610131600480803560001916906020019091905050610345565b005b341561013e57600080fd5b6101466103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156101e357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561028757600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156102de57600080fd5b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561033b57600080fd5b8060018190555050565b600154341015151561035657600080fd5b80600019163373ffffffffffffffffffffffffffffffffffffffff167f5e963567d1b0ba9c0ef0500d079a18c4efdc8b6673bbf5645ff9e63eb914d00660405160405180910390a350565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820bdba1c30b2d7e168903899932888893c99ef5c84bcef4915337fc5ba5413be590029",
  "sourceMap": "26:767:1:-;;;97:80;;;;;;;;141:10;133:5;;:18;;;;;;;;;;;;;;;;;;164:8;157:4;:15;;;;26:767;;;;;;",
  "deployedSourceMap": "26:767:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;633:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;76:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;548:81;;;;;;;;;;;;;;717:73;;;;;;;;;;;;;;;;;;;;;;;;;;443:101;;;;;;;;;;;;;;;;;;;;;52:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;633:80;373:5;;;;;;;;;;;359:19;;:10;:19;;;351:28;;;;;;;;700:8;692:5;;:16;;;;;;;;;;;;;;;;;;633:80;:::o;76:16::-;;;;:::o;548:81::-;373:5;;;;;;;;;;;359:19;;:10;:19;;;351:28;;;;;;;;591:10;:19;;:33;611:4;:12;;;591:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;548:81::o;717:73::-;373:5;;;;;;;;;;;359:19;;:10;:19;;;351:28;;;;;;;;778:7;771:4;:14;;;;717:73;:::o;443:101::-;305:4;;292:9;:17;;284:26;;;;;;;;526:12;508:31;;;514:10;508:31;;;;;;;;;;;;443:101;:::o;52:20::-;;;;;;;;;;;;;:::o",
  "source": "pragma solidity ^0.4.18;\n\ncontract NotaryStore {\n\n  address public owner;\n  uint public cost;\n\n  function NotaryStore() public {\n    owner = msg.sender;\n    cost = 1 finney;\n  }\n\n  event Entry(\n    address indexed signer,\n    bytes32 indexed documentHash\n  );\n\n  modifier costs {\n    require(msg.value >= cost);\n    _;\n  }\n\n  modifier onlyOwner {\n    require(msg.sender == owner);\n    _;\n  }\n\n  /**\n    create a new Entry in the logs.\n   */\n  function create(bytes32 documentHash) public payable costs {\n    Entry(msg.sender, documentHash);\n  }\n\n  function withdraw() public onlyOwner {\n    msg.sender.transfer(this.balance);\n  }\n\n  function setOwner(address newOwner) public onlyOwner {\n    owner = newOwner;\n  }\n\n  function setCost(uint newCost) public onlyOwner {\n    cost = newCost;\n  }\n\n}\n",
  "sourcePath": "/Users/ddegreef/practice/ethereum-notary-contracts/contracts/NotaryStore.sol",
  "ast": {
    "attributes": {
      "absolutePath": "/Users/ddegreef/practice/ethereum-notary-contracts/contracts/NotaryStore.sol",
      "exportedSymbols": {
        "NotaryStore": [
          157
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.4",
            ".18"
          ]
        },
        "id": 58,
        "name": "PragmaDirective",
        "src": "0:24:1"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "contract",
          "documentation": null,
          "fullyImplemented": true,
          "linearizedBaseContracts": [
            157
          ],
          "name": "NotaryStore",
          "scope": 158
        },
        "children": [
          {
            "attributes": {
              "constant": false,
              "name": "owner",
              "scope": 157,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "address",
              "value": null,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "name": "address",
                  "type": "address"
                },
                "id": 59,
                "name": "ElementaryTypeName",
                "src": "52:7:1"
              }
            ],
            "id": 60,
            "name": "VariableDeclaration",
            "src": "52:20:1"
          },
          {
            "attributes": {
              "constant": false,
              "name": "cost",
              "scope": 157,
              "stateVariable": true,
              "storageLocation": "default",
              "type": "uint256",
              "value": null,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "name": "uint",
                  "type": "uint256"
                },
                "id": 61,
                "name": "ElementaryTypeName",
                "src": "76:4:1"
              }
            ],
            "id": 62,
            "name": "VariableDeclaration",
            "src": "76:16:1"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": true,
              "modifiers": [
                null
              ],
              "name": "NotaryStore",
              "payable": false,
              "scope": 157,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 63,
                "name": "ParameterList",
                "src": "117:2:1"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 64,
                "name": "ParameterList",
                "src": "127:0:1"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "address"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 60,
                              "type": "address",
                              "value": "owner"
                            },
                            "id": 65,
                            "name": "Identifier",
                            "src": "133:5:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "member_name": "sender",
                              "referencedDeclaration": null,
                              "type": "address"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 169,
                                  "type": "msg",
                                  "value": "msg"
                                },
                                "id": 66,
                                "name": "Identifier",
                                "src": "141:3:1"
                              }
                            ],
                            "id": 67,
                            "name": "MemberAccess",
                            "src": "141:10:1"
                          }
                        ],
                        "id": 68,
                        "name": "Assignment",
                        "src": "133:18:1"
                      }
                    ],
                    "id": 69,
                    "name": "ExpressionStatement",
                    "src": "133:18:1"
                  },
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "uint256"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 62,
                              "type": "uint256",
                              "value": "cost"
                            },
                            "id": 70,
                            "name": "Identifier",
                            "src": "157:4:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "hexvalue": "31",
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": true,
                              "lValueRequested": false,
                              "subdenomination": "finney",
                              "token": "number",
                              "type": "int_const 1000000000000000",
                              "value": "1"
                            },
                            "id": 71,
                            "name": "Literal",
                            "src": "164:8:1"
                          }
                        ],
                        "id": 72,
                        "name": "Assignment",
                        "src": "157:15:1"
                      }
                    ],
                    "id": 73,
                    "name": "ExpressionStatement",
                    "src": "157:15:1"
                  }
                ],
                "id": 74,
                "name": "Block",
                "src": "127:50:1"
              }
            ],
            "id": 75,
            "name": "FunctionDefinition",
            "src": "97:80:1"
          },
          {
            "attributes": {
              "anonymous": false,
              "name": "Entry"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "indexed": true,
                      "name": "signer",
                      "scope": 81,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 76,
                        "name": "ElementaryTypeName",
                        "src": "198:7:1"
                      }
                    ],
                    "id": 77,
                    "name": "VariableDeclaration",
                    "src": "198:22:1"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "indexed": true,
                      "name": "documentHash",
                      "scope": 81,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes32",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes32",
                          "type": "bytes32"
                        },
                        "id": 78,
                        "name": "ElementaryTypeName",
                        "src": "226:7:1"
                      }
                    ],
                    "id": 79,
                    "name": "VariableDeclaration",
                    "src": "226:28:1"
                  }
                ],
                "id": 80,
                "name": "ParameterList",
                "src": "192:66:1"
              }
            ],
            "id": 81,
            "name": "EventDefinition",
            "src": "181:78:1"
          },
          {
            "attributes": {
              "name": "costs",
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 82,
                "name": "ParameterList",
                "src": "278:0:1"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              ],
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 172,
                              "type": "function (bool) pure",
                              "value": "require"
                            },
                            "id": 83,
                            "name": "Identifier",
                            "src": "284:7:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_uint256",
                                "typeString": "uint256"
                              },
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "operator": ">=",
                              "type": "bool"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "member_name": "value",
                                  "referencedDeclaration": null,
                                  "type": "uint256"
                                },
                                "children": [
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 169,
                                      "type": "msg",
                                      "value": "msg"
                                    },
                                    "id": 84,
                                    "name": "Identifier",
                                    "src": "292:3:1"
                                  }
                                ],
                                "id": 85,
                                "name": "MemberAccess",
                                "src": "292:9:1"
                              },
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 62,
                                  "type": "uint256",
                                  "value": "cost"
                                },
                                "id": 86,
                                "name": "Identifier",
                                "src": "305:4:1"
                              }
                            ],
                            "id": 87,
                            "name": "BinaryOperation",
                            "src": "292:17:1"
                          }
                        ],
                        "id": 88,
                        "name": "FunctionCall",
                        "src": "284:26:1"
                      }
                    ],
                    "id": 89,
                    "name": "ExpressionStatement",
                    "src": "284:26:1"
                  },
                  {
                    "id": 90,
                    "name": "PlaceholderStatement",
                    "src": "316:1:1"
                  }
                ],
                "id": 91,
                "name": "Block",
                "src": "278:44:1"
              }
            ],
            "id": 92,
            "name": "ModifierDefinition",
            "src": "263:59:1"
          },
          {
            "attributes": {
              "name": "onlyOwner",
              "visibility": "internal"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 93,
                "name": "ParameterList",
                "src": "345:0:1"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_bool",
                                  "typeString": "bool"
                                }
                              ],
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 172,
                              "type": "function (bool) pure",
                              "value": "require"
                            },
                            "id": 94,
                            "name": "Identifier",
                            "src": "351:7:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "commonType": {
                                "typeIdentifier": "t_address",
                                "typeString": "address"
                              },
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "operator": "==",
                              "type": "bool"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "member_name": "sender",
                                  "referencedDeclaration": null,
                                  "type": "address"
                                },
                                "children": [
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 169,
                                      "type": "msg",
                                      "value": "msg"
                                    },
                                    "id": 95,
                                    "name": "Identifier",
                                    "src": "359:3:1"
                                  }
                                ],
                                "id": 96,
                                "name": "MemberAccess",
                                "src": "359:10:1"
                              },
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 60,
                                  "type": "address",
                                  "value": "owner"
                                },
                                "id": 97,
                                "name": "Identifier",
                                "src": "373:5:1"
                              }
                            ],
                            "id": 98,
                            "name": "BinaryOperation",
                            "src": "359:19:1"
                          }
                        ],
                        "id": 99,
                        "name": "FunctionCall",
                        "src": "351:28:1"
                      }
                    ],
                    "id": 100,
                    "name": "ExpressionStatement",
                    "src": "351:28:1"
                  },
                  {
                    "id": 101,
                    "name": "PlaceholderStatement",
                    "src": "385:1:1"
                  }
                ],
                "id": 102,
                "name": "Block",
                "src": "345:46:1"
              }
            ],
            "id": 103,
            "name": "ModifierDefinition",
            "src": "326:65:1"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "name": "create",
              "payable": true,
              "scope": 157,
              "stateMutability": "payable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "documentHash",
                      "scope": 117,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bytes32",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bytes32",
                          "type": "bytes32"
                        },
                        "id": 104,
                        "name": "ElementaryTypeName",
                        "src": "459:7:1"
                      }
                    ],
                    "id": 105,
                    "name": "VariableDeclaration",
                    "src": "459:20:1"
                  }
                ],
                "id": 106,
                "name": "ParameterList",
                "src": "458:22:1"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 109,
                "name": "ParameterList",
                "src": "502:0:1"
              },
              {
                "attributes": {
                  "arguments": [
                    null
                  ]
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 92,
                      "type": "modifier ()",
                      "value": "costs"
                    },
                    "id": 107,
                    "name": "Identifier",
                    "src": "496:5:1"
                  }
                ],
                "id": 108,
                "name": "ModifierInvocation",
                "src": "496:5:1"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_address",
                                  "typeString": "address"
                                },
                                {
                                  "typeIdentifier": "t_bytes32",
                                  "typeString": "bytes32"
                                }
                              ],
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 81,
                              "type": "function (address,bytes32)",
                              "value": "Entry"
                            },
                            "id": 110,
                            "name": "Identifier",
                            "src": "508:5:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "member_name": "sender",
                              "referencedDeclaration": null,
                              "type": "address"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 169,
                                  "type": "msg",
                                  "value": "msg"
                                },
                                "id": 111,
                                "name": "Identifier",
                                "src": "514:3:1"
                              }
                            ],
                            "id": 112,
                            "name": "MemberAccess",
                            "src": "514:10:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 105,
                              "type": "bytes32",
                              "value": "documentHash"
                            },
                            "id": 113,
                            "name": "Identifier",
                            "src": "526:12:1"
                          }
                        ],
                        "id": 114,
                        "name": "FunctionCall",
                        "src": "508:31:1"
                      }
                    ],
                    "id": 115,
                    "name": "ExpressionStatement",
                    "src": "508:31:1"
                  }
                ],
                "id": 116,
                "name": "Block",
                "src": "502:42:1"
              }
            ],
            "id": 117,
            "name": "FunctionDefinition",
            "src": "443:101:1"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "name": "withdraw",
              "payable": false,
              "scope": 157,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 118,
                "name": "ParameterList",
                "src": "565:2:1"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 121,
                "name": "ParameterList",
                "src": "585:0:1"
              },
              {
                "attributes": {
                  "arguments": [
                    null
                  ]
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 103,
                      "type": "modifier ()",
                      "value": "onlyOwner"
                    },
                    "id": 119,
                    "name": "Identifier",
                    "src": "575:9:1"
                  }
                ],
                "id": 120,
                "name": "ModifierInvocation",
                "src": "575:9:1"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "isStructConstructorCall": false,
                          "lValueRequested": false,
                          "names": [
                            null
                          ],
                          "type": "tuple()",
                          "type_conversion": false
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_uint256",
                                  "typeString": "uint256"
                                }
                              ],
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "member_name": "transfer",
                              "referencedDeclaration": null,
                              "type": "function (uint256)"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "isConstant": false,
                                  "isLValue": false,
                                  "isPure": false,
                                  "lValueRequested": false,
                                  "member_name": "sender",
                                  "referencedDeclaration": null,
                                  "type": "address"
                                },
                                "children": [
                                  {
                                    "attributes": {
                                      "argumentTypes": null,
                                      "overloadedDeclarations": [
                                        null
                                      ],
                                      "referencedDeclaration": 169,
                                      "type": "msg",
                                      "value": "msg"
                                    },
                                    "id": 122,
                                    "name": "Identifier",
                                    "src": "591:3:1"
                                  }
                                ],
                                "id": 125,
                                "name": "MemberAccess",
                                "src": "591:10:1"
                              }
                            ],
                            "id": 126,
                            "name": "MemberAccess",
                            "src": "591:19:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "isConstant": false,
                              "isLValue": false,
                              "isPure": false,
                              "lValueRequested": false,
                              "member_name": "balance",
                              "referencedDeclaration": null,
                              "type": "uint256"
                            },
                            "children": [
                              {
                                "attributes": {
                                  "argumentTypes": null,
                                  "overloadedDeclarations": [
                                    null
                                  ],
                                  "referencedDeclaration": 182,
                                  "type": "contract NotaryStore",
                                  "value": "this"
                                },
                                "id": 127,
                                "name": "Identifier",
                                "src": "611:4:1"
                              }
                            ],
                            "id": 128,
                            "name": "MemberAccess",
                            "src": "611:12:1"
                          }
                        ],
                        "id": 129,
                        "name": "FunctionCall",
                        "src": "591:33:1"
                      }
                    ],
                    "id": 130,
                    "name": "ExpressionStatement",
                    "src": "591:33:1"
                  }
                ],
                "id": 131,
                "name": "Block",
                "src": "585:44:1"
              }
            ],
            "id": 132,
            "name": "FunctionDefinition",
            "src": "548:81:1"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "name": "setOwner",
              "payable": false,
              "scope": 157,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "newOwner",
                      "scope": 144,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 133,
                        "name": "ElementaryTypeName",
                        "src": "651:7:1"
                      }
                    ],
                    "id": 134,
                    "name": "VariableDeclaration",
                    "src": "651:16:1"
                  }
                ],
                "id": 135,
                "name": "ParameterList",
                "src": "650:18:1"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 138,
                "name": "ParameterList",
                "src": "686:0:1"
              },
              {
                "attributes": {
                  "arguments": [
                    null
                  ]
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 103,
                      "type": "modifier ()",
                      "value": "onlyOwner"
                    },
                    "id": 136,
                    "name": "Identifier",
                    "src": "676:9:1"
                  }
                ],
                "id": 137,
                "name": "ModifierInvocation",
                "src": "676:9:1"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "address"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 60,
                              "type": "address",
                              "value": "owner"
                            },
                            "id": 139,
                            "name": "Identifier",
                            "src": "692:5:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 134,
                              "type": "address",
                              "value": "newOwner"
                            },
                            "id": 140,
                            "name": "Identifier",
                            "src": "700:8:1"
                          }
                        ],
                        "id": 141,
                        "name": "Assignment",
                        "src": "692:16:1"
                      }
                    ],
                    "id": 142,
                    "name": "ExpressionStatement",
                    "src": "692:16:1"
                  }
                ],
                "id": 143,
                "name": "Block",
                "src": "686:27:1"
              }
            ],
            "id": 144,
            "name": "FunctionDefinition",
            "src": "633:80:1"
          },
          {
            "attributes": {
              "constant": false,
              "implemented": true,
              "isConstructor": false,
              "name": "setCost",
              "payable": false,
              "scope": 157,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "newCost",
                      "scope": 156,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint",
                          "type": "uint256"
                        },
                        "id": 145,
                        "name": "ElementaryTypeName",
                        "src": "734:4:1"
                      }
                    ],
                    "id": 146,
                    "name": "VariableDeclaration",
                    "src": "734:12:1"
                  }
                ],
                "id": 147,
                "name": "ParameterList",
                "src": "733:14:1"
              },
              {
                "attributes": {
                  "parameters": [
                    null
                  ]
                },
                "children": [],
                "id": 150,
                "name": "ParameterList",
                "src": "765:0:1"
              },
              {
                "attributes": {
                  "arguments": [
                    null
                  ]
                },
                "children": [
                  {
                    "attributes": {
                      "argumentTypes": null,
                      "overloadedDeclarations": [
                        null
                      ],
                      "referencedDeclaration": 103,
                      "type": "modifier ()",
                      "value": "onlyOwner"
                    },
                    "id": 148,
                    "name": "Identifier",
                    "src": "755:9:1"
                  }
                ],
                "id": 149,
                "name": "ModifierInvocation",
                "src": "755:9:1"
              },
              {
                "children": [
                  {
                    "children": [
                      {
                        "attributes": {
                          "argumentTypes": null,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "operator": "=",
                          "type": "uint256"
                        },
                        "children": [
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 62,
                              "type": "uint256",
                              "value": "cost"
                            },
                            "id": 151,
                            "name": "Identifier",
                            "src": "771:4:1"
                          },
                          {
                            "attributes": {
                              "argumentTypes": null,
                              "overloadedDeclarations": [
                                null
                              ],
                              "referencedDeclaration": 146,
                              "type": "uint256",
                              "value": "newCost"
                            },
                            "id": 152,
                            "name": "Identifier",
                            "src": "778:7:1"
                          }
                        ],
                        "id": 153,
                        "name": "Assignment",
                        "src": "771:14:1"
                      }
                    ],
                    "id": 154,
                    "name": "ExpressionStatement",
                    "src": "771:14:1"
                  }
                ],
                "id": 155,
                "name": "Block",
                "src": "765:25:1"
              }
            ],
            "id": 156,
            "name": "FunctionDefinition",
            "src": "717:73:1"
          }
        ],
        "id": 157,
        "name": "ContractDefinition",
        "src": "26:767:1"
      }
    ],
    "id": 158,
    "name": "SourceUnit",
    "src": "0:794:1"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.18+commit.9cf6e910.Emscripten.clang"
  },
  "networks": {
    "3": {
      "events": {},
      "links": {},
      "address": "0x976f2dfe2d74f031f34b241ac2a5c78934ebb5ed"
    }
  },
  "schemaVersion": "1.0.1",
  "updatedAt": "2018-01-04T18:15:55.684Z"
}