{
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "underlyingAsset",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "pool",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "incentivesController",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint8",
          "name": "debtTokenDecimals",
          "type": "uint8"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "debtTokenName",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "debtTokenSymbol",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "bytes",
          "name": "params",
          "type": "bytes"
        }
      ],
      "name": "Initialized",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "contract ILendingPool",
          "name": "pool",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "underlyingAsset",
          "type": "address"
        },
        {
          "internalType": "contract IAaveIncentivesController",
          "name": "incentivesController",
          "type": "address"
        },
        {
          "internalType": "uint8",
          "name": "debtTokenDecimals",
          "type": "uint8"
        },
        {
          "internalType": "string",
          "name": "debtTokenName",
          "type": "string"
        },
        {
          "internalType": "string",
          "name": "debtTokenSymbol",
          "type": "string"
        },
        {
          "internalType": "bytes",
          "name": "params",
          "type": "bytes"
        }
      ],
      "name": "initialize",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "allSourcePaths": {
    "44": "node_modules/@aave/protocol-v2/contracts/interfaces/IAaveIncentivesController.sol",
    "46": "node_modules/@aave/protocol-v2/contracts/interfaces/IInitializableDebtToken.sol",
    "47": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPool.sol",
    "48": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPoolAddressesProvider.sol"
  },
  "ast": {
    "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/IInitializableDebtToken.sol",
    "exportedSymbols": {
      "IAaveIncentivesController": [
        22724
      ],
      "IInitializableDebtToken": [
        27314
      ],
      "ILendingPool": [
        15292
      ]
    },
    "id": 27315,
    "license": "agpl-3.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 27271,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "37:23:46"
      },
      {
        "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/ILendingPool.sol",
        "file": "./ILendingPool.sol",
        "id": 27273,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 27315,
        "sourceUnit": 15293,
        "src": "62:48:46",
        "symbolAliases": [
          {
            "foreign": {
              "id": 27272,
              "name": "ILendingPool",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "70:12:46",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/IAaveIncentivesController.sol",
        "file": "./IAaveIncentivesController.sol",
        "id": 27275,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 27315,
        "sourceUnit": 22725,
        "src": "111:74:46",
        "symbolAliases": [
          {
            "foreign": {
              "id": 27274,
              "name": "IAaveIncentivesController",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "119:25:46",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 27276,
          "nodeType": "StructuredDocumentation",
          "src": "187:134:46",
          "text": " @title IInitializableDebtToken\n @notice Interface for the initialize function common between debt tokens\n @author Aave*"
        },
        "fullyImplemented": false,
        "id": 27314,
        "linearizedBaseContracts": [
          27314
        ],
        "name": "IInitializableDebtToken",
        "nameLocation": "332:23:46",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": {
              "id": 27277,
              "nodeType": "StructuredDocumentation",
              "src": "360:523:46",
              "text": " @dev Emitted when a debt token is initialized\n @param underlyingAsset The address of the underlying asset\n @param pool The address of the associated lending pool\n @param incentivesController The address of the incentives controller for this aToken\n @param debtTokenDecimals the decimals of the debt token\n @param debtTokenName the name of the debt token\n @param debtTokenSymbol the symbol of the debt token\n @param params A set of encoded parameters for additional initialization*"
            },
            "id": 27293,
            "name": "Initialized",
            "nameLocation": "892:11:46",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 27292,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 27279,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "underlyingAsset",
                  "nameLocation": "925:15:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27293,
                  "src": "909:31:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 27278,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "909:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27281,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "pool",
                  "nameLocation": "962:4:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27293,
                  "src": "946:20:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 27280,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "946:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27283,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "incentivesController",
                  "nameLocation": "980:20:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27293,
                  "src": "972:28:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 27282,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "972:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27285,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "debtTokenDecimals",
                  "nameLocation": "1012:17:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27293,
                  "src": "1006:23:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint8",
                    "typeString": "uint8"
                  },
                  "typeName": {
                    "id": 27284,
                    "name": "uint8",
                    "nodeType": "ElementaryTypeName",
                    "src": "1006:5:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint8",
                      "typeString": "uint8"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27287,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "debtTokenName",
                  "nameLocation": "1042:13:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27293,
                  "src": "1035:20:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 27286,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1035:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27289,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "debtTokenSymbol",
                  "nameLocation": "1068:15:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27293,
                  "src": "1061:22:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 27288,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1061:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27291,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "params",
                  "nameLocation": "1095:6:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27293,
                  "src": "1089:12:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 27290,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1089:5:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "903:202:46"
            },
            "src": "886:220:46"
          },
          {
            "documentation": {
              "id": 27294,
              "nodeType": "StructuredDocumentation",
              "src": "1110:515:46",
              "text": " @dev Initializes the debt token.\n @param pool The address of the lending pool where this aToken will be used\n @param underlyingAsset The address of the underlying asset of this aToken (E.g. WETH for aWETH)\n @param incentivesController The smart contract managing potential incentives distribution\n @param debtTokenDecimals The decimals of the debtToken, same as the underlying asset's\n @param debtTokenName The name of the token\n @param debtTokenSymbol The symbol of the token"
            },
            "functionSelector": "c222ec8a",
            "id": 27313,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "initialize",
            "nameLocation": "1637:10:46",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 27311,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 27297,
                  "mutability": "mutable",
                  "name": "pool",
                  "nameLocation": "1666:4:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27313,
                  "src": "1653:17:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_ILendingPool_$15292",
                    "typeString": "contract ILendingPool"
                  },
                  "typeName": {
                    "id": 27296,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 27295,
                      "name": "ILendingPool",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 15292,
                      "src": "1653:12:46"
                    },
                    "referencedDeclaration": 15292,
                    "src": "1653:12:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_ILendingPool_$15292",
                      "typeString": "contract ILendingPool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27299,
                  "mutability": "mutable",
                  "name": "underlyingAsset",
                  "nameLocation": "1684:15:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27313,
                  "src": "1676:23:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 27298,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1676:7:46",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27302,
                  "mutability": "mutable",
                  "name": "incentivesController",
                  "nameLocation": "1731:20:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27313,
                  "src": "1705:46:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IAaveIncentivesController_$22724",
                    "typeString": "contract IAaveIncentivesController"
                  },
                  "typeName": {
                    "id": 27301,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 27300,
                      "name": "IAaveIncentivesController",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22724,
                      "src": "1705:25:46"
                    },
                    "referencedDeclaration": 22724,
                    "src": "1705:25:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAaveIncentivesController_$22724",
                      "typeString": "contract IAaveIncentivesController"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27304,
                  "mutability": "mutable",
                  "name": "debtTokenDecimals",
                  "nameLocation": "1763:17:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27313,
                  "src": "1757:23:46",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint8",
                    "typeString": "uint8"
                  },
                  "typeName": {
                    "id": 27303,
                    "name": "uint8",
                    "nodeType": "ElementaryTypeName",
                    "src": "1757:5:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint8",
                      "typeString": "uint8"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27306,
                  "mutability": "mutable",
                  "name": "debtTokenName",
                  "nameLocation": "1800:13:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27313,
                  "src": "1786:27:46",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 27305,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1786:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27308,
                  "mutability": "mutable",
                  "name": "debtTokenSymbol",
                  "nameLocation": "1833:15:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27313,
                  "src": "1819:29:46",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 27307,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1819:6:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27310,
                  "mutability": "mutable",
                  "name": "params",
                  "nameLocation": "1869:6:46",
                  "nodeType": "VariableDeclaration",
                  "scope": 27313,
                  "src": "1854:21:46",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 27309,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "1854:5:46",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1647:232:46"
            },
            "returnParameters": {
              "id": 27312,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1888:0:46"
            },
            "scope": 27314,
            "src": "1628:261:46",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 27315,
        "src": "322:1569:46",
        "usedErrors": []
      }
    ],
    "src": "37:1855:46"
  },
  "bytecode": "",
  "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
  "compiler": {
    "evm_version": "istanbul",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "version": "0.8.6+commit.11564f7e"
  },
  "contractName": "IInitializableDebtToken",
  "coverageMap": {
    "branches": {},
    "statements": {}
  },
  "dependencies": [
    "IAaveIncentivesController",
    "ILendingPool",
    "ILendingPoolAddressesProvider"
  ],
  "deployedBytecode": "",
  "deployedSourceMap": "",
  "language": "Solidity",
  "natspec": {
    "author": "Aave*",
    "events": {
      "Initialized(address,address,address,uint8,string,string,bytes)": {
        "details": "Emitted when a debt token is initialized",
        "params": {
          "debtTokenDecimals": "the decimals of the debt token",
          "debtTokenName": "the name of the debt token",
          "debtTokenSymbol": "the symbol of the debt token",
          "incentivesController": "The address of the incentives controller for this aToken",
          "params": "A set of encoded parameters for additional initialization*",
          "pool": "The address of the associated lending pool",
          "underlyingAsset": "The address of the underlying asset"
        }
      }
    },
    "kind": "dev",
    "methods": {
      "initialize(address,address,address,uint8,string,string,bytes)": {
        "details": "Initializes the debt token.",
        "params": {
          "debtTokenDecimals": "The decimals of the debtToken, same as the underlying asset's",
          "debtTokenName": "The name of the token",
          "debtTokenSymbol": "The symbol of the token",
          "incentivesController": "The smart contract managing potential incentives distribution",
          "pool": "The address of the lending pool where this aToken will be used",
          "underlyingAsset": "The address of the underlying asset of this aToken (E.g. WETH for aWETH)"
        }
      }
    },
    "notice": "Interface for the initialize function common between debt tokens",
    "title": "IInitializableDebtToken",
    "version": 1
  },
  "offset": [
    322,
    1891
  ],
  "opcodes": "",
  "pcMap": {},
  "sha1": "bf14c33589ca36a0de20c7614674c456ad2c6ab9",
  "source": "// SPDX-License-Identifier: agpl-3.0\npragma solidity ^0.8.0;\n\nimport {ILendingPool} from './ILendingPool.sol';\nimport {IAaveIncentivesController} from './IAaveIncentivesController.sol';\n\n/**\n * @title IInitializableDebtToken\n * @notice Interface for the initialize function common between debt tokens\n * @author Aave\n **/\ninterface IInitializableDebtToken {\n  /**\n   * @dev Emitted when a debt token is initialized\n   * @param underlyingAsset The address of the underlying asset\n   * @param pool The address of the associated lending pool\n   * @param incentivesController The address of the incentives controller for this aToken\n   * @param debtTokenDecimals the decimals of the debt token\n   * @param debtTokenName the name of the debt token\n   * @param debtTokenSymbol the symbol of the debt token\n   * @param params A set of encoded parameters for additional initialization\n   **/\n  event Initialized(\n    address indexed underlyingAsset,\n    address indexed pool,\n    address incentivesController,\n    uint8 debtTokenDecimals,\n    string debtTokenName,\n    string debtTokenSymbol,\n    bytes params\n  );\n\n  /**\n   * @dev Initializes the debt token.\n   * @param pool The address of the lending pool where this aToken will be used\n   * @param underlyingAsset The address of the underlying asset of this aToken (E.g. WETH for aWETH)\n   * @param incentivesController The smart contract managing potential incentives distribution\n   * @param debtTokenDecimals The decimals of the debtToken, same as the underlying asset's\n   * @param debtTokenName The name of the token\n   * @param debtTokenSymbol The symbol of the token\n   */\n  function initialize(\n    ILendingPool pool,\n    address underlyingAsset,\n    IAaveIncentivesController incentivesController,\n    uint8 debtTokenDecimals,\n    string memory debtTokenName,\n    string memory debtTokenSymbol,\n    bytes calldata params\n  ) external;\n}\n",
  "sourceMap": "",
  "sourcePath": "node_modules/@aave/protocol-v2/contracts/interfaces/IInitializableDebtToken.sol",
  "type": "interface"
}