{
  "contractName": "DepositableStorage",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "isDepositable",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.4.24+commit.e67f0147\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"isDepositable\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@aragon/os/contracts/common/DepositableStorage.sol\":\"DepositableStorage\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"@aragon/os/contracts/common/DepositableStorage.sol\":{\"keccak256\":\"0x67e1884ba4c91de1c6fe1fc2c1c632c29ed3e7894a434c049be9f1ed80539237\",\"urls\":[\"bzzr://94f42ad7b57e419a62b9505affe5d4b17e8a139bfc5c26ec3c17ed6572589a1a\"]},\"@aragon/os/contracts/common/UnstructuredStorage.sol\":{\"keccak256\":\"0xe0d627fc7a7716409389f34cfe49366ba7871309d3a73262ec9608ef73e47591\",\"urls\":[\"bzzr://9742204494402cdecc66b266f0e420fcfe2677ba710db7651c40f96a63940bef\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b5060c78061001f6000396000f300608060405260043610603e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166348a0c8dd81146043575b600080fd5b348015604e57600080fd5b5060556069565b604080519115158252519081900360200190f35b600060927f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6097565b905090565b54905600a165627a7a723058202f938d3918c40011396d62f1c55138aaf6a0d7a7ac552771ec6c72302966111d0029",
  "deployedBytecode": "0x608060405260043610603e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166348a0c8dd81146043575b600080fd5b348015604e57600080fd5b5060556069565b604080519115158252519081900360200190f35b600060927f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6097565b905090565b54905600a165627a7a723058202f938d3918c40011396d62f1c55138aaf6a0d7a7ac552771ec6c72302966111d0029",
  "sourceMap": "63:499:26:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63:499:26;;;;;;;",
  "deployedSourceMap": "63:499:26:-;;;;;;;;;;;;;;;;;;;;;;;323:113;;8:9:-1;5:2;;;30:1;27;20:12;5:2;323:113:26;;;;;;;;;;;;;;;;;;;;;;;369:4;392:37;250:66;392:35;:37::i;:::-;385:44;;323:113;:::o;105:128:37:-;210:15;;200:27::o",
  "source": "pragma solidity 0.4.24;\n\nimport \"./UnstructuredStorage.sol\";\n\n\ncontract DepositableStorage {\n    using UnstructuredStorage for bytes32;\n\n    // keccak256(\"aragonOS.depositableStorage.depositable\")\n    bytes32 internal constant DEPOSITABLE_POSITION = 0x665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea;\n\n    function isDepositable() public view returns (bool) {\n        return DEPOSITABLE_POSITION.getStorageBool();\n    }\n\n    function setDepositable(bool _depositable) internal {\n        DEPOSITABLE_POSITION.setStorageBool(_depositable);\n    }\n}\n",
  "sourcePath": "@aragon/os/contracts/common/DepositableStorage.sol",
  "ast": {
    "absolutePath": "@aragon/os/contracts/common/DepositableStorage.sol",
    "exportedSymbols": {
      "DepositableStorage": [
        6285
      ]
    },
    "id": 6286,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 6255,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:26"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "./UnstructuredStorage.sol",
        "id": 6256,
        "nodeType": "ImportDirective",
        "scope": 6286,
        "sourceUnit": 6938,
        "src": "25:35:26",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 6285,
        "linearizedBaseContracts": [
          6285
        ],
        "name": "DepositableStorage",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 6259,
            "libraryName": {
              "contractScope": null,
              "id": 6257,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6937,
              "src": "103:19:26",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$6937",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "97:38:26",
            "typeName": {
              "id": 6258,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "127:7:26",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 6262,
            "name": "DEPOSITABLE_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 6285,
            "src": "201:115:26",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 6260,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "201:7:26",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307836363566643537366662626536663234376166663938663563393461353631653366373165633264336339383864353666313264333432333936633530636561",
              "id": 6261,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "250:66:26",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_46305234306404416513646796018318532483072908513802138792889746402715613072618_by_1",
                "typeString": "int_const 4630...(69 digits omitted)...2618"
              },
              "value": "0x665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 6271,
              "nodeType": "Block",
              "src": "375:61:26",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 6267,
                        "name": "DEPOSITABLE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6262,
                        "src": "392:20:26",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 6268,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageBool",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6873,
                      "src": "392:35:26",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (bool)"
                      }
                    },
                    "id": 6269,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "392:37:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 6266,
                  "id": 6270,
                  "nodeType": "Return",
                  "src": "385:44:26"
                }
              ]
            },
            "documentation": null,
            "id": 6272,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "isDepositable",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6263,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "345:2:26"
            },
            "payable": false,
            "returnParameters": {
              "id": 6266,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6265,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6272,
                  "src": "369:4:26",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 6264,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "369:4:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "368:6:26"
            },
            "scope": 6285,
            "src": "323:113:26",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6283,
              "nodeType": "Block",
              "src": "494:66:26",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6280,
                        "name": "_depositable",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6274,
                        "src": "540:12:26",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 6277,
                        "name": "DEPOSITABLE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6262,
                        "src": "504:20:26",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 6279,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageBool",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6909,
                      "src": "504:35:26",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bool_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,bool)"
                      }
                    },
                    "id": 6281,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "504:49:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6282,
                  "nodeType": "ExpressionStatement",
                  "src": "504:49:26"
                }
              ]
            },
            "documentation": null,
            "id": 6284,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setDepositable",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6275,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6274,
                  "name": "_depositable",
                  "nodeType": "VariableDeclaration",
                  "scope": 6284,
                  "src": "466:17:26",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 6273,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "466:4:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "465:19:26"
            },
            "payable": false,
            "returnParameters": {
              "id": 6276,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "494:0:26"
            },
            "scope": 6285,
            "src": "442:118:26",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 6286,
        "src": "63:499:26"
      }
    ],
    "src": "0:563:26"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/common/DepositableStorage.sol",
    "exportedSymbols": {
      "DepositableStorage": [
        6285
      ]
    },
    "id": 6286,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 6255,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:26"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "./UnstructuredStorage.sol",
        "id": 6256,
        "nodeType": "ImportDirective",
        "scope": 6286,
        "sourceUnit": 6938,
        "src": "25:35:26",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 6285,
        "linearizedBaseContracts": [
          6285
        ],
        "name": "DepositableStorage",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 6259,
            "libraryName": {
              "contractScope": null,
              "id": 6257,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6937,
              "src": "103:19:26",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$6937",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "97:38:26",
            "typeName": {
              "id": 6258,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "127:7:26",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 6262,
            "name": "DEPOSITABLE_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 6285,
            "src": "201:115:26",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 6260,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "201:7:26",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307836363566643537366662626536663234376166663938663563393461353631653366373165633264336339383864353666313264333432333936633530636561",
              "id": 6261,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "250:66:26",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_46305234306404416513646796018318532483072908513802138792889746402715613072618_by_1",
                "typeString": "int_const 4630...(69 digits omitted)...2618"
              },
              "value": "0x665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 6271,
              "nodeType": "Block",
              "src": "375:61:26",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 6267,
                        "name": "DEPOSITABLE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6262,
                        "src": "392:20:26",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 6268,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageBool",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6873,
                      "src": "392:35:26",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bool_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (bool)"
                      }
                    },
                    "id": 6269,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "392:37:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 6266,
                  "id": 6270,
                  "nodeType": "Return",
                  "src": "385:44:26"
                }
              ]
            },
            "documentation": null,
            "id": 6272,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "isDepositable",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6263,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "345:2:26"
            },
            "payable": false,
            "returnParameters": {
              "id": 6266,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6265,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 6272,
                  "src": "369:4:26",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 6264,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "369:4:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "368:6:26"
            },
            "scope": 6285,
            "src": "323:113:26",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 6283,
              "nodeType": "Block",
              "src": "494:66:26",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 6280,
                        "name": "_depositable",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6274,
                        "src": "540:12:26",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 6277,
                        "name": "DEPOSITABLE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 6262,
                        "src": "504:20:26",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 6279,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageBool",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6909,
                      "src": "504:35:26",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bool_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,bool)"
                      }
                    },
                    "id": 6281,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "504:49:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 6282,
                  "nodeType": "ExpressionStatement",
                  "src": "504:49:26"
                }
              ]
            },
            "documentation": null,
            "id": 6284,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setDepositable",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 6275,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 6274,
                  "name": "_depositable",
                  "nodeType": "VariableDeclaration",
                  "scope": 6284,
                  "src": "466:17:26",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 6273,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "466:4:26",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "465:19:26"
            },
            "payable": false,
            "returnParameters": {
              "id": 6276,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "494:0:26"
            },
            "scope": 6285,
            "src": "442:118:26",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 6286,
        "src": "63:499:26"
      }
    ],
    "src": "0:563:26"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-06-07T23:27:00.571Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}