{
  "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": [],
      "name": "currency",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "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": [],
      "name": "decimals",
      "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"
    },
    {
      "inputs": [],
      "name": "token",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "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",
    "currency()": "e5a6b10f",
    "currencyForToken(address)": "1982d679",
    "currentEthOverflowOf(uint256)": "a32e1e96",
    "decimals()": "313ce567",
    "decimalsForToken(address)": "b7bad1b1",
    "pay(uint256,uint256,address,address,uint256,bool,string,bytes)": "1ebc263f",
    "supportsInterface(bytes4)": "01ffc9a7",
    "token()": "fc0c546a"
  },
  "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\":[],\"name\":\"currency\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":[],\"name\":\"decimals\",\"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\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to - IJBSingleTokenPaymentTerminals: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.Inherits from - ERC165: Introspection on interface adherance. \",\"kind\":\"dev\",\"methods\":{\"acceptsToken(address,uint256)\":{\"params\":{\"_projectId\":\"The project ID to check for token acceptance.\",\"_token\":\"The token to check if this terminal accepts or not.\"},\"returns\":{\"_0\":\"The flag.\"}},\"constructor\":{\"params\":{\"_currency\":\"The currency that this terminal's token adheres to for price feeds.\",\"_decimals\":\"The number of decimals the token fixed point amounts are expected to have.\",\"_token\":\"The token that this terminal manages.\"}},\"currencyForToken(address)\":{\"params\":{\"_token\":\"The token to check for the currency of.\"},\"returns\":{\"_0\":\"The currency index.\"}},\"decimalsForToken(address)\":{\"params\":{\"_token\":\"The token to check for the decimals of.\"},\"returns\":{\"_0\":\"The number of decimals for the token.\"}},\"supportsInterface(bytes4)\":{\"details\":\" See {IERC165-supportsInterface}.\",\"params\":{\"_interfaceId\":\"The ID of the interface to check for adherance to.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"acceptsToken(address,uint256)\":{\"notice\":\"A flag indicating if this terminal accepts the specified token.\"},\"currency()\":{\"notice\":\"The currency to use when resolving price feeds for this terminal.\"},\"currencyForToken(address)\":{\"notice\":\"The currency that should be used for the specified token.\"},\"decimals()\":{\"notice\":\"The number of decimals the token fixed point amounts are expected to have.\"},\"decimalsForToken(address)\":{\"notice\":\"The decimals that should be used in fixed number accounting for the specified token.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Indicates if this contract adheres to the specified interface.\"},\"token()\":{\"notice\":\"The token that this terminal accepts.\"}},\"notice\":\"Generic terminal managing all inflows of funds into the protocol ecosystem for one token.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/abstract/JBSingleTokenPaymentTerminal.sol\":\"JBSingleTokenPaymentTerminal\"},\"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/forge-std/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/abstract/JBSingleTokenPaymentTerminal.sol\":{\"keccak256\":\"0x53c834371e6b5861af606ee3c99fce3fd222ca6689345a8d9a93cdb1932d6c88\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e09f23a7d0da29c866098214ee504966e98419fa07ee101a33458cec1aa593af\",\"dweb:/ipfs/QmdyRivRcmsmTfrxQHSgfm8Ktrs1XTY1FiV8NjmXufLEvi\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol\":{\"keccak256\":\"0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95\",\"dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminal.sol\":{\"keccak256\":\"0xf6e78323caa9af7bbf024f44b2032a83fed0394e0b3a242a6346e73c85b2e46f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://63c9f3f0db323bd5492c76da3ae2bae7895e287a824729d125bfb650121d576c\",\"dweb:/ipfs/QmPWohiNJvv6JtH8yAtqomiwVheEvKXY4SfHjL98vd2mQY\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"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": [],
          "stateMutability": "view",
          "type": "function",
          "name": "currency",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "",
              "type": "uint256"
            }
          ]
        },
        {
          "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": [],
          "stateMutability": "view",
          "type": "function",
          "name": "decimals",
          "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"
            }
          ]
        },
        {
          "inputs": [],
          "stateMutability": "view",
          "type": "function",
          "name": "token",
          "outputs": [
            {
              "internalType": "address",
              "name": "",
              "type": "address"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "acceptsToken(address,uint256)": {
            "params": {
              "_projectId": "The project ID to check for token acceptance.",
              "_token": "The token to check if this terminal accepts or not."
            },
            "returns": {
              "_0": "The flag."
            }
          },
          "constructor": {
            "params": {
              "_currency": "The currency that this terminal's token adheres to for price feeds.",
              "_decimals": "The number of decimals the token fixed point amounts are expected to have.",
              "_token": "The token that this terminal manages."
            }
          },
          "currencyForToken(address)": {
            "params": {
              "_token": "The token to check for the currency of."
            },
            "returns": {
              "_0": "The currency index."
            }
          },
          "decimalsForToken(address)": {
            "params": {
              "_token": "The token to check for the decimals of."
            },
            "returns": {
              "_0": "The number of decimals for the token."
            }
          },
          "supportsInterface(bytes4)": {
            "details": " See {IERC165-supportsInterface}.",
            "params": {
              "_interfaceId": "The ID of the interface to check for adherance to."
            }
          }
        },
        "version": 1
      },
      "userdoc": {
        "kind": "user",
        "methods": {
          "acceptsToken(address,uint256)": {
            "notice": "A flag indicating if this terminal accepts the specified token."
          },
          "currency()": {
            "notice": "The currency to use when resolving price feeds for this terminal."
          },
          "currencyForToken(address)": {
            "notice": "The currency that should be used for the specified token."
          },
          "decimals()": {
            "notice": "The number of decimals the token fixed point amounts are expected to have."
          },
          "decimalsForToken(address)": {
            "notice": "The decimals that should be used in fixed number accounting for the specified token."
          },
          "supportsInterface(bytes4)": {
            "notice": "Indicates if this contract adheres to the specified interface."
          },
          "token()": {
            "notice": "The token that this terminal accepts."
          }
        },
        "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/forge-std/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/abstract/JBSingleTokenPaymentTerminal.sol": "JBSingleTokenPaymentTerminal"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/abstract/JBSingleTokenPaymentTerminal.sol": {
        "keccak256": "0x53c834371e6b5861af606ee3c99fce3fd222ca6689345a8d9a93cdb1932d6c88",
        "urls": [
          "bzz-raw://e09f23a7d0da29c866098214ee504966e98419fa07ee101a33458cec1aa593af",
          "dweb:/ipfs/QmdyRivRcmsmTfrxQHSgfm8Ktrs1XTY1FiV8NjmXufLEvi"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBPaymentTerminal.sol": {
        "keccak256": "0xb7826f5ed609359ce322c09e83236c47ba385df1c3cad3607e56fd0a2e00eee2",
        "urls": [
          "bzz-raw://cbb0de0e73f73a04fcfc8f08cab3588b6d608cf5268af737cff6a530f6062c95",
          "dweb:/ipfs/QmPGb8aEbZNHNnrCvuGH52RLvV3kjL3agxQiFrjHoLHaup"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminal.sol": {
        "keccak256": "0xf6e78323caa9af7bbf024f44b2032a83fed0394e0b3a242a6346e73c85b2e46f",
        "urls": [
          "bzz-raw://63c9f3f0db323bd5492c76da3ae2bae7895e287a824729d125bfb650121d576c",
          "dweb:/ipfs/QmPWohiNJvv6JtH8yAtqomiwVheEvKXY4SfHjL98vd2mQY"
        ],
        "license": "MIT"
      },
      "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol": {
        "keccak256": "0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b",
        "urls": [
          "bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d",
          "dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43"
        ],
        "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/abstract/JBSingleTokenPaymentTerminal.sol",
    "id": 22585,
    "exportedSymbols": {
      "ERC165": [
        30243
      ],
      "IERC165": [
        38868
      ],
      "IJBPaymentTerminal": [
        31994
      ],
      "IJBSingleTokenPaymentTerminal": [
        23154
      ],
      "JBSingleTokenPaymentTerminal": [
        22584
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:4109:73",
    "nodes": [
      {
        "id": 22464,
        "nodeType": "PragmaDirective",
        "src": "32:22:73",
        "nodes": [],
        "literals": [
          "solidity",
          "0.8",
          ".6"
        ]
      },
      {
        "id": 22465,
        "nodeType": "ImportDirective",
        "src": "56:64:73",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/ERC165.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22585,
        "sourceUnit": 30244,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 22466,
        "nodeType": "ImportDirective",
        "src": "121:59:73",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBSingleTokenPaymentTerminal.sol",
        "file": "./../interfaces/IJBSingleTokenPaymentTerminal.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 22585,
        "sourceUnit": 23155,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 22584,
        "nodeType": "ContractDefinition",
        "src": "551:3589:73",
        "nodes": [
          {
            "id": 22475,
            "nodeType": "VariableDeclaration",
            "src": "937:39:73",
            "nodes": [],
            "baseFunctions": [
              23143
            ],
            "constant": false,
            "documentation": {
              "id": 22472,
              "nodeType": "StructuredDocumentation",
              "src": "872:62:73",
              "text": "@notice\nThe token that this terminal accepts."
            },
            "functionSelector": "fc0c546a",
            "mutability": "immutable",
            "name": "token",
            "nameLocation": "971:5:73",
            "overrides": {
              "id": 22474,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "962:8:73"
            },
            "scope": 22584,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_address",
              "typeString": "address"
            },
            "typeName": {
              "id": 22473,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "937:7:73",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            },
            "visibility": "public"
          },
          {
            "id": 22479,
            "nodeType": "VariableDeclaration",
            "src": "1083:42:73",
            "nodes": [],
            "baseFunctions": [
              23153
            ],
            "constant": false,
            "documentation": {
              "id": 22476,
              "nodeType": "StructuredDocumentation",
              "src": "981:99:73",
              "text": "@notice\nThe number of decimals the token fixed point amounts are expected to have."
            },
            "functionSelector": "313ce567",
            "mutability": "immutable",
            "name": "decimals",
            "nameLocation": "1117:8:73",
            "overrides": {
              "id": 22478,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1108:8:73"
            },
            "scope": 22584,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 22477,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "1083:7:73",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "visibility": "public"
          },
          {
            "id": 22483,
            "nodeType": "VariableDeclaration",
            "src": "1223:42:73",
            "nodes": [],
            "baseFunctions": [
              23148
            ],
            "constant": false,
            "documentation": {
              "id": 22480,
              "nodeType": "StructuredDocumentation",
              "src": "1130:90:73",
              "text": "@notice\nThe currency to use when resolving price feeds for this terminal."
            },
            "functionSelector": "e5a6b10f",
            "mutability": "immutable",
            "name": "currency",
            "nameLocation": "1257:8:73",
            "overrides": {
              "id": 22482,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1248:8:73"
            },
            "scope": 22584,
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_uint256",
              "typeString": "uint256"
            },
            "typeName": {
              "id": 22481,
              "name": "uint256",
              "nodeType": "ElementaryTypeName",
              "src": "1223:7:73",
              "typeDescriptions": {
                "typeIdentifier": "t_uint256",
                "typeString": "uint256"
              }
            },
            "visibility": "public"
          },
          {
            "id": 22501,
            "nodeType": "FunctionDefinition",
            "src": "1753:202:73",
            "nodes": [],
            "body": {
              "id": 22500,
              "nodeType": "Block",
              "src": "1849:106:73",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 22494,
                    "name": "_projectId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 22488,
                    "src": "1855:10:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 22495,
                  "nodeType": "ExpressionStatement",
                  "src": "1855:10:73"
                },
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    },
                    "id": 22498,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "id": 22496,
                      "name": "_token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22486,
                      "src": "1935:6:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "==",
                    "rightExpression": {
                      "id": 22497,
                      "name": "token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22475,
                      "src": "1945:5:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "1935:15:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 22493,
                  "id": 22499,
                  "nodeType": "Return",
                  "src": "1928:22:73"
                }
              ]
            },
            "baseFunctions": [
              31938
            ],
            "documentation": {
              "id": 22484,
              "nodeType": "StructuredDocumentation",
              "src": "1499:251:73",
              "text": "@notice\nA flag indicating if this terminal accepts the specified token.\n@param _token The token to check if this terminal accepts or not.\n@param _projectId The project ID to check for token acceptance.\n@return The flag."
            },
            "functionSelector": "df21a7dd",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "acceptsToken",
            "nameLocation": "1762:12:73",
            "overrides": {
              "id": 22490,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "1825:8:73"
            },
            "parameters": {
              "id": 22489,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22486,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "1783:6:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22501,
                  "src": "1775:14:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22485,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1775:7:73",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22488,
                  "mutability": "mutable",
                  "name": "_projectId",
                  "nameLocation": "1799:10:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22501,
                  "src": "1791:18:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22487,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1791:7:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1774:36:73"
            },
            "returnParameters": {
              "id": 22493,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22492,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22501,
                  "src": "1843:4:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 22491,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "1843:4:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1842:6:73"
            },
            "scope": 22584,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 22515,
            "nodeType": "FunctionDefinition",
            "src": "2182:178:73",
            "nodes": [],
            "body": {
              "id": 22514,
              "nodeType": "Block",
              "src": "2265:95:73",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 22510,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 22504,
                    "src": "2271:6:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 22511,
                  "nodeType": "ExpressionStatement",
                  "src": "2271:6:73"
                },
                {
                  "expression": {
                    "id": 22512,
                    "name": "decimals",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 22479,
                    "src": "2347:8:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 22509,
                  "id": 22513,
                  "nodeType": "Return",
                  "src": "2340:15:73"
                }
              ]
            },
            "baseFunctions": [
              31952
            ],
            "documentation": {
              "id": 22502,
              "nodeType": "StructuredDocumentation",
              "src": "1959:220:73",
              "text": "@notice\nThe decimals that should be used in fixed number accounting for the specified token.\n@param _token The token to check for the decimals of.\n@return The number of decimals for the token."
            },
            "functionSelector": "b7bad1b1",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "decimalsForToken",
            "nameLocation": "2191:16:73",
            "overrides": {
              "id": 22506,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2238:8:73"
            },
            "parameters": {
              "id": 22505,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22504,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "2216:6:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22515,
                  "src": "2208:14:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22503,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2208:7:73",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2207:16:73"
            },
            "returnParameters": {
              "id": 22509,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22508,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22515,
                  "src": "2256:7:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22507,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2256:7:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2255:9:73"
            },
            "scope": 22584,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 22529,
            "nodeType": "FunctionDefinition",
            "src": "2542:178:73",
            "nodes": [],
            "body": {
              "id": 22528,
              "nodeType": "Block",
              "src": "2625:95:73",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 22524,
                    "name": "_token",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 22518,
                    "src": "2631:6:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 22525,
                  "nodeType": "ExpressionStatement",
                  "src": "2631:6:73"
                },
                {
                  "expression": {
                    "id": 22526,
                    "name": "currency",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 22483,
                    "src": "2707:8:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 22523,
                  "id": 22527,
                  "nodeType": "Return",
                  "src": "2700:15:73"
                }
              ]
            },
            "baseFunctions": [
              31945
            ],
            "documentation": {
              "id": 22516,
              "nodeType": "StructuredDocumentation",
              "src": "2364:175:73",
              "text": "@notice\nThe currency that should be used for the specified token.\n@param _token The token to check for the currency of.\n@return The currency index."
            },
            "functionSelector": "1982d679",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "currencyForToken",
            "nameLocation": "2551:16:73",
            "overrides": {
              "id": 22520,
              "nodeType": "OverrideSpecifier",
              "overrides": [],
              "src": "2598:8:73"
            },
            "parameters": {
              "id": 22519,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22518,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "2576:6:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22529,
                  "src": "2568:14:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22517,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "2568:7:73",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2567:16:73"
            },
            "returnParameters": {
              "id": 22523,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22522,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22529,
                  "src": "2616:7:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22521,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2616:7:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2615:9:73"
            },
            "scope": 22584,
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 22560,
            "nodeType": "FunctionDefinition",
            "src": "3167:327:73",
            "nodes": [],
            "body": {
              "id": 22559,
              "nodeType": "Block",
              "src": "3298:196:73",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "commonType": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    },
                    "id": 22557,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftExpression": {
                      "commonType": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      },
                      "id": 22552,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "leftExpression": {
                        "commonType": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        },
                        "id": 22545,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 22540,
                          "name": "_interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22532,
                          "src": "3317:12:73",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "expression": {
                            "arguments": [
                              {
                                "id": 22542,
                                "name": "IJBPaymentTerminal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 31994,
                                "src": "3338:18:73",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_IJBPaymentTerminal_$31994_$",
                                  "typeString": "type(contract IJBPaymentTerminal)"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_type$_t_contract$_IJBPaymentTerminal_$31994_$",
                                  "typeString": "type(contract IJBPaymentTerminal)"
                                }
                              ],
                              "id": 22541,
                              "name": "type",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -27,
                              "src": "3333:4:73",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                "typeString": "function () pure"
                              }
                            },
                            "id": 22543,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "3333:24:73",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_meta_type_t_contract$_IJBPaymentTerminal_$31994",
                              "typeString": "type(contract IJBPaymentTerminal)"
                            }
                          },
                          "id": 22544,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberName": "interfaceId",
                          "nodeType": "MemberAccess",
                          "src": "3333:36:73",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        },
                        "src": "3317:52:73",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "nodeType": "BinaryOperation",
                      "operator": "||",
                      "rightExpression": {
                        "commonType": {
                          "typeIdentifier": "t_bytes4",
                          "typeString": "bytes4"
                        },
                        "id": 22551,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "leftExpression": {
                          "id": 22546,
                          "name": "_interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22532,
                          "src": "3379:12:73",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        },
                        "nodeType": "BinaryOperation",
                        "operator": "==",
                        "rightExpression": {
                          "expression": {
                            "arguments": [
                              {
                                "id": 22548,
                                "name": "IJBSingleTokenPaymentTerminal",
                                "nodeType": "Identifier",
                                "overloadedDeclarations": [],
                                "referencedDeclaration": 23154,
                                "src": "3400:29:73",
                                "typeDescriptions": {
                                  "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                  "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                }
                              }
                            ],
                            "expression": {
                              "argumentTypes": [
                                {
                                  "typeIdentifier": "t_type$_t_contract$_IJBSingleTokenPaymentTerminal_$23154_$",
                                  "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                                }
                              ],
                              "id": 22547,
                              "name": "type",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": -27,
                              "src": "3395:4:73",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_metatype_pure$__$returns$__$",
                                "typeString": "function () pure"
                              }
                            },
                            "id": 22549,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": true,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "3395:35:73",
                            "tryCall": false,
                            "typeDescriptions": {
                              "typeIdentifier": "t_magic_meta_type_t_contract$_IJBSingleTokenPaymentTerminal_$23154",
                              "typeString": "type(contract IJBSingleTokenPaymentTerminal)"
                            }
                          },
                          "id": 22550,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "memberName": "interfaceId",
                          "nodeType": "MemberAccess",
                          "src": "3395:47:73",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        },
                        "src": "3379:63:73",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      "src": "3317:125:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "nodeType": "BinaryOperation",
                    "operator": "||",
                    "rightExpression": {
                      "arguments": [
                        {
                          "id": 22555,
                          "name": "_interfaceId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 22532,
                          "src": "3476:12:73",
                          "typeDescriptions": {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        }
                      ],
                      "expression": {
                        "argumentTypes": [
                          {
                            "typeIdentifier": "t_bytes4",
                            "typeString": "bytes4"
                          }
                        ],
                        "expression": {
                          "id": 22553,
                          "name": "super",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": -25,
                          "src": "3452:5:73",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_super$_JBSingleTokenPaymentTerminal_$22584_$",
                            "typeString": "type(contract super JBSingleTokenPaymentTerminal)"
                          }
                        },
                        "id": 22554,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "lValueRequested": false,
                        "memberName": "supportsInterface",
                        "nodeType": "MemberAccess",
                        "referencedDeclaration": 30242,
                        "src": "3452:23:73",
                        "typeDescriptions": {
                          "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$",
                          "typeString": "function (bytes4) view returns (bool)"
                        }
                      },
                      "id": 22556,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "kind": "functionCall",
                      "lValueRequested": false,
                      "names": [],
                      "nodeType": "FunctionCall",
                      "src": "3452:37:73",
                      "tryCall": false,
                      "typeDescriptions": {
                        "typeIdentifier": "t_bool",
                        "typeString": "bool"
                      }
                    },
                    "src": "3317:172:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "functionReturnParameters": 22539,
                  "id": 22558,
                  "nodeType": "Return",
                  "src": "3304:185:73"
                }
              ]
            },
            "baseFunctions": [
              30242,
              38867
            ],
            "documentation": {
              "id": 22530,
              "nodeType": "StructuredDocumentation",
              "src": "2953:211:73",
              "text": "@notice\nIndicates if this contract adheres to the specified interface.\n@dev \nSee {IERC165-supportsInterface}.\n@param _interfaceId The ID of the interface to check for adherance to."
            },
            "functionSelector": "01ffc9a7",
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "supportsInterface",
            "nameLocation": "3176:17:73",
            "overrides": {
              "id": 22536,
              "nodeType": "OverrideSpecifier",
              "overrides": [
                {
                  "id": 22534,
                  "name": "ERC165",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 30243,
                  "src": "3260:6:73"
                },
                {
                  "id": 22535,
                  "name": "IERC165",
                  "nodeType": "IdentifierPath",
                  "referencedDeclaration": 38868,
                  "src": "3268:7:73"
                }
              ],
              "src": "3251:25:73"
            },
            "parameters": {
              "id": 22533,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22532,
                  "mutability": "mutable",
                  "name": "_interfaceId",
                  "nameLocation": "3201:12:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22560,
                  "src": "3194:19:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes4",
                    "typeString": "bytes4"
                  },
                  "typeName": {
                    "id": 22531,
                    "name": "bytes4",
                    "nodeType": "ElementaryTypeName",
                    "src": "3194:6:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes4",
                      "typeString": "bytes4"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3193:21:73"
            },
            "returnParameters": {
              "id": 22539,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22538,
                  "mutability": "mutable",
                  "name": "",
                  "nameLocation": "-1:-1:-1",
                  "nodeType": "VariableDeclaration",
                  "scope": 22560,
                  "src": "3290:4:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 22537,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "3290:4:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3289:6:73"
            },
            "scope": 22584,
            "stateMutability": "view",
            "virtual": true,
            "visibility": "public"
          },
          {
            "id": 22583,
            "nodeType": "FunctionDefinition",
            "src": "3979:159:73",
            "nodes": [],
            "body": {
              "id": 22582,
              "nodeType": "Block",
              "src": "4061:77:73",
              "nodes": [],
              "statements": [
                {
                  "expression": {
                    "id": 22572,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 22570,
                      "name": "token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22475,
                      "src": "4067:5:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 22571,
                      "name": "_token",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22563,
                      "src": "4075:6:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_address",
                        "typeString": "address"
                      }
                    },
                    "src": "4067:14:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "id": 22573,
                  "nodeType": "ExpressionStatement",
                  "src": "4067:14:73"
                },
                {
                  "expression": {
                    "id": 22576,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 22574,
                      "name": "decimals",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22479,
                      "src": "4087:8:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 22575,
                      "name": "_decimals",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22565,
                      "src": "4098:9:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "4087:20:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 22577,
                  "nodeType": "ExpressionStatement",
                  "src": "4087:20:73"
                },
                {
                  "expression": {
                    "id": 22580,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "lValueRequested": false,
                    "leftHandSide": {
                      "id": 22578,
                      "name": "currency",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22483,
                      "src": "4113:8:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "nodeType": "Assignment",
                    "operator": "=",
                    "rightHandSide": {
                      "id": 22579,
                      "name": "_currency",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22567,
                      "src": "4124:9:73",
                      "typeDescriptions": {
                        "typeIdentifier": "t_uint256",
                        "typeString": "uint256"
                      }
                    },
                    "src": "4113:20:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "id": 22581,
                  "nodeType": "ExpressionStatement",
                  "src": "4113:20:73"
                }
              ]
            },
            "documentation": {
              "id": 22561,
              "nodeType": "StructuredDocumentation",
              "src": "3727:249:73",
              "text": "@param _token The token that this terminal manages.\n@param _decimals The number of decimals the token fixed point amounts are expected to have.\n@param _currency The currency that this terminal's token adheres to for price feeds."
            },
            "implemented": true,
            "kind": "constructor",
            "modifiers": [],
            "name": "",
            "nameLocation": "-1:-1:-1",
            "parameters": {
              "id": 22568,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22563,
                  "mutability": "mutable",
                  "name": "_token",
                  "nameLocation": "4004:6:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22583,
                  "src": "3996:14:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22562,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "3996:7:73",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22565,
                  "mutability": "mutable",
                  "name": "_decimals",
                  "nameLocation": "4024:9:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22583,
                  "src": "4016:17:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22564,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4016:7:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22567,
                  "mutability": "mutable",
                  "name": "_currency",
                  "nameLocation": "4047:9:73",
                  "nodeType": "VariableDeclaration",
                  "scope": 22583,
                  "src": "4039:17:73",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22566,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "4039:7:73",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "3990:70:73"
            },
            "returnParameters": {
              "id": 22569,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "4061:0:73"
            },
            "scope": 22584,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          }
        ],
        "abstract": true,
        "baseContracts": [
          {
            "baseName": {
              "id": 22468,
              "name": "ERC165",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 30243,
              "src": "601:6:73"
            },
            "id": 22469,
            "nodeType": "InheritanceSpecifier",
            "src": "601:6:73"
          },
          {
            "baseName": {
              "id": 22470,
              "name": "IJBSingleTokenPaymentTerminal",
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 23154,
              "src": "609:29:73"
            },
            "id": 22471,
            "nodeType": "InheritanceSpecifier",
            "src": "609:29:73"
          }
        ],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 22467,
          "nodeType": "StructuredDocumentation",
          "src": "182:368:73",
          "text": "@notice\nGeneric terminal managing all inflows of funds into the protocol ecosystem for one token.\n@dev\nAdheres to -\nIJBSingleTokenPaymentTerminals: General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules.\n@dev\nInherits from -\nERC165: Introspection on interface adherance. "
        },
        "fullyImplemented": false,
        "linearizedBaseContracts": [
          22584,
          23154,
          31994,
          30243,
          38868
        ],
        "name": "JBSingleTokenPaymentTerminal",
        "nameLocation": "569:28:73",
        "scope": 22585,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 73
}