{
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "acceptsToken",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        },
        {
          "internalType": "bytes",
          "name": "_metadata",
          "type": "bytes"
        }
      ],
      "name": "addToBalanceOf",
      "outputs": [],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        }
      ],
      "name": "currencyForToken",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        }
      ],
      "name": "currentEthOverflowOf",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        }
      ],
      "name": "decimalsForToken",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_projectId",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_token",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_beneficiary",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "_minReturnedTokens",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "_preferClaimedTokens",
          "type": "bool"
        },
        {
          "internalType": "string",
          "name": "_memo",
          "type": "string"
        },
        {
          "internalType": "bytes",
          "name": "_metadata",
          "type": "bytes"
        }
      ],
      "name": "pay",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "beneficiaryTokenCount",
          "type": "uint256"
        }
      ],
      "stateMutability": "payable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "deployedBytecode": {
    "object": "0x",
    "sourceMap": "",
    "linkReferences": {}
  },
  "methodIdentifiers": {
    "acceptsToken(address,uint256)": "df21a7dd",
    "addToBalanceOf(uint256,uint256,address,string,bytes)": "0cf8e858",
    "currencyForToken(address)": "1982d679",
    "currentEthOverflowOf(uint256)": "a32e1e96",
    "decimalsForToken(address)": "b7bad1b1",
    "pay(uint256,uint256,address,address,uint256,bool,string,bytes)": "1ebc263f",
    "supportsInterface(bytes4)": "01ffc9a7"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.6+commit.11564f7e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"acceptsToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_metadata\",\"type\":\"bytes\"}],\"name\":\"addToBalanceOf\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"currencyForToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"}],\"name\":\"currentEthOverflowOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"decimalsForToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_minReturnedTokens\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_preferClaimedTokens\",\"type\":\"bool\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"_metadata\",\"type\":\"bytes\"}],\"name\":\"pay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"beneficiaryTokenCount\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol\":\"IJBPaymentTerminal\"},\"evmVersion\":\"berlin\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":10000000},\"remappings\":[\":@chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":@jbx-protocol-v1/=lib/juice-contracts-v1/\",\":@jbx-protocol-v2/=lib/juice-contracts-v2/\",\":@jbx-protocol-v3/=lib/juice-contracts-v3/\",\":@juicebox/=lib/juice-contracts-v2/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/\",\":chainlink/=lib/juice-contracts-v2/lib/chainlink/\",\":ds-test/=lib/juice-contracts-v2/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":juice-contracts-v1/=lib/juice-contracts-v1/contracts/\",\":juice-contracts-v2/=lib/juice-contracts-v2/contracts/\",\":juice-contracts-v3/=lib/juice-contracts-v3/contracts/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\",\":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/\",\":prb-math/=lib/juice-contracts-v2/lib/prb-math/\"]},\"sources\":{\"lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol\":{\"keccak256\":\"0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95\",\"dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}",
  "metadata": {
    "compiler": {
      "version": "0.8.6+commit.11564f7e"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "acceptsToken",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "_metadata",
              "type": "bytes"
            }
          ],
          "stateMutability": "payable",
          "type": "function",
          "name": "addToBalanceOf"
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "currencyForToken",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "currentEthOverflowOf",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "decimalsForToken",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "uint256",
              "name": "_projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "_amount",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "_token",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "_beneficiary",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "_minReturnedTokens",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "_preferClaimedTokens",
              "type": "bool"
            },
            {
              "internalType": "string",
              "name": "_memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "_metadata",
              "type": "bytes"
            }
          ],
          "stateMutability": "payable",
          "type": "function",
          "name": "pay",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "beneficiaryTokenCount",
              "type": "uint256"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "bytes4",
              "name": "interfaceId",
              "type": "bytes4"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "supportsInterface",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "supportsInterface(bytes4)": {
            "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {},
        "version": 1
      }
    },
    "settings": {
      "remappings": [
        ":@chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":@jbx-protocol-v1/=lib/juice-contracts-v1/",
        ":@jbx-protocol-v2/=lib/juice-contracts-v2/",
        ":@jbx-protocol-v3/=lib/juice-contracts-v3/",
        ":@juicebox/=lib/juice-contracts-v2/contracts/",
        ":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
        ":@paulrberg/contracts/math/=lib/juice-contracts-v2/lib/prb-math/contracts/",
        ":chainlink/=lib/juice-contracts-v2/lib/chainlink/",
        ":ds-test/=lib/juice-contracts-v2/lib/ds-test/src/",
        ":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
        ":forge-std/=lib/forge-std/src/",
        ":juice-contracts-v1/=lib/juice-contracts-v1/contracts/",
        ":juice-contracts-v2/=lib/juice-contracts-v2/contracts/",
        ":juice-contracts-v3/=lib/juice-contracts-v3/contracts/",
        ":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
        ":openzeppelin-contracts/contracts/=lib/juice-contracts-v2/lib/openzeppelin-contracts/contracts/",
        ":prb-math/=lib/juice-contracts-v2/lib/prb-math/"
      ],
      "optimizer": {
        "enabled": true,
        "runs": 10000000
      },
      "metadata": {
        "bytecodeHash": "ipfs"
      },
      "compilationTarget": {
        "lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol": "IJBPaymentTerminal"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol": {
        "keccak256": "0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2",
        "urls": [
          "bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95",
          "dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol": {
        "keccak256": "0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1",
        "urls": [
          "bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f",
          "dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy"
        ],
        "license": "MIT"
      }
    },
    "version": 1
  },
  "ast": {
    "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol",
    "id": 31977,
    "exportedSymbols": {
      "IERC165": [
        38688
      ],
      "IJBPaymentTerminal": [
        31976
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:993:85",
    "nodes": [
      {
        "id": 31908,
        "nodeType": "PragmaDirective",
        "src": "32:23:85",
        "nodes": [],
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ]
      },
      {
        "id": 31909,
        "nodeType": "ImportDirective",
        "src": "57:65:85",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 31977,
        "sourceUnit": 38689,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 31976,
        "nodeType": "ContractDefinition",
        "src": "124:900:85",
        "nodes": [
          {
            "id": 31920,
            "nodeType": "FunctionDefinition",
            "src": "168:87:85",
            "nodes": [],
            "functionSelector": "df21a7dd",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "acceptsToken",
            "nameLocation": "177:12:85",
            "parameters": {
              "id": 31916,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31913,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "198:6:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31920,
                  "src": "190:14:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 31912,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "190:7:85",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31915,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "214:10:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31920,
                  "src": "206:18:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31914,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "206:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "189:36:85"
            },
            "returnParameters": {
              "id": 31919,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31918,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 31920,
                  "src": "249:4:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 31917,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "249:4:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "248:6:85"
            },
            "scope": 31976,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 31927,
            "nodeType": "FunctionDefinition",
            "src": "259:74:85",
            "nodes": [],
            "functionSelector": "1982d679",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "currencyForToken",
            "nameLocation": "268:16:85",
            "parameters": {
              "id": 31923,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31922,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "293:6:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31927,
                  "src": "285:14:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 31921,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "285:7:85",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "284:16:85"
            },
            "returnParameters": {
              "id": 31926,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31925,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 31927,
                  "src": "324:7:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31924,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "324:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "323:9:85"
            },
            "scope": 31976,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 31934,
            "nodeType": "FunctionDefinition",
            "src": "337:74:85",
            "nodes": [],
            "functionSelector": "b7bad1b1",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "decimalsForToken",
            "nameLocation": "346:16:85",
            "parameters": {
              "id": 31930,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31929,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "371:6:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31934,
                  "src": "363:14:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 31928,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "363:7:85",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "362:16:85"
            },
            "returnParameters": {
              "id": 31933,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31932,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 31934,
                  "src": "402:7:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31931,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "402:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "401:9:85"
            },
            "scope": 31976,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 31941,
            "nodeType": "FunctionDefinition",
            "src": "480:82:85",
            "nodes": [],
            "functionSelector": "a32e1e96",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "currentEthOverflowOf",
            "nameLocation": "489:20:85",
            "parameters": {
              "id": 31937,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31936,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "518:10:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31941,
                  "src": "510:18:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31935,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "510:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "509:20:85"
            },
            "returnParameters": {
              "id": 31940,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31939,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 31941,
                  "src": "553:7:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31938,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "553:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "552:9:85"
            },
            "scope": 31976,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 31962,
            "nodeType": "FunctionDefinition",
            "src": "566:285:85",
            "nodes": [],
            "functionSelector": "1ebc263f",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "pay",
            "nameLocation": "575:3:85",
            "parameters": {
              "id": 31958,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31943,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "592:10:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "584:18:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31942,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "584:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31945,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "616:7:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "608:15:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31944,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "608:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31947,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "637:6:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "629:14:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 31946,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "629:7:85",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31949,
                  "mutability": "mutable",
                  "name": "_beneficiary",
                  "nameLocation": "657:12:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "649:20:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 31948,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "649:7:85",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31951,
                  "mutability": "mutable",
                  "name": "_minReturnedTokens",
                  "nameLocation": "683:18:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "675:26:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31950,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "675:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31953,
                  "mutability": "mutable",
                  "name": "_preferClaimedTokens",
                  "nameLocation": "712:20:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "707:25:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 31952,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "707:4:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31955,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "754:5:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "738:21:85",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 31954,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "738:6:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31957,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "780:9:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "765:24:85",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 31956,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "765:5:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "578:215:85"
            },
            "returnParameters": {
              "id": 31961,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31960,
                  "mutability": "mutable",
                  "name": "beneficiaryTokenCount",
                  "nameLocation": "828:21:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31962,
                  "src": "820:29:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31959,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "820:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "819:31:85"
            },
            "scope": 31976,
            "stateMutability": "payable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 31975,
            "nodeType": "FunctionDefinition",
            "src": "855:167:85",
            "nodes": [],
            "functionSelector": "0cf8e858",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "addToBalanceOf",
            "nameLocation": "864:14:85",
            "parameters": {
              "id": 31973,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 31964,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "892:10:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31975,
                  "src": "884:18:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31963,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "884:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31966,
                  "mutability": "mutable",
                  "name": "_amount",
                  "nameLocation": "916:7:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31975,
                  "src": "908:15:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 31965,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "908:7:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31968,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "937:6:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31975,
                  "src": "929:14:85",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 31967,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "929:7:85",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31970,
                  "mutability": "mutable",
                  "name": "_memo",
                  "nameLocation": "965:5:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31975,
                  "src": "949:21:85",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 31969,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "949:6:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 31972,
                  "mutability": "mutable",
                  "name": "_metadata",
                  "nameLocation": "991:9:85",
                  "nodeType": "VariableDeclaration",
                  "scope": 31975,
                  "src": "976:24:85",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 31971,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "976:5:85",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "878:126:85"
            },
            "returnParameters": {
              "id": 31974,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1021:0:85"
            },
            "scope": 31976,
            "stateMutability": "payable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 31910,
              "name": "IERC165",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 38688,
              "src": "156:7:85"
            },
            "id": 31911,
            "nodeType": "InheritanceSpecifier",
            "src": "156:7:85"
          }
        ],
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "linearizedBaseContracts": [
          31976,
          38688
        ],
        "name": "IJBPaymentTerminal",
        "nameLocation": "134:18:85",
        "scope": 31977,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 85
}