{
  "abi": [
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "terminal",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "payer",
              "type": "address"
            },
            {
              "components": [
                {
                  "internalType": "address",
                  "name": "token",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "value",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "decimals",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currency",
                  "type": "uint256"
                }
              ],
              "internalType": "struct JBTokenAmount",
              "name": "amount",
              "type": "tuple"
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "currentFundingCycleConfiguration",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "beneficiary",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "weight",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "reservedRate",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes"
            }
          ],
          "internalType": "struct JBPayParamsData",
          "name": "_data",
          "type": "tuple"
        }
      ],
      "name": "payParams",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "weight",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "internalType": "contract IJBPayDelegate",
          "name": "delegate",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "contract IJBPaymentTerminal",
              "name": "terminal",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "holder",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "projectId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "currentFundingCycleConfiguration",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "tokenCount",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "totalSupply",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "overflow",
              "type": "uint256"
            },
            {
              "components": [
                {
                  "internalType": "address",
                  "name": "token",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "value",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "decimals",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currency",
                  "type": "uint256"
                }
              ],
              "internalType": "struct JBTokenAmount",
              "name": "reclaimAmount",
              "type": "tuple"
            },
            {
              "internalType": "bool",
              "name": "useTotalOverflow",
              "type": "bool"
            },
            {
              "internalType": "uint256",
              "name": "redemptionRate",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "ballotRedemptionRate",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            },
            {
              "internalType": "bytes",
              "name": "metadata",
              "type": "bytes"
            }
          ],
          "internalType": "struct JBRedeemParamsData",
          "name": "_data",
          "type": "tuple"
        }
      ],
      "name": "redeemParams",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "reclaimAmount",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "memo",
          "type": "string"
        },
        {
          "internalType": "contract IJBRedemptionDelegate",
          "name": "delegate",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "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": {
    "payParams((address,address,(address,uint256,uint256,uint256),uint256,uint256,address,uint256,uint256,string,bytes))": "d46cf171",
    "redeemParams((address,address,uint256,uint256,uint256,uint256,uint256,(address,uint256,uint256,uint256),bool,uint256,uint256,string,bytes))": "8dfc9598",
    "supportsInterface(bytes4)": "01ffc9a7"
  },
  "rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"components\":[{\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"terminal\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"payer\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currency\",\"type\":\"uint256\"}],\"internalType\":\"struct JBTokenAmount\",\"name\":\"amount\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentFundingCycleConfiguration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reservedRate\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"struct JBPayParamsData\",\"name\":\"_data\",\"type\":\"tuple\"}],\"name\":\"payParams\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"contract IJBPayDelegate\",\"name\":\"delegate\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"contract IJBPaymentTerminal\",\"name\":\"terminal\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"holder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"projectId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentFundingCycleConfiguration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenCount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"overflow\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currency\",\"type\":\"uint256\"}],\"internalType\":\"struct JBTokenAmount\",\"name\":\"reclaimAmount\",\"type\":\"tuple\"},{\"internalType\":\"bool\",\"name\":\"useTotalOverflow\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"redemptionRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ballotRedemptionRate\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"metadata\",\"type\":\"bytes\"}],\"internalType\":\"struct JBRedeemParamsData\",\"name\":\"_data\",\"type\":\"tuple\"}],\"name\":\"redeemParams\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"reclaimAmount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"contract IJBRedemptionDelegate\",\"name\":\"delegate\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Adheres to: IERC165 for adequate interface integration\",\"kind\":\"dev\",\"methods\":{\"payParams((address,address,(address,uint256,uint256,uint256),uint256,uint256,address,uint256,uint256,string,bytes))\":{\"params\":{\"_data\":\"the data passed to the data source in terminal.pay(..), as a JBPayParamsData struct: IJBPaymentTerminal terminal; address payer; JBTokenAmount amount; uint256 projectId; uint256 currentFundingCycleConfiguration; address beneficiary; uint256 weight; uint256 reservedRate; string memo; bytes metadata;\"},\"returns\":{\"delegate\":\"the address of the pay delegate (might or might not be the same contract)\",\"memo\":\"the memo to override the pay(..) memo\",\"weight\":\"the weight to use to override the funding cycle weight\"}},\"redeemParams((address,address,uint256,uint256,uint256,uint256,uint256,(address,uint256,uint256,uint256),bool,uint256,uint256,string,bytes))\":{\"params\":{\"_data\":\"the data passed to the data source in terminal.redeemTokensOf(..), as a JBRedeemParamsData struct: IJBPaymentTerminal terminal; address holder; uint256 projectId; uint256 currentFundingCycleConfiguration; uint256 tokenCount; uint256 totalSupply; uint256 overflow; JBTokenAmount reclaimAmount; bool useTotalOverflow; uint256 redemptionRate; uint256 ballotRedemptionRate; string memo; bytes metadata;\"},\"returns\":{\"delegate\":\"the address of the redemption delegate (might or might not be the same contract)\",\"memo\":\"the memo to override the redeemTokensOf(..) memo\",\"reclaimAmount\":\"the amount to claim, overriding the terminal logic\"}},\"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.\"}},\"title\":\"Datasource\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"payParams((address,address,(address,uint256,uint256,uint256),uint256,uint256,address,uint256,uint256,string,bytes))\":{\"notice\":\"The datasource implementation for JBPaymentTerminal.pay(..)\"},\"redeemParams((address,address,uint256,uint256,uint256,uint256,uint256,(address,uint256,uint256,uint256),bool,uint256,uint256,string,bytes))\":{\"notice\":\"The datasource implementation for JBPaymentTerminal.redeemTokensOf(..)\"}},\"notice\":\"The datasource is called by JBPaymentTerminal on pay and redemption, and provide an extra layer of logic to use  a custom weight, a custom memo and/or a pay/redeem delegate\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleDataSource.sol\":\"IJBFundingCycleDataSource\"},\"evmVersion\":\"london\",\"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/enums/JBBallotState.sol\":{\"keccak256\":\"0x891fcac63470398b3a11239da7feba6b07d640809fcefd2404303b823d7378f8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6e6adfceaf284b669a8c1cbcf2da7f18ab31a2d1066f9db8bc914349e7401de7\",\"dweb:/ipfs/QmXLHVRPPZdXUkgAHQbHUtEzAvCJk1P6rJ7wrwfTcfW6fw\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleBallot.sol\":{\"keccak256\":\"0x151c7f0cfd067492e6d43fb2388daaf1e4dc2490b096fed9ee4db87bbbc6217d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5d2916495d4485fb8df71d0223068c1a4b58807fa1793a46d0d8d2bb4f88d8f0\",\"dweb:/ipfs/QmSgfwzUYv87SMN2eZEgXPNXymT6stNkKodBEiT5BUsQsw\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleDataSource.sol\":{\"keccak256\":\"0x5fe51a930632af4f16465a55c17bedf78bcc64869ab95f7e08b51b816f2b857d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ec33a418365381483155fe70fad9cbd791723a6019b61e22204aece6452c1b3b\",\"dweb:/ipfs/Qmayreo16omq8LHvKxh4WX2RfwMXrXWviko2XD1ST2pLLa\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleStore.sol\":{\"keccak256\":\"0xaead823851433be0c2ddc8f8086813e6cd647de3a1bc0f7570a5d6b38c378b5a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7f11fd52ba9ef67b40811d8a2298ae8b69447d2565b3f1069cbb8f0f13bc65e7\",\"dweb:/ipfs/QmVbBzpTxZWar9xvj6x1vW91hJDv2iPVq7aG6waMxaHUPQ\"]},\"lib/juice-contracts-v2/contracts/interfaces/IJBPayDelegate.sol\":{\"keccak256\":\"0x75defc0a7e830a46dcf40d79fe8d048102fd02d2d4e1970a454e3212746f9808\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a191f17806de317ce13bceee1bc8bfe8acf3d48f8a0729081f3997cdd8958aae\",\"dweb:/ipfs/QmRf5hnSszH31W7WACv6Q8iMpDq81H89ZtGBf3p2FMhVYh\"]},\"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/IJBRedemptionDelegate.sol\":{\"keccak256\":\"0xc9d3db9f3069a7ce71fabd775330bd3ce084210b3e03157b26791ba3a9eed766\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3a2a775406e7e1904d779065a778618afe21cad2aac918c3da7c79eafa5dbce5\",\"dweb:/ipfs/QmSA24ByUAT3tcfDkHRMNhdsr1G1CMDHBWtuGYPt2ePR31\"]},\"lib/juice-contracts-v2/contracts/structs/JBDidPayData.sol\":{\"keccak256\":\"0x4a0c3ab3a5526b9261982bfb0788cb893666ccc02058fded75575ca64798d536\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://aa3c8dff5c0a1cb0f5f0ee49b4d3495ef9aa99ea282bfbe85ca0ff2eadf515c0\",\"dweb:/ipfs/QmSU3FxcgqiJgvQUddugWpk3s45Ahu4tTzwQUP7kZsoBRx\"]},\"lib/juice-contracts-v2/contracts/structs/JBDidRedeemData.sol\":{\"keccak256\":\"0x6ed3aa03a3c983f2dadc85107625707b20334afa6ed7fb51dff0e33ed018dbcd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://98f1c65f54b4763202d25bbec7d7185318d1125ca16a405ad2e7601180e77729\",\"dweb:/ipfs/QmSNsZSsZgYMvr4FBsiU2vm6otbWFPn81CEXK58LDAka9w\"]},\"lib/juice-contracts-v2/contracts/structs/JBFundingCycle.sol\":{\"keccak256\":\"0xcdd3ac9b6fa67e62ada88d09b73bc35ade1cd77d43db712289266a788928b4c2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ba0be407022bbeb0e9272884653209ee262b8a4e00ffbba1298c3b119feccba\",\"dweb:/ipfs/QmbtLQzSN3hut4jYVsYPiYDfRkDdGkZmTWBnV2wJKrdM3K\"]},\"lib/juice-contracts-v2/contracts/structs/JBFundingCycleData.sol\":{\"keccak256\":\"0x2aa6368bf4dfc5797e8b02a978293de0c777fae2658de2c825a103587240f3b0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2d7a980ab9b67ad1569d4407b747903cab668a332214117f5ad44feb50af0a3a\",\"dweb:/ipfs/QmSuEzmrmDSihrTKYCk8miq7VQi7WD6jmQePkjDyzt7UpC\"]},\"lib/juice-contracts-v2/contracts/structs/JBPayParamsData.sol\":{\"keccak256\":\"0x05007b26feb5d9a026b883c6d734a341b5a49ef7b8215fb40507882e2c14e24d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://52ef2d3c61f06243aead9afcb043299f362ff9f7b259386a88c4454b429436c0\",\"dweb:/ipfs/QmVpCJ1NyBGBDgNQpmojhjPmqx2gryzopGLgawHE26mwPr\"]},\"lib/juice-contracts-v2/contracts/structs/JBRedeemParamsData.sol\":{\"keccak256\":\"0x39f589b047aa763076ed1ed9c3b5088c9cb767ff0e9eddf09919828d508b62b9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45fd3e5c888043ef06d5c14bf22cbcea16e79f68822ff48214a5d48e7861823a\",\"dweb:/ipfs/QmYJGYXTwekUphC6K2SrZQdAbt67KZ8FapovzbvVUnZzbM\"]},\"lib/juice-contracts-v2/contracts/structs/JBTokenAmount.sol\":{\"keccak256\":\"0x4a778e779ba257ba5638c5469e07a4d21b55a3128d56db5a0fdfacb1f3301c51\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fdb8302e06c5b4e1e91d204ed735d8d5db5bb3648200c144d7c545678010a44d\",\"dweb:/ipfs/QmTpffbt3FShkk8LDjsonVGnecbbNMUL8QHYQM7AFcMa54\"]},\"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.17+commit.8df45f5f"
    },
    "language": "Solidity",
    "output": {
      "abi": [
        {
          "inputs": [
            {
              "internalType": "struct JBPayParamsData",
              "name": "_data",
              "type": "tuple",
              "components": [
                {
                  "internalType": "contract IJBPaymentTerminal",
                  "name": "terminal",
                  "type": "address"
                },
                {
                  "internalType": "address",
                  "name": "payer",
                  "type": "address"
                },
                {
                  "internalType": "struct JBTokenAmount",
                  "name": "amount",
                  "type": "tuple",
                  "components": [
                    {
                      "internalType": "address",
                      "name": "token",
                      "type": "address"
                    },
                    {
                      "internalType": "uint256",
                      "name": "value",
                      "type": "uint256"
                    },
                    {
                      "internalType": "uint256",
                      "name": "decimals",
                      "type": "uint256"
                    },
                    {
                      "internalType": "uint256",
                      "name": "currency",
                      "type": "uint256"
                    }
                  ]
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currentFundingCycleConfiguration",
                  "type": "uint256"
                },
                {
                  "internalType": "address",
                  "name": "beneficiary",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "weight",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "reservedRate",
                  "type": "uint256"
                },
                {
                  "internalType": "string",
                  "name": "memo",
                  "type": "string"
                },
                {
                  "internalType": "bytes",
                  "name": "metadata",
                  "type": "bytes"
                }
              ]
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "payParams",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "weight",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            },
            {
              "internalType": "contract IJBPayDelegate",
              "name": "delegate",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "struct JBRedeemParamsData",
              "name": "_data",
              "type": "tuple",
              "components": [
                {
                  "internalType": "contract IJBPaymentTerminal",
                  "name": "terminal",
                  "type": "address"
                },
                {
                  "internalType": "address",
                  "name": "holder",
                  "type": "address"
                },
                {
                  "internalType": "uint256",
                  "name": "projectId",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "currentFundingCycleConfiguration",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "tokenCount",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "totalSupply",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "overflow",
                  "type": "uint256"
                },
                {
                  "internalType": "struct JBTokenAmount",
                  "name": "reclaimAmount",
                  "type": "tuple",
                  "components": [
                    {
                      "internalType": "address",
                      "name": "token",
                      "type": "address"
                    },
                    {
                      "internalType": "uint256",
                      "name": "value",
                      "type": "uint256"
                    },
                    {
                      "internalType": "uint256",
                      "name": "decimals",
                      "type": "uint256"
                    },
                    {
                      "internalType": "uint256",
                      "name": "currency",
                      "type": "uint256"
                    }
                  ]
                },
                {
                  "internalType": "bool",
                  "name": "useTotalOverflow",
                  "type": "bool"
                },
                {
                  "internalType": "uint256",
                  "name": "redemptionRate",
                  "type": "uint256"
                },
                {
                  "internalType": "uint256",
                  "name": "ballotRedemptionRate",
                  "type": "uint256"
                },
                {
                  "internalType": "string",
                  "name": "memo",
                  "type": "string"
                },
                {
                  "internalType": "bytes",
                  "name": "metadata",
                  "type": "bytes"
                }
              ]
            }
          ],
          "stateMutability": "nonpayable",
          "type": "function",
          "name": "redeemParams",
          "outputs": [
            {
              "internalType": "uint256",
              "name": "reclaimAmount",
              "type": "uint256"
            },
            {
              "internalType": "string",
              "name": "memo",
              "type": "string"
            },
            {
              "internalType": "contract IJBRedemptionDelegate",
              "name": "delegate",
              "type": "address"
            }
          ]
        },
        {
          "inputs": [
            {
              "internalType": "bytes4",
              "name": "interfaceId",
              "type": "bytes4"
            }
          ],
          "stateMutability": "view",
          "type": "function",
          "name": "supportsInterface",
          "outputs": [
            {
              "internalType": "bool",
              "name": "",
              "type": "bool"
            }
          ]
        }
      ],
      "devdoc": {
        "kind": "dev",
        "methods": {
          "payParams((address,address,(address,uint256,uint256,uint256),uint256,uint256,address,uint256,uint256,string,bytes))": {
            "params": {
              "_data": "the data passed to the data source in terminal.pay(..), as a JBPayParamsData struct: IJBPaymentTerminal terminal; address payer; JBTokenAmount amount; uint256 projectId; uint256 currentFundingCycleConfiguration; address beneficiary; uint256 weight; uint256 reservedRate; string memo; bytes metadata;"
            },
            "returns": {
              "delegate": "the address of the pay delegate (might or might not be the same contract)",
              "memo": "the memo to override the pay(..) memo",
              "weight": "the weight to use to override the funding cycle weight"
            }
          },
          "redeemParams((address,address,uint256,uint256,uint256,uint256,uint256,(address,uint256,uint256,uint256),bool,uint256,uint256,string,bytes))": {
            "params": {
              "_data": "the data passed to the data source in terminal.redeemTokensOf(..), as a JBRedeemParamsData struct: IJBPaymentTerminal terminal; address holder; uint256 projectId; uint256 currentFundingCycleConfiguration; uint256 tokenCount; uint256 totalSupply; uint256 overflow; JBTokenAmount reclaimAmount; bool useTotalOverflow; uint256 redemptionRate; uint256 ballotRedemptionRate; string memo; bytes metadata;"
            },
            "returns": {
              "delegate": "the address of the redemption delegate (might or might not be the same contract)",
              "memo": "the memo to override the redeemTokensOf(..) memo",
              "reclaimAmount": "the amount to claim, overriding the terminal logic"
            }
          },
          "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": {
          "payParams((address,address,(address,uint256,uint256,uint256),uint256,uint256,address,uint256,uint256,string,bytes))": {
            "notice": "The datasource implementation for JBPaymentTerminal.pay(..)"
          },
          "redeemParams((address,address,uint256,uint256,uint256,uint256,uint256,(address,uint256,uint256,uint256),bool,uint256,uint256,string,bytes))": {
            "notice": "The datasource implementation for JBPaymentTerminal.redeemTokensOf(..)"
          }
        },
        "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/interfaces/IJBFundingCycleDataSource.sol": "IJBFundingCycleDataSource"
      },
      "libraries": {}
    },
    "sources": {
      "lib/juice-contracts-v2/contracts/enums/JBBallotState.sol": {
        "keccak256": "0x891fcac63470398b3a11239da7feba6b07d640809fcefd2404303b823d7378f8",
        "urls": [
          "bzz-raw://6e6adfceaf284b669a8c1cbcf2da7f18ab31a2d1066f9db8bc914349e7401de7",
          "dweb:/ipfs/QmXLHVRPPZdXUkgAHQbHUtEzAvCJk1P6rJ7wrwfTcfW6fw"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleBallot.sol": {
        "keccak256": "0x151c7f0cfd067492e6d43fb2388daaf1e4dc2490b096fed9ee4db87bbbc6217d",
        "urls": [
          "bzz-raw://5d2916495d4485fb8df71d0223068c1a4b58807fa1793a46d0d8d2bb4f88d8f0",
          "dweb:/ipfs/QmSgfwzUYv87SMN2eZEgXPNXymT6stNkKodBEiT5BUsQsw"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleDataSource.sol": {
        "keccak256": "0x5fe51a930632af4f16465a55c17bedf78bcc64869ab95f7e08b51b816f2b857d",
        "urls": [
          "bzz-raw://ec33a418365381483155fe70fad9cbd791723a6019b61e22204aece6452c1b3b",
          "dweb:/ipfs/Qmayreo16omq8LHvKxh4WX2RfwMXrXWviko2XD1ST2pLLa"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleStore.sol": {
        "keccak256": "0xaead823851433be0c2ddc8f8086813e6cd647de3a1bc0f7570a5d6b38c378b5a",
        "urls": [
          "bzz-raw://7f11fd52ba9ef67b40811d8a2298ae8b69447d2565b3f1069cbb8f0f13bc65e7",
          "dweb:/ipfs/QmVbBzpTxZWar9xvj6x1vW91hJDv2iPVq7aG6waMxaHUPQ"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/interfaces/IJBPayDelegate.sol": {
        "keccak256": "0x75defc0a7e830a46dcf40d79fe8d048102fd02d2d4e1970a454e3212746f9808",
        "urls": [
          "bzz-raw://a191f17806de317ce13bceee1bc8bfe8acf3d48f8a0729081f3997cdd8958aae",
          "dweb:/ipfs/QmRf5hnSszH31W7WACv6Q8iMpDq81H89ZtGBf3p2FMhVYh"
        ],
        "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/IJBRedemptionDelegate.sol": {
        "keccak256": "0xc9d3db9f3069a7ce71fabd775330bd3ce084210b3e03157b26791ba3a9eed766",
        "urls": [
          "bzz-raw://3a2a775406e7e1904d779065a778618afe21cad2aac918c3da7c79eafa5dbce5",
          "dweb:/ipfs/QmSA24ByUAT3tcfDkHRMNhdsr1G1CMDHBWtuGYPt2ePR31"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBDidPayData.sol": {
        "keccak256": "0x4a0c3ab3a5526b9261982bfb0788cb893666ccc02058fded75575ca64798d536",
        "urls": [
          "bzz-raw://aa3c8dff5c0a1cb0f5f0ee49b4d3495ef9aa99ea282bfbe85ca0ff2eadf515c0",
          "dweb:/ipfs/QmSU3FxcgqiJgvQUddugWpk3s45Ahu4tTzwQUP7kZsoBRx"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBDidRedeemData.sol": {
        "keccak256": "0x6ed3aa03a3c983f2dadc85107625707b20334afa6ed7fb51dff0e33ed018dbcd",
        "urls": [
          "bzz-raw://98f1c65f54b4763202d25bbec7d7185318d1125ca16a405ad2e7601180e77729",
          "dweb:/ipfs/QmSNsZSsZgYMvr4FBsiU2vm6otbWFPn81CEXK58LDAka9w"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBFundingCycle.sol": {
        "keccak256": "0xcdd3ac9b6fa67e62ada88d09b73bc35ade1cd77d43db712289266a788928b4c2",
        "urls": [
          "bzz-raw://8ba0be407022bbeb0e9272884653209ee262b8a4e00ffbba1298c3b119feccba",
          "dweb:/ipfs/QmbtLQzSN3hut4jYVsYPiYDfRkDdGkZmTWBnV2wJKrdM3K"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBFundingCycleData.sol": {
        "keccak256": "0x2aa6368bf4dfc5797e8b02a978293de0c777fae2658de2c825a103587240f3b0",
        "urls": [
          "bzz-raw://2d7a980ab9b67ad1569d4407b747903cab668a332214117f5ad44feb50af0a3a",
          "dweb:/ipfs/QmSuEzmrmDSihrTKYCk8miq7VQi7WD6jmQePkjDyzt7UpC"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBPayParamsData.sol": {
        "keccak256": "0x05007b26feb5d9a026b883c6d734a341b5a49ef7b8215fb40507882e2c14e24d",
        "urls": [
          "bzz-raw://52ef2d3c61f06243aead9afcb043299f362ff9f7b259386a88c4454b429436c0",
          "dweb:/ipfs/QmVpCJ1NyBGBDgNQpmojhjPmqx2gryzopGLgawHE26mwPr"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBRedeemParamsData.sol": {
        "keccak256": "0x39f589b047aa763076ed1ed9c3b5088c9cb767ff0e9eddf09919828d508b62b9",
        "urls": [
          "bzz-raw://45fd3e5c888043ef06d5c14bf22cbcea16e79f68822ff48214a5d48e7861823a",
          "dweb:/ipfs/QmYJGYXTwekUphC6K2SrZQdAbt67KZ8FapovzbvVUnZzbM"
        ],
        "license": "MIT"
      },
      "lib/juice-contracts-v2/contracts/structs/JBTokenAmount.sol": {
        "keccak256": "0x4a778e779ba257ba5638c5469e07a4d21b55a3128d56db5a0fdfacb1f3301c51",
        "urls": [
          "bzz-raw://fdb8302e06c5b4e1e91d204ed735d8d5db5bb3648200c144d7c545678010a44d",
          "dweb:/ipfs/QmTpffbt3FShkk8LDjsonVGnecbbNMUL8QHYQM7AFcMa54"
        ],
        "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/IJBFundingCycleDataSource.sol",
    "id": 27188,
    "exportedSymbols": {
      "IERC165": [
        30690
      ],
      "IJBFundingCycleBallot": [
        27147
      ],
      "IJBFundingCycleDataSource": [
        27187
      ],
      "IJBFundingCycleStore": [
        27283
      ],
      "IJBPayDelegate": [
        27308
      ],
      "IJBPaymentTerminal": [
        27378
      ],
      "IJBRedemptionDelegate": [
        27472
      ],
      "JBBallotState": [
        26559
      ],
      "JBDidPayData": [
        27924
      ],
      "JBDidRedeemData": [
        27945
      ],
      "JBFundingCycle": [
        27985
      ],
      "JBFundingCycleData": [
        27998
      ],
      "JBPayParamsData": [
        28083
      ],
      "JBRedeemParamsData": [
        28123
      ],
      "JBTokenAmount": [
        28170
      ]
    },
    "nodeType": "SourceUnit",
    "src": "32:2804:30",
    "nodes": [
      {
        "id": 27149,
        "nodeType": "PragmaDirective",
        "src": "32:23:30",
        "nodes": [],
        "literals": [
          "solidity",
          "^",
          "0.8",
          ".0"
        ]
      },
      {
        "id": 27150,
        "nodeType": "ImportDirective",
        "src": "57:65:30",
        "nodes": [],
        "absolutePath": "lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol",
        "file": "@openzeppelin/contracts/utils/introspection/IERC165.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 27188,
        "sourceUnit": 30691,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 27151,
        "nodeType": "ImportDirective",
        "src": "123:42:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/structs/JBPayParamsData.sol",
        "file": "./../structs/JBPayParamsData.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 27188,
        "sourceUnit": 28084,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 27152,
        "nodeType": "ImportDirective",
        "src": "166:45:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/structs/JBRedeemParamsData.sol",
        "file": "./../structs/JBRedeemParamsData.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 27188,
        "sourceUnit": 28124,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 27153,
        "nodeType": "ImportDirective",
        "src": "212:36:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBFundingCycleStore.sol",
        "file": "./IJBFundingCycleStore.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 27188,
        "sourceUnit": 27284,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 27154,
        "nodeType": "ImportDirective",
        "src": "249:30:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBPayDelegate.sol",
        "file": "./IJBPayDelegate.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 27188,
        "sourceUnit": 27309,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 27155,
        "nodeType": "ImportDirective",
        "src": "280:37:30",
        "nodes": [],
        "absolutePath": "lib/juice-contracts-v2/contracts/interfaces/IJBRedemptionDelegate.sol",
        "file": "./IJBRedemptionDelegate.sol",
        "nameLocation": "-1:-1:-1",
        "scope": 27188,
        "sourceUnit": 27473,
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "id": 27187,
        "nodeType": "ContractDefinition",
        "src": "603:2232:30",
        "nodes": [
          {
            "id": 27172,
            "nodeType": "FunctionDefinition",
            "src": "1464:162:30",
            "nodes": [],
            "documentation": {
              "id": 27159,
              "nodeType": "StructuredDocumentation",
              "src": "654:807:30",
              "text": "@notice\nThe datasource implementation for JBPaymentTerminal.pay(..)\n@param _data the data passed to the data source in terminal.pay(..), as a JBPayParamsData struct:\nIJBPaymentTerminal terminal;\naddress payer;\nJBTokenAmount amount;\nuint256 projectId;\nuint256 currentFundingCycleConfiguration;\naddress beneficiary;\nuint256 weight;\nuint256 reservedRate;\nstring memo;\nbytes metadata;\n@return weight the weight to use to override the funding cycle weight\n@return memo the memo to override the pay(..) memo\n@return delegate the address of the pay delegate (might or might not be the same contract)"
            },
            "functionSelector": "d46cf171",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "payParams",
            "nameLocation": "1473:9:30",
            "parameters": {
              "id": 27163,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 27162,
                  "mutability": "mutable",
                  "name": "_data",
                  "nameLocation": "1508:5:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27172,
                  "src": "1483:30:30",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBPayParamsData_$28083_calldata_ptr",
                    "typeString": "struct JBPayParamsData"
                  },
                  "typeName": {
                    "id": 27161,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 27160,
                      "name": "JBPayParamsData",
                      "nameLocations": [
                        "1483:15:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28083,
                      "src": "1483:15:30"
                    },
                    "referencedDeclaration": 28083,
                    "src": "1483:15:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBPayParamsData_$28083_storage_ptr",
                      "typeString": "struct JBPayParamsData"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1482:32:30"
            },
            "returnParameters": {
              "id": 27171,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 27165,
                  "mutability": "mutable",
                  "name": "weight",
                  "nameLocation": "1556:6:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27172,
                  "src": "1548:14:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 27164,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1548:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27167,
                  "mutability": "mutable",
                  "name": "memo",
                  "nameLocation": "1584:4:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27172,
                  "src": "1570:18:30",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 27166,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "1570:6:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27170,
                  "mutability": "mutable",
                  "name": "delegate",
                  "nameLocation": "1611:8:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27172,
                  "src": "1596:23:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBPayDelegate_$27308",
                    "typeString": "contract IJBPayDelegate"
                  },
                  "typeName": {
                    "id": 27169,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 27168,
                      "name": "IJBPayDelegate",
                      "nameLocations": [
                        "1596:14:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 27308,
                      "src": "1596:14:30"
                    },
                    "referencedDeclaration": 27308,
                    "src": "1596:14:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBPayDelegate_$27308",
                      "typeString": "contract IJBPayDelegate"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1540:85:30"
            },
            "scope": 27187,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "id": 27186,
            "nodeType": "FunctionDefinition",
            "src": "2651:182:30",
            "nodes": [],
            "documentation": {
              "id": 27173,
              "nodeType": "StructuredDocumentation",
              "src": "1630:1018:30",
              "text": "@notice\nThe datasource implementation for JBPaymentTerminal.redeemTokensOf(..)\n@param _data the data passed to the data source in terminal.redeemTokensOf(..), as a JBRedeemParamsData struct:\nIJBPaymentTerminal terminal;\naddress holder;\nuint256 projectId;\nuint256 currentFundingCycleConfiguration;\nuint256 tokenCount;\nuint256 totalSupply;\nuint256 overflow;\nJBTokenAmount reclaimAmount;\nbool useTotalOverflow;\nuint256 redemptionRate;\nuint256 ballotRedemptionRate;\nstring memo;\nbytes metadata;\n@return reclaimAmount the amount to claim, overriding the terminal logic\n@return memo the memo to override the redeemTokensOf(..) memo\n@return delegate the address of the redemption delegate (might or might not be the same contract)"
            },
            "functionSelector": "8dfc9598",
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "redeemParams",
            "nameLocation": "2660:12:30",
            "parameters": {
              "id": 27177,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 27176,
                  "mutability": "mutable",
                  "name": "_data",
                  "nameLocation": "2701:5:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27186,
                  "src": "2673:33:30",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_struct$_JBRedeemParamsData_$28123_calldata_ptr",
                    "typeString": "struct JBRedeemParamsData"
                  },
                  "typeName": {
                    "id": 27175,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 27174,
                      "name": "JBRedeemParamsData",
                      "nameLocations": [
                        "2673:18:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 28123,
                      "src": "2673:18:30"
                    },
                    "referencedDeclaration": 28123,
                    "src": "2673:18:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_struct$_JBRedeemParamsData_$28123_storage_ptr",
                      "typeString": "struct JBRedeemParamsData"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2672:35:30"
            },
            "returnParameters": {
              "id": 27185,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 27179,
                  "mutability": "mutable",
                  "name": "reclaimAmount",
                  "nameLocation": "2749:13:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27186,
                  "src": "2741:21:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 27178,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "2741:7:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27181,
                  "mutability": "mutable",
                  "name": "memo",
                  "nameLocation": "2784:4:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27186,
                  "src": "2770:18:30",
                  "stateVariable": false,
                  "storageLocation": "memory",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_memory_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 27180,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "2770:6:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 27184,
                  "mutability": "mutable",
                  "name": "delegate",
                  "nameLocation": "2818:8:30",
                  "nodeType": "VariableDeclaration",
                  "scope": 27186,
                  "src": "2796:30:30",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$27472",
                    "typeString": "contract IJBRedemptionDelegate"
                  },
                  "typeName": {
                    "id": 27183,
                    "nodeType": "UserDefinedTypeName",
                    "pathNode": {
                      "id": 27182,
                      "name": "IJBRedemptionDelegate",
                      "nameLocations": [
                        "2796:21:30"
                      ],
                      "nodeType": "IdentifierPath",
                      "referencedDeclaration": 27472,
                      "src": "2796:21:30"
                    },
                    "referencedDeclaration": 27472,
                    "src": "2796:21:30",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IJBRedemptionDelegate_$27472",
                      "typeString": "contract IJBRedemptionDelegate"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "2733:99:30"
            },
            "scope": 27187,
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "abstract": false,
        "baseContracts": [
          {
            "baseName": {
              "id": 27157,
              "name": "IERC165",
              "nameLocations": [
                "642:7:30"
              ],
              "nodeType": "IdentifierPath",
              "referencedDeclaration": 30690,
              "src": "642:7:30"
            },
            "id": 27158,
            "nodeType": "InheritanceSpecifier",
            "src": "642:7:30"
          }
        ],
        "canonicalName": "IJBFundingCycleDataSource",
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": {
          "id": 27156,
          "nodeType": "StructuredDocumentation",
          "src": "319:283:30",
          "text": "@title\nDatasource\n@notice\nThe datasource is called by JBPaymentTerminal on pay and redemption, and provide an extra layer of logic to use \na custom weight, a custom memo and/or a pay/redeem delegate\n@dev\nAdheres to:\nIERC165 for adequate interface integration"
        },
        "fullyImplemented": false,
        "linearizedBaseContracts": [
          27187,
          30690
        ],
        "name": "IJBFundingCycleDataSource",
        "nameLocation": "613:25:30",
        "scope": 27188,
        "usedErrors": []
      }
    ],
    "license": "MIT"
  },
  "id": 30
}