{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "contract IEToken",
          "name": "etoken",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "provider",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "acceptsDeposit",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "contract IEToken",
          "name": "etoken",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "providerFrom",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "providerTo",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "acceptsTransfer",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "ast": {
    "absolutePath": "interfaces/ILPWhitelist.sol",
    "exportedSymbols": {
      "IEToken": [
        132
      ],
      "ILPWhitelist": [
        248
      ]
    },
    "id": 249,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 218,
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ],
        "nodeType": "PragmaDirective",
        "src": "39:23:6"
      },
      {
        "absolutePath": "interfaces/IEToken.sol",
        "file": "./IEToken.sol",
        "id": 220,
        "nameLocation": "-1:-1:-1",
        "nodeType": "ImportDirective",
        "scope": 249,
        "sourceUnit": 133,
        "src": "64:38:6",
        "symbolAliases": [
          {
            "foreign": {
              "id": 219,
              "name": "IEToken",
              "nodeType": "Identifier",
              "overloadedDeclarations": [],
              "src": "72:7:6",
              "typeDescriptions": {}
            },
            "nameLocation": "-1:-1:-1"
          }
        ],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 221,
          "nodeType": "StructuredDocumentation",
          "src": "104:113:6",
          "text": " @title ILPWhitelist - Interface that handles the whitelisting of Liquidity Providers\n @author Ensuro"
        },
        "fullyImplemented": false,
        "id": 248,
        "linearizedBaseContracts": [
          248
        ],
        "name": "ILPWhitelist",
        "nameLocation": "228:12:6",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "functionSelector": "37ee20dd",
            "id": 233,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "acceptsDeposit",
            "nameLocation": "254:14:6",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 229,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 224,
                  "mutability": "mutable",
                  "name": "etoken",
                  "nameLocation": "282:6:6",
                  "nodeType": "VariableDeclaration",
                  "scope": 233,
                  "src": "274:14:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IEToken_$132",
                    "typeString": "contract IEToken"
                  },
                  "typeName": {
                    "id": 223,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 222,
                      "name": "IEToken",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 132,
                      "src": "274:7:6"
                    },
                    "referencedDeclaration": 132,
                    "src": "274:7:6",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IEToken_$132",
                      "typeString": "contract IEToken"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 226,
                  "mutability": "mutable",
                  "name": "provider",
                  "nameLocation": "302:8:6",
                  "nodeType": "VariableDeclaration",
                  "scope": 233,
                  "src": "294:16:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 225,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "294:7:6",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 228,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "324:6:6",
                  "nodeType": "VariableDeclaration",
                  "scope": 233,
                  "src": "316:14:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 227,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "316:7:6",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "268:66:6"
            },
            "returnParameters": {
              "id": 232,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 231,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 233,
                  "src": "358:4:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 230,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "358:4:6",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "357:6:6"
            },
            "scope": 248,
            "src": "245:119:6",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "5fcdca37",
            "id": 247,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "acceptsTransfer",
            "nameLocation": "377:15:6",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 243,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 236,
                  "mutability": "mutable",
                  "name": "etoken",
                  "nameLocation": "406:6:6",
                  "nodeType": "VariableDeclaration",
                  "scope": 247,
                  "src": "398:14:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IEToken_$132",
                    "typeString": "contract IEToken"
                  },
                  "typeName": {
                    "id": 235,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 234,
                      "name": "IEToken",
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 132,
                      "src": "398:7:6"
                    },
                    "referencedDeclaration": 132,
                    "src": "398:7:6",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IEToken_$132",
                      "typeString": "contract IEToken"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 238,
                  "mutability": "mutable",
                  "name": "providerFrom",
                  "nameLocation": "426:12:6",
                  "nodeType": "VariableDeclaration",
                  "scope": 247,
                  "src": "418:20:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 237,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "418:7:6",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 240,
                  "mutability": "mutable",
                  "name": "providerTo",
                  "nameLocation": "452:10:6",
                  "nodeType": "VariableDeclaration",
                  "scope": 247,
                  "src": "444:18:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 239,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "444:7:6",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 242,
                  "mutability": "mutable",
                  "name": "amount",
                  "nameLocation": "476:6:6",
                  "nodeType": "VariableDeclaration",
                  "scope": 247,
                  "src": "468:14:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 241,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "468:7:6",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "392:94:6"
            },
            "returnParameters": {
              "id": 246,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 245,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 247,
                  "src": "510:4:6",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 244,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "510:4:6",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "509:6:6"
            },
            "scope": 248,
            "src": "368:148:6",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 249,
        "src": "218:300:6",
        "usedErrors": []
      }
    ],
    "src": "39:480:6"
  },
  "contractName": "ILPWhitelist",
  "dependencies": [
    "IERC20",
    "IEToken"
  ],
  "offset": [
    218,
    518
  ],
  "sha1": "fe6405b15c7fc528415f65188790ffe211e1644e",
  "source": "// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.0;\n\nimport {IEToken} from \"./IEToken.sol\";\n\n/**\n * @title ILPWhitelist - Interface that handles the whitelisting of Liquidity Providers\n * @author Ensuro\n */\ninterface ILPWhitelist {\n  function acceptsDeposit(\n    IEToken etoken,\n    address provider,\n    uint256 amount\n  ) external view returns (bool);\n\n  function acceptsTransfer(\n    IEToken etoken,\n    address providerFrom,\n    address providerTo,\n    uint256 amount\n  ) external view returns (bool);\n}\n",
  "type": "interface"
}