{
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "currentBalance",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "balanceIncrease",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "avgStableRate",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "newTotalSupply",
          "type": "uint256"
        }
      ],
      "name": "Burn",
      "type": "event"
    },
    {
      "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"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "currentBalance",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "balanceIncrease",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "newRate",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "avgStableRate",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "newTotalSupply",
          "type": "uint256"
        }
      ],
      "name": "Mint",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "burn",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getAverageStableRate",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getIncentivesController",
      "outputs": [
        {
          "internalType": "contract IAaveIncentivesController",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getSupplyData",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "uint40",
          "name": "",
          "type": "uint40"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getTotalSupplyAndAvgRate",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getTotalSupplyLastUpdated",
      "outputs": [
        {
          "internalType": "uint40",
          "name": "",
          "type": "uint40"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "getUserLastUpdated",
      "outputs": [
        {
          "internalType": "uint40",
          "name": "",
          "type": "uint40"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "getUserStableRate",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "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"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "onBehalfOf",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "rate",
          "type": "uint256"
        }
      ],
      "name": "mint",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "user",
          "type": "address"
        }
      ],
      "name": "principalBalanceOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "allSourcePaths": {
    "44": "node_modules/@aave/protocol-v2/contracts/interfaces/IAaveIncentivesController.sol",
    "46": "node_modules/@aave/protocol-v2/contracts/interfaces/IInitializableDebtToken.sol",
    "50": "node_modules/@aave/protocol-v2/contracts/interfaces/IStableDebtToken.sol"
  },
  "ast": {
    "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/IStableDebtToken.sol",
    "exportedSymbols": {
      "IAaveIncentivesController": [
        22724
      ],
      "IInitializableDebtToken": [
        27314
      ],
      "IStableDebtToken": [
        22990
      ]
    },
    "id": 22991,
    "license": "agpl-3.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 22863,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "37:23:50"
      },
      {
        "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/IInitializableDebtToken.sol",
        "file": "./IInitializableDebtToken.sol",
        "id": 22865,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 22991,
        "sourceUnit": 27315,
        "src": "62:70:50",
        "symbolAliases": [
          {
            "foreign": {
              "id": 22864,
              "name": "IInitializableDebtToken",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "70:23:50",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "absolutePath": "node_modules/@aave/protocol-v2/contracts/interfaces/IAaveIncentivesController.sol",
        "file": "./IAaveIncentivesController.sol",
        "id": 22867,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 22991,
        "sourceUnit": 22725,
        "src": "133:74:50",
        "symbolAliases": [
          {
            "foreign": {
              "id": 22866,
              "name": "IAaveIncentivesController",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "141:25:50",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 22869,
              "name": "IInitializableDebtToken",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 27314,
              "src": "412:23:50"
            },
            "id": 22870,
            "nodeType": "InheritanceSpecifier",
            "src": "412:23:50"
          }
        ],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 22868,
          "nodeType": "StructuredDocumentation",
          "src": "209:171:50",
          "text": " @title IStableDebtToken\n @notice Defines the interface for the stable debt token\n @dev It does not inherit from IERC20 to save in code size\n @author Aave*"
        },
        "fullyImplemented": false,
        "id": 22990,
        "linearizedBaseContracts": [
          22990,
          27314
        ],
        "name": "IStableDebtToken",
        "nameLocation": "392:16:50",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "anonymous": false,
            "documentation": {
              "id": 22871,
              "nodeType": "StructuredDocumentation",
              "src": "440:588:50",
              "text": " @dev Emitted when new stable debt is minted\n @param user The address of the user who triggered the minting\n @param onBehalfOf The recipient of stable debt tokens\n @param amount The amount minted\n @param currentBalance The current balance of the user\n @param balanceIncrease The increase in balance since the last action of the user\n @param newRate The rate of the debt after the minting\n @param avgStableRate The new average stable rate after the minting\n @param newTotalSupply The new total supply of the stable debt token after the action*"
            },
            "id": 22889,
            "name": "Mint",
            "nameLocation": "1037:4:50",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 22888,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22873,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "1063:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1047:20:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22872,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1047:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22875,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "1089:10:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1073:26:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22874,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1073:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22877,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "1113:6:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1105:14:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22876,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1105:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22879,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "currentBalance",
                  "nameLocation": "1133:14:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1125:22:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22878,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1125:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22881,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "balanceIncrease",
                  "nameLocation": "1161:15:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1153:23:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22880,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1153:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22883,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "newRate",
                  "nameLocation": "1190:7:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1182:15:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22882,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1182:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22885,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "avgStableRate",
                  "nameLocation": "1211:13:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1203:21:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22884,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1203:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22887,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "newTotalSupply",
                  "nameLocation": "1238:14:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22889,
                  "src": "1230:22:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22886,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1230:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1041:215:50"
            },
            "src": "1031:226:50"
          },
          {
            "anonymous": false,
            "documentation": {
              "id": 22890,
              "nodeType": "StructuredDocumentation",
              "src": "1261:454:50",
              "text": " @dev Emitted when new stable debt is burned\n @param user The address of the user\n @param amount The amount being burned\n @param currentBalance The current balance of the user\n @param balanceIncrease The the increase in balance since the last action of the user\n @param avgStableRate The new average stable rate after the burning\n @param newTotalSupply The new total supply of the stable debt token after the action*"
            },
            "id": 22904,
            "name": "Burn",
            "nameLocation": "1724:4:50",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 22903,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22892,
                  "indexed": true,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "1750:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22904,
                  "src": "1734:20:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22891,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1734:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22894,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "1768:6:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22904,
                  "src": "1760:14:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22893,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1760:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22896,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "currentBalance",
                  "nameLocation": "1788:14:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22904,
                  "src": "1780:22:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22895,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1780:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22898,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "balanceIncrease",
                  "nameLocation": "1816:15:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22904,
                  "src": "1808:23:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22897,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1808:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22900,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "avgStableRate",
                  "nameLocation": "1845:13:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22904,
                  "src": "1837:21:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22899,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1837:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22902,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "newTotalSupply",
                  "nameLocation": "1872:14:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22904,
                  "src": "1864:22:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22901,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1864:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1728:162:50"
            },
            "src": "1718:173:50"
          },
          {
            "documentation": {
              "id": 22905,
              "nodeType": "StructuredDocumentation",
              "src": "1895:504:50",
              "text": " @dev Mints debt token to the `onBehalfOf` address.\n - The resulting rate is the weighted average between the rate of the new debt\n and the rate of the previous debt\n @param user The address receiving the borrowed underlying, being the delegatee in case\n of credit delegate, or same as `onBehalfOf` otherwise\n @param onBehalfOf The address receiving the debt tokens\n @param amount The amount of debt tokens to mint\n @param rate The rate of the debt being minted*"
            },
            "functionSelector": "b3f1c93d",
            "id": 22918,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "mint",
            "nameLocation": "2411:4:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22914,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22907,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "2429:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22918,
                  "src": "2421:12:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22906,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2421:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22909,
                  "mutability": "mutable",
                  "name": "onBehalfOf",
                  "nameLocation": "2447:10:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22918,
                  "src": "2439:18:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22908,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2439:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22911,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "2471:6:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22918,
                  "src": "2463:14:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22910,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2463:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22913,
                  "mutability": "mutable",
                  "name": "rate",
                  "nameLocation": "2491:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22918,
                  "src": "2483:12:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22912,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2483:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2415:84:50"
            },
            "returnParameters": {
              "id": 22917,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22916,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22918,
                  "src": "2518:4:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 22915,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "2518:4:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2517:6:50"
            },
            "scope": 22990,
            "src": "2402:122:50",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22919,
              "nodeType": "StructuredDocumentation",
              "src": "2528:288:50",
              "text": " @dev Burns debt of `user`\n - The resulting rate is the weighted average between the rate of the new debt\n and the rate of the previous debt\n @param user The address of the user getting his debt burned\n @param amount The amount of debt tokens getting burned*"
            },
            "functionSelector": "9dc29fac",
            "id": 22926,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "burn",
            "nameLocation": "2828:4:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22924,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22921,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "2841:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22926,
                  "src": "2833:12:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22920,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2833:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22923,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "2855:6:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22926,
                  "src": "2847:14:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22922,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2847:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2832:30:50"
            },
            "returnParameters": {
              "id": 22925,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "2871:0:50"
            },
            "scope": 22990,
            "src": "2819:53:50",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22927,
              "nodeType": "StructuredDocumentation",
              "src": "2876:112:50",
              "text": " @dev Returns the average rate of all the stable rate loans.\n @return The average stable rate*"
            },
            "functionSelector": "90f6fcf2",
            "id": 22932,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getAverageStableRate",
            "nameLocation": "3000:20:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22928,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3020:2:50"
            },
            "returnParameters": {
              "id": 22931,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22930,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22932,
                  "src": "3046:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22929,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3046:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3045:9:50"
            },
            "scope": 22990,
            "src": "2991:64:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22933,
              "nodeType": "StructuredDocumentation",
              "src": "3059:102:50",
              "text": " @dev Returns the stable rate of the user debt\n @return The stable rate of the user*"
            },
            "functionSelector": "e78c9b3b",
            "id": 22940,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getUserStableRate",
            "nameLocation": "3173:17:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22936,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22935,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "3199:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22940,
                  "src": "3191:12:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22934,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3191:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3190:14:50"
            },
            "returnParameters": {
              "id": 22939,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22938,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22940,
                  "src": "3228:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22937,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3228:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3227:9:50"
            },
            "scope": 22990,
            "src": "3164:73:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22941,
              "nodeType": "StructuredDocumentation",
              "src": "3241:100:50",
              "text": " @dev Returns the timestamp of the last update of the user\n @return The timestamp*"
            },
            "functionSelector": "79ce6b8c",
            "id": 22948,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getUserLastUpdated",
            "nameLocation": "3353:18:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22944,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22943,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "3380:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22948,
                  "src": "3372:12:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22942,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3372:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3371:14:50"
            },
            "returnParameters": {
              "id": 22947,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22946,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22948,
                  "src": "3409:6:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint40",
                    "typeString": "uint40"
                  },
                  "typeName": {
                    "id": 22945,
                    "name": "uint40",
                    "nodeType": "ElementaryTypeName",
                    "src": "3409:6:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint40",
                      "typeString": "uint40"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3408:8:50"
            },
            "scope": 22990,
            "src": "3344:73:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22949,
              "nodeType": "StructuredDocumentation",
              "src": "3421:88:50",
              "text": " @dev Returns the principal, the total supply and the average stable rate*"
            },
            "functionSelector": "79774338",
            "id": 22960,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getSupplyData",
            "nameLocation": "3521:13:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22950,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3534:2:50"
            },
            "returnParameters": {
              "id": 22959,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22952,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22960,
                  "src": "3579:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22951,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3579:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22954,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22960,
                  "src": "3594:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22953,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3594:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22956,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22960,
                  "src": "3609:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22955,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3609:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22958,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22960,
                  "src": "3624:6:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint40",
                    "typeString": "uint40"
                  },
                  "typeName": {
                    "id": 22957,
                    "name": "uint40",
                    "nodeType": "ElementaryTypeName",
                    "src": "3624:6:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint40",
                      "typeString": "uint40"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3571:65:50"
            },
            "scope": 22990,
            "src": "3512:125:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22961,
              "nodeType": "StructuredDocumentation",
              "src": "3641:108:50",
              "text": " @dev Returns the timestamp of the last update of the total supply\n @return The timestamp*"
            },
            "functionSelector": "e7484890",
            "id": 22966,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getTotalSupplyLastUpdated",
            "nameLocation": "3761:25:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22962,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3786:2:50"
            },
            "returnParameters": {
              "id": 22965,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22964,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22966,
                  "src": "3812:6:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint40",
                    "typeString": "uint40"
                  },
                  "typeName": {
                    "id": 22963,
                    "name": "uint40",
                    "nodeType": "ElementaryTypeName",
                    "src": "3812:6:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint40",
                      "typeString": "uint40"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3811:8:50"
            },
            "scope": 22990,
            "src": "3752:68:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22967,
              "nodeType": "StructuredDocumentation",
              "src": "3824:73:50",
              "text": " @dev Returns the total supply and the average stable rate*"
            },
            "functionSelector": "f731e9be",
            "id": 22974,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getTotalSupplyAndAvgRate",
            "nameLocation": "3909:24:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22968,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "3933:2:50"
            },
            "returnParameters": {
              "id": 22973,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22970,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22974,
                  "src": "3959:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22969,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3959:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22972,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22974,
                  "src": "3968:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22971,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "3968:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3958:18:50"
            },
            "scope": 22990,
            "src": "3900:77:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22975,
              "nodeType": "StructuredDocumentation",
              "src": "3981:141:50",
              "text": " @dev Returns the principal debt balance of the user\n @return The debt balance of the user since the last burn/mint action*"
            },
            "functionSelector": "c634dfaa",
            "id": 22982,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "principalBalanceOf",
            "nameLocation": "4134:18:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22978,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22977,
                  "mutability": "mutable",
                  "name": "user",
                  "nameLocation": "4161:4:50",
                  "nodeType": "VariableDeclaration",
                  "scope": 22982,
                  "src": "4153:12:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22976,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "4153:7:50",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4152:14:50"
            },
            "returnParameters": {
              "id": 22981,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22980,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22982,
                  "src": "4190:7:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22979,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4190:7:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4189:9:50"
            },
            "scope": 22990,
            "src": "4125:74:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "documentation": {
              "id": 22983,
              "nodeType": "StructuredDocumentation",
              "src": "4203:78:50",
              "text": " @dev Returns the address of the incentives controller contract*"
            },
            "functionSelector": "75d26413",
            "id": 22989,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getIncentivesController",
            "nameLocation": "4293:23:50",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22984,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4316:2:50"
            },
            "returnParameters": {
              "id": 22988,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22987,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22989,
                  "src": "4342:25:50",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IAaveIncentivesController_$22724",
                    "typeString": "contract IAaveIncentivesController"
                  },
                  "typeName": {
                    "id": 22986,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 22985,
                      "name": "IAaveIncentivesController",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 22724,
                      "src": "4342:25:50"
                    },
                    "referencedDeclaration": 22724,
                    "src": "4342:25:50",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IAaveIncentivesController_$22724",
                      "typeString": "contract IAaveIncentivesController"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "4341:27:50"
            },
            "scope": 22990,
            "src": "4284:85:50",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 22991,
        "src": "382:3989:50",
        "usedErrors": []
      }
    ],
    "src": "37:4335:50"
  },
  "bytecode": "",
  "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
  "compiler": {
    "evm_version": "istanbul",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "version": "0.8.6+commit.11564f7e"
  },
  "contractName": "IStableDebtToken",
  "coverageMap": {
    "branches": {},
    "statements": {}
  },
  "dependencies": [
    "IAaveIncentivesController",
    "IInitializableDebtToken"
  ],
  "deployedBytecode": "",
  "deployedSourceMap": "",
  "language": "Solidity",
  "natspec": {
    "author": "Aave*",
    "details": "It does not inherit from IERC20 to save in code size",
    "events": {
      "Burn(address,uint256,uint256,uint256,uint256,uint256)": {
        "details": "Emitted when new stable debt is burned",
        "params": {
          "amount": "The amount being burned",
          "avgStableRate": "The new average stable rate after the burning",
          "balanceIncrease": "The the increase in balance since the last action of the user",
          "currentBalance": "The current balance of the user",
          "newTotalSupply": "The new total supply of the stable debt token after the action*",
          "user": "The address of the user"
        }
      },
      "Mint(address,address,uint256,uint256,uint256,uint256,uint256,uint256)": {
        "details": "Emitted when new stable debt is minted",
        "params": {
          "amount": "The amount minted",
          "avgStableRate": "The new average stable rate after the minting",
          "balanceIncrease": "The increase in balance since the last action of the user",
          "currentBalance": "The current balance of the user",
          "newRate": "The rate of the debt after the minting",
          "newTotalSupply": "The new total supply of the stable debt token after the action*",
          "onBehalfOf": "The recipient of stable debt tokens",
          "user": "The address of the user who triggered the minting"
        }
      }
    },
    "kind": "dev",
    "methods": {
      "burn(address,uint256)": {
        "details": "Burns debt of `user` - The resulting rate is the weighted average between the rate of the new debt and the rate of the previous debt",
        "params": {
          "amount": "The amount of debt tokens getting burned*",
          "user": "The address of the user getting his debt burned"
        }
      },
      "getAverageStableRate()": {
        "details": "Returns the average rate of all the stable rate loans.",
        "returns": {
          "_0": "The average stable rate*"
        }
      },
      "getIncentivesController()": {
        "details": "Returns the address of the incentives controller contract*"
      },
      "getSupplyData()": {
        "details": "Returns the principal, the total supply and the average stable rate*"
      },
      "getTotalSupplyAndAvgRate()": {
        "details": "Returns the total supply and the average stable rate*"
      },
      "getTotalSupplyLastUpdated()": {
        "details": "Returns the timestamp of the last update of the total supply",
        "returns": {
          "_0": "The timestamp*"
        }
      },
      "getUserLastUpdated(address)": {
        "details": "Returns the timestamp of the last update of the user",
        "returns": {
          "_0": "The timestamp*"
        }
      },
      "getUserStableRate(address)": {
        "details": "Returns the stable rate of the user debt",
        "returns": {
          "_0": "The stable rate of the user*"
        }
      },
      "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)"
        }
      },
      "mint(address,address,uint256,uint256)": {
        "details": "Mints debt token to the `onBehalfOf` address. - The resulting rate is the weighted average between the rate of the new debt and the rate of the previous debt",
        "params": {
          "amount": "The amount of debt tokens to mint",
          "onBehalfOf": "The address receiving the debt tokens",
          "rate": "The rate of the debt being minted*",
          "user": "The address receiving the borrowed underlying, being the delegatee in case of credit delegate, or same as `onBehalfOf` otherwise"
        }
      },
      "principalBalanceOf(address)": {
        "details": "Returns the principal debt balance of the user",
        "returns": {
          "_0": "The debt balance of the user since the last burn/mint action*"
        }
      }
    },
    "notice": "Defines the interface for the stable debt token",
    "title": "IStableDebtToken",
    "version": 1
  },
  "offset": [
    382,
    4371
  ],
  "opcodes": "",
  "pcMap": {},
  "sha1": "563a56ac18d0568f7122cb81c6468e61a168c686",
  "source": "// SPDX-License-Identifier: agpl-3.0\npragma solidity ^0.8.0;\n\nimport {IInitializableDebtToken} from './IInitializableDebtToken.sol';\nimport {IAaveIncentivesController} from './IAaveIncentivesController.sol';\n\n/**\n * @title IStableDebtToken\n * @notice Defines the interface for the stable debt token\n * @dev It does not inherit from IERC20 to save in code size\n * @author Aave\n **/\n\ninterface IStableDebtToken is IInitializableDebtToken {\n  /**\n   * @dev Emitted when new stable debt is minted\n   * @param user The address of the user who triggered the minting\n   * @param onBehalfOf The recipient of stable debt tokens\n   * @param amount The amount minted\n   * @param currentBalance The current balance of the user\n   * @param balanceIncrease The increase in balance since the last action of the user\n   * @param newRate The rate of the debt after the minting\n   * @param avgStableRate The new average stable rate after the minting\n   * @param newTotalSupply The new total supply of the stable debt token after the action\n   **/\n  event Mint(\n    address indexed user,\n    address indexed onBehalfOf,\n    uint256 amount,\n    uint256 currentBalance,\n    uint256 balanceIncrease,\n    uint256 newRate,\n    uint256 avgStableRate,\n    uint256 newTotalSupply\n  );\n\n  /**\n   * @dev Emitted when new stable debt is burned\n   * @param user The address of the user\n   * @param amount The amount being burned\n   * @param currentBalance The current balance of the user\n   * @param balanceIncrease The the increase in balance since the last action of the user\n   * @param avgStableRate The new average stable rate after the burning\n   * @param newTotalSupply The new total supply of the stable debt token after the action\n   **/\n  event Burn(\n    address indexed user,\n    uint256 amount,\n    uint256 currentBalance,\n    uint256 balanceIncrease,\n    uint256 avgStableRate,\n    uint256 newTotalSupply\n  );\n\n  /**\n   * @dev Mints debt token to the `onBehalfOf` address.\n   * - The resulting rate is the weighted average between the rate of the new debt\n   * and the rate of the previous debt\n   * @param user The address receiving the borrowed underlying, being the delegatee in case\n   * of credit delegate, or same as `onBehalfOf` otherwise\n   * @param onBehalfOf The address receiving the debt tokens\n   * @param amount The amount of debt tokens to mint\n   * @param rate The rate of the debt being minted\n   **/\n  function mint(\n    address user,\n    address onBehalfOf,\n    uint256 amount,\n    uint256 rate\n  ) external returns (bool);\n\n  /**\n   * @dev Burns debt of `user`\n   * - The resulting rate is the weighted average between the rate of the new debt\n   * and the rate of the previous debt\n   * @param user The address of the user getting his debt burned\n   * @param amount The amount of debt tokens getting burned\n   **/\n  function burn(address user, uint256 amount) external;\n\n  /**\n   * @dev Returns the average rate of all the stable rate loans.\n   * @return The average stable rate\n   **/\n  function getAverageStableRate() external view returns (uint256);\n\n  /**\n   * @dev Returns the stable rate of the user debt\n   * @return The stable rate of the user\n   **/\n  function getUserStableRate(address user) external view returns (uint256);\n\n  /**\n   * @dev Returns the timestamp of the last update of the user\n   * @return The timestamp\n   **/\n  function getUserLastUpdated(address user) external view returns (uint40);\n\n  /**\n   * @dev Returns the principal, the total supply and the average stable rate\n   **/\n  function getSupplyData()\n    external\n    view\n    returns (\n      uint256,\n      uint256,\n      uint256,\n      uint40\n    );\n\n  /**\n   * @dev Returns the timestamp of the last update of the total supply\n   * @return The timestamp\n   **/\n  function getTotalSupplyLastUpdated() external view returns (uint40);\n\n  /**\n   * @dev Returns the total supply and the average stable rate\n   **/\n  function getTotalSupplyAndAvgRate() external view returns (uint256, uint256);\n\n  /**\n   * @dev Returns the principal debt balance of the user\n   * @return The debt balance of the user since the last burn/mint action\n   **/\n  function principalBalanceOf(address user) external view returns (uint256);\n\n  /**\n   * @dev Returns the address of the incentives controller contract\n   **/\n  function getIncentivesController() external view returns (IAaveIncentivesController);\n}\n",
  "sourceMap": "",
  "sourcePath": "node_modules/@aave/protocol-v2/contracts/interfaces/IStableDebtToken.sol",
  "type": "interface"
}