{
  "contractName": "ITokenController",
  "abi": [
    {
      "constant": false,
      "inputs": [
        {
          "name": "_from",
          "type": "address"
        },
        {
          "name": "_to",
          "type": "address"
        },
        {
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "onTransfer",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        },
        {
          "name": "_spender",
          "type": "address"
        },
        {
          "name": "_amount",
          "type": "uint256"
        }
      ],
      "name": "onApprove",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "constant": false,
      "inputs": [
        {
          "name": "_owner",
          "type": "address"
        }
      ],
      "name": "proxyPayment",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": true,
      "stateMutability": "payable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "pragma solidity ^0.4.18;\n\n/// @dev The token controller contract must implement these functions\n\n\ninterface ITokenController {\n    /// @notice Called when `_owner` sends ether to the MiniMe Token contract\n    /// @param _owner The address that sent the ether to create tokens\n    /// @return True if the ether is accepted, false if it throws\n    function proxyPayment(address _owner) public payable returns(bool);\n\n    /// @notice Notifies the controller about a token transfer allowing the\n    ///  controller to react if desired\n    /// @param _from The origin of the transfer\n    /// @param _to The destination of the transfer\n    /// @param _amount The amount of the transfer\n    /// @return False if the controller does not authorize the transfer\n    function onTransfer(address _from, address _to, uint _amount) public returns(bool);\n\n    /// @notice Notifies the controller about an approval allowing the\n    ///  controller to react if desired\n    /// @param _owner The address that calls `approve()`\n    /// @param _spender The spender in the `approve()` call\n    /// @param _amount The amount in the `approve()` call\n    /// @return False if the controller does not authorize the approval\n    function onApprove(address _owner, address _spender, uint _amount) public returns(bool);\n}\n",
  "sourcePath": "@aragon/os/contracts/lib/minime/ITokenController.sol",
  "ast": {
    "attributes": {
      "absolutePath": "@aragon/os/contracts/lib/minime/ITokenController.sol",
      "exportedSymbols": {
        "ITokenController": [
          10800
        ]
      }
    },
    "children": [
      {
        "attributes": {
          "literals": [
            "solidity",
            "^",
            "0.4",
            ".18"
          ]
        },
        "id": 10770,
        "name": "PragmaDirective",
        "src": "0:24:50"
      },
      {
        "attributes": {
          "baseContracts": [
            null
          ],
          "contractDependencies": [
            null
          ],
          "contractKind": "interface",
          "documentation": "@dev The token controller contract must implement these functions",
          "fullyImplemented": false,
          "linearizedBaseContracts": [
            10800
          ],
          "name": "ITokenController",
          "scope": 10801
        },
        "children": [
          {
            "attributes": {
              "body": null,
              "constant": false,
              "implemented": false,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "proxyPayment",
              "payable": true,
              "scope": 10800,
              "stateMutability": "payable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_owner",
                      "scope": 10777,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 10771,
                        "name": "ElementaryTypeName",
                        "src": "368:7:50"
                      }
                    ],
                    "id": 10772,
                    "name": "VariableDeclaration",
                    "src": "368:14:50"
                  }
                ],
                "id": 10773,
                "name": "ParameterList",
                "src": "367:16:50"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10777,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 10774,
                        "name": "ElementaryTypeName",
                        "src": "407:4:50"
                      }
                    ],
                    "id": 10775,
                    "name": "VariableDeclaration",
                    "src": "407:4:50"
                  }
                ],
                "id": 10776,
                "name": "ParameterList",
                "src": "406:6:50"
              }
            ],
            "id": 10777,
            "name": "FunctionDefinition",
            "src": "346:67:50"
          },
          {
            "attributes": {
              "body": null,
              "constant": false,
              "implemented": false,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "onTransfer",
              "payable": false,
              "scope": 10800,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_from",
                      "scope": 10788,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 10778,
                        "name": "ElementaryTypeName",
                        "src": "776:7:50"
                      }
                    ],
                    "id": 10779,
                    "name": "VariableDeclaration",
                    "src": "776:13:50"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_to",
                      "scope": 10788,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 10780,
                        "name": "ElementaryTypeName",
                        "src": "791:7:50"
                      }
                    ],
                    "id": 10781,
                    "name": "VariableDeclaration",
                    "src": "791:11:50"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_amount",
                      "scope": 10788,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint",
                          "type": "uint256"
                        },
                        "id": 10782,
                        "name": "ElementaryTypeName",
                        "src": "804:4:50"
                      }
                    ],
                    "id": 10783,
                    "name": "VariableDeclaration",
                    "src": "804:12:50"
                  }
                ],
                "id": 10784,
                "name": "ParameterList",
                "src": "775:42:50"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10788,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 10785,
                        "name": "ElementaryTypeName",
                        "src": "833:4:50"
                      }
                    ],
                    "id": 10786,
                    "name": "VariableDeclaration",
                    "src": "833:4:50"
                  }
                ],
                "id": 10787,
                "name": "ParameterList",
                "src": "832:6:50"
              }
            ],
            "id": 10788,
            "name": "FunctionDefinition",
            "src": "756:83:50"
          },
          {
            "attributes": {
              "body": null,
              "constant": false,
              "implemented": false,
              "isConstructor": false,
              "modifiers": [
                null
              ],
              "name": "onApprove",
              "payable": false,
              "scope": 10800,
              "stateMutability": "nonpayable",
              "superFunction": null,
              "visibility": "public"
            },
            "children": [
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_owner",
                      "scope": 10799,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 10789,
                        "name": "ElementaryTypeName",
                        "src": "1222:7:50"
                      }
                    ],
                    "id": 10790,
                    "name": "VariableDeclaration",
                    "src": "1222:14:50"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_spender",
                      "scope": 10799,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "address",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "address",
                          "type": "address"
                        },
                        "id": 10791,
                        "name": "ElementaryTypeName",
                        "src": "1238:7:50"
                      }
                    ],
                    "id": 10792,
                    "name": "VariableDeclaration",
                    "src": "1238:16:50"
                  },
                  {
                    "attributes": {
                      "constant": false,
                      "name": "_amount",
                      "scope": 10799,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "uint256",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "uint",
                          "type": "uint256"
                        },
                        "id": 10793,
                        "name": "ElementaryTypeName",
                        "src": "1256:4:50"
                      }
                    ],
                    "id": 10794,
                    "name": "VariableDeclaration",
                    "src": "1256:12:50"
                  }
                ],
                "id": 10795,
                "name": "ParameterList",
                "src": "1221:48:50"
              },
              {
                "children": [
                  {
                    "attributes": {
                      "constant": false,
                      "name": "",
                      "scope": 10799,
                      "stateVariable": false,
                      "storageLocation": "default",
                      "type": "bool",
                      "value": null,
                      "visibility": "internal"
                    },
                    "children": [
                      {
                        "attributes": {
                          "name": "bool",
                          "type": "bool"
                        },
                        "id": 10796,
                        "name": "ElementaryTypeName",
                        "src": "1285:4:50"
                      }
                    ],
                    "id": 10797,
                    "name": "VariableDeclaration",
                    "src": "1285:4:50"
                  }
                ],
                "id": 10798,
                "name": "ParameterList",
                "src": "1284:6:50"
              }
            ],
            "id": 10799,
            "name": "FunctionDefinition",
            "src": "1203:88:50"
          }
        ],
        "id": 10800,
        "name": "ContractDefinition",
        "src": "98:1195:50"
      }
    ],
    "id": 10801,
    "name": "SourceUnit",
    "src": "0:1294:50"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.18+commit.9cf6e910.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "1.0.1",
  "updatedAt": "2018-03-14T08:41:25.099Z"
}